Documentation ¶
Index ¶
- type AddFunctionBadRequest
- type AddFunctionConflict
- type AddFunctionCreated
- type AddFunctionInternalServerError
- type AddFunctionParams
- func (o *AddFunctionParams) SetBody(body *v1.Function)
- func (o *AddFunctionParams) SetContext(ctx context.Context)
- func (o *AddFunctionParams) SetHTTPClient(client *http.Client)
- func (o *AddFunctionParams) SetTimeout(timeout time.Duration)
- func (o *AddFunctionParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *AddFunctionParams) WithBody(body *v1.Function) *AddFunctionParams
- func (o *AddFunctionParams) WithContext(ctx context.Context) *AddFunctionParams
- func (o *AddFunctionParams) WithHTTPClient(client *http.Client) *AddFunctionParams
- func (o *AddFunctionParams) WithTimeout(timeout time.Duration) *AddFunctionParams
- func (o *AddFunctionParams) WithXDispatchOrg(xDispatchOrg string) *AddFunctionParams
- func (o *AddFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddFunctionReader
- type AddFunctionUnauthorized
- type Client
- func (a *Client) AddFunction(params *AddFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*AddFunctionCreated, error)
- func (a *Client) DeleteFunction(params *DeleteFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFunctionOK, error)
- func (a *Client) GetFunction(params *GetFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*GetFunctionOK, error)
- func (a *Client) GetFunctions(params *GetFunctionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetFunctionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFunction(params *UpdateFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFunctionOK, error)
- type DeleteFunctionBadRequest
- type DeleteFunctionInternalServerError
- type DeleteFunctionNotFound
- type DeleteFunctionOK
- type DeleteFunctionParams
- func NewDeleteFunctionParams() *DeleteFunctionParams
- func NewDeleteFunctionParamsWithContext(ctx context.Context) *DeleteFunctionParams
- func NewDeleteFunctionParamsWithHTTPClient(client *http.Client) *DeleteFunctionParams
- func NewDeleteFunctionParamsWithTimeout(timeout time.Duration) *DeleteFunctionParams
- func (o *DeleteFunctionParams) SetContext(ctx context.Context)
- func (o *DeleteFunctionParams) SetFunctionName(functionName string)
- func (o *DeleteFunctionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFunctionParams) SetTags(tags []string)
- func (o *DeleteFunctionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFunctionParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *DeleteFunctionParams) WithContext(ctx context.Context) *DeleteFunctionParams
- func (o *DeleteFunctionParams) WithFunctionName(functionName string) *DeleteFunctionParams
- func (o *DeleteFunctionParams) WithHTTPClient(client *http.Client) *DeleteFunctionParams
- func (o *DeleteFunctionParams) WithTags(tags []string) *DeleteFunctionParams
- func (o *DeleteFunctionParams) WithTimeout(timeout time.Duration) *DeleteFunctionParams
- func (o *DeleteFunctionParams) WithXDispatchOrg(xDispatchOrg string) *DeleteFunctionParams
- func (o *DeleteFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFunctionReader
- type GetFunctionBadRequest
- type GetFunctionInternalServerError
- type GetFunctionNotFound
- type GetFunctionOK
- type GetFunctionParams
- func (o *GetFunctionParams) SetContext(ctx context.Context)
- func (o *GetFunctionParams) SetFunctionName(functionName string)
- func (o *GetFunctionParams) SetHTTPClient(client *http.Client)
- func (o *GetFunctionParams) SetTags(tags []string)
- func (o *GetFunctionParams) SetTimeout(timeout time.Duration)
- func (o *GetFunctionParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *GetFunctionParams) WithContext(ctx context.Context) *GetFunctionParams
- func (o *GetFunctionParams) WithFunctionName(functionName string) *GetFunctionParams
- func (o *GetFunctionParams) WithHTTPClient(client *http.Client) *GetFunctionParams
- func (o *GetFunctionParams) WithTags(tags []string) *GetFunctionParams
- func (o *GetFunctionParams) WithTimeout(timeout time.Duration) *GetFunctionParams
- func (o *GetFunctionParams) WithXDispatchOrg(xDispatchOrg string) *GetFunctionParams
- func (o *GetFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFunctionReader
- type GetFunctionsBadRequest
- type GetFunctionsDefault
- type GetFunctionsInternalServerError
- type GetFunctionsOK
- type GetFunctionsParams
- func (o *GetFunctionsParams) SetContext(ctx context.Context)
- func (o *GetFunctionsParams) SetHTTPClient(client *http.Client)
- func (o *GetFunctionsParams) SetState(state *string)
- func (o *GetFunctionsParams) SetTags(tags []string)
- func (o *GetFunctionsParams) SetTimeout(timeout time.Duration)
- func (o *GetFunctionsParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *GetFunctionsParams) WithContext(ctx context.Context) *GetFunctionsParams
- func (o *GetFunctionsParams) WithHTTPClient(client *http.Client) *GetFunctionsParams
- func (o *GetFunctionsParams) WithState(state *string) *GetFunctionsParams
- func (o *GetFunctionsParams) WithTags(tags []string) *GetFunctionsParams
- func (o *GetFunctionsParams) WithTimeout(timeout time.Duration) *GetFunctionsParams
- func (o *GetFunctionsParams) WithXDispatchOrg(xDispatchOrg string) *GetFunctionsParams
- func (o *GetFunctionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFunctionsReader
- type UpdateFunctionBadRequest
- type UpdateFunctionInternalServerError
- type UpdateFunctionNotFound
- type UpdateFunctionOK
- type UpdateFunctionParams
- func NewUpdateFunctionParams() *UpdateFunctionParams
- func NewUpdateFunctionParamsWithContext(ctx context.Context) *UpdateFunctionParams
- func NewUpdateFunctionParamsWithHTTPClient(client *http.Client) *UpdateFunctionParams
- func NewUpdateFunctionParamsWithTimeout(timeout time.Duration) *UpdateFunctionParams
- func (o *UpdateFunctionParams) SetBody(body *v1.Function)
- func (o *UpdateFunctionParams) SetContext(ctx context.Context)
- func (o *UpdateFunctionParams) SetFunctionName(functionName string)
- func (o *UpdateFunctionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFunctionParams) SetTags(tags []string)
- func (o *UpdateFunctionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFunctionParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *UpdateFunctionParams) WithBody(body *v1.Function) *UpdateFunctionParams
- func (o *UpdateFunctionParams) WithContext(ctx context.Context) *UpdateFunctionParams
- func (o *UpdateFunctionParams) WithFunctionName(functionName string) *UpdateFunctionParams
- func (o *UpdateFunctionParams) WithHTTPClient(client *http.Client) *UpdateFunctionParams
- func (o *UpdateFunctionParams) WithTags(tags []string) *UpdateFunctionParams
- func (o *UpdateFunctionParams) WithTimeout(timeout time.Duration) *UpdateFunctionParams
- func (o *UpdateFunctionParams) WithXDispatchOrg(xDispatchOrg string) *UpdateFunctionParams
- func (o *UpdateFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFunctionReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFunctionBadRequest ¶
AddFunctionBadRequest handles this case with default header values.
Invalid input
func NewAddFunctionBadRequest ¶
func NewAddFunctionBadRequest() *AddFunctionBadRequest
NewAddFunctionBadRequest creates a AddFunctionBadRequest with default headers values
func (*AddFunctionBadRequest) Error ¶
func (o *AddFunctionBadRequest) Error() string
type AddFunctionConflict ¶ added in v0.1.13
AddFunctionConflict handles this case with default header values.
Already Exists
func NewAddFunctionConflict ¶ added in v0.1.13
func NewAddFunctionConflict() *AddFunctionConflict
NewAddFunctionConflict creates a AddFunctionConflict with default headers values
func (*AddFunctionConflict) Error ¶ added in v0.1.13
func (o *AddFunctionConflict) Error() string
type AddFunctionCreated ¶ added in v0.1.13
AddFunctionCreated handles this case with default header values.
Function created
func NewAddFunctionCreated ¶ added in v0.1.13
func NewAddFunctionCreated() *AddFunctionCreated
NewAddFunctionCreated creates a AddFunctionCreated with default headers values
func (*AddFunctionCreated) Error ¶ added in v0.1.13
func (o *AddFunctionCreated) Error() string
type AddFunctionInternalServerError ¶
AddFunctionInternalServerError handles this case with default header values.
Internal error
func NewAddFunctionInternalServerError ¶
func NewAddFunctionInternalServerError() *AddFunctionInternalServerError
NewAddFunctionInternalServerError creates a AddFunctionInternalServerError with default headers values
func (*AddFunctionInternalServerError) Error ¶
func (o *AddFunctionInternalServerError) Error() string
type AddFunctionParams ¶
type AddFunctionParams struct { /*XDispatchOrg*/ XDispatchOrg string /*Body function object */ Body *v1.Function Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddFunctionParams contains all the parameters to send to the API endpoint for the add function operation typically these are written to a http.Request
func NewAddFunctionParams ¶
func NewAddFunctionParams() *AddFunctionParams
NewAddFunctionParams creates a new AddFunctionParams object with the default values initialized.
func NewAddFunctionParamsWithContext ¶
func NewAddFunctionParamsWithContext(ctx context.Context) *AddFunctionParams
NewAddFunctionParamsWithContext creates a new AddFunctionParams object with the default values initialized, and the ability to set a context for a request
func NewAddFunctionParamsWithHTTPClient ¶
func NewAddFunctionParamsWithHTTPClient(client *http.Client) *AddFunctionParams
NewAddFunctionParamsWithHTTPClient creates a new AddFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddFunctionParamsWithTimeout ¶
func NewAddFunctionParamsWithTimeout(timeout time.Duration) *AddFunctionParams
NewAddFunctionParamsWithTimeout creates a new AddFunctionParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddFunctionParams) SetBody ¶
func (o *AddFunctionParams) SetBody(body *v1.Function)
SetBody adds the body to the add function params
func (*AddFunctionParams) SetContext ¶
func (o *AddFunctionParams) SetContext(ctx context.Context)
SetContext adds the context to the add function params
func (*AddFunctionParams) SetHTTPClient ¶
func (o *AddFunctionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add function params
func (*AddFunctionParams) SetTimeout ¶
func (o *AddFunctionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add function params
func (*AddFunctionParams) SetXDispatchOrg ¶ added in v0.1.16
func (o *AddFunctionParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the add function params
func (*AddFunctionParams) WithBody ¶
func (o *AddFunctionParams) WithBody(body *v1.Function) *AddFunctionParams
WithBody adds the body to the add function params
func (*AddFunctionParams) WithContext ¶
func (o *AddFunctionParams) WithContext(ctx context.Context) *AddFunctionParams
WithContext adds the context to the add function params
func (*AddFunctionParams) WithHTTPClient ¶
func (o *AddFunctionParams) WithHTTPClient(client *http.Client) *AddFunctionParams
WithHTTPClient adds the HTTPClient to the add function params
func (*AddFunctionParams) WithTimeout ¶
func (o *AddFunctionParams) WithTimeout(timeout time.Duration) *AddFunctionParams
WithTimeout adds the timeout to the add function params
func (*AddFunctionParams) WithXDispatchOrg ¶ added in v0.1.16
func (o *AddFunctionParams) WithXDispatchOrg(xDispatchOrg string) *AddFunctionParams
WithXDispatchOrg adds the xDispatchOrg to the add function params
func (*AddFunctionParams) WriteToRequest ¶
func (o *AddFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddFunctionReader ¶
type AddFunctionReader struct {
// contains filtered or unexported fields
}
AddFunctionReader is a Reader for the AddFunction structure.
func (*AddFunctionReader) ReadResponse ¶
func (o *AddFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddFunctionUnauthorized ¶
type AddFunctionUnauthorized struct {
}AddFunctionUnauthorized handles this case with default header values.
Unauthorized Request
func NewAddFunctionUnauthorized ¶
func NewAddFunctionUnauthorized() *AddFunctionUnauthorized
NewAddFunctionUnauthorized creates a AddFunctionUnauthorized with default headers values
func (*AddFunctionUnauthorized) Error ¶
func (o *AddFunctionUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for store API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new store API client.
func (*Client) AddFunction ¶
func (a *Client) AddFunction(params *AddFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*AddFunctionCreated, error)
AddFunction adds a new function
func (*Client) DeleteFunction ¶
func (a *Client) DeleteFunction(params *DeleteFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFunctionOK, error)
DeleteFunction deletes a function
func (*Client) GetFunction ¶
func (a *Client) GetFunction(params *GetFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*GetFunctionOK, error)
GetFunction finds function by name
Returns a single function
func (*Client) GetFunctions ¶
func (a *Client) GetFunctions(params *GetFunctionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetFunctionsOK, error)
GetFunctions lists all existing functions
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateFunction ¶
func (a *Client) UpdateFunction(params *UpdateFunctionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFunctionOK, error)
UpdateFunction updates a function
type DeleteFunctionBadRequest ¶
DeleteFunctionBadRequest handles this case with default header values.
Invalid Name supplied
func NewDeleteFunctionBadRequest ¶
func NewDeleteFunctionBadRequest() *DeleteFunctionBadRequest
NewDeleteFunctionBadRequest creates a DeleteFunctionBadRequest with default headers values
func (*DeleteFunctionBadRequest) Error ¶
func (o *DeleteFunctionBadRequest) Error() string
type DeleteFunctionInternalServerError ¶
DeleteFunctionInternalServerError handles this case with default header values.
Internal error
func NewDeleteFunctionInternalServerError ¶
func NewDeleteFunctionInternalServerError() *DeleteFunctionInternalServerError
NewDeleteFunctionInternalServerError creates a DeleteFunctionInternalServerError with default headers values
func (*DeleteFunctionInternalServerError) Error ¶
func (o *DeleteFunctionInternalServerError) Error() string
type DeleteFunctionNotFound ¶
DeleteFunctionNotFound handles this case with default header values.
Function not found
func NewDeleteFunctionNotFound ¶
func NewDeleteFunctionNotFound() *DeleteFunctionNotFound
NewDeleteFunctionNotFound creates a DeleteFunctionNotFound with default headers values
func (*DeleteFunctionNotFound) Error ¶
func (o *DeleteFunctionNotFound) Error() string
type DeleteFunctionOK ¶
DeleteFunctionOK handles this case with default header values.
Successful operation
func NewDeleteFunctionOK ¶
func NewDeleteFunctionOK() *DeleteFunctionOK
NewDeleteFunctionOK creates a DeleteFunctionOK with default headers values
func (*DeleteFunctionOK) Error ¶
func (o *DeleteFunctionOK) Error() string
type DeleteFunctionParams ¶
type DeleteFunctionParams struct { /*XDispatchOrg*/ XDispatchOrg string /*FunctionName Name of function to work on */ FunctionName string /*Tags Filter based on tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteFunctionParams contains all the parameters to send to the API endpoint for the delete function operation typically these are written to a http.Request
func NewDeleteFunctionParams ¶
func NewDeleteFunctionParams() *DeleteFunctionParams
NewDeleteFunctionParams creates a new DeleteFunctionParams object with the default values initialized.
func NewDeleteFunctionParamsWithContext ¶
func NewDeleteFunctionParamsWithContext(ctx context.Context) *DeleteFunctionParams
NewDeleteFunctionParamsWithContext creates a new DeleteFunctionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteFunctionParamsWithHTTPClient ¶
func NewDeleteFunctionParamsWithHTTPClient(client *http.Client) *DeleteFunctionParams
NewDeleteFunctionParamsWithHTTPClient creates a new DeleteFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteFunctionParamsWithTimeout ¶
func NewDeleteFunctionParamsWithTimeout(timeout time.Duration) *DeleteFunctionParams
NewDeleteFunctionParamsWithTimeout creates a new DeleteFunctionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteFunctionParams) SetContext ¶
func (o *DeleteFunctionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete function params
func (*DeleteFunctionParams) SetFunctionName ¶
func (o *DeleteFunctionParams) SetFunctionName(functionName string)
SetFunctionName adds the functionName to the delete function params
func (*DeleteFunctionParams) SetHTTPClient ¶
func (o *DeleteFunctionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete function params
func (*DeleteFunctionParams) SetTags ¶ added in v0.1.13
func (o *DeleteFunctionParams) SetTags(tags []string)
SetTags adds the tags to the delete function params
func (*DeleteFunctionParams) SetTimeout ¶
func (o *DeleteFunctionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete function params
func (*DeleteFunctionParams) SetXDispatchOrg ¶ added in v0.1.16
func (o *DeleteFunctionParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the delete function params
func (*DeleteFunctionParams) WithContext ¶
func (o *DeleteFunctionParams) WithContext(ctx context.Context) *DeleteFunctionParams
WithContext adds the context to the delete function params
func (*DeleteFunctionParams) WithFunctionName ¶
func (o *DeleteFunctionParams) WithFunctionName(functionName string) *DeleteFunctionParams
WithFunctionName adds the functionName to the delete function params
func (*DeleteFunctionParams) WithHTTPClient ¶
func (o *DeleteFunctionParams) WithHTTPClient(client *http.Client) *DeleteFunctionParams
WithHTTPClient adds the HTTPClient to the delete function params
func (*DeleteFunctionParams) WithTags ¶ added in v0.1.13
func (o *DeleteFunctionParams) WithTags(tags []string) *DeleteFunctionParams
WithTags adds the tags to the delete function params
func (*DeleteFunctionParams) WithTimeout ¶
func (o *DeleteFunctionParams) WithTimeout(timeout time.Duration) *DeleteFunctionParams
WithTimeout adds the timeout to the delete function params
func (*DeleteFunctionParams) WithXDispatchOrg ¶ added in v0.1.16
func (o *DeleteFunctionParams) WithXDispatchOrg(xDispatchOrg string) *DeleteFunctionParams
WithXDispatchOrg adds the xDispatchOrg to the delete function params
func (*DeleteFunctionParams) WriteToRequest ¶
func (o *DeleteFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFunctionReader ¶
type DeleteFunctionReader struct {
// contains filtered or unexported fields
}
DeleteFunctionReader is a Reader for the DeleteFunction structure.
func (*DeleteFunctionReader) ReadResponse ¶
func (o *DeleteFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFunctionBadRequest ¶
GetFunctionBadRequest handles this case with default header values.
Invalid Name supplied
func NewGetFunctionBadRequest ¶
func NewGetFunctionBadRequest() *GetFunctionBadRequest
NewGetFunctionBadRequest creates a GetFunctionBadRequest with default headers values
func (*GetFunctionBadRequest) Error ¶
func (o *GetFunctionBadRequest) Error() string
type GetFunctionInternalServerError ¶
GetFunctionInternalServerError handles this case with default header values.
Internal error
func NewGetFunctionInternalServerError ¶
func NewGetFunctionInternalServerError() *GetFunctionInternalServerError
NewGetFunctionInternalServerError creates a GetFunctionInternalServerError with default headers values
func (*GetFunctionInternalServerError) Error ¶
func (o *GetFunctionInternalServerError) Error() string
type GetFunctionNotFound ¶
GetFunctionNotFound handles this case with default header values.
Function not found
func NewGetFunctionNotFound ¶
func NewGetFunctionNotFound() *GetFunctionNotFound
NewGetFunctionNotFound creates a GetFunctionNotFound with default headers values
func (*GetFunctionNotFound) Error ¶
func (o *GetFunctionNotFound) Error() string
type GetFunctionOK ¶
GetFunctionOK handles this case with default header values.
Successful operation
func NewGetFunctionOK ¶
func NewGetFunctionOK() *GetFunctionOK
NewGetFunctionOK creates a GetFunctionOK with default headers values
func (*GetFunctionOK) Error ¶
func (o *GetFunctionOK) Error() string
type GetFunctionParams ¶
type GetFunctionParams struct { /*XDispatchOrg*/ XDispatchOrg string /*FunctionName Name of function to work on */ FunctionName string /*Tags Filter based on tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFunctionParams contains all the parameters to send to the API endpoint for the get function operation typically these are written to a http.Request
func NewGetFunctionParams ¶
func NewGetFunctionParams() *GetFunctionParams
NewGetFunctionParams creates a new GetFunctionParams object with the default values initialized.
func NewGetFunctionParamsWithContext ¶
func NewGetFunctionParamsWithContext(ctx context.Context) *GetFunctionParams
NewGetFunctionParamsWithContext creates a new GetFunctionParams object with the default values initialized, and the ability to set a context for a request
func NewGetFunctionParamsWithHTTPClient ¶
func NewGetFunctionParamsWithHTTPClient(client *http.Client) *GetFunctionParams
NewGetFunctionParamsWithHTTPClient creates a new GetFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFunctionParamsWithTimeout ¶
func NewGetFunctionParamsWithTimeout(timeout time.Duration) *GetFunctionParams
NewGetFunctionParamsWithTimeout creates a new GetFunctionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFunctionParams) SetContext ¶
func (o *GetFunctionParams) SetContext(ctx context.Context)
SetContext adds the context to the get function params
func (*GetFunctionParams) SetFunctionName ¶
func (o *GetFunctionParams) SetFunctionName(functionName string)
SetFunctionName adds the functionName to the get function params
func (*GetFunctionParams) SetHTTPClient ¶
func (o *GetFunctionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get function params
func (*GetFunctionParams) SetTags ¶ added in v0.1.13
func (o *GetFunctionParams) SetTags(tags []string)
SetTags adds the tags to the get function params
func (*GetFunctionParams) SetTimeout ¶
func (o *GetFunctionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get function params
func (*GetFunctionParams) SetXDispatchOrg ¶ added in v0.1.16
func (o *GetFunctionParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the get function params
func (*GetFunctionParams) WithContext ¶
func (o *GetFunctionParams) WithContext(ctx context.Context) *GetFunctionParams
WithContext adds the context to the get function params
func (*GetFunctionParams) WithFunctionName ¶
func (o *GetFunctionParams) WithFunctionName(functionName string) *GetFunctionParams
WithFunctionName adds the functionName to the get function params
func (*GetFunctionParams) WithHTTPClient ¶
func (o *GetFunctionParams) WithHTTPClient(client *http.Client) *GetFunctionParams
WithHTTPClient adds the HTTPClient to the get function params
func (*GetFunctionParams) WithTags ¶ added in v0.1.13
func (o *GetFunctionParams) WithTags(tags []string) *GetFunctionParams
WithTags adds the tags to the get function params
func (*GetFunctionParams) WithTimeout ¶
func (o *GetFunctionParams) WithTimeout(timeout time.Duration) *GetFunctionParams
WithTimeout adds the timeout to the get function params
func (*GetFunctionParams) WithXDispatchOrg ¶ added in v0.1.16
func (o *GetFunctionParams) WithXDispatchOrg(xDispatchOrg string) *GetFunctionParams
WithXDispatchOrg adds the xDispatchOrg to the get function params
func (*GetFunctionParams) WriteToRequest ¶
func (o *GetFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFunctionReader ¶
type GetFunctionReader struct {
// contains filtered or unexported fields
}
GetFunctionReader is a Reader for the GetFunction structure.
func (*GetFunctionReader) ReadResponse ¶
func (o *GetFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFunctionsBadRequest ¶ added in v0.1.13
GetFunctionsBadRequest handles this case with default header values.
Invalid input
func NewGetFunctionsBadRequest ¶ added in v0.1.13
func NewGetFunctionsBadRequest() *GetFunctionsBadRequest
NewGetFunctionsBadRequest creates a GetFunctionsBadRequest with default headers values
func (*GetFunctionsBadRequest) Error ¶ added in v0.1.13
func (o *GetFunctionsBadRequest) Error() string
type GetFunctionsDefault ¶
GetFunctionsDefault handles this case with default header values.
Custom error
func NewGetFunctionsDefault ¶
func NewGetFunctionsDefault(code int) *GetFunctionsDefault
NewGetFunctionsDefault creates a GetFunctionsDefault with default headers values
func (*GetFunctionsDefault) Code ¶
func (o *GetFunctionsDefault) Code() int
Code gets the status code for the get functions default response
func (*GetFunctionsDefault) Error ¶
func (o *GetFunctionsDefault) Error() string
type GetFunctionsInternalServerError ¶
GetFunctionsInternalServerError handles this case with default header values.
Internal error
func NewGetFunctionsInternalServerError ¶
func NewGetFunctionsInternalServerError() *GetFunctionsInternalServerError
NewGetFunctionsInternalServerError creates a GetFunctionsInternalServerError with default headers values
func (*GetFunctionsInternalServerError) Error ¶
func (o *GetFunctionsInternalServerError) Error() string
type GetFunctionsOK ¶
GetFunctionsOK handles this case with default header values.
Successful operation
func NewGetFunctionsOK ¶
func NewGetFunctionsOK() *GetFunctionsOK
NewGetFunctionsOK creates a GetFunctionsOK with default headers values
func (*GetFunctionsOK) Error ¶
func (o *GetFunctionsOK) Error() string
type GetFunctionsParams ¶
type GetFunctionsParams struct { /*XDispatchOrg*/ XDispatchOrg string /*State Function state */ State *string /*Tags Filter based on tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFunctionsParams contains all the parameters to send to the API endpoint for the get functions operation typically these are written to a http.Request
func NewGetFunctionsParams ¶
func NewGetFunctionsParams() *GetFunctionsParams
NewGetFunctionsParams creates a new GetFunctionsParams object with the default values initialized.
func NewGetFunctionsParamsWithContext ¶
func NewGetFunctionsParamsWithContext(ctx context.Context) *GetFunctionsParams
NewGetFunctionsParamsWithContext creates a new GetFunctionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetFunctionsParamsWithHTTPClient ¶
func NewGetFunctionsParamsWithHTTPClient(client *http.Client) *GetFunctionsParams
NewGetFunctionsParamsWithHTTPClient creates a new GetFunctionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFunctionsParamsWithTimeout ¶
func NewGetFunctionsParamsWithTimeout(timeout time.Duration) *GetFunctionsParams
NewGetFunctionsParamsWithTimeout creates a new GetFunctionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFunctionsParams) SetContext ¶
func (o *GetFunctionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get functions params
func (*GetFunctionsParams) SetHTTPClient ¶
func (o *GetFunctionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get functions params
func (*GetFunctionsParams) SetState ¶
func (o *GetFunctionsParams) SetState(state *string)
SetState adds the state to the get functions params
func (*GetFunctionsParams) SetTags ¶
func (o *GetFunctionsParams) SetTags(tags []string)
SetTags adds the tags to the get functions params
func (*GetFunctionsParams) SetTimeout ¶
func (o *GetFunctionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get functions params
func (*GetFunctionsParams) SetXDispatchOrg ¶ added in v0.1.16
func (o *GetFunctionsParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the get functions params
func (*GetFunctionsParams) WithContext ¶
func (o *GetFunctionsParams) WithContext(ctx context.Context) *GetFunctionsParams
WithContext adds the context to the get functions params
func (*GetFunctionsParams) WithHTTPClient ¶
func (o *GetFunctionsParams) WithHTTPClient(client *http.Client) *GetFunctionsParams
WithHTTPClient adds the HTTPClient to the get functions params
func (*GetFunctionsParams) WithState ¶
func (o *GetFunctionsParams) WithState(state *string) *GetFunctionsParams
WithState adds the state to the get functions params
func (*GetFunctionsParams) WithTags ¶
func (o *GetFunctionsParams) WithTags(tags []string) *GetFunctionsParams
WithTags adds the tags to the get functions params
func (*GetFunctionsParams) WithTimeout ¶
func (o *GetFunctionsParams) WithTimeout(timeout time.Duration) *GetFunctionsParams
WithTimeout adds the timeout to the get functions params
func (*GetFunctionsParams) WithXDispatchOrg ¶ added in v0.1.16
func (o *GetFunctionsParams) WithXDispatchOrg(xDispatchOrg string) *GetFunctionsParams
WithXDispatchOrg adds the xDispatchOrg to the get functions params
func (*GetFunctionsParams) WriteToRequest ¶
func (o *GetFunctionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFunctionsReader ¶
type GetFunctionsReader struct {
// contains filtered or unexported fields
}
GetFunctionsReader is a Reader for the GetFunctions structure.
func (*GetFunctionsReader) ReadResponse ¶
func (o *GetFunctionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateFunctionBadRequest ¶
UpdateFunctionBadRequest handles this case with default header values.
Invalid input
func NewUpdateFunctionBadRequest ¶
func NewUpdateFunctionBadRequest() *UpdateFunctionBadRequest
NewUpdateFunctionBadRequest creates a UpdateFunctionBadRequest with default headers values
func (*UpdateFunctionBadRequest) Error ¶
func (o *UpdateFunctionBadRequest) Error() string
type UpdateFunctionInternalServerError ¶
UpdateFunctionInternalServerError handles this case with default header values.
Internal error
func NewUpdateFunctionInternalServerError ¶
func NewUpdateFunctionInternalServerError() *UpdateFunctionInternalServerError
NewUpdateFunctionInternalServerError creates a UpdateFunctionInternalServerError with default headers values
func (*UpdateFunctionInternalServerError) Error ¶
func (o *UpdateFunctionInternalServerError) Error() string
type UpdateFunctionNotFound ¶
UpdateFunctionNotFound handles this case with default header values.
Function not found
func NewUpdateFunctionNotFound ¶
func NewUpdateFunctionNotFound() *UpdateFunctionNotFound
NewUpdateFunctionNotFound creates a UpdateFunctionNotFound with default headers values
func (*UpdateFunctionNotFound) Error ¶
func (o *UpdateFunctionNotFound) Error() string
type UpdateFunctionOK ¶
UpdateFunctionOK handles this case with default header values.
Successful update
func NewUpdateFunctionOK ¶
func NewUpdateFunctionOK() *UpdateFunctionOK
NewUpdateFunctionOK creates a UpdateFunctionOK with default headers values
func (*UpdateFunctionOK) Error ¶
func (o *UpdateFunctionOK) Error() string
type UpdateFunctionParams ¶
type UpdateFunctionParams struct { /*XDispatchOrg*/ XDispatchOrg string /*Body function object */ Body *v1.Function /*FunctionName Name of function to work on */ FunctionName string /*Tags Filter based on tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateFunctionParams contains all the parameters to send to the API endpoint for the update function operation typically these are written to a http.Request
func NewUpdateFunctionParams ¶
func NewUpdateFunctionParams() *UpdateFunctionParams
NewUpdateFunctionParams creates a new UpdateFunctionParams object with the default values initialized.
func NewUpdateFunctionParamsWithContext ¶
func NewUpdateFunctionParamsWithContext(ctx context.Context) *UpdateFunctionParams
NewUpdateFunctionParamsWithContext creates a new UpdateFunctionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateFunctionParamsWithHTTPClient ¶
func NewUpdateFunctionParamsWithHTTPClient(client *http.Client) *UpdateFunctionParams
NewUpdateFunctionParamsWithHTTPClient creates a new UpdateFunctionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateFunctionParamsWithTimeout ¶
func NewUpdateFunctionParamsWithTimeout(timeout time.Duration) *UpdateFunctionParams
NewUpdateFunctionParamsWithTimeout creates a new UpdateFunctionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateFunctionParams) SetBody ¶
func (o *UpdateFunctionParams) SetBody(body *v1.Function)
SetBody adds the body to the update function params
func (*UpdateFunctionParams) SetContext ¶
func (o *UpdateFunctionParams) SetContext(ctx context.Context)
SetContext adds the context to the update function params
func (*UpdateFunctionParams) SetFunctionName ¶
func (o *UpdateFunctionParams) SetFunctionName(functionName string)
SetFunctionName adds the functionName to the update function params
func (*UpdateFunctionParams) SetHTTPClient ¶
func (o *UpdateFunctionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update function params
func (*UpdateFunctionParams) SetTags ¶ added in v0.1.13
func (o *UpdateFunctionParams) SetTags(tags []string)
SetTags adds the tags to the update function params
func (*UpdateFunctionParams) SetTimeout ¶
func (o *UpdateFunctionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update function params
func (*UpdateFunctionParams) SetXDispatchOrg ¶ added in v0.1.16
func (o *UpdateFunctionParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the update function params
func (*UpdateFunctionParams) WithBody ¶
func (o *UpdateFunctionParams) WithBody(body *v1.Function) *UpdateFunctionParams
WithBody adds the body to the update function params
func (*UpdateFunctionParams) WithContext ¶
func (o *UpdateFunctionParams) WithContext(ctx context.Context) *UpdateFunctionParams
WithContext adds the context to the update function params
func (*UpdateFunctionParams) WithFunctionName ¶
func (o *UpdateFunctionParams) WithFunctionName(functionName string) *UpdateFunctionParams
WithFunctionName adds the functionName to the update function params
func (*UpdateFunctionParams) WithHTTPClient ¶
func (o *UpdateFunctionParams) WithHTTPClient(client *http.Client) *UpdateFunctionParams
WithHTTPClient adds the HTTPClient to the update function params
func (*UpdateFunctionParams) WithTags ¶ added in v0.1.13
func (o *UpdateFunctionParams) WithTags(tags []string) *UpdateFunctionParams
WithTags adds the tags to the update function params
func (*UpdateFunctionParams) WithTimeout ¶
func (o *UpdateFunctionParams) WithTimeout(timeout time.Duration) *UpdateFunctionParams
WithTimeout adds the timeout to the update function params
func (*UpdateFunctionParams) WithXDispatchOrg ¶ added in v0.1.16
func (o *UpdateFunctionParams) WithXDispatchOrg(xDispatchOrg string) *UpdateFunctionParams
WithXDispatchOrg adds the xDispatchOrg to the update function params
func (*UpdateFunctionParams) WriteToRequest ¶
func (o *UpdateFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateFunctionReader ¶
type UpdateFunctionReader struct {
// contains filtered or unexported fields
}
UpdateFunctionReader is a Reader for the UpdateFunction structure.
func (*UpdateFunctionReader) ReadResponse ¶
func (o *UpdateFunctionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.