MCPcopy Index your code

hub / github.com/openfaas/faasd / functions

Functions195 in github.com/openfaas/faasd

↓ 1 callersFunctionconvertPorts
(ports []compose.ServicePortConfig)
pkg/supervisor.go:380
↓ 1 callersFunctioncopyFile
(src, dst string)
cmd/provider.go:146
↓ 1 callersFunctioncountFunctions
countFunctions returns the number of functions deployed along with a map with a count in each namespace
pkg/provider/handlers/deploy.go:188
↓ 1 callersFunctioncreateNamespace
(client *containerd.Client, w http.ResponseWriter, r *http.Request)
pkg/provider/handlers/mutate_namespaces.go:174
↓ 1 callersFunctiondeleteNamespace
(client *containerd.Client, w http.ResponseWriter, r *http.Request)
pkg/provider/handlers/mutate_namespaces.go:96
↓ 1 callersFunctiondeleteSecret
(w http.ResponseWriter, r *http.Request, mountPath string)
pkg/provider/handlers/secret.go:128
↓ 1 callersFunctionensureSecretsDir
(folder string)
cmd/install.go:110
↓ 1 callersFunctionfindNamespace
(target string, items []string)
pkg/provider/handlers/namespaces.go:55
↓ 1 callersMethodget
(upstream string)
pkg/local_resolver.go:94
↓ 1 callersFunctiongetNamespace
(client *containerd.Client, w http.ResponseWriter, r *http.Request)
pkg/provider/handlers/mutate_namespaces.go:133
↓ 1 callersFunctiongetNamespaceOrDefault
(name, defaultNamespace string)
pkg/provider/handlers/invoke_resolver.go:50
↓ 1 callersFunctiongetOSMounts
getOSMounts provides a mount for os-specific files such as the hosts file and resolv.conf
pkg/provider/handlers/deploy.go:289
↓ 1 callersFunctiongetResolver
(configFile *configfile.ConfigFile)
pkg/service/service.go:138
↓ 1 callersFunctiongetUpstream
(val string, defaultPort uint32)
pkg/proxy.go:102
↓ 1 callersFunctionisTraversal
(name string)
pkg/provider/handlers/secret.go:165
↓ 1 callersFunctionkillTask
Adapted from Stellar - https://github.com/stellar
pkg/service/service.go:84
↓ 1 callersFunctionlistSecrets
(store provider.Labeller, w http.ResponseWriter, r *http.Request, mountPath string)
pkg/provider/handlers/secret.go:49
↓ 1 callersFunctionloadServiceDefinition
load the docker compose file and then parse it as supervisor Services the logic for loading the compose file comes from the compose reference implemen
cmd/up.go:178
↓ 1 callersFunctionlogErrOut
(out io.ReadCloser)
pkg/logs/requestor.go:178
↓ 1 callersFunctionmakeProviderCmd
()
cmd/provider.go:26
↓ 1 callersFunctionmakeServiceCmd
()
cmd/service.go:5
↓ 1 callersFunctionmakeServiceLogsCmd
()
cmd/service_logs.go:14
↓ 1 callersFunctionmoveSecretsToDefaultNamespaceSecrets
* * Mutiple namespace support was added after release 0.13.0 * Function will help users to migrate on multiple namespace support of faasd */
cmd/provider.go:111
↓ 1 callersFunctionparseUpFlags
ParseUpFlags will load the flag values into an upFlags object. Errors will be underlying Get errors from the pflag library.
cmd/up.go:196
↓ 1 callersFunctionpathExists
(path string)
pkg/cninetwork/cni_network.go:254
↓ 1 callersFunctionprepareEnv
(envProcess string, reqEnvVars map[string]string)
pkg/provider/handlers/deploy.go:265
↓ 1 callersMethodrebuild
()
pkg/local_resolver.go:52
↓ 1 callersFunctionresolve
resolve mutates the resolved graph for a given starting node. The unresolved graph is used to detect a circular graph error and will throw a panic. Th
pkg/depgraph/depgraph.go:86
↓ 1 callersFunctionsortedEnvKeys
(env map[string]*string)
pkg/supervisor.go:429
↓ 1 callersFunctionstreamLogs
streamLogs copies log entries from the journalctl `cmd`/`out` to `msgs` the loop is based on the Decoder example in the docs https://golang.org/pkg/en
pkg/logs/requestor.go:103
↓ 1 callersFunctiontestArchGetter
(arch, os string)
pkg/supervisor_test.go:246
↓ 1 callersFunctionupdateNamespace
(client *containerd.Client, w http.ResponseWriter, r *http.Request)
pkg/provider/handlers/mutate_namespaces.go:39
↓ 1 callersFunctionvalidateSecret
(secret types.Secret)
pkg/provider/handlers/secret.go:170
↓ 1 callersFunctionwithMemory
(mem *specs.LinuxMemory)
pkg/provider/handlers/deploy.go:323
↓ 1 callersFunctionwithOCIArgs
(args []string)
pkg/supervisor.go:319
↓ 1 callersFunctionwithUserOrDefault
(userstr string)
pkg/supervisor.go:309
↓ 1 callersFunctionwriteUnit
(name string, data []byte)
pkg/systemd/systemd.go:95
FunctionCollectCommand
()
cmd/collect.go:15
MethodGet
Get resolves a hostname to an IP, or timesout after the duration has passed
pkg/local_resolver.go:77
MethodGet
(upstream string, got chan<- string, timeout time.Duration)
pkg/proxy_test.go:84
MethodLabels
(ctx context.Context, namespace string)
pkg/provider/labeller.go:23
FunctionNSPathByPid
(pid int)
pkg/cninetwork/netns.go:60
FunctionNew
New returns a new journalctl log Requester
pkg/logs/requestor.go:22
MethodResolve
(functionName string)
pkg/provider/handlers/invoke_resolver.go:23
MethodStart
()
pkg/proxy_test.go:80
FunctionTestListSecrets
(t *testing.T)
pkg/provider/handlers/secret_test.go:170
FunctionTestSecretCreation
(t *testing.T)
pkg/provider/handlers/secret_test.go:72
FunctionTest_BuildLabelsAndAnnotationsFromServiceSpec_Annotations
(t *testing.T)
pkg/provider/handlers/function_test.go:11
FunctionTest_BuildLabels_WithAnnotationCollision
(t *testing.T)
pkg/provider/handlers/deploy_test.go:62
FunctionTest_BuildLabels_WithAnnotations
(t *testing.T)
pkg/provider/handlers/deploy_test.go:11
FunctionTest_GetArchSuffix
(t *testing.T)
pkg/supervisor_test.go:188
FunctionTest_InfoHandler
(t *testing.T)
pkg/provider/handlers/info_test.go:10
FunctionTest_ParseCompose
(t *testing.T)
pkg/supervisor_test.go:9
FunctionTest_ProcessEnvToEnvVars
(t *testing.T)
pkg/provider/handlers/function_test.go:59
FunctionTest_Proxy_ToPrivateServer
(t *testing.T)
pkg/proxy_test.go:15
FunctionTest_RemoveFinal
(t *testing.T)
pkg/depgraph/depgraph_test.go:24
FunctionTest_RemoveMedial
(t *testing.T)
pkg/depgraph/depgraph_test.go:5
FunctionTest_SetPort
(t *testing.T)
pkg/provider/config/read_test.go:79
FunctionTest_SetServiceTimeout
(t *testing.T)
pkg/provider/config/read_test.go:48
FunctionTest_SetSockByEnv
(t *testing.T)
pkg/provider/config/read_test.go:26
FunctionTest_SplitMountToSecrets
(t *testing.T)
pkg/provider/handlers/function_test.go:34
FunctionTest_buildCmd
(t *testing.T)
pkg/logs/requestor_test.go:48
FunctionTest_buildDeploymentOrderCircularARequiresBRequiresA
(t *testing.T)
pkg/deployment_order_test.go:107
FunctionTest_buildDeploymentOrderComposeFile
(t *testing.T)
pkg/deployment_order_test.go:126
FunctionTest_buildDeploymentOrderOpenFaaS
(t *testing.T)
pkg/deployment_order_test.go:170
FunctionTest_buildDeploymentOrder_ARequiresB
(t *testing.T)
pkg/deployment_order_test.go:8
FunctionTest_buildDeploymentOrder_ARequiresBAndC
(t *testing.T)
pkg/deployment_order_test.go:33
FunctionTest_buildDeploymentOrder_ARequiresBRequiresC
(t *testing.T)
pkg/deployment_order_test.go:68
FunctionTest_findNamespace
(t *testing.T)
pkg/provider/handlers/function_test.go:89
FunctionTest_getNamespaceSecretMountPath
(t *testing.T)
pkg/provider/handlers/utils_test.go:32
FunctionTest_getRequestNamespace
(t *testing.T)
pkg/provider/handlers/utils_test.go:12
FunctionTest_isCNIResultForPID_Found
(t *testing.T)
pkg/cninetwork/cni_network_test.go:9
FunctionTest_isCNIResultForPID_NoMatch
(t *testing.T)
pkg/cninetwork/cni_network_test.go:36
FunctionTest_parseEntry
(t *testing.T)
pkg/logs/requestor_test.go:14
FunctionTest_parseSecret
(t *testing.T)
pkg/provider/handlers/secret_test.go:20
FunctionTest_readMemoryLimitFromSpec
(t *testing.T)
pkg/provider/handlers/function_test.go:111
FunctionTest_readNamespaceFromQuery
(t *testing.T)
pkg/provider/handlers/utils_test.go:53
FunctionWithNetNSByPath
(path string, work func() error)
pkg/cninetwork/netns.go:52
FunctionWithNetNSLink
(ns netns.NsHandle, ifName string, work func(link netlink.Link) error)
pkg/cninetwork/netns.go:39
FunctiondirEmpty
(dirname string)
pkg/cninetwork/cni_network.go:227
FunctionequalMountSlice
(t *testing.T, want, found []Mount)
pkg/supervisor_test.go:171
Functioninit
()
cmd/up.go:36
Functioninit
()
cmd/root.go:14
FunctionlogStdio
logStdio copied from https://github.com/containerd/containerd/pull/3085 https://github.com/stellarproject/orbit
cmd/collect.go:33
Functionmain
()
main.go:10
FunctionparseBaseCommand
(_ *cobra.Command, _ []string)
cmd/root.go:69
FunctionpreRunE
(cmd *cobra.Command, _ []string)
cmd/up.go:208
FunctionpreRunServiceLogsE
(cmd *cobra.Command, args []string)
cmd/service_logs.go:73
FunctionrunCollect
(_ *cobra.Command, _ []string)
cmd/collect.go:25
FunctionrunInstall
(_ *cobra.Command, _ []string)
cmd/install.go:27
FunctionrunProviderE
(cmd *cobra.Command, _ []string)
cmd/provider.go:38
FunctionrunRootCommand
(cmd *cobra.Command, args []string)
cmd/root.go:55
FunctionrunServiceE
(cmd *cobra.Command, args []string)
cmd/service.go:18
FunctionrunServiceLogsE
(cmd *cobra.Command, args []string)
cmd/service_logs.go:36
FunctionrunUp
(cmd *cobra.Command, _ []string)
cmd/up.go:47
← previous101–195 of 195, ranked by callers