MCPcopy Create free account

hub / github.com/fnproject/fn / functions

Functions2,053 in github.com/fnproject/fn

↓ 3 callersFunctionNewPureRunner
(cancel context.CancelFunc, addr string, options ...PureRunnerOption)
api/agent/pure_runner.go:977
↓ 3 callersFunctionNewResourceTracker
(cfg *Config)
api/agent/resource.go:77
↓ 3 callersFunctionNewStaticRunnerPool
(runnerAddresses []string, tlsConf *tls.Config, dialOpts ...grpc.DialOption)
api/agent/static_pool.go:23
↓ 3 callersFunctionNewStaticURLFnAnnotator
NewStaticURLFnAnnotator annotates triggers bases on a given, specified URL base - e.g. "https://my.domain" ---> "https://my.domain/t/app/source"
api/server/fn_annotator.go:55
↓ 3 callersFunctionNewStaticURLTriggerAnnotator
NewStaticURLTriggerAnnotator annotates triggers bases on a given, specified URL base - e.g. "https://my.domain" ---> "https://my.domain/t/app/source"
api/server/trigger_annotator.go:57
↓ 3 callersFunctionNewTestSlot
(id uint64)
api/agent/slots_test.go:38
↓ 3 callersMethodNextBackOff
()
api/common/backoff.go:18
↓ 3 callersFunctionParseImage
(image string)
api/agent/drivers/driver.go:294
↓ 3 callersFunctionPureRunnerWithAgent
(a Agent)
api/agent/pure_runner.go:923
↓ 3 callersMethodRead
(b []byte)
api/agent/func_logger.go:72
↓ 3 callersFunctionRegister
Register registers a new SQL helper
api/datastore/sql/dbhelper/dbhelper.go:13
↓ 3 callersFunctionSetVersion
(ctx context.Context, tx *sqlx.Tx, version int64, dirty bool)
api/datastore/sql/migratex/migrate.go:276
↓ 3 callersMethodString
String converts this time to a string
api/common/time.go:103
↓ 3 callersMethodString
implements fmt.Stringer
api/models/config.go:138
↓ 3 callersFunctionStripHopHeaders
StripHopHeaders removes transport related headers.
api/common/io_utils.go:10
↓ 3 callersMethodSwap
(r io.Writer)
api/common/io_utils.go:136
↓ 3 callersFunctionValidateText
ValidateText returns true if the data is a valid encoding.
api/id/id.go:218
↓ 3 callersMethodValue
Value converts DateTime to a primitive value ready to written to a database.
api/common/time.go:142
↓ 3 callersFunctionWithAgent
WithAgent allows directly setting an agent
api/server/server.go:385
↓ 3 callersFunctionWithLogDest
WithLogDest maps EnvLogDest TODO(deprecate): caller should just call SetLogDest
api/server/server.go:326
↓ 3 callersFunctionWithLogger
WithLogger sets stderr to the provided one
api/agent/call.go:174
↓ 3 callersFunctionWithReadDataAccess
WithReadDataAccess overrides the LB read DataAccess for a server
api/server/server.go:364
↓ 3 callersMethodWrite
(b []byte)
api/server/runner_httptrigger.go:84
↓ 3 callersMethodWriteHeader
(code int)
api/server/runner_fninvoke.go:43
↓ 3 callersFunctionannotationGenerator
()
api/models/app_test.go:28
↓ 3 callersFunctionappGenerator
(t *testing.T)
api/models/app_test.go:63
↓ 3 callersFunctioncheckSocketDestination
checkSocketDestination verifies that the socket file created by the FDK is valid and permitted - notably verifying that any symlinks are relative to t
api/agent/agent.go:981
↓ 3 callersMethodclone
clone produces a key-wise copy of the underlying annotations publically MD can be copied by reference as it's (by contract) immutable
api/models/annotations.go:208
↓ 3 callersFunctioncreateModelCall
(appId string)
api/agent/agent_test.go:1658
↓ 3 callersMethodenqueueMsg
enqueueMsg attempts to queue a message to the gRPC sender
api/agent/pure_runner.go:200
↓ 3 callersFunctionfnGenerator
(t *testing.T)
api/models/fn_test.go:57
↓ 3 callersFunctiongetAgentWithDriver
create a simple non-blocking agent. Non-blocking does not queue, so it's easier to test and see if evictions took place.
api/agent/agent_evict_test.go:23
↓ 3 callersMethodhandleCallEnd
(ctx context.Context, call *call, slot Slot, err error, isStarted bool)
api/agent/agent.go:320
↓ 3 callersFunctionhost
()
test/fn-system-tests/exec_http_trigger_test.go:366
↓ 3 callersMethodisEligible
isEligible returns true if the image is eligible to be managed by image cacher.
api/agent/drivers/docker/image_cache.go:103
↓ 3 callersFunctionnovelValue
(t *testing.T, originalInstance reflect.Value, fieldName string, fieldGen gopter.Gen)
api/models/app_test.go:67
↓ 3 callersFunctionpageParams
(c *gin.Context)
api/server/server.go:1051
↓ 3 callersFunctionreadString
(fileName string)
api/agent/resource.go:412
↓ 3 callersMethodsendNotify
sendNotify tries to wake up any pending listener on notify channel
api/agent/drivers/docker/image_cache.go:162
↓ 3 callersFunctionsetupLogger
setupLogger returns a ReadWriteCloser that may have: * [always] writes bytes to a size limited buffer, that can be read from using io.Reader * [always
api/agent/func_logger.go:28
↓ 3 callersFunctionsetupMockRunnerPool
(expectedRunners []string, execSleep time.Duration, maxCalls int32)
api/agent/lb_agent_test.go:148
↓ 3 callersFunctionstatsUtilization
(ctx context.Context, util ResourceUtilization)
api/agent/stats.go:109
↓ 3 callersFunctiontestCall
return a model with all fields filled in with fnproject/fn-test-utils:latest image, change as needed
api/agent/agent_test.go:898
↓ 3 callersFunctiontriggerGenerator
(t *testing.T)
api/models/trigger_test.go:97
↓ 3 callersFunctiontryNotify
(notifyChan chan error, err error)
api/agent/agent.go:449
↓ 2 callersMethodAfterAppCreate
AfterAppCreate called after creating App in the database
fnext/listeners.go:14
↓ 2 callersMethodAfterAppDelete
AfterAppDelete called after deleting App in the database
fnext/listeners.go:22
↓ 2 callersMethodAfterAppGet
AfterAppGet called after getting app from database
fnext/listeners.go:26
↓ 2 callersMethodAfterAppUpdate
AfterAppUpdate called after updating App in the database
fnext/listeners.go:18
↓ 2 callersMethodAfterAppsList
AfterAppsList called after deleting getting a list of user's apps. apps is the result after applying AppFilter.
fnext/listeners.go:30
↓ 2 callersMethodAfterCall
AfterCall is invoked just after an invocation is finished, providing that BeforeCall returned without an error
api/agent/drivers/driver.go:227
↓ 2 callersMethodAfterFnCreate
AfterFnCreate called after fn create in the datastore
fnext/listeners.go:49
↓ 2 callersMethodAfterFnDelete
AfterFnDelete called after fn deleted from the datastore
fnext/listeners.go:57
↓ 2 callersMethodAfterFnUpdate
AfterFnUpdate called after fn updated in datastore
fnext/listeners.go:53
↓ 2 callersMethodAfterTriggerCreate
AfterTriggerCreate called after trigger create in the datastore
fnext/listeners.go:65
↓ 2 callersMethodAfterTriggerDelete
AfterTriggerDelete called after trigger deleted from the datastore
fnext/listeners.go:73
↓ 2 callersMethodAfterTriggerUpdate
AfterTriggerUpdate called after trigger updated in datastore
fnext/listeners.go:69
↓ 2 callersMethodAppForDeletion
(app *models.App)
api/datastore/datastoretest/test.go:154
↓ 2 callersMethodAttachToContainerNonBlocking
Each of these are github.com/fsouza/go-dockerclient methods
api/agent/drivers/docker/docker_client.go:30
↓ 2 callersMethodBeforeAppCreate
BeforeAppCreate called right before creating App in the database
fnext/listeners.go:12
↓ 2 callersMethodBeforeAppDelete
BeforeAppDelete called right before deleting App in the database
fnext/listeners.go:20
↓ 2 callersMethodBeforeAppGet
BeforeAppGet called right before getting an app
fnext/listeners.go:24
↓ 2 callersMethodBeforeAppUpdate
BeforeAppUpdate called right before updating App in the database
fnext/listeners.go:16
↓ 2 callersMethodBeforeAppsList
BeforeAppsList called right before getting a list of all user's apps. Modify the filter to adjust what gets returned.
fnext/listeners.go:28
↓ 2 callersMethodBeforeCall
BeforeCall is invoked just prior to running an invocation. The Task is definitely going to be used for this invocation. Invocation extensions are pass
api/agent/drivers/driver.go:218
↓ 2 callersMethodBeforeFnCreate
BeforeFnCreate called before fn created in the datastore
fnext/listeners.go:47
↓ 2 callersMethodBeforeFnDelete
BeforeFnDelete called before fn deleted from the datastore
fnext/listeners.go:55
↓ 2 callersMethodBeforeFnUpdate
BeforeFnUpdate called before fn update in datastore
fnext/listeners.go:51
↓ 2 callersMethodBeforeTriggerCreate
BeforeTriggerCreate called before trigger created in the datastore
fnext/listeners.go:63
↓ 2 callersMethodBeforeTriggerDelete
BeforeTriggerDelete called before trigger deleted from the datastore
fnext/listeners.go:71
↓ 2 callersMethodBeforeTriggerUpdate
BeforeTriggerUpdate called before trigger update in datastore
fnext/listeners.go:67
↓ 2 callersMethodCPUs
CPUs in milli CPU units
api/agent/drivers/driver.go:147
↓ 2 callersMethodCheckTableExists
CheckTableExists checks if a table exists in the DB
api/datastore/sql/dbhelper/dbhelper.go:27
↓ 2 callersMethodClone
Clone creates a deep copy of a trigger
api/models/trigger.go:194
↓ 2 callersMethodClose
Close should clean up any resources the cookie was using, or was going to use.
api/agent/drivers/driver.go:21
↓ 2 callersMethodClose
()
api/agent/drivers/docker/docker.go:320
↓ 2 callersMethodContainerOptions
Fetch driver specific container configuration. Use this to access the container create options. If Driver.Prepare() is not yet called with the cookie,
api/agent/drivers/driver.go:56
↓ 2 callersFunctionCreateRunnerPool
(runners []string)
test/fn-system-tests/system_test.go:68
↓ 2 callersMethodDatastore
Datastore implements fnext.ExtServer
api/server/server.go:1042
↓ 2 callersMethodDeadline
()
api/common/ctx.go:51
↓ 2 callersMethodEngage
(ctx context.Context, opts ...grpc.CallOption)
api/agent/grpc/runner.pb.go:1454
↓ 2 callersMethodEquals
(a2 *App)
api/models/app.go:165
↓ 2 callersMethodEqualsWithAnnotationSubset
EqualsWithAnnotationSubset is equivalent to Equals except it accepts cases where t's annotations are strict subset of t2
api/models/trigger.go:46
↓ 2 callersFunctionFromModelAndInput
FromModelAndInput creates a call object from an existing stored call model object , reading the body from a provided stream
api/agent/call.go:138
↓ 2 callersMethodFsSize
Filesystem size limit for the container, in megabytes.
api/agent/drivers/driver.go:150
↓ 2 callersFunctionGenerateLogScaleHistogramBuckets
GenerateLogScaleHistogramBuckets generates number of buckets specified by count on the log scale such that the value specified by max is in the last b
api/common/stats_utils.go:69
↓ 2 callersMethodGetAppByID
(ctx context.Context, appID string)
api/datastore/mock.go:69
↓ 2 callersMethodGetAppByID
GetAppByID abstracts querying the datastore for an app.
api/agent/data_access.go:19
↓ 2 callersMethodGetAppID
(ctx context.Context, appName string)
api/agent/data_access.go:17
↓ 2 callersFunctionGetCallLatencies
(c *call)
api/agent/call.go:399
↓ 2 callersMethodGetDetails
()
api/agent/grpc/runner.pb.go:376
↓ 2 callersMethodGetFnByID
(ctx context.Context, fnID string)
api/agent/data_access.go:21
↓ 2 callersMethodGetSlotKeyExtensions
Get serialized string of fields in call extn that determines if we can use an existing hot container slot or pull a new image and start a container
api/agent/drivers/driver.go:80
↓ 2 callersMethodGetTriggerBySource
(ctx context.Context, appID string, triggerType, source string)
api/agent/data_access.go:20
↓ 2 callersMethodHandleFindRunnersFailure
HandleFindRunnersFailure is a convenience function to record error from runnerpool.Runners()
api/runnerpool/placer_tracker.go:44
↓ 2 callersMethodIsDone
IsDone is a non-blocking check to see if the underlying deadlines are exceeded.
api/runnerpool/placer_tracker.go:39
↓ 2 callersMethodIsResourcePossible
is this request possible to meet? If no, fail quick
api/agent/resource.go:145
↓ 2 callersFunctionLimitRequestBody
LimitRequestBody wraps every http request to limit its size to the specified max bytes.
api/server/server_options.go:52
↓ 2 callersMethodListContainers
(opts docker.ListContainersOptions)
api/agent/drivers/docker/docker_client.go:45
↓ 2 callersMethodListImages
(opts docker.ListImagesOptions)
api/agent/drivers/docker/docker_client.go:40
← previousnext →301–400 of 2,053, ranked by callers