functions

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for functions API

func (*Client) DeleteV1FunctionsFunctionID

func (a *Client) DeleteV1FunctionsFunctionID(params *DeleteV1FunctionsFunctionIDParams) (*DeleteV1FunctionsFunctionIDOK, error)

DeleteV1FunctionsFunctionID deletes function

func (*Client) DeleteV1FunctionsFunctionIDConfigConfigKey

func (a *Client) DeleteV1FunctionsFunctionIDConfigConfigKey(params *DeleteV1FunctionsFunctionIDConfigConfigKeyParams) (*DeleteV1FunctionsFunctionIDConfigConfigKeyOK, error)

DeleteV1FunctionsFunctionIDConfigConfigKey deletes function config value

func (*Client) GetV1Functions

func (a *Client) GetV1Functions(params *GetV1FunctionsParams) (*GetV1FunctionsOK, error)

GetV1Functions lists all functions

func (*Client) GetV1FunctionsFunctionID

func (a *Client) GetV1FunctionsFunctionID(params *GetV1FunctionsFunctionIDParams) (*GetV1FunctionsFunctionIDOK, error)

GetV1FunctionsFunctionID gets function details

func (*Client) GetV1FunctionsFunctionIDConfig

func (a *Client) GetV1FunctionsFunctionIDConfig(params *GetV1FunctionsFunctionIDConfigParams) (*GetV1FunctionsFunctionIDConfigOK, error)

GetV1FunctionsFunctionIDConfig lists all config values

func (*Client) PostV1Functions

func (a *Client) PostV1Functions(params *PostV1FunctionsParams) (*PostV1FunctionsCreated, error)

PostV1Functions creates a new function

You may create your own functions using this action. It takes a JSON object containing a function request. Once function is created, you can assign it based on its ID to bucket's input and/or output.

func (*Client) PutV1FunctionsFunctionID

func (a *Client) PutV1FunctionsFunctionID(params *PutV1FunctionsFunctionIDParams) (*PutV1FunctionsFunctionIDOK, error)

PutV1FunctionsFunctionID updates function

Update function.

func (*Client) PutV1FunctionsFunctionIDConfig

func (a *Client) PutV1FunctionsFunctionIDConfig(params *PutV1FunctionsFunctionIDConfigParams) (*PutV1FunctionsFunctionIDConfigOK, error)

PutV1FunctionsFunctionIDConfig updates function

Update or create function config variable.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteV1FunctionsFunctionID(params *DeleteV1FunctionsFunctionIDParams) (*DeleteV1FunctionsFunctionIDOK, error)

	DeleteV1FunctionsFunctionIDConfigConfigKey(params *DeleteV1FunctionsFunctionIDConfigConfigKeyParams) (*DeleteV1FunctionsFunctionIDConfigConfigKeyOK, error)

	GetV1Functions(params *GetV1FunctionsParams) (*GetV1FunctionsOK, error)

	GetV1FunctionsFunctionID(params *GetV1FunctionsFunctionIDParams) (*GetV1FunctionsFunctionIDOK, error)

	GetV1FunctionsFunctionIDConfig(params *GetV1FunctionsFunctionIDConfigParams) (*GetV1FunctionsFunctionIDConfigOK, error)

	PostV1Functions(params *PostV1FunctionsParams) (*PostV1FunctionsCreated, error)

	PutV1FunctionsFunctionID(params *PutV1FunctionsFunctionIDParams) (*PutV1FunctionsFunctionIDOK, error)

	PutV1FunctionsFunctionIDConfig(params *PutV1FunctionsFunctionIDConfigParams) (*PutV1FunctionsFunctionIDConfigOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new functions API client.

type DeleteV1FunctionsFunctionIDConfigConfigKeyNotFound

type DeleteV1FunctionsFunctionIDConfigConfigKeyNotFound struct {
}

DeleteV1FunctionsFunctionIDConfigConfigKeyNotFound handles this case with default header values.

Function config value not found

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyNotFound

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyNotFound() *DeleteV1FunctionsFunctionIDConfigConfigKeyNotFound

NewDeleteV1FunctionsFunctionIDConfigConfigKeyNotFound creates a DeleteV1FunctionsFunctionIDConfigConfigKeyNotFound with default headers values

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyNotFound) Error

type DeleteV1FunctionsFunctionIDConfigConfigKeyOK

type DeleteV1FunctionsFunctionIDConfigConfigKeyOK struct {
}

DeleteV1FunctionsFunctionIDConfigConfigKeyOK handles this case with default header values.

Successful Response

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyOK

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyOK() *DeleteV1FunctionsFunctionIDConfigConfigKeyOK

NewDeleteV1FunctionsFunctionIDConfigConfigKeyOK creates a DeleteV1FunctionsFunctionIDConfigConfigKeyOK with default headers values

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyOK) Error

type DeleteV1FunctionsFunctionIDConfigConfigKeyParams

type DeleteV1FunctionsFunctionIDConfigConfigKeyParams struct {

	/*ConfigKey
	  Config key to manage

	*/
	ConfigKey string
	/*FunctionID
	  ID of a function to manage

	*/
	FunctionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteV1FunctionsFunctionIDConfigConfigKeyParams contains all the parameters to send to the API endpoint for the delete v1 functions function ID config config key operation typically these are written to a http.Request

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyParams

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyParams() *DeleteV1FunctionsFunctionIDConfigConfigKeyParams

NewDeleteV1FunctionsFunctionIDConfigConfigKeyParams creates a new DeleteV1FunctionsFunctionIDConfigConfigKeyParams object with the default values initialized.

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyParamsWithContext

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyParamsWithContext(ctx context.Context) *DeleteV1FunctionsFunctionIDConfigConfigKeyParams

NewDeleteV1FunctionsFunctionIDConfigConfigKeyParamsWithContext creates a new DeleteV1FunctionsFunctionIDConfigConfigKeyParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyParamsWithHTTPClient

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyParamsWithHTTPClient(client *http.Client) *DeleteV1FunctionsFunctionIDConfigConfigKeyParams

NewDeleteV1FunctionsFunctionIDConfigConfigKeyParamsWithHTTPClient creates a new DeleteV1FunctionsFunctionIDConfigConfigKeyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyParamsWithTimeout

func NewDeleteV1FunctionsFunctionIDConfigConfigKeyParamsWithTimeout(timeout time.Duration) *DeleteV1FunctionsFunctionIDConfigConfigKeyParams

NewDeleteV1FunctionsFunctionIDConfigConfigKeyParamsWithTimeout creates a new DeleteV1FunctionsFunctionIDConfigConfigKeyParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) SetConfigKey

func (o *DeleteV1FunctionsFunctionIDConfigConfigKeyParams) SetConfigKey(configKey string)

SetConfigKey adds the configKey to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) SetContext

SetContext adds the context to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) SetFunctionID

func (o *DeleteV1FunctionsFunctionIDConfigConfigKeyParams) SetFunctionID(functionID string)

SetFunctionID adds the functionId to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) SetTimeout

SetTimeout adds the timeout to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) WithConfigKey

WithConfigKey adds the configKey to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) WithContext

WithContext adds the context to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) WithFunctionID

WithFunctionID adds the functionID to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) WithTimeout

WithTimeout adds the timeout to the delete v1 functions function ID config config key params

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1FunctionsFunctionIDConfigConfigKeyReader

type DeleteV1FunctionsFunctionIDConfigConfigKeyReader struct {
	// contains filtered or unexported fields
}

DeleteV1FunctionsFunctionIDConfigConfigKeyReader is a Reader for the DeleteV1FunctionsFunctionIDConfigConfigKey structure.

func (*DeleteV1FunctionsFunctionIDConfigConfigKeyReader) ReadResponse

func (o *DeleteV1FunctionsFunctionIDConfigConfigKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteV1FunctionsFunctionIDNotFound

type DeleteV1FunctionsFunctionIDNotFound struct {
}

DeleteV1FunctionsFunctionIDNotFound handles this case with default header values.

Function not found

func NewDeleteV1FunctionsFunctionIDNotFound

func NewDeleteV1FunctionsFunctionIDNotFound() *DeleteV1FunctionsFunctionIDNotFound

NewDeleteV1FunctionsFunctionIDNotFound creates a DeleteV1FunctionsFunctionIDNotFound with default headers values

func (*DeleteV1FunctionsFunctionIDNotFound) Error

type DeleteV1FunctionsFunctionIDOK

type DeleteV1FunctionsFunctionIDOK struct {
}

DeleteV1FunctionsFunctionIDOK handles this case with default header values.

Successful Response

func NewDeleteV1FunctionsFunctionIDOK

func NewDeleteV1FunctionsFunctionIDOK() *DeleteV1FunctionsFunctionIDOK

NewDeleteV1FunctionsFunctionIDOK creates a DeleteV1FunctionsFunctionIDOK with default headers values

func (*DeleteV1FunctionsFunctionIDOK) Error

type DeleteV1FunctionsFunctionIDParams

type DeleteV1FunctionsFunctionIDParams struct {

	/*FunctionID
	  ID of a function to return

	*/
	FunctionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteV1FunctionsFunctionIDParams contains all the parameters to send to the API endpoint for the delete v1 functions function ID operation typically these are written to a http.Request

func NewDeleteV1FunctionsFunctionIDParams

func NewDeleteV1FunctionsFunctionIDParams() *DeleteV1FunctionsFunctionIDParams

NewDeleteV1FunctionsFunctionIDParams creates a new DeleteV1FunctionsFunctionIDParams object with the default values initialized.

func NewDeleteV1FunctionsFunctionIDParamsWithContext

func NewDeleteV1FunctionsFunctionIDParamsWithContext(ctx context.Context) *DeleteV1FunctionsFunctionIDParams

NewDeleteV1FunctionsFunctionIDParamsWithContext creates a new DeleteV1FunctionsFunctionIDParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteV1FunctionsFunctionIDParamsWithHTTPClient

func NewDeleteV1FunctionsFunctionIDParamsWithHTTPClient(client *http.Client) *DeleteV1FunctionsFunctionIDParams

NewDeleteV1FunctionsFunctionIDParamsWithHTTPClient creates a new DeleteV1FunctionsFunctionIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteV1FunctionsFunctionIDParamsWithTimeout

func NewDeleteV1FunctionsFunctionIDParamsWithTimeout(timeout time.Duration) *DeleteV1FunctionsFunctionIDParams

NewDeleteV1FunctionsFunctionIDParamsWithTimeout creates a new DeleteV1FunctionsFunctionIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteV1FunctionsFunctionIDParams) SetContext

SetContext adds the context to the delete v1 functions function ID params

func (*DeleteV1FunctionsFunctionIDParams) SetFunctionID

func (o *DeleteV1FunctionsFunctionIDParams) SetFunctionID(functionID string)

SetFunctionID adds the functionId to the delete v1 functions function ID params

func (*DeleteV1FunctionsFunctionIDParams) SetHTTPClient

func (o *DeleteV1FunctionsFunctionIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete v1 functions function ID params

func (*DeleteV1FunctionsFunctionIDParams) SetTimeout

func (o *DeleteV1FunctionsFunctionIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete v1 functions function ID params

func (*DeleteV1FunctionsFunctionIDParams) WithContext

WithContext adds the context to the delete v1 functions function ID params

func (*DeleteV1FunctionsFunctionIDParams) WithFunctionID

WithFunctionID adds the functionID to the delete v1 functions function ID params

func (*DeleteV1FunctionsFunctionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 functions function ID params

func (*DeleteV1FunctionsFunctionIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 functions function ID params

func (*DeleteV1FunctionsFunctionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1FunctionsFunctionIDReader

type DeleteV1FunctionsFunctionIDReader struct {
	// contains filtered or unexported fields
}

DeleteV1FunctionsFunctionIDReader is a Reader for the DeleteV1FunctionsFunctionID structure.

func (*DeleteV1FunctionsFunctionIDReader) ReadResponse

func (o *DeleteV1FunctionsFunctionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetV1FunctionsFunctionIDConfigOK

type GetV1FunctionsFunctionIDConfigOK struct {
	Payload []*models.FunctionConfig
}

GetV1FunctionsFunctionIDConfigOK handles this case with default header values.

Successful Response

func NewGetV1FunctionsFunctionIDConfigOK

func NewGetV1FunctionsFunctionIDConfigOK() *GetV1FunctionsFunctionIDConfigOK

NewGetV1FunctionsFunctionIDConfigOK creates a GetV1FunctionsFunctionIDConfigOK with default headers values

func (*GetV1FunctionsFunctionIDConfigOK) Error

func (*GetV1FunctionsFunctionIDConfigOK) GetPayload

type GetV1FunctionsFunctionIDConfigParams

type GetV1FunctionsFunctionIDConfigParams struct {

	/*FunctionID
	  ID of a function to manage

	*/
	FunctionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV1FunctionsFunctionIDConfigParams contains all the parameters to send to the API endpoint for the get v1 functions function ID config operation typically these are written to a http.Request

func NewGetV1FunctionsFunctionIDConfigParams

func NewGetV1FunctionsFunctionIDConfigParams() *GetV1FunctionsFunctionIDConfigParams

NewGetV1FunctionsFunctionIDConfigParams creates a new GetV1FunctionsFunctionIDConfigParams object with the default values initialized.

func NewGetV1FunctionsFunctionIDConfigParamsWithContext

func NewGetV1FunctionsFunctionIDConfigParamsWithContext(ctx context.Context) *GetV1FunctionsFunctionIDConfigParams

NewGetV1FunctionsFunctionIDConfigParamsWithContext creates a new GetV1FunctionsFunctionIDConfigParams object with the default values initialized, and the ability to set a context for a request

func NewGetV1FunctionsFunctionIDConfigParamsWithHTTPClient

func NewGetV1FunctionsFunctionIDConfigParamsWithHTTPClient(client *http.Client) *GetV1FunctionsFunctionIDConfigParams

NewGetV1FunctionsFunctionIDConfigParamsWithHTTPClient creates a new GetV1FunctionsFunctionIDConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetV1FunctionsFunctionIDConfigParamsWithTimeout

func NewGetV1FunctionsFunctionIDConfigParamsWithTimeout(timeout time.Duration) *GetV1FunctionsFunctionIDConfigParams

NewGetV1FunctionsFunctionIDConfigParamsWithTimeout creates a new GetV1FunctionsFunctionIDConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetV1FunctionsFunctionIDConfigParams) SetContext

SetContext adds the context to the get v1 functions function ID config params

func (*GetV1FunctionsFunctionIDConfigParams) SetFunctionID

func (o *GetV1FunctionsFunctionIDConfigParams) SetFunctionID(functionID string)

SetFunctionID adds the functionId to the get v1 functions function ID config params

func (*GetV1FunctionsFunctionIDConfigParams) SetHTTPClient

func (o *GetV1FunctionsFunctionIDConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v1 functions function ID config params

func (*GetV1FunctionsFunctionIDConfigParams) SetTimeout

func (o *GetV1FunctionsFunctionIDConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v1 functions function ID config params

func (*GetV1FunctionsFunctionIDConfigParams) WithContext

WithContext adds the context to the get v1 functions function ID config params

func (*GetV1FunctionsFunctionIDConfigParams) WithFunctionID

WithFunctionID adds the functionID to the get v1 functions function ID config params

func (*GetV1FunctionsFunctionIDConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 functions function ID config params

func (*GetV1FunctionsFunctionIDConfigParams) WithTimeout

WithTimeout adds the timeout to the get v1 functions function ID config params

func (*GetV1FunctionsFunctionIDConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1FunctionsFunctionIDConfigReader

type GetV1FunctionsFunctionIDConfigReader struct {
	// contains filtered or unexported fields
}

GetV1FunctionsFunctionIDConfigReader is a Reader for the GetV1FunctionsFunctionIDConfig structure.

func (*GetV1FunctionsFunctionIDConfigReader) ReadResponse

func (o *GetV1FunctionsFunctionIDConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetV1FunctionsFunctionIDNotFound

type GetV1FunctionsFunctionIDNotFound struct {
}

GetV1FunctionsFunctionIDNotFound handles this case with default header values.

Function not found

func NewGetV1FunctionsFunctionIDNotFound

func NewGetV1FunctionsFunctionIDNotFound() *GetV1FunctionsFunctionIDNotFound

NewGetV1FunctionsFunctionIDNotFound creates a GetV1FunctionsFunctionIDNotFound with default headers values

func (*GetV1FunctionsFunctionIDNotFound) Error

type GetV1FunctionsFunctionIDOK

type GetV1FunctionsFunctionIDOK struct {
	Payload *models.Function
}

GetV1FunctionsFunctionIDOK handles this case with default header values.

Successful Response

func NewGetV1FunctionsFunctionIDOK

func NewGetV1FunctionsFunctionIDOK() *GetV1FunctionsFunctionIDOK

NewGetV1FunctionsFunctionIDOK creates a GetV1FunctionsFunctionIDOK with default headers values

func (*GetV1FunctionsFunctionIDOK) Error

func (*GetV1FunctionsFunctionIDOK) GetPayload

func (o *GetV1FunctionsFunctionIDOK) GetPayload() *models.Function

type GetV1FunctionsFunctionIDParams

type GetV1FunctionsFunctionIDParams struct {

	/*FunctionID
	  ID of a function to return

	*/
	FunctionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV1FunctionsFunctionIDParams contains all the parameters to send to the API endpoint for the get v1 functions function ID operation typically these are written to a http.Request

func NewGetV1FunctionsFunctionIDParams

func NewGetV1FunctionsFunctionIDParams() *GetV1FunctionsFunctionIDParams

NewGetV1FunctionsFunctionIDParams creates a new GetV1FunctionsFunctionIDParams object with the default values initialized.

func NewGetV1FunctionsFunctionIDParamsWithContext

func NewGetV1FunctionsFunctionIDParamsWithContext(ctx context.Context) *GetV1FunctionsFunctionIDParams

NewGetV1FunctionsFunctionIDParamsWithContext creates a new GetV1FunctionsFunctionIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetV1FunctionsFunctionIDParamsWithHTTPClient

func NewGetV1FunctionsFunctionIDParamsWithHTTPClient(client *http.Client) *GetV1FunctionsFunctionIDParams

NewGetV1FunctionsFunctionIDParamsWithHTTPClient creates a new GetV1FunctionsFunctionIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetV1FunctionsFunctionIDParamsWithTimeout

func NewGetV1FunctionsFunctionIDParamsWithTimeout(timeout time.Duration) *GetV1FunctionsFunctionIDParams

NewGetV1FunctionsFunctionIDParamsWithTimeout creates a new GetV1FunctionsFunctionIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetV1FunctionsFunctionIDParams) SetContext

func (o *GetV1FunctionsFunctionIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get v1 functions function ID params

func (*GetV1FunctionsFunctionIDParams) SetFunctionID

func (o *GetV1FunctionsFunctionIDParams) SetFunctionID(functionID string)

SetFunctionID adds the functionId to the get v1 functions function ID params

func (*GetV1FunctionsFunctionIDParams) SetHTTPClient

func (o *GetV1FunctionsFunctionIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v1 functions function ID params

func (*GetV1FunctionsFunctionIDParams) SetTimeout

func (o *GetV1FunctionsFunctionIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v1 functions function ID params

func (*GetV1FunctionsFunctionIDParams) WithContext

WithContext adds the context to the get v1 functions function ID params

func (*GetV1FunctionsFunctionIDParams) WithFunctionID

WithFunctionID adds the functionID to the get v1 functions function ID params

func (*GetV1FunctionsFunctionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 functions function ID params

func (*GetV1FunctionsFunctionIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 functions function ID params

func (*GetV1FunctionsFunctionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1FunctionsFunctionIDReader

type GetV1FunctionsFunctionIDReader struct {
	// contains filtered or unexported fields
}

GetV1FunctionsFunctionIDReader is a Reader for the GetV1FunctionsFunctionID structure.

func (*GetV1FunctionsFunctionIDReader) ReadResponse

func (o *GetV1FunctionsFunctionIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetV1FunctionsOK

type GetV1FunctionsOK struct {
	Payload []*models.Function
}

GetV1FunctionsOK handles this case with default header values.

Successful Response

func NewGetV1FunctionsOK

func NewGetV1FunctionsOK() *GetV1FunctionsOK

NewGetV1FunctionsOK creates a GetV1FunctionsOK with default headers values

func (*GetV1FunctionsOK) Error

func (o *GetV1FunctionsOK) Error() string

func (*GetV1FunctionsOK) GetPayload

func (o *GetV1FunctionsOK) GetPayload() []*models.Function

type GetV1FunctionsParams

type GetV1FunctionsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV1FunctionsParams contains all the parameters to send to the API endpoint for the get v1 functions operation typically these are written to a http.Request

func NewGetV1FunctionsParams

func NewGetV1FunctionsParams() *GetV1FunctionsParams

NewGetV1FunctionsParams creates a new GetV1FunctionsParams object with the default values initialized.

func NewGetV1FunctionsParamsWithContext

func NewGetV1FunctionsParamsWithContext(ctx context.Context) *GetV1FunctionsParams

NewGetV1FunctionsParamsWithContext creates a new GetV1FunctionsParams object with the default values initialized, and the ability to set a context for a request

func NewGetV1FunctionsParamsWithHTTPClient

func NewGetV1FunctionsParamsWithHTTPClient(client *http.Client) *GetV1FunctionsParams

NewGetV1FunctionsParamsWithHTTPClient creates a new GetV1FunctionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetV1FunctionsParamsWithTimeout

func NewGetV1FunctionsParamsWithTimeout(timeout time.Duration) *GetV1FunctionsParams

NewGetV1FunctionsParamsWithTimeout creates a new GetV1FunctionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetV1FunctionsParams) SetContext

func (o *GetV1FunctionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get v1 functions params

func (*GetV1FunctionsParams) SetHTTPClient

func (o *GetV1FunctionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get v1 functions params

func (*GetV1FunctionsParams) SetTimeout

func (o *GetV1FunctionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get v1 functions params

func (*GetV1FunctionsParams) WithContext

WithContext adds the context to the get v1 functions params

func (*GetV1FunctionsParams) WithHTTPClient

func (o *GetV1FunctionsParams) WithHTTPClient(client *http.Client) *GetV1FunctionsParams

WithHTTPClient adds the HTTPClient to the get v1 functions params

func (*GetV1FunctionsParams) WithTimeout

func (o *GetV1FunctionsParams) WithTimeout(timeout time.Duration) *GetV1FunctionsParams

WithTimeout adds the timeout to the get v1 functions params

func (*GetV1FunctionsParams) WriteToRequest

func (o *GetV1FunctionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetV1FunctionsReader

type GetV1FunctionsReader struct {
	// contains filtered or unexported fields
}

GetV1FunctionsReader is a Reader for the GetV1Functions structure.

func (*GetV1FunctionsReader) ReadResponse

func (o *GetV1FunctionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostV1FunctionsBadRequest

type PostV1FunctionsBadRequest struct {
}

PostV1FunctionsBadRequest handles this case with default header values.

Invalid function request supplied

func NewPostV1FunctionsBadRequest

func NewPostV1FunctionsBadRequest() *PostV1FunctionsBadRequest

NewPostV1FunctionsBadRequest creates a PostV1FunctionsBadRequest with default headers values

func (*PostV1FunctionsBadRequest) Error

func (o *PostV1FunctionsBadRequest) Error() string

type PostV1FunctionsCreated

type PostV1FunctionsCreated struct {
	Payload *models.Function
}

PostV1FunctionsCreated handles this case with default header values.

PostV1FunctionsCreated post v1 functions created

func NewPostV1FunctionsCreated

func NewPostV1FunctionsCreated() *PostV1FunctionsCreated

NewPostV1FunctionsCreated creates a PostV1FunctionsCreated with default headers values

func (*PostV1FunctionsCreated) Error

func (o *PostV1FunctionsCreated) Error() string

func (*PostV1FunctionsCreated) GetPayload

func (o *PostV1FunctionsCreated) GetPayload() *models.Function

type PostV1FunctionsParams

type PostV1FunctionsParams struct {

	/*Body*/
	Body *models.FunctionRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostV1FunctionsParams contains all the parameters to send to the API endpoint for the post v1 functions operation typically these are written to a http.Request

func NewPostV1FunctionsParams

func NewPostV1FunctionsParams() *PostV1FunctionsParams

NewPostV1FunctionsParams creates a new PostV1FunctionsParams object with the default values initialized.

func NewPostV1FunctionsParamsWithContext

func NewPostV1FunctionsParamsWithContext(ctx context.Context) *PostV1FunctionsParams

NewPostV1FunctionsParamsWithContext creates a new PostV1FunctionsParams object with the default values initialized, and the ability to set a context for a request

func NewPostV1FunctionsParamsWithHTTPClient

func NewPostV1FunctionsParamsWithHTTPClient(client *http.Client) *PostV1FunctionsParams

NewPostV1FunctionsParamsWithHTTPClient creates a new PostV1FunctionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostV1FunctionsParamsWithTimeout

func NewPostV1FunctionsParamsWithTimeout(timeout time.Duration) *PostV1FunctionsParams

NewPostV1FunctionsParamsWithTimeout creates a new PostV1FunctionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostV1FunctionsParams) SetBody

func (o *PostV1FunctionsParams) SetBody(body *models.FunctionRequest)

SetBody adds the body to the post v1 functions params

func (*PostV1FunctionsParams) SetContext

func (o *PostV1FunctionsParams) SetContext(ctx context.Context)

SetContext adds the context to the post v1 functions params

func (*PostV1FunctionsParams) SetHTTPClient

func (o *PostV1FunctionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post v1 functions params

func (*PostV1FunctionsParams) SetTimeout

func (o *PostV1FunctionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post v1 functions params

func (*PostV1FunctionsParams) WithBody

WithBody adds the body to the post v1 functions params

func (*PostV1FunctionsParams) WithContext

WithContext adds the context to the post v1 functions params

func (*PostV1FunctionsParams) WithHTTPClient

func (o *PostV1FunctionsParams) WithHTTPClient(client *http.Client) *PostV1FunctionsParams

WithHTTPClient adds the HTTPClient to the post v1 functions params

func (*PostV1FunctionsParams) WithTimeout

func (o *PostV1FunctionsParams) WithTimeout(timeout time.Duration) *PostV1FunctionsParams

WithTimeout adds the timeout to the post v1 functions params

func (*PostV1FunctionsParams) WriteToRequest

func (o *PostV1FunctionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostV1FunctionsReader

type PostV1FunctionsReader struct {
	// contains filtered or unexported fields
}

PostV1FunctionsReader is a Reader for the PostV1Functions structure.

func (*PostV1FunctionsReader) ReadResponse

func (o *PostV1FunctionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutV1FunctionsFunctionIDBadRequest

type PutV1FunctionsFunctionIDBadRequest struct {
}

PutV1FunctionsFunctionIDBadRequest handles this case with default header values.

Invalid function update request supplied

func NewPutV1FunctionsFunctionIDBadRequest

func NewPutV1FunctionsFunctionIDBadRequest() *PutV1FunctionsFunctionIDBadRequest

NewPutV1FunctionsFunctionIDBadRequest creates a PutV1FunctionsFunctionIDBadRequest with default headers values

func (*PutV1FunctionsFunctionIDBadRequest) Error

type PutV1FunctionsFunctionIDConfigBadRequest

type PutV1FunctionsFunctionIDConfigBadRequest struct {
}

PutV1FunctionsFunctionIDConfigBadRequest handles this case with default header values.

Invalid function request supplied

func NewPutV1FunctionsFunctionIDConfigBadRequest

func NewPutV1FunctionsFunctionIDConfigBadRequest() *PutV1FunctionsFunctionIDConfigBadRequest

NewPutV1FunctionsFunctionIDConfigBadRequest creates a PutV1FunctionsFunctionIDConfigBadRequest with default headers values

func (*PutV1FunctionsFunctionIDConfigBadRequest) Error

type PutV1FunctionsFunctionIDConfigOK

type PutV1FunctionsFunctionIDConfigOK struct {
	Payload *models.FunctionConfig
}

PutV1FunctionsFunctionIDConfigOK handles this case with default header values.

PutV1FunctionsFunctionIDConfigOK put v1 functions function Id config o k

func NewPutV1FunctionsFunctionIDConfigOK

func NewPutV1FunctionsFunctionIDConfigOK() *PutV1FunctionsFunctionIDConfigOK

NewPutV1FunctionsFunctionIDConfigOK creates a PutV1FunctionsFunctionIDConfigOK with default headers values

func (*PutV1FunctionsFunctionIDConfigOK) Error

func (*PutV1FunctionsFunctionIDConfigOK) GetPayload

type PutV1FunctionsFunctionIDConfigParams

type PutV1FunctionsFunctionIDConfigParams struct {

	/*Body*/
	Body *models.FunctionConfig
	/*FunctionID
	  ID of a function to manage

	*/
	FunctionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutV1FunctionsFunctionIDConfigParams contains all the parameters to send to the API endpoint for the put v1 functions function ID config operation typically these are written to a http.Request

func NewPutV1FunctionsFunctionIDConfigParams

func NewPutV1FunctionsFunctionIDConfigParams() *PutV1FunctionsFunctionIDConfigParams

NewPutV1FunctionsFunctionIDConfigParams creates a new PutV1FunctionsFunctionIDConfigParams object with the default values initialized.

func NewPutV1FunctionsFunctionIDConfigParamsWithContext

func NewPutV1FunctionsFunctionIDConfigParamsWithContext(ctx context.Context) *PutV1FunctionsFunctionIDConfigParams

NewPutV1FunctionsFunctionIDConfigParamsWithContext creates a new PutV1FunctionsFunctionIDConfigParams object with the default values initialized, and the ability to set a context for a request

func NewPutV1FunctionsFunctionIDConfigParamsWithHTTPClient

func NewPutV1FunctionsFunctionIDConfigParamsWithHTTPClient(client *http.Client) *PutV1FunctionsFunctionIDConfigParams

NewPutV1FunctionsFunctionIDConfigParamsWithHTTPClient creates a new PutV1FunctionsFunctionIDConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutV1FunctionsFunctionIDConfigParamsWithTimeout

func NewPutV1FunctionsFunctionIDConfigParamsWithTimeout(timeout time.Duration) *PutV1FunctionsFunctionIDConfigParams

NewPutV1FunctionsFunctionIDConfigParamsWithTimeout creates a new PutV1FunctionsFunctionIDConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutV1FunctionsFunctionIDConfigParams) SetBody

SetBody adds the body to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) SetContext

SetContext adds the context to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) SetFunctionID

func (o *PutV1FunctionsFunctionIDConfigParams) SetFunctionID(functionID string)

SetFunctionID adds the functionId to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) SetHTTPClient

func (o *PutV1FunctionsFunctionIDConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) SetTimeout

func (o *PutV1FunctionsFunctionIDConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) WithBody

WithBody adds the body to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) WithContext

WithContext adds the context to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) WithFunctionID

WithFunctionID adds the functionID to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) WithTimeout

WithTimeout adds the timeout to the put v1 functions function ID config params

func (*PutV1FunctionsFunctionIDConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1FunctionsFunctionIDConfigReader

type PutV1FunctionsFunctionIDConfigReader struct {
	// contains filtered or unexported fields
}

PutV1FunctionsFunctionIDConfigReader is a Reader for the PutV1FunctionsFunctionIDConfig structure.

func (*PutV1FunctionsFunctionIDConfigReader) ReadResponse

func (o *PutV1FunctionsFunctionIDConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutV1FunctionsFunctionIDNotFound

type PutV1FunctionsFunctionIDNotFound struct {
}

PutV1FunctionsFunctionIDNotFound handles this case with default header values.

Function not found

func NewPutV1FunctionsFunctionIDNotFound

func NewPutV1FunctionsFunctionIDNotFound() *PutV1FunctionsFunctionIDNotFound

NewPutV1FunctionsFunctionIDNotFound creates a PutV1FunctionsFunctionIDNotFound with default headers values

func (*PutV1FunctionsFunctionIDNotFound) Error

type PutV1FunctionsFunctionIDOK

type PutV1FunctionsFunctionIDOK struct {
	Payload *models.Function
}

PutV1FunctionsFunctionIDOK handles this case with default header values.

Function updated

func NewPutV1FunctionsFunctionIDOK

func NewPutV1FunctionsFunctionIDOK() *PutV1FunctionsFunctionIDOK

NewPutV1FunctionsFunctionIDOK creates a PutV1FunctionsFunctionIDOK with default headers values

func (*PutV1FunctionsFunctionIDOK) Error

func (*PutV1FunctionsFunctionIDOK) GetPayload

func (o *PutV1FunctionsFunctionIDOK) GetPayload() *models.Function

type PutV1FunctionsFunctionIDParams

type PutV1FunctionsFunctionIDParams struct {

	/*Body*/
	Body *models.FunctionRequest
	/*FunctionID
	  ID of a function to return

	*/
	FunctionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutV1FunctionsFunctionIDParams contains all the parameters to send to the API endpoint for the put v1 functions function ID operation typically these are written to a http.Request

func NewPutV1FunctionsFunctionIDParams

func NewPutV1FunctionsFunctionIDParams() *PutV1FunctionsFunctionIDParams

NewPutV1FunctionsFunctionIDParams creates a new PutV1FunctionsFunctionIDParams object with the default values initialized.

func NewPutV1FunctionsFunctionIDParamsWithContext

func NewPutV1FunctionsFunctionIDParamsWithContext(ctx context.Context) *PutV1FunctionsFunctionIDParams

NewPutV1FunctionsFunctionIDParamsWithContext creates a new PutV1FunctionsFunctionIDParams object with the default values initialized, and the ability to set a context for a request

func NewPutV1FunctionsFunctionIDParamsWithHTTPClient

func NewPutV1FunctionsFunctionIDParamsWithHTTPClient(client *http.Client) *PutV1FunctionsFunctionIDParams

NewPutV1FunctionsFunctionIDParamsWithHTTPClient creates a new PutV1FunctionsFunctionIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutV1FunctionsFunctionIDParamsWithTimeout

func NewPutV1FunctionsFunctionIDParamsWithTimeout(timeout time.Duration) *PutV1FunctionsFunctionIDParams

NewPutV1FunctionsFunctionIDParamsWithTimeout creates a new PutV1FunctionsFunctionIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutV1FunctionsFunctionIDParams) SetBody

SetBody adds the body to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) SetContext

func (o *PutV1FunctionsFunctionIDParams) SetContext(ctx context.Context)

SetContext adds the context to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) SetFunctionID

func (o *PutV1FunctionsFunctionIDParams) SetFunctionID(functionID string)

SetFunctionID adds the functionId to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) SetHTTPClient

func (o *PutV1FunctionsFunctionIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) SetTimeout

func (o *PutV1FunctionsFunctionIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) WithBody

WithBody adds the body to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) WithContext

WithContext adds the context to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) WithFunctionID

WithFunctionID adds the functionID to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) WithTimeout

WithTimeout adds the timeout to the put v1 functions function ID params

func (*PutV1FunctionsFunctionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1FunctionsFunctionIDReader

type PutV1FunctionsFunctionIDReader struct {
	// contains filtered or unexported fields
}

PutV1FunctionsFunctionIDReader is a Reader for the PutV1FunctionsFunctionID structure.

func (*PutV1FunctionsFunctionIDReader) ReadResponse

func (o *PutV1FunctionsFunctionIDReader) 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