Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fnproject/fn
/ types & classes
Types & classes
309 in github.com/fnproject/fn
⨍
Functions
2,053
◇
Types & classes
309
↓ 31 callers
TypeAlias
DateTime
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 callers
TypeAlias
MilliCPUs
MilliCPU units
api/models/config.go:130
↓ 4 callers
TypeAlias
contextKey
api/common/ctx.go:10
↓ 2 callers
TypeAlias
AppByName
api/datastore/datastoretest/test.go:166
↓ 2 callers
TypeAlias
ErrInvalidSyslog
api/models/app.go:235
↓ 2 callers
TypeAlias
TriggerByName
api/datastore/datastoretest/test.go:178
↓ 2 callers
TypeAlias
annotationValue
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 callers
TypeAlias
ctxAppIDKey
api/server/gin_middlewares.go:229
↓ 2 callers
TypeAlias
ctxFnIDKey
api/server/gin_middlewares.go:217
↓ 2 callers
TypeAlias
sorted
api/datastore/sql/migratex/migrate.go:59
↓ 1 callers
FuncType
APIHandlerFunc
APIHandlerFunc is a convenience to make an APIHandler.
fnext/api.go:8
↓ 1 callers
TypeAlias
Config
api/models/config.go:12
↓ 1 callers
TypeAlias
ErrDirty
ErrDirty is an error that is returned when a db is dirty.
api/datastore/sql/migratex/migrate.go:45
↓ 1 callers
TypeAlias
ErrMigration
ErrMigration represents an error running a specific migration in a specific direction
api/datastore/sql/migratex/migrate.go:36
↓ 1 callers
TypeAlias
FnByName
api/datastore/datastoretest/test.go:172
↓ 1 callers
TypeAlias
contextKey
examples/middleware/main.go:55
↓ 1 callers
TypeAlias
contextKey
good reading on this: https://twitter.com/sajma/status/757217773852487680
fnext/context.go:4
↓ 1 callers
TypeAlias
mysqlHelper
api/datastore/sql/mysql/mysql.go:12
↓ 1 callers
TypeAlias
postgresHelper
api/datastore/sql/postgres/postgres.go:10
↓ 1 callers
TypeAlias
sortA
api/datastore/mock.go:79
↓ 1 callers
TypeAlias
sortF
api/datastore/mock.go:238
↓ 1 callers
TypeAlias
sortT
api/datastore/mock.go:388
↓ 1 callers
TypeAlias
sqlDsProvider
api/datastore/sql/sql.go:103
↓ 1 callers
TypeAlias
sqliteHelper
api/datastore/sql/sqlite/sqlite.go:14
Interface
APIError
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
Interface
APIErrorWrapper
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
Interface
APIHandler
APIHandler may be used to add an http endpoint on the versioned route of the Fn API.
fnext/api.go:16
Interface
Agent
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
TypeAlias
Annotations
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
Struct
App
api/models/app.go:70
Struct
AppFilter
AppFilter is the filter used for querying apps
api/models/app.go:241
Struct
AppList
api/models/app.go:247
Interface
AppListener
AppListener is an interface used to inject custom code at key points in the app lifecycle.
fnext/listeners.go:10
Struct
AppRequest
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
Struct
AppResponse
AppResponse is the output of this function, in JSON
images/fn-test-utils/fn-test-utils.go:95
Struct
AppWrapper
api/models/app_wrapper.go:3
Interface
Auther
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
Class
B
examples/apps/fn-spring-cloud-functions/src/main/java/com/fnproject/fn/examples/SCFExample.java:31
Interface
BackOff
api/common/backoff.go:17
Struct
BackOffConfig
api/common/backoff.go:10
Struct
BasicResourceProvider
BasicResourceProvider supplies simple objects and can be used as a base for custom resource providers
api/datastore/datastoretest/test.go:51
Struct
CachedImage
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
Interface
Call
Call is an agent specific instance of a call object, that is runnable.
api/agent/call.go:22
Struct
Call
Call is a representation of a specific invocation of a fn.
api/models/call.go:23
Struct
CallFilter
api/models/call.go:146
Struct
CallFinished
Call has really finished, it might have completed or crashed
api/agent/grpc/runner.pb.go:323
Struct
CallList
api/models/call.go:154
Interface
CallListener
CallListener enables callbacks around Call events.
fnext/listeners.go:77
FuncType
CallOpt
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
FuncType
CallOverrider
CallOverrider should die. Interceptor in GetCall
api/agent/call.go:41
Struct
CallResultStart
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
Struct
CallResultStart_Http
api/agent/grpc/runner.pb.go:295
Struct
ClientMsg
api/agent/grpc/runner.pb.go:474
Struct
ClientMsg_Data
api/agent/grpc/runner.pb.go:517
Struct
ClientMsg_Try
api/agent/grpc/runner.pb.go:513
Interface
Clock
api/common/clock.go:5
Struct
Config
Config specifies various settings for an agent
api/agent/config.go:13
Struct
Config
api/agent/drivers/driver.go:252
Struct
ConfigMsg
api/agent/grpc/runner.pb.go:848
Struct
ConfigStatus
api/agent/grpc/runner.pb.go:887
Interface
ContainerState
api/agent/state_trackers.go:27
TypeAlias
ContainerStateType
api/agent/state_trackers.go:13
Interface
ContainerTask
The ContainerTask interface guides container execution across a wide variety of container oriented runtimes.
api/agent/drivers/driver.go:114
Interface
Cookie
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
Interface
DataAccess
XXX(reed): replace all uses of ReadDataAccess with DataAccess or vice versa, whatever is easier
api/agent/data_access.go:25
Struct
DataFrame
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
FuncType
DataStoreFunc
DataStoreFunc provides an instance of a data store
api/datastore/datastoretest/test.go:56
Interface
Datastore
api/models/datastore.go:8
Struct
DetachedResponseWriter
api/agent/lb_agent.go:31
Struct
DockerDriver
DockerDriver implements drivers.Driver via the docker http API
api/agent/drivers/docker/docker.go:58
Struct
DockerNetworks
api/agent/drivers/docker/docker_networks.go:11
Interface
DockerPool
api/agent/drivers/docker/docker_pool.go:99
Struct
DockerPoolStats
api/agent/drivers/docker/docker_pool.go:94
Interface
Driver
api/agent/drivers/driver.go:70
FuncType
DriverFunc
func(config Config) (Driver, error)
api/agent/drivers/register.go:7
Struct
Error
api/models/error_body.go:3
Struct
ErrorWrapper
ErrorWrapper uniform error output (v1) only
api/models/error.go:287
Struct
EvictToken
api/agent/evictor.go:26
Interface
Evictor
api/agent/evictor.go:33
Interface
ExtServer
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
Interface
Extension
Extension is the interface that all extensions must implement in order to configure themselves against an ExtServer.
fnext/setup.go:11
Struct
Fn
Fn contains information about a function configuration.
api/models/fn.go:83
Interface
FnAnnotator
FnAnnotator Is used to inject trigger context (such as request URLs) into outbound trigger resources
api/server/fn_annotator.go:12
Struct
FnFilter
api/models/fn.go:297
Struct
FnList
api/models/fn.go:304
Interface
FnListener
FnListener enables callbacks around Fn events
fnext/listeners.go:45
Interface
FuncError
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
Interface
GhostReader
api/common/io_utils.go:204
Interface
GhostWriter
api/common/io_utils.go:133
Struct
Harness
api/datastore/datastoretest/test.go:108
TypeAlias
Headers
Headers is an http.Header that implements additional methods.
api/models/config.go:70
Interface
Helper
Helper provides DB-specific SQL capabilities
api/datastore/sql/dbhelper/dbhelper.go:18
Struct
HttpHeader
api/agent/grpc/runner.pb.go:161
Struct
HttpRespMeta
api/agent/grpc/runner.pb.go:208
TypeAlias
Id
api/id/id.go:11
Interface
ImageCacher
api/agent/drivers/docker/image_cache.go:34
Struct
ImageCacherStats
api/agent/drivers/docker/image_cache.go:26
Interface
ImagePuller
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
FuncType
LBAgentOption
keep the compiler happy
api/agent/lb_agent.go:64
Struct
LogRequestMsg
Collector to Runner messages
api/agent/grpc/runner.pb.go:919
next →
1–100 of 309, ranked by callers