Documentation ¶
Index ¶
- Constants
- func AuthWithMulti(writers ...runtime.ClientAuthInfoWriter) runtime.ClientAuthInfoWriter
- func AuthWithToken(token string) runtime.ClientAuthInfoWriter
- func AuthWithUserPassword(username string, password string) runtime.ClientAuthInfoWriter
- type DefaultFunctionsClient
- func (c *DefaultFunctionsClient) CreateFunction(ctx context.Context, function *Function) (*Function, error)
- func (c *DefaultFunctionsClient) DeleteFunction(ctx context.Context, functionName string) (*Function, error)
- func (c *DefaultFunctionsClient) GetFunction(ctx context.Context, functionName string) (*Function, error)
- func (c *DefaultFunctionsClient) GetFunctionRun(ctx context.Context, functionName string, runName string) (*FunctionRun, error)
- func (c *DefaultFunctionsClient) ListFunctionRuns(ctx context.Context, functionName string) ([]FunctionRun, error)
- func (c *DefaultFunctionsClient) ListFunctions(ctx context.Context) ([]Function, error)
- func (c *DefaultFunctionsClient) ListRuns(ctx context.Context) ([]FunctionRun, error)
- func (c *DefaultFunctionsClient) RunFunction(ctx context.Context, run *FunctionRun) (*FunctionRun, error)
- func (c *DefaultFunctionsClient) UpdateFunction(ctx context.Context, function *Function) (*Function, error)
- type Function
- type FunctionRun
- type FunctionsClient
Constants ¶
View Source
const TokenHeaderName = "cookie"
Variables ¶
This section is empty.
Functions ¶
func AuthWithMulti ¶
func AuthWithMulti(writers ...runtime.ClientAuthInfoWriter) runtime.ClientAuthInfoWriter
func AuthWithToken ¶
func AuthWithToken(token string) runtime.ClientAuthInfoWriter
func AuthWithUserPassword ¶
func AuthWithUserPassword(username string, password string) runtime.ClientAuthInfoWriter
Types ¶
type DefaultFunctionsClient ¶
type DefaultFunctionsClient struct {
// contains filtered or unexported fields
}
func (*DefaultFunctionsClient) CreateFunction ¶
func (*DefaultFunctionsClient) DeleteFunction ¶
func (*DefaultFunctionsClient) GetFunction ¶
func (*DefaultFunctionsClient) GetFunctionRun ¶
func (c *DefaultFunctionsClient) GetFunctionRun(ctx context.Context, functionName string, runName string) (*FunctionRun, error)
func (*DefaultFunctionsClient) ListFunctionRuns ¶
func (c *DefaultFunctionsClient) ListFunctionRuns(ctx context.Context, functionName string) ([]FunctionRun, error)
func (*DefaultFunctionsClient) ListFunctions ¶
func (c *DefaultFunctionsClient) ListFunctions(ctx context.Context) ([]Function, error)
func (*DefaultFunctionsClient) ListRuns ¶
func (c *DefaultFunctionsClient) ListRuns(ctx context.Context) ([]FunctionRun, error)
func (*DefaultFunctionsClient) RunFunction ¶
func (c *DefaultFunctionsClient) RunFunction(ctx context.Context, run *FunctionRun) (*FunctionRun, error)
func (*DefaultFunctionsClient) UpdateFunction ¶
type FunctionRun ¶
type FunctionsClient ¶
type FunctionsClient interface { // Function Runner RunFunction(context.Context, *FunctionRun) (*FunctionRun, error) GetFunctionRun(ctx context.Context, functionName string, runName string) (*FunctionRun, error) ListRuns(context.Context) ([]FunctionRun, error) ListFunctionRuns(context.Context, string) ([]FunctionRun, error) // Function store CreateFunction(context.Context, *Function) (*Function, error) DeleteFunction(context.Context, string) (*Function, error) GetFunction(context.Context, string) (*Function, error) ListFunctions(context.Context) ([]Function, error) UpdateFunction(context.Context, *Function) (*Function, error) }
func NewFunctionsClient ¶
func NewFunctionsClient(path string, auth runtime.ClientAuthInfoWriter) FunctionsClient
Click to show internal directories.
Click to hide internal directories.