Documentation
¶
Index ¶
- Constants
- type Client
- type Config
- type FnHandler
- type FnService
- func (fn *FnService) Create(ctx context.Context, fnName string, fnNamespace string, code *os.File, ...) (openapi.FunctionCreationSuccess, error)
- func (fn *FnService) Delete(ctx context.Context, fnName string, fnNamespace string) (openapi.FunctionDeletionSuccess, error)
- func (fn *FnService) Invoke(ctx context.Context, fnName string, fnNamespace string, ...) (openapi.FunctionInvocationSuccess, error)
Constants ¶
View Source
const (
DefaultNamespace = "_"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type FnHandler ¶
type FnHandler interface {
Invoke(ctx context.Context, fnName string, fnNamespace string, fnArgs map[string]interface{}) (openapi.FunctionInvocationSuccess, error)
Create(ctx context.Context, fnName string, fnNamespace string, code *os.File, language string) (openapi.FunctionCreationSuccess, error)
Delete(ctx context.Context, fnName string, fnNamespace string) (openapi.FunctionDeletionSuccess, error)
}
Click to show internal directories.
Click to hide internal directories.