Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultFunctionVersion = "v0.1.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FnInstance ¶
type FnInvocationResponse ¶
type FnInvocationResponse struct {
// Considered as string as we don't do anything to this field, we'll just return it
Payload any `json:"payload"`
// ProcessMetadata contains metadata about the function execution
ProcessMetadata FunctionProcessMetadata `json:"process_metadata"`
}
type Function ¶
type Function struct {
// We don't want to serialize the name and the version as a Redis HSET as we use the ID as the key
Name string `json:"name" redis:"-"`
Version string `json:"version" redis:"-"`
ImageURL string `json:"image" redis:"imageUrl"`
// The identifier of the workload on the underlying orchestrator
OrchestratorId string `json:"-" redis:"orchestratorId"`
}
type FunctionProcessMetadata ¶
Click to show internal directories.
Click to hide internal directories.