store

package
v0.1.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddFunctionBadRequest

type AddFunctionBadRequest struct {
	Payload *v1.Error
}

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

type AddFunctionConflict struct {
	Payload *v1.Error
}

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

type AddFunctionCreated struct {
	Payload *v1.Function
}

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

type AddFunctionInternalServerError struct {
	Payload *v1.Error
}

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

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 {
	Payload *v1.Error
}

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

type DeleteFunctionBadRequest struct {
	Payload *v1.Error
}

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

type DeleteFunctionInternalServerError struct {
	Payload *v1.Error
}

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

type DeleteFunctionNotFound

type DeleteFunctionNotFound struct {
	Payload *v1.Error
}

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

type DeleteFunctionOK struct {
	Payload *v1.Function
}

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

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

type GetFunctionBadRequest struct {
	Payload *v1.Error
}

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

type GetFunctionInternalServerError struct {
	Payload *v1.Error
}

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

type GetFunctionNotFound

type GetFunctionNotFound struct {
	Payload *v1.Error
}

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

type GetFunctionOK struct {
	Payload *v1.Function
}

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

type GetFunctionsBadRequest struct {
	Payload *v1.Error
}

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

type GetFunctionsDefault struct {
	Payload *v1.Error
	// contains filtered or unexported fields
}

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

type GetFunctionsInternalServerError struct {
	Payload *v1.Error
}

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

type GetFunctionsOK

type GetFunctionsOK struct {
	Payload []*v1.Function
}

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

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

type UpdateFunctionBadRequest struct {
	Payload *v1.Error
}

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

type UpdateFunctionInternalServerError struct {
	Payload *v1.Error
}

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

type UpdateFunctionNotFound

type UpdateFunctionNotFound struct {
	Payload *v1.Error
}

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

type UpdateFunctionOK struct {
	Payload *v1.Function
}

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

WithBody adds the body to the update function params

func (*UpdateFunctionParams) WithContext

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL