MCPcopy Create free account

hub / github.com/fnproject/fn / functions

Functions2,053 in github.com/fnproject/fn

↓ 1 callersMethodAddEndpoint
AddEndpoint adds an endpoint to /v2/x
fnext/setup.go:34
↓ 1 callersMethodAddEndpointFunc
AddEndpoint adds an endpoint to /v2/x
fnext/setup.go:36
↓ 1 callersMethodAddEventListener
(ctx context.Context)
api/agent/drivers/docker/docker_client.go:46
↓ 1 callersMethodAddEventListener
(ctx context.Context)
api/agent/drivers/docker/docker_client.go:269
↓ 1 callersMethodAddExtensionByName
AddExtensionByName This essentially just makes sure the extensions are ordered properly and is what the CLI uses for the `fn build-server` command. Pr
api/server/extensions.go:20
↓ 1 callersMethodAddMiddleware
AddMiddleware DEPRECATED - see AddAPIMiddleware
api/server/middleware.go:95
↓ 1 callersMethodAddMiddlewareFunc
AddMiddlewareFunc DEPRECATED - see AddAPIMiddlewareFunc
api/server/middleware.go:100
↓ 1 callersMethodAddRootMiddleware
AddRootMiddleware add middleware add middleware for end user applications
api/server/middleware.go:115
↓ 1 callersMethodAddRootMiddleware
AddRootMiddleware add middleware add middleware for end user applications
fnext/setup.go:29
↓ 1 callersMethodAddUserExecutionTime
For metrics/stats, add special accounting for time spent in customer code
api/runnerpool/runner_pool.go:69
↓ 1 callersMethodAllocNetwork
pick least used network
api/agent/drivers/docker/docker_networks.go:31
↓ 1 callersFunctionCleanUpSystem
(st *state)
test/fn-system-tests/system_test.go:187
↓ 1 callersMethodClone
()
api/models/app.go:150
↓ 1 callersMethodClose
Close closes container and releases resources associated with it
api/agent/agent.go:1430
↓ 1 callersFunctionContextWithAppID
(ctx context.Context, appID string)
api/server/gin_middlewares.go:231
↓ 1 callersFunctionContextWithFnID
(ctx context.Context, fnID string)
api/server/gin_middlewares.go:219
↓ 1 callersMethodCreateContainer
Create container which can be Run() later
api/agent/drivers/driver.go:50
↓ 1 callersMethodCreateCookie
(ctx context.Context, task drivers.ContainerTask)
api/agent/drivers/docker/docker.go:335
↓ 1 callersFunctionDefaultPureRunner
(cancel context.CancelFunc, addr string, tlsCfg *tls.Config)
api/agent/pure_runner.go:862
↓ 1 callersFunctionDefaultStaticRunnerPool
(runnerAddresses []string)
api/agent/static_pool.go:19
↓ 1 callersFunctionDialWithBackoff
DialWithBackoff creates a grpc connection using backoff strategy for reconnections
grpcutil/dial.go:17
↓ 1 callersMethodDisableEviction
DisableEviction disables container eviction.
api/agent/agent.go:1411
↓ 1 callersMethodDisableNet
Returns true if network is disabled.
api/agent/drivers/driver.go:210
↓ 1 callersMethodDockerPath
()
api/agent/iofs.go:16
↓ 1 callersFunctionDown
(ctx context.Context, tx *sqlx.Tx, migs []Migration)
api/datastore/sql/migratex/migrate.go:84
↓ 1 callersMethodDown
(context.Context, *sqlx.Tx)
api/datastore/sql/migratex/migrate.go:55
↓ 1 callersMethodEnableEviction
EnableEviction allows container eviction
api/agent/agent.go:1403
↓ 1 callersFunctionEncodeDescending
EncodeDescending returns a lexicographically sortable descending encoding of a given id, e.g. 000 -> ZZZ, which allows reversing the sort order when s
api/id/id.go:298
↓ 1 callersMethodEquals
Equals compares two triggers for semantic equality it ignores timestamp fields but includes annotations
api/models/trigger.go:31
↓ 1 callersMethodExtensions
()
api/runnerpool/runner_pool.go:63
↓ 1 callersMethodFreeNetwork
unregister network
api/agent/drivers/docker/docker_networks.go:53
↓ 1 callersMethodFreeze
Freeze the container to pause running processes
api/agent/drivers/driver.go:36
↓ 1 callersFunctionGenerateLinearHistogramBuckets
GenerateLinearHistogramBuckets generates number of buckets specified by count in the range specified by min and max
api/common/stats_utils.go:58
↓ 1 callersFunctionGenerateLogScaleHistogramBucketsWithRange
GenerateLogScaleHistogramBucketsWithRange generates histogram buckets on the log scale between the specified min and max range, such that the min valu
api/common/stats_utils.go:49
↓ 1 callersMethodGetAck
()
api/agent/grpc/runner.pb.go:991
↓ 1 callersMethodGetActive
()
api/agent/grpc/runner.pb.go:701
↓ 1 callersMethodGetCompletedAt
()
api/agent/grpc/runner.pb.go:411
↓ 1 callersMethodGetCreatedAt
()
api/agent/grpc/runner.pb.go:397
↓ 1 callersMethodGetData
()
api/agent/grpc/runner.pb.go:147
↓ 1 callersMethodGetEvictChan
GetEvictChan returns a channel that closes if an eviction occurs. Do not refer to the same channel after calls to EnableEviction/DisableEviction flags
api/agent/agent.go:1471
↓ 1 callersMethodGetExtensions
()
api/agent/grpc/runner.pb.go:103
↓ 1 callersMethodGetFnByID
(ctx context.Context, fnID string)
api/datastore/mock.go:283
↓ 1 callersMethodGetImage
()
api/agent/grpc/runner.pb.go:439
↓ 1 callersMethodGetMeta
()
api/agent/grpc/runner.pb.go:301
↓ 1 callersMethodGetPlacerConfig
()
api/runnerpool/runner_pool.go:17
↓ 1 callersMethodGetRequestsHandled
()
api/agent/grpc/runner.pb.go:778
↓ 1 callersMethodGetRequestsReceived
()
api/agent/grpc/runner.pb.go:771
↓ 1 callersMethodGetStart
()
api/agent/grpc/runner.pb.go:984
↓ 1 callersMethodGetStartedAt
()
api/agent/grpc/runner.pb.go:404
↓ 1 callersMethodGetState
()
api/agent/state_trackers.go:29
↓ 1 callersMethodGetStats
Stats Monitoring
api/agent/drivers/docker/image_cache.go:57
↓ 1 callersFunctionGetStatusCheckerImage
()
test/testutils.go:19
↓ 1 callersMethodGetTry
()
api/agent/grpc/runner.pb.go:532
↓ 1 callersMethodGetUserExecutionTime
()
api/runnerpool/runner_pool.go:70
↓ 1 callersFunctionHandleErrorResponse
HandleErrorResponse used to handle response errors in the same way.
api/server/error_response.go:29
↓ 1 callersMethodHeader
()
api/server/runner_httptrigger.go:80
↓ 1 callersMethodImage
()
api/agent/drivers/docker/docker_test.go:114
↓ 1 callersFunctionInvokeDetached
InvokeDetached mark a call to be a detached call
api/agent/call.go:182
↓ 1 callersFunctionIsDate
IsDate returns true when the string is a valid date
api/common/time.go:29
↓ 1 callersMethodIsResourcePossible
IsResourcePossible returns whether it's possible to fulfill the requested resources on this machine. Memory is expected to be provided in MB units.
api/agent/resource.go:58
↓ 1 callersMethodLen
()
api/datastore/mock.go:81
↓ 1 callersMethodLoadImages
(ctx context.Context, filePath string)
api/agent/drivers/docker/docker_client.go:44
↓ 1 callersMethodLockedMemory
LockedMemory maximum number of bytes of memory that may be locked into RAM. Return nil for the default value from the host.
api/agent/drivers/driver.go:163
↓ 1 callersMethodLoggerConfig
Logger Config to use in driver
api/agent/drivers/driver.go:181
↓ 1 callersMethodMarshalBinaryTo
MarshalBinaryTo writes the binary encoding of the Id to the given buffer. ErrBufferSize is returned when the len(dst) != 16.
api/id/id.go:108
↓ 1 callersFunctionMaskPassword
MaskPassword returns a stringified URL without its password visible
api/common/logging.go:100
↓ 1 callersMethodMessageQueue
MessageQueue a limit on the number of bytes that can be allocated for POSIX message queues. Return nil for the default value from the host.
api/agent/drivers/driver.go:171
↓ 1 callersFunctionMetricDS
(ds models.Datastore)
api/datastore/internal/datastoreutil/metrics.go:10
↓ 1 callersMethodModel
()
api/agent/lb_agent_test.go:132
↓ 1 callersFunctionModifyCallRequest
(callType string)
api/agent/lb_agent_test.go:247
↓ 1 callersMethodNeededCapacity
()
api/agent/resource.go:92
↓ 1 callersFunctionNew
New creates a DataStore from the specified URL
api/datastore/datastore.go:14
↓ 1 callersFunctionNew
New Instantiates a driver by name
api/agent/drivers/register.go:17
↓ 1 callersFunctionNewCallHandle
(engagement runner.RunnerProtocol_EngageServer)
api/agent/pure_runner.go:102
↓ 1 callersFunctionNewContainerState
()
api/agent/state_trackers.go:39
↓ 1 callersFunctionNewDatastore
NewDatastore returns a Datastore that wraps the provided Datastore, calling any relevant listeners around any of the Datastore methods.
fnext/datastore.go:11
↓ 1 callersFunctionNewDateTime
NewDateTime is a representation of zero value for DateTime type
api/common/time.go:98
↓ 1 callersFunctionNewDetachedResponseWriter
(h http.Header, statusCode int)
api/agent/lb_agent.go:54
↓ 1 callersFunctionNewGhostWriter
()
api/common/io_utils.go:147
↓ 1 callersFunctionNewMetricReadDataAccess
NewMetricReadDataAccess adds metrics to a ReadDataAccess
api/agent/data_access.go:30
↓ 1 callersFunctionNewRequestState
()
api/agent/state_trackers.go:35
↓ 1 callersFunctionNewSlotQueueMgr
()
api/agent/slots.go:67
↓ 1 callersFunctionNewStatusTracker
()
api/agent/runner_status.go:51
↓ 1 callersFunctionNewSyslogHook
(url *url.URL, prefix string)
api/common/win_logging.go:11
↓ 1 callersFunctionNewSystemTestNodePoolNoNet
A runner pool with no docker networks available (using runner4)
test/fn-system-tests/system_test.go:84
↓ 1 callersFunctionNewWithTime
NewWithTime returns an id that uses the milliseconds from the given time. New is identical to NewWithTime(time.Now())
api/id/id.go:55
↓ 1 callersFunctionNewgRPCRunner
(addr string, tlsConf *tls.Config, dialOpts ...grpc.DialOption)
api/agent/runner_client.go:55
↓ 1 callersFunctionNewgRPCRunnerWithTimeout
(addr string, tlsConf *tls.Config, timeout time.Duration, dialOpts ...grpc.DialOption)
api/agent/runner_client.go:60
↓ 1 callersMethodOpenFiles
OpenFiles defines the max number of files that the process in the function is allowed to open. Return nil for the default value from the host.
api/agent/drivers/driver.go:159
↓ 1 callersMethodPIDs
PIDs defines the max number of PIDs allowed for the container to use. 0 is unlimited.
api/agent/drivers/driver.go:154
↓ 1 callersMethodPendingSignals
PendingSignals limit on the number of signals that may be queued. Return nil for the default value from the host.
api/agent/drivers/driver.go:167
↓ 1 callersMethodPostCreate
PostCreate Apply any configuration to the DB prior to use
api/datastore/sql/dbhelper/dbhelper.go:25
↓ 1 callersMethodPreConnect
PreConnect calculates the connect URL for the db from a canonical URL used in Fn config
api/datastore/sql/dbhelper/dbhelper.go:23
↓ 1 callersMethodPullImage
Pull the image. An image pull requires validation/inspection again.
api/agent/drivers/driver.go:47
↓ 1 callersMethodPullImage
(opts docker.PullImageOptions, auth docker.AuthConfiguration)
api/agent/drivers/docker/docker_client.go:38
↓ 1 callersFunctionPureRunnerWithConfigFunc
(configFunc func(context.Context, *runner.ConfigMsg) (*runner.ConfigStatus, error))
api/agent/pure_runner.go:901
↓ 1 callersFunctionPureRunnerWithCustomHealthCheckerFunc
(customHealthCheckerFunc func(context.Context) (map[string]string, error))
api/agent/pure_runner.go:912
↓ 1 callersFunctionPureRunnerWithDetached
()
api/agent/pure_runner.go:969
↓ 1 callersFunctionPureRunnerWithGRPCServerOptions
(options ...grpc.ServerOption)
api/agent/pure_runner.go:934
↓ 1 callersFunctionPureRunnerWithLogStreamer
(logStreamer LogStreamer)
api/agent/pure_runner.go:891
← previousnext →501–600 of 2,053, ranked by callers