SYMBOL INDEX (485 symbols across 123 files) FILE: cmd/function-controller/function-controller.go constant globalUsage (line 37) | globalUsage = `` function main (line 79) | func main() { FILE: cmd/kubeless/autoscale/autoscale.go function init (line 37) | func init() { function getHorizontalAutoscaleDefinition (line 47) | func getHorizontalAutoscaleDefinition(name, ns, metric string, min, max ... FILE: cmd/kubeless/autoscale/autoscaleCreate.go function init (line 77) | func init() { FILE: cmd/kubeless/autoscale/autoscaleList.go function init (line 57) | func init() { function doAutoscaleList (line 61) | func doAutoscaleList(w io.Writer, client kubernetes.Interface, ns, outpu... function printAutoscale (line 73) | func printAutoscale(w io.Writer, ass []v2beta1.HorizontalPodAutoscaler, ... FILE: cmd/kubeless/autoscale/autoscaleList_test.go function listAutoscaleOutput (line 16) | func listAutoscaleOutput(t *testing.T, client kubernetes.Interface, ns, ... function TestAutoscaleList (line 26) | func TestAutoscaleList(t *testing.T) { FILE: cmd/kubeless/autoscale/autoscale_test.go function TestGetHorizontalAutoscaleDefinition (line 11) | func TestGetHorizontalAutoscaleDefinition(t *testing.T) { FILE: cmd/kubeless/function/call.go function init (line 117) | func init() { FILE: cmd/kubeless/function/delete.go function init (line 55) | func init() { FILE: cmd/kubeless/function/deploy.go function init (line 284) | func init() { FILE: cmd/kubeless/function/describe.go function init (line 67) | func init() { function print (line 72) | func print(f kubelessApi.Function, name, output string) error { FILE: cmd/kubeless/function/function.go function init (line 44) | func init() { function getKV (line 55) | func getKV(input string) (string, string) { function parseLabel (line 69) | func parseLabel(labels []string) map[string]string { function parseEnv (line 78) | func parseEnv(envs []string) []v1.EnvVar { function parseResource (line 90) | func parseResource(in string) (resource.Quantity, error) { function parseNodeSelectors (line 103) | func parseNodeSelectors(nodeSelectors []string) map[string]string { function getFunctionDescription (line 112) | func getFunctionDescription(funcName, ns, handler, file, deps, runtime, ... function getDeploymentStatus (line 269) | func getDeploymentStatus(cli kubernetes.Interface, funcName, ns string) ... function getFunctions (line 283) | func getFunctions(kubelessClient versioned.Interface, namespace, functio... FILE: cmd/kubeless/function/function_test.go function TestParseLabel (line 43) | func TestParseLabel(t *testing.T) { function TestParseEnv (line 60) | func TestParseEnv(t *testing.T) { function TestParseNodeSelectors (line 96) | func TestParseNodeSelectors(t *testing.T) { function TestGetFunctionDescription (line 111) | func TestGetFunctionDescription(t *testing.T) { function getSha256 (line 595) | func getSha256(bytes []byte) (string, error) { FILE: cmd/kubeless/function/list.go function init (line 70) | func init() { function doList (line 75) | func doList(w io.Writer, kubelessClient versioned.Interface, apiV1Client... function parseDeps (line 97) | func parseDeps(deps, runtime string) (res string, err error) { function printFunctions (line 120) | func printFunctions(w io.Writer, functions []*kubelessApi.Function, cli ... FILE: cmd/kubeless/function/list_test.go function listOutput (line 37) | func listOutput(t *testing.T, client versioned.Interface, apiV1Client ku... function TestList (line 47) | func TestList(t *testing.T) { FILE: cmd/kubeless/function/logs.go function init (line 77) | func init() { FILE: cmd/kubeless/function/top.go function init (line 70) | func init() { function doTop (line 76) | func doTop(w io.Writer, kubelessClient versioned.Interface, apiV1Client ... function printTop (line 110) | func printTop(w io.Writer, metrics []*utils.Metric, cli kubernetes.Inter... FILE: cmd/kubeless/function/top_test.go type testMetricsHandler (line 41) | type testMetricsHandler struct method GetRawMetrics (line 45) | func (h *testMetricsHandler) GetRawMetrics(apiClient kubernetes.Interf... function topOutput (line 58) | func topOutput(t *testing.T, client versioned.Interface, apiV1Client kub... function TestTop (line 68) | func TestTop(t *testing.T) { FILE: cmd/kubeless/function/update.go function init (line 225) | func init() { FILE: cmd/kubeless/kubeless.go function newRootCmd (line 35) | func newRootCmd() *cobra.Command { function main (line 46) | func main() { FILE: cmd/kubeless/topic/topic.go function init (line 33) | func init() { FILE: cmd/kubeless/topic/topicCreate.go function createTopic (line 59) | func createTopic(conf *rest.Config, clientset kubernetes.Interface, ctlN... function execCommand (line 73) | func execCommand(conf *rest.Config, k8sClientSet kubernetes.Interface, c... FILE: cmd/kubeless/topic/topicDelete.go function deleteTopic (line 58) | func deleteTopic(conf *rest.Config, clientset kubernetes.Interface, ctlN... FILE: cmd/kubeless/topic/topicList.go function listTopic (line 54) | func listTopic(conf *rest.Config, clientset kubernetes.Interface, ctlNam... FILE: cmd/kubeless/topic/topicPublish.go function publishTopic (line 65) | func publishTopic(conf *rest.Config, clientset kubernetes.Interface, nam... function init (line 116) | func init() { FILE: cmd/kubeless/trigger/cronjob/create.go function init (line 143) | func init() { FILE: cmd/kubeless/trigger/cronjob/cronjob_trigger.go function init (line 38) | func init() { function parsePayload (line 45) | func parsePayload(content string, file string) (interface{}, error) { function getPayloadRawContent (line 58) | func getPayloadRawContent(file string) (string, error) { function parsePayloadContent (line 77) | func parsePayloadContent(raw string) interface{} { FILE: cmd/kubeless/trigger/cronjob/delete.go function init (line 58) | func init() { FILE: cmd/kubeless/trigger/cronjob/list.go function init (line 57) | func init() { function doList (line 61) | func doList(w io.Writer, kubelessClient versioned.Interface, ns string) ... FILE: cmd/kubeless/trigger/cronjob/update.go function init (line 135) | func init() { FILE: cmd/kubeless/trigger/http/create.go function init (line 175) | func init() { FILE: cmd/kubeless/trigger/http/delete.go function init (line 59) | func init() { FILE: cmd/kubeless/trigger/http/http_trigger.go function init (line 33) | func init() { FILE: cmd/kubeless/trigger/http/list.go function init (line 57) | func init() { function doList (line 61) | func doList(w io.Writer, kubelessClient versioned.Interface, ns string) ... FILE: cmd/kubeless/trigger/http/update.go function init (line 149) | func init() { FILE: cmd/kubeless/trigger/kafka/create.go function init (line 113) | func init() { FILE: cmd/kubeless/trigger/kafka/delete.go function init (line 58) | func init() { FILE: cmd/kubeless/trigger/kafka/kafka_trigger.go function init (line 33) | func init() { FILE: cmd/kubeless/trigger/kafka/list.go function init (line 59) | func init() { function doList (line 63) | func doList(w io.Writer, kubelessClient versioned.Interface, ns string) ... FILE: cmd/kubeless/trigger/kafka/update.go function init (line 107) | func init() { FILE: cmd/kubeless/trigger/kinesis/create.go function init (line 153) | func init() { FILE: cmd/kubeless/trigger/kinesis/delete.go function init (line 59) | func init() { FILE: cmd/kubeless/trigger/kinesis/kinesis_trigger.go function init (line 33) | func init() { FILE: cmd/kubeless/trigger/kinesis/list.go function init (line 59) | func init() { function doList (line 63) | func doList(w io.Writer, kubelessClient versioned.Interface, ns string) ... FILE: cmd/kubeless/trigger/kinesis/publish.go function init (line 117) | func init() { FILE: cmd/kubeless/trigger/kinesis/stream_create.go function init (line 99) | func init() { FILE: cmd/kubeless/trigger/kinesis/update.go function init (line 130) | func init() { FILE: cmd/kubeless/trigger/nats/create.go function init (line 114) | func init() { FILE: cmd/kubeless/trigger/nats/delete.go function init (line 59) | func init() { FILE: cmd/kubeless/trigger/nats/list.go function init (line 59) | func init() { function doList (line 63) | func doList(w io.Writer, kubelessClient versioned.Interface, ns string) ... FILE: cmd/kubeless/trigger/nats/nats_trigger.go function init (line 33) | func init() { FILE: cmd/kubeless/trigger/nats/publish.go function publishTopic (line 53) | func publishTopic(topic, message, url string) error { function init (line 68) | func init() { FILE: cmd/kubeless/trigger/nats/update.go function init (line 107) | func init() { FILE: cmd/kubeless/trigger/trigger.go function init (line 38) | func init() { FILE: docker/event-sources/kubernetes/events.py function pods (line 29) | def pods(): function namespaces (line 39) | def namespaces(): function services (line 49) | def services(): function deployments (line 60) | def deployments(): function replicasets (line 70) | def replicasets(): FILE: examples/dotnetcore/dependency-yaml.cs class module (line 5) | public class module method handler (line 7) | public string handler(Event k8Event, Context k8Context) class Person (line 20) | public class Person FILE: examples/dotnetcore/fibonacci.cs class module (line 4) | public class module method handler (line 6) | public int handler(Event k8Event, Context k8Context) method fibonacci (line 13) | public int fibonacci(int n) FILE: examples/dotnetcore/helloget.cs class module (line 4) | public class module method handler (line 6) | public string handler(Event k8Event, Context k8Context) FILE: examples/dotnetcore/hellowithdata.cs class module (line 4) | public class module method handler (line 6) | public object handler(Event k8Event, Context k8Context) FILE: examples/golang/helloget.go function Foo (line 8) | func Foo(event functions.Event, context functions.Context) (string, erro... FILE: examples/golang/hellowithdata.go function Handler (line 10) | func Handler(event functions.Event, context functions.Context) (string, ... FILE: examples/golang/hellowithdeps.go function Hello (line 9) | func Hello(event functions.Event, context functions.Context) (string, er... FILE: examples/java/HelloGet.java class Foo (line 6) | public class Foo { method foo (line 7) | public String foo(io.kubeless.Event event, io.kubeless.Context context) { FILE: examples/java/HelloWithData.java class Foo (line 6) | public class Foo { method foo (line 7) | public String foo(io.kubeless.Event event, io.kubeless.Context context) { FILE: examples/java/HelloWithDeps.java class Hello (line 8) | public class Hello { method sayHello (line 9) | public String sayHello(io.kubeless.Event event, io.kubeless.Context co... FILE: examples/jvm/java/src/main/java/io/ino/Handler.java class Handler (line 3) | public class Handler { method sayHello (line 4) | public String sayHello(io.kubeless.Event event, io.kubeless.Context co... FILE: examples/nodejs/hellostream.js function fromString (line 4) | function fromString(string) { FILE: examples/php/helloget.php function foo (line 3) | function foo($event, $context) { FILE: examples/php/hellowithdata.php function foo (line 3) | function foo($event, $context) { FILE: examples/php/hellowithdeps.php function foo (line 8) | function foo($event, $context) { FILE: examples/python/helloget.py function foo (line 1) | def foo(event, context): FILE: examples/python/hellowithdata.py function handler (line 1) | def handler(event, context): FILE: examples/python/hellowithdepshelper.py function foo (line 4) | def foo(event, context): FILE: examples/ruby/helloget.rb function foo (line 1) | def foo(event, context) FILE: examples/ruby/hellowithdata.rb function handler (line 1) | def handler(event, context) FILE: examples/ruby/hellowithdeps.rb function foo (line 3) | def foo(event, context) FILE: examples/ruby/latest.rb function handler (line 2) | def handler(event, context) FILE: pkg/apis/kubeless/register.go constant GroupName (line 5) | GroupName = "kubeless.io" FILE: pkg/apis/kubeless/v1beta1/function.go type Function (line 30) | type Function struct type FunctionSpec (line 37) | type FunctionSpec struct type FunctionList (line 53) | type FunctionList struct FILE: pkg/apis/kubeless/v1beta1/register.go function Kind (line 15) | func Kind(kind string) schema.GroupKind { function Resource (line 20) | func Resource(resource string) schema.GroupResource { function addKnownTypes (line 33) | func addKnownTypes(scheme *runtime.Scheme) error { FILE: pkg/apis/kubeless/v1beta1/zz_generated.deepcopy.go method DeepCopyInto (line 28) | func (in *Function) DeepCopyInto(out *Function) { method DeepCopy (line 37) | func (in *Function) DeepCopy() *Function { method DeepCopyObject (line 47) | func (in *Function) DeepCopyObject() runtime.Object { method DeepCopyInto (line 55) | func (in *FunctionList) DeepCopyInto(out *FunctionList) { method DeepCopy (line 75) | func (in *FunctionList) DeepCopy() *FunctionList { method DeepCopyObject (line 85) | func (in *FunctionList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 93) | func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec) { method DeepCopy (line 102) | func (in *FunctionSpec) DeepCopy() *FunctionSpec { FILE: pkg/client/clientset/versioned/clientset.go type Interface (line 26) | type Interface interface type Clientset (line 35) | type Clientset struct method KubelessV1beta1 (line 41) | func (c *Clientset) KubelessV1beta1() kubelessv1beta1.KubelessV1beta1I... method Kubeless (line 47) | func (c *Clientset) Kubeless() kubelessv1beta1.KubelessV1beta1Interface { method Discovery (line 52) | func (c *Clientset) Discovery() discovery.DiscoveryInterface { function NewForConfig (line 60) | func NewForConfig(c *rest.Config) (*Clientset, error) { function NewForConfigOrDie (line 82) | func NewForConfigOrDie(c *rest.Config) *Clientset { function New (line 91) | func New(c rest.Interface) *Clientset { FILE: pkg/client/clientset/versioned/fake/clientset_generated.go function NewSimpleClientset (line 33) | func NewSimpleClientset(objects ...runtime.Object) *Clientset { type Clientset (line 51) | type Clientset struct method Discovery (line 56) | func (c *Clientset) Discovery() discovery.DiscoveryInterface { method KubelessV1beta1 (line 63) | func (c *Clientset) KubelessV1beta1() kubelessv1beta1.KubelessV1beta1I... method Kubeless (line 68) | func (c *Clientset) Kubeless() kubelessv1beta1.KubelessV1beta1Interface { FILE: pkg/client/clientset/versioned/fake/register.go function init (line 30) | func init() { function AddToScheme (line 49) | func AddToScheme(scheme *runtime.Scheme) { FILE: pkg/client/clientset/versioned/scheme/register.go function init (line 30) | func init() { function AddToScheme (line 49) | func AddToScheme(scheme *runtime.Scheme) { FILE: pkg/client/clientset/versioned/typed/kubeless/v1beta1/fake/fake_function.go type FakeFunctions (line 29) | type FakeFunctions struct method Get (line 39) | func (c *FakeFunctions) Get(name string, options v1.GetOptions) (resul... method List (line 50) | func (c *FakeFunctions) List(opts v1.ListOptions) (result *v1beta1.Fun... method Watch (line 72) | func (c *FakeFunctions) Watch(opts v1.ListOptions) (watch.Interface, e... method Create (line 79) | func (c *FakeFunctions) Create(function *v1beta1.Function) (result *v1... method Update (line 90) | func (c *FakeFunctions) Update(function *v1beta1.Function) (result *v1... method Delete (line 101) | func (c *FakeFunctions) Delete(name string, options *v1.DeleteOptions)... method DeleteCollection (line 109) | func (c *FakeFunctions) DeleteCollection(options *v1.DeleteOptions, li... method Patch (line 117) | func (c *FakeFunctions) Patch(name string, pt types.PatchType, data []... FILE: pkg/client/clientset/versioned/typed/kubeless/v1beta1/fake/fake_kubeless_client.go type FakeKubelessV1beta1 (line 24) | type FakeKubelessV1beta1 struct method Functions (line 28) | func (c *FakeKubelessV1beta1) Functions(namespace string) v1beta1.Func... method RESTClient (line 34) | func (c *FakeKubelessV1beta1) RESTClient() rest.Interface { FILE: pkg/client/clientset/versioned/typed/kubeless/v1beta1/function.go type FunctionsGetter (line 29) | type FunctionsGetter interface type FunctionInterface (line 34) | type FunctionInterface interface type functions (line 47) | type functions struct method Get (line 61) | func (c *functions) Get(name string, options v1.GetOptions) (result *v... method List (line 74) | func (c *functions) List(opts v1.ListOptions) (result *v1beta1.Functio... method Watch (line 86) | func (c *functions) Watch(opts v1.ListOptions) (watch.Interface, error) { method Create (line 96) | func (c *functions) Create(function *v1beta1.Function) (result *v1beta... method Update (line 108) | func (c *functions) Update(function *v1beta1.Function) (result *v1beta... method Delete (line 121) | func (c *functions) Delete(name string, options *v1.DeleteOptions) err... method DeleteCollection (line 132) | func (c *functions) DeleteCollection(options *v1.DeleteOptions, listOp... method Patch (line 143) | func (c *functions) Patch(name string, pt types.PatchType, data []byte... function newFunctions (line 53) | func newFunctions(c *KubelessV1beta1Client, namespace string) *functions { FILE: pkg/client/clientset/versioned/typed/kubeless/v1beta1/generated_expansion.go type FunctionExpansion (line 18) | type FunctionExpansion interface FILE: pkg/client/clientset/versioned/typed/kubeless/v1beta1/kubeless_client.go type KubelessV1beta1Interface (line 25) | type KubelessV1beta1Interface interface type KubelessV1beta1Client (line 31) | type KubelessV1beta1Client struct method Functions (line 35) | func (c *KubelessV1beta1Client) Functions(namespace string) FunctionIn... method RESTClient (line 82) | func (c *KubelessV1beta1Client) RESTClient() rest.Interface { function NewForConfig (line 40) | func NewForConfig(c *rest.Config) (*KubelessV1beta1Client, error) { function NewForConfigOrDie (line 54) | func NewForConfigOrDie(c *rest.Config) *KubelessV1beta1Client { function New (line 63) | func New(c rest.Interface) *KubelessV1beta1Client { function setConfigDefaults (line 67) | func setConfigDefaults(config *rest.Config) error { FILE: pkg/client/informers/externalversions/factory.go type sharedInformerFactory (line 35) | type sharedInformerFactory struct method Start (line 68) | func (f *sharedInformerFactory) Start(stopCh <-chan struct{}) { method WaitForCacheSync (line 81) | func (f *sharedInformerFactory) WaitForCacheSync(stopCh <-chan struct{... method InformerFor (line 104) | func (f *sharedInformerFactory) InformerFor(obj runtime.Object, newFun... method Kubeless (line 129) | func (f *sharedInformerFactory) Kubeless() kubeless.Interface { function NewSharedInformerFactory (line 49) | func NewSharedInformerFactory(client versioned.Interface, defaultResync ... function NewFilteredSharedInformerFactory (line 56) | func NewFilteredSharedInformerFactory(client versioned.Interface, defaul... type SharedInformerFactory (line 121) | type SharedInformerFactory interface FILE: pkg/client/informers/externalversions/generic.go type GenericInformer (line 31) | type GenericInformer interface type genericInformer (line 36) | type genericInformer struct method Informer (line 42) | func (f *genericInformer) Informer() cache.SharedIndexInformer { method Lister (line 47) | func (f *genericInformer) Lister() cache.GenericLister { method ForResource (line 53) | func (f *sharedInformerFactory) ForResource(resource schema.GroupVersion... FILE: pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go type NewInformerFunc (line 30) | type NewInformerFunc type SharedInformerFactory (line 33) | type SharedInformerFactory interface type TweakListOptionsFunc (line 38) | type TweakListOptionsFunc FILE: pkg/client/informers/externalversions/kubeless/interface.go type Interface (line 27) | type Interface interface type group (line 32) | type group struct method V1beta1 (line 44) | func (g *group) V1beta1() v1beta1.Interface { function New (line 39) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: pkg/client/informers/externalversions/kubeless/v1beta1/function.go type FunctionInformer (line 36) | type FunctionInformer interface type functionInformer (line 41) | type functionInformer struct method defaultInformer (line 79) | func (f *functionInformer) defaultInformer(client versioned.Interface,... method Informer (line 83) | func (f *functionInformer) Informer() cache.SharedIndexInformer { method Lister (line 87) | func (f *functionInformer) Lister() v1beta1.FunctionLister { function NewFunctionInformer (line 50) | func NewFunctionInformer(client versioned.Interface, namespace string, r... function NewFilteredFunctionInformer (line 57) | func NewFilteredFunctionInformer(client versioned.Interface, namespace s... FILE: pkg/client/informers/externalversions/kubeless/v1beta1/interface.go type Interface (line 26) | type Interface interface type version (line 31) | type version struct method Functions (line 43) | func (v *version) Functions() FunctionInformer { function New (line 38) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: pkg/client/listers/kubeless/v1beta1/expansion_generated.go type FunctionListerExpansion (line 23) | type FunctionListerExpansion interface type FunctionNamespaceListerExpansion (line 27) | type FunctionNamespaceListerExpansion interface FILE: pkg/client/listers/kubeless/v1beta1/function.go type FunctionLister (line 29) | type FunctionLister interface type functionLister (line 38) | type functionLister struct method List (line 48) | func (s *functionLister) List(selector labels.Selector) (ret []*v1beta... method Functions (line 56) | func (s *functionLister) Functions(namespace string) FunctionNamespace... function NewFunctionLister (line 43) | func NewFunctionLister(indexer cache.Indexer) FunctionLister { type FunctionNamespaceLister (line 61) | type FunctionNamespaceLister interface type functionNamespaceLister (line 71) | type functionNamespaceLister struct method List (line 77) | func (s functionNamespaceLister) List(selector labels.Selector) (ret [... method Get (line 85) | func (s functionNamespaceLister) Get(name string) (*v1beta1.Function, ... FILE: pkg/controller/function_controller.go constant maxRetries (line 49) | maxRetries = 5 constant funcKind (line 50) | funcKind = "Function" constant funcAPIVersion (line 51) | funcAPIVersion = "kubeless.io/v1beta1" constant functionFinalizer (line 52) | functionFinalizer = "kubeless.io/function" type FunctionController (line 56) | type FunctionController struct method Run (line 133) | func (c *FunctionController) Run(stopCh <-chan struct{}) { method HasSynced (line 152) | func (c *FunctionController) HasSynced() bool { method LastSyncResourceVersion (line 157) | func (c *FunctionController) LastSyncResourceVersion() string { method runWorker (line 161) | func (c *FunctionController) runWorker() { method processNextItem (line 167) | func (c *FunctionController) processNextItem() bool { method processItem (line 191) | func (c *FunctionController) processItem(key string) error { method startImageBuildJob (line 258) | func (c *FunctionController) startImageBuildJob(funcObj *kubelessApi.F... method ensureK8sResources (line 297) | func (c *FunctionController) ensureK8sResources(funcObj *kubelessApi.F... method deleteAutoscale (line 386) | func (c *FunctionController) deleteAutoscale(ns, name string) error { method deleteK8sResources (line 403) | func (c *FunctionController) deleteK8sResources(ns, name string) error { type Config (line 70) | type Config struct function NewFunctionController (line 76) | func NewFunctionController(cfg Config, smclient *monitoringv1alpha1.Moni... function functionObjChanged (line 440) | func functionObjChanged(oldFunctionObj, newFunctionObj *kubelessApi.Func... FILE: pkg/controller/function_controller_test.go function findAction (line 20) | func findAction(fake *fake.Clientset, verb, resource string) ktesting.Ac... function hasAction (line 29) | func hasAction(fake *fake.Clientset, verb, resource string) bool { function TestDeleteK8sResources (line 33) | func TestDeleteK8sResources(t *testing.T) { function TestEnsureK8sResourcesWithDeploymentDefinitionFromConfigMap (line 114) | func TestEnsureK8sResourcesWithDeploymentDefinitionFromConfigMap(t *test... function TestEnsureK8sResourcesWithDeploymentDefinitionFromConfigMapUnknownKey (line 171) | func TestEnsureK8sResourcesWithDeploymentDefinitionFromConfigMapUnknownK... function TestEnsureK8sResourcesWithLivenessProbeFromConfigMap (line 192) | func TestEnsureK8sResourcesWithLivenessProbeFromConfigMap(t *testing.T) { function testFunc (line 246) | func testFunc() *kubelessApi.Function { function testRuntimeImages (line 294) | func testRuntimeImages() string { function testController (line 318) | func testController(clientset kubernetes.Interface, namespace string, co... FILE: pkg/function-image-builder/image_builder.go function init (line 33) | func init() { function runCommand (line 42) | func runCommand(command string, args []string) error { function skopeoCopy (line 65) | func skopeoCopy(src, dst, srcCreds, dstCreds string, insecure bool) error { function newRootCmd (line 157) | func newRootCmd() *cobra.Command { function main (line 168) | func main() { FILE: pkg/function-image-builder/layer-builder/description.go type Config (line 29) | type Config struct type HistoryEntry (line 51) | type HistoryEntry struct type Rootfs (line 59) | type Rootfs struct type Description (line 65) | type Description struct method New (line 78) | func (d *Description) New(descriptionFile io.Reader) error { method AddLayer (line 87) | func (d *Description) AddLayer(newLayer *Layer) { method Content (line 104) | func (d *Description) Content() ([]byte, error) { method ToLayer (line 109) | func (d *Description) ToLayer() (*Layer, error) { FILE: pkg/function-image-builder/layer-builder/description_test.go function TestNewDescription (line 24) | func TestNewDescription(t *testing.T) { function TestAddLayerDescription (line 33) | func TestAddLayerDescription(t *testing.T) { function TestDescriptionToLayer (line 55) | func TestDescriptionToLayer(t *testing.T) { FILE: pkg/function-image-builder/layer-builder/layer.go type Layer (line 27) | type Layer struct method New (line 33) | func (f *Layer) New(layerFile *os.File) error { FILE: pkg/function-image-builder/layer-builder/layer_builder.go function copyReader (line 31) | func copyReader(src io.Reader, dst string) error { function copyFile (line 49) | func copyFile(src, dst string) error { function getLayer (line 59) | func getLayer(file string) (*Layer, error) { function saveNewDescription (line 73) | func saveNewDescription(content []byte, dir, contentChecksum string) err... function updateDescription (line 78) | func updateDescription(descriptionDir string, descriptionFile *os.File, ... function AddTarToLayer (line 92) | func AddTarToLayer(imageDir, tarFile string) error { FILE: pkg/function-image-builder/layer-builder/layer_test.go function TestNewLayer (line 25) | func TestNewLayer(t *testing.T) { FILE: pkg/function-image-builder/layer-builder/manifest.go type layer (line 26) | type layer struct type Manifest (line 33) | type Manifest struct method New (line 41) | func (m *Manifest) New(manifestFile io.Reader) error { method UpdateConfig (line 54) | func (m *Manifest) UpdateConfig(newConfig *Layer) { method AddLayer (line 60) | func (m *Manifest) AddLayer(newLayer *Layer) { FILE: pkg/function-image-builder/layer-builder/manifest_test.go function TestNewManifest (line 24) | func TestNewManifest(t *testing.T) { function TestAddNewLayer (line 42) | func TestAddNewLayer(t *testing.T) { function TestUpdateConfig (line 61) | func TestUpdateConfig(t *testing.T) { FILE: pkg/function-proxy/proxy.go function copyHeaders (line 32) | func copyHeaders(dst, src http.Header) { function handle (line 40) | func handle(ctx context.Context, w http.ResponseWriter, r *http.Request)... function handler (line 55) | func handler(w http.ResponseWriter, r *http.Request) { function health (line 59) | func health(w http.ResponseWriter, r *http.Request) { function startNativeDaemon (line 72) | func startNativeDaemon() { function main (line 83) | func main() { FILE: pkg/function-proxy/utils/proxy-utils.go function PromHTTPHandler (line 55) | func PromHTTPHandler() http.Handler { function init (line 59) | func init() { type loggingResponseWriter (line 82) | type loggingResponseWriter struct method WriteHeader (line 91) | func (lrw *loggingResponseWriter) WriteHeader(code int) { function newLoggingResponseWriter (line 87) | func newLoggingResponseWriter(w http.ResponseWriter) *loggingResponseWri... function logReq (line 96) | func logReq(handler http.Handler) http.Handler { function copyHeaders (line 111) | func copyHeaders(dst, src http.Header) { type Handle (line 120) | type Handle function Handler (line 124) | func Handler(w http.ResponseWriter, r *http.Request, h Handle) { function NewServer (line 161) | func NewServer(mux *http.ServeMux) *http.Server { function GracefulShutdown (line 167) | func GracefulShutdown(server *http.Server) { FILE: pkg/functions/params.go type Extension (line 25) | type Extension struct type Event (line 32) | type Event struct type Context (line 42) | type Context struct FILE: pkg/langruntime/langruntime.go constant PhaseInstallation (line 19) | PhaseInstallation = "installation" constant PhaseCompilation (line 21) | PhaseCompilation = "compilation" constant PhaseRuntime (line 23) | PhaseRuntime = "runtime" type Langruntimes (line 27) | type Langruntimes struct method ReadConfigMap (line 80) | func (l *Langruntimes) ReadConfigMap() { method GetRuntimes (line 90) | func (l *Langruntimes) GetRuntimes() []string { method IsValidRuntime (line 101) | func (l *Langruntimes) IsValidRuntime(runtime string) bool { method getAvailableRuntimesPerTrigger (line 110) | func (l *Langruntimes) getAvailableRuntimesPerTrigger(imageType string... method getVersionFromRuntime (line 123) | func (l *Langruntimes) getVersionFromRuntime(runtime string) string { method GetRuntimeInfo (line 129) | func (l *Langruntimes) GetRuntimeInfo(runtime string) (RuntimeInfo, er... method GetLivenessProbeInfo (line 141) | func (l *Langruntimes) GetLivenessProbeInfo(runtime string, port int) ... method findRuntimeVersion (line 165) | func (l *Langruntimes) findRuntimeVersion(runtimeWithVersion string) (... method findImage (line 180) | func (l *Langruntimes) findImage(phase string, runtime RuntimeVersion)... method GetFunctionImage (line 190) | func (l *Langruntimes) GetFunctionImage(runtime string) (string, error) { method GetImageSecrets (line 214) | func (l *Langruntimes) GetImageSecrets(runtime string) ([]v1.LocalObje... method GetInitContainerSecrets (line 241) | func (l *Langruntimes) GetInitContainerSecrets(runtime, name string) (... method GetBuildContainer (line 283) | func (l *Langruntimes) GetBuildContainer(runtime, depsChecksum string,... method UpdateDeployment (line 336) | func (l *Langruntimes) UpdateDeployment(dpm *appsv1.Deployment, volPat... method GetCompilationContainer (line 359) | func (l *Langruntimes) GetCompilationContainer(runtime, funcName strin... type Image (line 33) | type Image struct type Secret (line 42) | type Secret struct type RuntimeVersion (line 47) | type RuntimeVersion struct type ImageSecret (line 55) | type ImageSecret struct type RuntimeInfo (line 61) | type RuntimeInfo struct function New (line 70) | func New(config *v1.ConfigMap) *Langruntimes { function appendToCommand (line 267) | func appendToCommand(orig string, command ...string) string { function parseEnv (line 274) | func parseEnv(env map[string]string) []v1.EnvVar { function name2phase (line 391) | func name2phase(name string) string { FILE: pkg/langruntime/langruntime_test.go function TestMain (line 17) | func TestMain(m *testing.M) { function check (line 22) | func check(clientset *fake.Clientset, lr *Langruntimes, runtime, fname s... function TestGetFunctionFileNames (line 36) | func TestGetFunctionFileNames(t *testing.T) { function TestGetFunctionImage (line 44) | func TestGetFunctionImage(t *testing.T) { function TestGetLivenessProbe (line 73) | func TestGetLivenessProbe(t *testing.T) { function TestGetRuntimes (line 93) | func TestGetRuntimes(t *testing.T) { function TestGetBuildContainer (line 104) | func TestGetBuildContainer(t *testing.T) { function TestGetBuildContainerWithBundledDeps (line 140) | func TestGetBuildContainerWithBundledDeps(t *testing.T) { FILE: pkg/langruntime/langruntimetestutils.go function AddFakeConfig (line 12) | func AddFakeConfig(clientset *fake.Clientset) { function SetupLangRuntime (line 66) | func SetupLangRuntime(clientset *fake.Clientset) *Langruntimes { FILE: pkg/registry/registry.go type Credentials (line 32) | type Credentials struct type Registry (line 40) | type Registry struct method getTags (line 87) | func (r *Registry) getTags(body []byte) ([]string, error) { method tagURL (line 113) | func (r *Registry) tagURL(img string) (string, error) { method doRequest (line 183) | func (r *Registry) doRequest(url string) ([]byte, error) { method ImageExists (line 216) | func (r *Registry) ImageExists(id, tag string) (bool, error) { type tagv1 (line 46) | type tagv1 struct type tagListV2 (line 51) | type tagListV2 struct type dockerCfg (line 56) | type dockerCfg struct function New (line 61) | func New(config v1.Secret) (*Registry, error) { function findProperty (line 125) | func findProperty(src, property string) (string, error) { type authResponse (line 134) | type authResponse struct function doRequestWithAuth (line 139) | func doRequestWithAuth(authInfo, url string, client *http.Client) ([]byt... FILE: pkg/registry/registry_test.go function TestNew (line 10) | func TestNew(t *testing.T) { function TestTagURLV1 (line 34) | func TestTagURLV1(t *testing.T) { function TestTagURLV2 (line 48) | func TestTagURLV2(t *testing.T) { function TestGetTagsV1 (line 62) | func TestGetTagsV1(t *testing.T) { function TestGetTagsV2 (line 78) | func TestGetTagsV2(t *testing.T) { FILE: pkg/utils/configlocation.go type ConfigLocation (line 4) | type ConfigLocation struct FILE: pkg/utils/exec.go constant stdinChannel (line 19) | stdinChannel = 0 constant stdoutChannel (line 20) | stdoutChannel = 1 constant stderrChannel (line 21) | stderrChannel = 2 constant errChannel (line 22) | errChannel = 3 type Cmd (line 26) | type Cmd struct method RoundTripCallback (line 35) | func (c *Cmd) RoundTripCallback(conn *websocket.Conn) (*http.Response,... type RoundTripCallback (line 114) | type RoundTripCallback type WebsocketRoundTripper (line 118) | type WebsocketRoundTripper struct method RoundTrip (line 124) | func (d *WebsocketRoundTripper) RoundTrip(r *http.Request) (*http.Resp... function ExecRoundTripper (line 149) | func ExecRoundTripper(conf *rest.Config, f RoundTripCallback) (http.Roun... function Exec (line 164) | func Exec(client corev1.CoreV1Interface, pod, namespace string, opts v1.... FILE: pkg/utils/exec_test.go function TestExecURL (line 11) | func TestExecURL(t *testing.T) { FILE: pkg/utils/k8sutil.go constant defaultTimeout (line 53) | defaultTimeout = "180" function GetClient (line 57) | func GetClient() kubernetes.Interface { function BuildOutOfClusterConfig (line 72) | func BuildOutOfClusterConfig() (*rest.Config, error) { function GetClientOutOfCluster (line 96) | func GetClientOutOfCluster() kubernetes.Interface { function GetAPIExtensionsClientOutOfCluster (line 111) | func GetAPIExtensionsClientOutOfCluster() clientsetAPIExtensions.Interfa... function GetAPIExtensionsClientInCluster (line 124) | func GetAPIExtensionsClientInCluster() clientsetAPIExtensions.Interface { function GetFunctionClientInCluster (line 138) | func GetFunctionClientInCluster() (versioned.Interface, error) { function GetKubelessClientOutCluster (line 153) | func GetKubelessClientOutCluster() (versioned.Interface, error) { function GetDefaultNamespace (line 167) | func GetDefaultNamespace() string { function GetFunction (line 179) | func GetFunction(funcName, ns string) (kubelessApi.Function, error) { function CreateFunctionCustomResource (line 198) | func CreateFunctionCustomResource(kubelessClient versioned.Interface, f ... function UpdateFunctionCustomResource (line 207) | func UpdateFunctionCustomResource(kubelessClient versioned.Interface, f ... function PatchFunctionCustomResource (line 213) | func PatchFunctionCustomResource(kubelessClient versioned.Interface, f *... function DeleteFunctionCustomResource (line 223) | func DeleteFunctionCustomResource(kubelessClient versioned.Interface, fu... function GetFunctionCustomResource (line 233) | func GetFunctionCustomResource(kubelessClient versioned.Interface, funcN... function GetPodsByLabel (line 244) | func GetPodsByLabel(c kubernetes.Interface, ns, k, v string) (*v1.PodLis... function GetReadyPod (line 256) | func GetReadyPod(pods *v1.PodList) (v1.Pod, error) { function GetLocalHostname (line 273) | func GetLocalHostname(config *rest.Config, funcName string) (string, err... function doRESTReq (line 283) | func doRESTReq(restIface rest.Interface, groupVersion, verb, resource, e... function CreateAutoscale (line 320) | func CreateAutoscale(client kubernetes.Interface, hpa v2beta1.Horizontal... function UpdateAutoscale (line 326) | func UpdateAutoscale(client kubernetes.Interface, hpa v2beta1.Horizontal... function DeleteAutoscale (line 332) | func DeleteAutoscale(client kubernetes.Interface, name, ns string) error { function DeleteServiceMonitor (line 341) | func DeleteServiceMonitor(smclient monitoringv1alpha1.MonitoringV1alpha1... function initializeEmptyMapsInDeployment (line 352) | func initializeEmptyMapsInDeployment(deployment *appsv1.Deployment) { function MergeDeployments (line 374) | func MergeDeployments(destinationDeployment *appsv1.Deployment, sourceDe... function FunctionObjAddFinalizer (line 407) | func FunctionObjAddFinalizer(kubelessClient versioned.Interface, funcObj... function FunctionObjHasFinalizer (line 414) | func FunctionObjHasFinalizer(funcObj *kubelessApi.Function, finalizerStr... function FunctionObjRemoveFinalizer (line 425) | func FunctionObjRemoveFinalizer(kubelessClient versioned.Interface, func... function GetAnnotationsFromCRD (line 443) | func GetAnnotationsFromCRD(clientset clientsetAPIExtensions.Interface, n... function GetRandString (line 452) | func GetRandString(n int) (string, error) { function GetSecretsAsLocalObjectReference (line 461) | func GetSecretsAsLocalObjectReference(secrets ...string) []v1.LocalObjec... FILE: pkg/utils/k8sutil_test.go function objBody (line 24) | func objBody(object interface{}) io.ReadCloser { function fakeConfig (line 32) | func fakeConfig() *rest.Config { function TestGetLocalHostname (line 45) | func TestGetLocalHostname(t *testing.T) { function TestCreateAutoscaleResource (line 58) | func TestCreateAutoscaleResource(t *testing.T) { function TestUpdateAutoscaleResource (line 81) | func TestUpdateAutoscaleResource(t *testing.T) { function TestDeleteAutoscaleResource (line 120) | func TestDeleteAutoscaleResource(t *testing.T) { function TestInitializeEmptyMapsInDeployment (line 143) | func TestInitializeEmptyMapsInDeployment(t *testing.T) { function TestMergeDeployments (line 167) | func TestMergeDeployments(t *testing.T) { function TestGetAnnotationsFromCRD (line 314) | func TestGetAnnotationsFromCRD(t *testing.T) { FILE: pkg/utils/kubelessutil.go constant secretsMountPath (line 55) | secretsMountPath = "/var/run/secrets/kubeless.io" function GetFunctionPort (line 58) | func GetFunctionPort(clientset kubernetes.Interface, namespace, function... function IsJSON (line 67) | func IsJSON(s string) bool { function appendToCommand (line 73) | func appendToCommand(orig string, command ...string) string { function getProvisionContainer (line 80) | func getProvisionContainer(function, checksum, fileName, handler, conten... function addDefaultLabel (line 162) | func addDefaultLabel(labels map[string]string) map[string]string { function hasDefaultLabel (line 170) | func hasDefaultLabel(labels map[string]string) bool { function splitHandler (line 177) | func splitHandler(handler string) (string, string, error) { function getFileName (line 187) | func getFileName(handler, funcContentType, runtime string, lr *langrunti... function EnsureFuncConfigMap (line 204) | func EnsureFuncConfigMap(client kubernetes.Interface, funcObj *kubelessA... function serviceSpec (line 258) | func serviceSpec(funcObj *kubelessApi.Function) v1.ServiceSpec { function EnsureFuncService (line 278) | func EnsureFuncService(client kubernetes.Interface, funcObj *kubelessApi... function getRuntimeVolumeMount (line 312) | func getRuntimeVolumeMount(name string) v1.VolumeMount { function getChecksum (line 319) | func getChecksum(content string) (string, error) { function populatePodSpec (line 333) | func populatePodSpec(funcObj *kubelessApi.Function, lr *langruntime.Lang... function EnsureFuncImage (line 486) | func EnsureFuncImage(client kubernetes.Interface, funcObj *kubelessApi.F... function svcTargetPort (line 596) | func svcTargetPort(funcObj *kubelessApi.Function) int32 { function mergeMap (line 603) | func mergeMap(dst, src map[string]string) map[string]string { function EnsureFuncDeployment (line 614) | func EnsureFuncDeployment(client kubernetes.Interface, funcObj *kubeless... function CreateServiceMonitor (line 799) | func CreateServiceMonitor(smclient monitoringv1alpha1.MonitoringV1alpha1... function GetOwnerReference (line 837) | func GetOwnerReference(kind, apiVersion, name string, uid types.UID) ([]... function GetInClusterConfig (line 855) | func GetInClusterConfig() (*rest.Config, error) { function getConfigLocation (line 871) | func getConfigLocation(apiExtensionsClientset clientsetAPIExtensions.Int... function GetKubelessConfig (line 900) | func GetKubelessConfig(cli kubernetes.Interface, cliAPIExtensions client... function DryRunFmt (line 915) | func DryRunFmt(format string, trigger interface{}) (string, error) { function getCompressionType (line 935) | func getCompressionType(filename string) (compressionType string) { function GetContentType (line 951) | func GetContentType(filename string) (string, error) { function ParseContent (line 973) | func ParseContent(file, contentType string) (string, string, error) { function getFileSha256 (line 1019) | func getFileSha256(file string) (string, error) { function getSha256 (line 1035) | func getSha256(bytes []byte) (string, error) { FILE: pkg/utils/kubelessutil_test.go function getEnvValueFromList (line 20) | func getEnvValueFromList(envName string, l []v1.EnvVar) string { function TestEnsureConfigMap (line 31) | func TestEnsureConfigMap(t *testing.T) { function TestEnsureFuncMapWithoutDeps (line 88) | func TestEnsureFuncMapWithoutDeps(t *testing.T) { function TestAvoidConfigMapOverwrite (line 160) | func TestAvoidConfigMapOverwrite(t *testing.T) { function TestEnsureFileNames (line 176) | func TestEnsureFileNames(t *testing.T) { function TestEnsureService (line 245) | func TestEnsureService(t *testing.T) { function TestUpdateFuncSvc (line 311) | func TestUpdateFuncSvc(t *testing.T) { function TestAvoidServiceOverwrite (line 368) | func TestAvoidServiceOverwrite(t *testing.T) { function TestEnsureImage (line 391) | func TestEnsureImage(t *testing.T) { function getDefaultFunc (line 473) | func getDefaultFunc(name, ns string) *kubelessApi.Function { function prepareDeploymentTest (line 520) | func prepareDeploymentTest(funcName string) (*fake.Clientset, []metav1.O... function TestEnsureDeployment (line 535) | func TestEnsureDeployment(t *testing.T) { function TestEnsureDeploymentWithoutFuncNorHandler (line 727) | func TestEnsureDeploymentWithoutFuncNorHandler(t *testing.T) { function TestEnsureDeploymentWithImage (line 744) | func TestEnsureDeploymentWithImage(t *testing.T) { function TestEnsureDeploymentWithoutFunc (line 763) | func TestEnsureDeploymentWithoutFunc(t *testing.T) { function TestEnsureUpdateDeployment (line 783) | func TestEnsureUpdateDeployment(t *testing.T) { function TestAvoidDeploymentOverwrite (line 813) | func TestAvoidDeploymentOverwrite(t *testing.T) { function TestDeploymentWithUnsupportedRuntime (line 829) | func TestDeploymentWithUnsupportedRuntime(t *testing.T) { function TestDeploymentWithTimeout (line 843) | func TestDeploymentWithTimeout(t *testing.T) { function TestDeploymentWithPrebuiltImage (line 862) | func TestDeploymentWithPrebuiltImage(t *testing.T) { function TestDeploymentWithVolumes (line 883) | func TestDeploymentWithVolumes(t *testing.T) { function TestEnsureDeploymentWithAffinityOverridden (line 916) | func TestEnsureDeploymentWithAffinityOverridden(t *testing.T) { function doesNotContain (line 940) | func doesNotContain(envs []v1.EnvVar, env v1.EnvVar) bool { function TestGetProvisionContainer (line 949) | func TestGetProvisionContainer(t *testing.T) { FILE: pkg/utils/metrics.go type Metric (line 28) | type Metric struct type MetricsRetriever (line 40) | type MetricsRetriever interface type PrometheusMetricsHandler (line 45) | type PrometheusMetricsHandler struct method GetRawMetrics (line 104) | func (h *PrometheusMetricsHandler) GetRawMetrics(apiV1Client kubernete... function parseMetrics (line 47) | func parseMetrics(namespace, functionName string, rawMetrics []byte) ([]... function GetFunctionMetrics (line 116) | func GetFunctionMetrics(apiV1Client kubernetes.Interface, h MetricsRetri...