MCPcopy Create free account

hub / github.com/fnproject/fn / types & classes

Types & classes309 in github.com/fnproject/fn

↓ 31 callersTypeAliasDateTime
DateTime is a time but it serializes to ISO8601 format with millis It knows how to read 3 different variations of a RFC3339 date time. Most APIs we en
api/common/time.go:95
↓ 9 callersTypeAliasMilliCPUs
MilliCPU units
api/models/config.go:130
↓ 4 callersTypeAliascontextKey
api/common/ctx.go:10
↓ 2 callersTypeAliasAppByName
api/datastore/datastoretest/test.go:166
↓ 2 callersTypeAliasErrInvalidSyslog
api/models/app.go:235
↓ 2 callersTypeAliasTriggerByName
api/datastore/datastoretest/test.go:178
↓ 2 callersTypeAliasannotationValue
annotationValue encapsulates a value in the annotations map, This is stored in its compacted, un-parsed JSON format for later (re-) parsing into speci
api/models/annotations.go:24
↓ 2 callersTypeAliasctxAppIDKey
api/server/gin_middlewares.go:229
↓ 2 callersTypeAliasctxFnIDKey
api/server/gin_middlewares.go:217
↓ 2 callersTypeAliassorted
api/datastore/sql/migratex/migrate.go:59
↓ 1 callersFuncTypeAPIHandlerFunc
APIHandlerFunc is a convenience to make an APIHandler.
fnext/api.go:8
↓ 1 callersTypeAliasConfig
api/models/config.go:12
↓ 1 callersTypeAliasErrDirty
ErrDirty is an error that is returned when a db is dirty.
api/datastore/sql/migratex/migrate.go:45
↓ 1 callersTypeAliasErrMigration
ErrMigration represents an error running a specific migration in a specific direction
api/datastore/sql/migratex/migrate.go:36
↓ 1 callersTypeAliasFnByName
api/datastore/datastoretest/test.go:172
↓ 1 callersTypeAliascontextKey
examples/middleware/main.go:55
↓ 1 callersTypeAliascontextKey
good reading on this: https://twitter.com/sajma/status/757217773852487680
fnext/context.go:4
↓ 1 callersTypeAliasmysqlHelper
api/datastore/sql/mysql/mysql.go:12
↓ 1 callersTypeAliaspostgresHelper
api/datastore/sql/postgres/postgres.go:10
↓ 1 callersTypeAliassortA
api/datastore/mock.go:79
↓ 1 callersTypeAliassortF
api/datastore/mock.go:238
↓ 1 callersTypeAliassortT
api/datastore/mock.go:388
↓ 1 callersTypeAliassqlDsProvider
api/datastore/sql/sql.go:103
↓ 1 callersTypeAliassqliteHelper
api/datastore/sql/sqlite/sqlite.go:14
InterfaceAPIError
APIError any error that implements this interface will return an API response with the provided status code and error message body
api/models/error.go:228
InterfaceAPIErrorWrapper
APIErrorWrapper wraps an error with an APIError such that the APIError governs the HTTP response but the root error remains accessible.
api/models/error.go:297
InterfaceAPIHandler
APIHandler may be used to add an http endpoint on the versioned route of the Fn API.
fnext/api.go:16
InterfaceAgent
Agent exposes an api to create calls from various parameters and then submit those calls, it also exposes a 'safe' shutdown mechanism via its Close me
api/agent/agent.go:62
TypeAliasAnnotations
Annotations encapsulates key-value metadata associated with resource. The structure is immutable via its public API and nil-safe for its contract perm
api/models/annotations.go:19
StructApp
api/models/app.go:70
StructAppFilter
AppFilter is the filter used for querying apps
api/models/app.go:241
StructAppList
api/models/app.go:247
InterfaceAppListener
AppListener is an interface used to inject custom code at key points in the app lifecycle.
fnext/listeners.go:10
StructAppRequest
AppRequest is the body of the input of a function, it can be used to change behavior of this function.
images/fn-test-utils/fn-test-utils.go:28
StructAppResponse
AppResponse is the output of this function, in JSON
images/fn-test-utils/fn-test-utils.go:95
StructAppWrapper
api/models/app_wrapper.go:3
InterfaceAuther
Auther may by implemented by a drivers.ContainerTask if it would like to use not-necessarily-public docker images for any or all task invocations.
api/agent/drivers/docker/docker.go:32
ClassB
examples/apps/fn-spring-cloud-functions/src/main/java/com/fnproject/fn/examples/SCFExample.java:31
InterfaceBackOff
api/common/backoff.go:17
StructBackOffConfig
api/common/backoff.go:10
StructBasicResourceProvider
BasicResourceProvider supplies simple objects and can be used as a base for custom resource providers
api/datastore/datastoretest/test.go:51
StructCachedImage
ImageCacher is an image tracker for docker driver. It consists of a LRU cache and a reference count map. It keeps of both in-use and not in-use images
api/agent/drivers/docker/image_cache.go:19
InterfaceCall
Call is an agent specific instance of a call object, that is runnable.
api/agent/call.go:22
StructCall
Call is a representation of a specific invocation of a fn.
api/models/call.go:23
StructCallFilter
api/models/call.go:146
StructCallFinished
Call has really finished, it might have completed or crashed
api/agent/grpc/runner.pb.go:323
StructCallList
api/models/call.go:154
InterfaceCallListener
CallListener enables callbacks around Call events.
fnext/listeners.go:77
FuncTypeCallOpt
CallOpt allows configuring a call before execution TODO(reed): consider the interface here, all options must be defined in agent and flexible enough f
api/agent/call.go:46
FuncTypeCallOverrider
CallOverrider should die. Interceptor in GetCall
api/agent/call.go:41
StructCallResultStart
Call has started to finish - data might not be here yet and it will be sent as DataFrames.
api/agent/grpc/runner.pb.go:257
StructCallResultStart_Http
api/agent/grpc/runner.pb.go:295
StructClientMsg
api/agent/grpc/runner.pb.go:474
StructClientMsg_Data
api/agent/grpc/runner.pb.go:517
StructClientMsg_Try
api/agent/grpc/runner.pb.go:513
InterfaceClock
api/common/clock.go:5
StructConfig
Config specifies various settings for an agent
api/agent/config.go:13
StructConfig
api/agent/drivers/driver.go:252
StructConfigMsg
api/agent/grpc/runner.pb.go:848
StructConfigStatus
api/agent/grpc/runner.pb.go:887
InterfaceContainerState
api/agent/state_trackers.go:27
TypeAliasContainerStateType
api/agent/state_trackers.go:13
InterfaceContainerTask
The ContainerTask interface guides container execution across a wide variety of container oriented runtimes.
api/agent/drivers/driver.go:114
InterfaceCookie
A DriverCookie identifies a unique request to run a task. Clients should always call Close() on a DriverCookie after they are done with it.
api/agent/drivers/driver.go:19
InterfaceDataAccess
XXX(reed): replace all uses of ReadDataAccess with DataAccess or vice versa, whatever is easier
api/agent/data_access.go:25
StructDataFrame
Data sent C2S and S2C - as soon as the runner sees the first of these it will start running. If empty content, there must be one of these with eof. Th
api/agent/grpc/runner.pb.go:114
FuncTypeDataStoreFunc
DataStoreFunc provides an instance of a data store
api/datastore/datastoretest/test.go:56
InterfaceDatastore
api/models/datastore.go:8
StructDetachedResponseWriter
api/agent/lb_agent.go:31
StructDockerDriver
DockerDriver implements drivers.Driver via the docker http API
api/agent/drivers/docker/docker.go:58
StructDockerNetworks
api/agent/drivers/docker/docker_networks.go:11
InterfaceDockerPool
api/agent/drivers/docker/docker_pool.go:99
StructDockerPoolStats
api/agent/drivers/docker/docker_pool.go:94
InterfaceDriver
api/agent/drivers/driver.go:70
FuncTypeDriverFunc
func(config Config) (Driver, error)
api/agent/drivers/register.go:7
StructError
api/models/error_body.go:3
StructErrorWrapper
ErrorWrapper uniform error output (v1) only
api/models/error.go:287
StructEvictToken
api/agent/evictor.go:26
InterfaceEvictor
api/agent/evictor.go:33
InterfaceExtServer
ExtServer limits what the extension should do and prevents dependency loop, it can be used to alter / modify / add the behavior of fn server.
fnext/setup.go:18
InterfaceExtension
Extension is the interface that all extensions must implement in order to configure themselves against an ExtServer.
fnext/setup.go:11
StructFn
Fn contains information about a function configuration.
api/models/fn.go:83
InterfaceFnAnnotator
FnAnnotator Is used to inject trigger context (such as request URLs) into outbound trigger resources
api/server/fn_annotator.go:12
StructFnFilter
api/models/fn.go:297
StructFnList
api/models/fn.go:304
InterfaceFnListener
FnListener enables callbacks around Fn events
fnext/listeners.go:45
InterfaceFuncError
FuncError is an error that is the function's fault, that uses the APIError but distinguishes fault to function specific errors
api/models/error.go:263
InterfaceGhostReader
api/common/io_utils.go:204
InterfaceGhostWriter
api/common/io_utils.go:133
StructHarness
api/datastore/datastoretest/test.go:108
TypeAliasHeaders
Headers is an http.Header that implements additional methods.
api/models/config.go:70
InterfaceHelper
Helper provides DB-specific SQL capabilities
api/datastore/sql/dbhelper/dbhelper.go:18
StructHttpHeader
api/agent/grpc/runner.pb.go:161
StructHttpRespMeta
api/agent/grpc/runner.pb.go:208
TypeAliasId
api/id/id.go:11
InterfaceImageCacher
api/agent/drivers/docker/image_cache.go:34
StructImageCacherStats
api/agent/drivers/docker/image_cache.go:26
InterfaceImagePuller
ImagePuller is an abstraction layer to handle concurrent docker-pulls. Docker internally does not handle concurrency very well. Only layer-blob pulls
api/agent/drivers/docker/image_puller.go:25
FuncTypeLBAgentOption
keep the compiler happy
api/agent/lb_agent.go:64
StructLogRequestMsg
Collector to Runner messages
api/agent/grpc/runner.pb.go:919
next →1–100 of 309, ranked by callers