functions_service

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 10 Imported by: 0

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 service API

func (*Client) FunctionsServiceCallAsyncFunction

func (a *Client) FunctionsServiceCallAsyncFunction(params *FunctionsServiceCallAsyncFunctionParams, opts ...ClientOption) (*FunctionsServiceCallAsyncFunctionOK, error)

FunctionsServiceCallAsyncFunction posts function for execution in async way

func (*Client) FunctionsServiceCallSyncFunction

func (a *Client) FunctionsServiceCallSyncFunction(params *FunctionsServiceCallSyncFunctionParams, opts ...ClientOption) (*FunctionsServiceCallSyncFunctionOK, error)

FunctionsServiceCallSyncFunction calls a function synchroniously

func (*Client) FunctionsServiceCallTestFunction

func (a *Client) FunctionsServiceCallTestFunction(params *FunctionsServiceCallTestFunctionParams, opts ...ClientOption) (*FunctionsServiceCallTestFunctionOK, error)

FunctionsServiceCallTestFunction tests a function call

func (*Client) FunctionsServiceCreateFunction

func (a *Client) FunctionsServiceCreateFunction(params *FunctionsServiceCreateFunctionParams, opts ...ClientOption) (*FunctionsServiceCreateFunctionOK, error)

FunctionsServiceCreateFunction creates function

func (*Client) FunctionsServiceDeleteFunction

func (a *Client) FunctionsServiceDeleteFunction(params *FunctionsServiceDeleteFunctionParams, opts ...ClientOption) (*FunctionsServiceDeleteFunctionOK, error)

FunctionsServiceDeleteFunction deletes function

func (*Client) FunctionsServiceGetFunction

func (a *Client) FunctionsServiceGetFunction(params *FunctionsServiceGetFunctionParams, opts ...ClientOption) (*FunctionsServiceGetFunctionOK, error)

FunctionsServiceGetFunction gets function

func (*Client) FunctionsServiceGetFunctions

func (a *Client) FunctionsServiceGetFunctions(params *FunctionsServiceGetFunctionsParams, opts ...ClientOption) (*FunctionsServiceGetFunctionsOK, error)

FunctionsServiceGetFunctions fetches all functions

func (*Client) FunctionsServiceUpdateFunction

func (a *Client) FunctionsServiceUpdateFunction(params *FunctionsServiceUpdateFunctionParams, opts ...ClientOption) (*FunctionsServiceUpdateFunctionOK, error)

FunctionsServiceUpdateFunction updates function

func (*Client) FunctionsServiceUpdateFunction2

func (a *Client) FunctionsServiceUpdateFunction2(params *FunctionsServiceUpdateFunction2Params, opts ...ClientOption) (*FunctionsServiceUpdateFunction2OK, error)

FunctionsServiceUpdateFunction2 updates function

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.6.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	FunctionsServiceCallAsyncFunction(params *FunctionsServiceCallAsyncFunctionParams, opts ...ClientOption) (*FunctionsServiceCallAsyncFunctionOK, error)

	FunctionsServiceCallSyncFunction(params *FunctionsServiceCallSyncFunctionParams, opts ...ClientOption) (*FunctionsServiceCallSyncFunctionOK, error)

	FunctionsServiceCallTestFunction(params *FunctionsServiceCallTestFunctionParams, opts ...ClientOption) (*FunctionsServiceCallTestFunctionOK, error)

	FunctionsServiceCreateFunction(params *FunctionsServiceCreateFunctionParams, opts ...ClientOption) (*FunctionsServiceCreateFunctionOK, error)

	FunctionsServiceDeleteFunction(params *FunctionsServiceDeleteFunctionParams, opts ...ClientOption) (*FunctionsServiceDeleteFunctionOK, error)

	FunctionsServiceGetFunction(params *FunctionsServiceGetFunctionParams, opts ...ClientOption) (*FunctionsServiceGetFunctionOK, error)

	FunctionsServiceGetFunctions(params *FunctionsServiceGetFunctionsParams, opts ...ClientOption) (*FunctionsServiceGetFunctionsOK, error)

	FunctionsServiceUpdateFunction(params *FunctionsServiceUpdateFunctionParams, opts ...ClientOption) (*FunctionsServiceUpdateFunctionOK, error)

	FunctionsServiceUpdateFunction2(params *FunctionsServiceUpdateFunction2Params, opts ...ClientOption) (*FunctionsServiceUpdateFunction2OK, 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 service API client.

type FunctionsServiceCallAsyncFunctionDefault

type FunctionsServiceCallAsyncFunctionDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
FunctionsServiceCallAsyncFunctionDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewFunctionsServiceCallAsyncFunctionDefault

func NewFunctionsServiceCallAsyncFunctionDefault(code int) *FunctionsServiceCallAsyncFunctionDefault

NewFunctionsServiceCallAsyncFunctionDefault creates a FunctionsServiceCallAsyncFunctionDefault with default headers values

func (*FunctionsServiceCallAsyncFunctionDefault) Code

Code gets the status code for the functions service call async function default response

func (*FunctionsServiceCallAsyncFunctionDefault) Error

func (*FunctionsServiceCallAsyncFunctionDefault) GetPayload

type FunctionsServiceCallAsyncFunctionNotFound

type FunctionsServiceCallAsyncFunctionNotFound struct {
	Payload string
}
FunctionsServiceCallAsyncFunctionNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewFunctionsServiceCallAsyncFunctionNotFound

func NewFunctionsServiceCallAsyncFunctionNotFound() *FunctionsServiceCallAsyncFunctionNotFound

NewFunctionsServiceCallAsyncFunctionNotFound creates a FunctionsServiceCallAsyncFunctionNotFound with default headers values

func (*FunctionsServiceCallAsyncFunctionNotFound) Error

func (*FunctionsServiceCallAsyncFunctionNotFound) GetPayload

type FunctionsServiceCallAsyncFunctionOK

type FunctionsServiceCallAsyncFunctionOK struct {
	Payload models.FunctionsCallAsyncFunctionResponse
}
FunctionsServiceCallAsyncFunctionOK describes a response with status code 200, with default header values.

A successful response.

func NewFunctionsServiceCallAsyncFunctionOK

func NewFunctionsServiceCallAsyncFunctionOK() *FunctionsServiceCallAsyncFunctionOK

NewFunctionsServiceCallAsyncFunctionOK creates a FunctionsServiceCallAsyncFunctionOK with default headers values

func (*FunctionsServiceCallAsyncFunctionOK) Error

func (*FunctionsServiceCallAsyncFunctionOK) GetPayload

type FunctionsServiceCallAsyncFunctionParams

type FunctionsServiceCallAsyncFunctionParams struct {

	// Body.
	Body interface{}

	// CallID.
	CallID string

	// Reason.
	Reason string

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

FunctionsServiceCallAsyncFunctionParams contains all the parameters to send to the API endpoint

for the functions service call async function operation.

Typically these are written to a http.Request.

func NewFunctionsServiceCallAsyncFunctionParams

func NewFunctionsServiceCallAsyncFunctionParams() *FunctionsServiceCallAsyncFunctionParams

NewFunctionsServiceCallAsyncFunctionParams creates a new FunctionsServiceCallAsyncFunctionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFunctionsServiceCallAsyncFunctionParamsWithContext

func NewFunctionsServiceCallAsyncFunctionParamsWithContext(ctx context.Context) *FunctionsServiceCallAsyncFunctionParams

NewFunctionsServiceCallAsyncFunctionParamsWithContext creates a new FunctionsServiceCallAsyncFunctionParams object with the ability to set a context for a request.

func NewFunctionsServiceCallAsyncFunctionParamsWithHTTPClient

func NewFunctionsServiceCallAsyncFunctionParamsWithHTTPClient(client *http.Client) *FunctionsServiceCallAsyncFunctionParams

NewFunctionsServiceCallAsyncFunctionParamsWithHTTPClient creates a new FunctionsServiceCallAsyncFunctionParams object with the ability to set a custom HTTPClient for a request.

func NewFunctionsServiceCallAsyncFunctionParamsWithTimeout

func NewFunctionsServiceCallAsyncFunctionParamsWithTimeout(timeout time.Duration) *FunctionsServiceCallAsyncFunctionParams

NewFunctionsServiceCallAsyncFunctionParamsWithTimeout creates a new FunctionsServiceCallAsyncFunctionParams object with the ability to set a timeout on a request.

func (*FunctionsServiceCallAsyncFunctionParams) SetBody

func (o *FunctionsServiceCallAsyncFunctionParams) SetBody(body interface{})

SetBody adds the body to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) SetCallID

func (o *FunctionsServiceCallAsyncFunctionParams) SetCallID(callID string)

SetCallID adds the callId to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) SetContext

SetContext adds the context to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) SetDefaults added in v0.4.5

func (o *FunctionsServiceCallAsyncFunctionParams) SetDefaults()

SetDefaults hydrates default values in the functions service call async function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceCallAsyncFunctionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) SetReason

func (o *FunctionsServiceCallAsyncFunctionParams) SetReason(reason string)

SetReason adds the reason to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) SetTimeout

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

SetTimeout adds the timeout to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) WithBody

WithBody adds the body to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) WithCallID

WithCallID adds the callID to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) WithContext

WithContext adds the context to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) WithDefaults added in v0.4.5

WithDefaults hydrates default values in the functions service call async function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceCallAsyncFunctionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) WithReason

WithReason adds the reason to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) WithTimeout

WithTimeout adds the timeout to the functions service call async function params

func (*FunctionsServiceCallAsyncFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FunctionsServiceCallAsyncFunctionReader

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

FunctionsServiceCallAsyncFunctionReader is a Reader for the FunctionsServiceCallAsyncFunction structure.

func (*FunctionsServiceCallAsyncFunctionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FunctionsServiceCallSyncFunctionDefault

type FunctionsServiceCallSyncFunctionDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
FunctionsServiceCallSyncFunctionDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewFunctionsServiceCallSyncFunctionDefault

func NewFunctionsServiceCallSyncFunctionDefault(code int) *FunctionsServiceCallSyncFunctionDefault

NewFunctionsServiceCallSyncFunctionDefault creates a FunctionsServiceCallSyncFunctionDefault with default headers values

func (*FunctionsServiceCallSyncFunctionDefault) Code

Code gets the status code for the functions service call sync function default response

func (*FunctionsServiceCallSyncFunctionDefault) Error

func (*FunctionsServiceCallSyncFunctionDefault) GetPayload

type FunctionsServiceCallSyncFunctionNotFound

type FunctionsServiceCallSyncFunctionNotFound struct {
	Payload string
}
FunctionsServiceCallSyncFunctionNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewFunctionsServiceCallSyncFunctionNotFound

func NewFunctionsServiceCallSyncFunctionNotFound() *FunctionsServiceCallSyncFunctionNotFound

NewFunctionsServiceCallSyncFunctionNotFound creates a FunctionsServiceCallSyncFunctionNotFound with default headers values

func (*FunctionsServiceCallSyncFunctionNotFound) Error

func (*FunctionsServiceCallSyncFunctionNotFound) GetPayload

type FunctionsServiceCallSyncFunctionOK

type FunctionsServiceCallSyncFunctionOK struct {
	Payload *models.FunctionsCallFunctionResponse
}
FunctionsServiceCallSyncFunctionOK describes a response with status code 200, with default header values.

A successful response.

func NewFunctionsServiceCallSyncFunctionOK

func NewFunctionsServiceCallSyncFunctionOK() *FunctionsServiceCallSyncFunctionOK

NewFunctionsServiceCallSyncFunctionOK creates a FunctionsServiceCallSyncFunctionOK with default headers values

func (*FunctionsServiceCallSyncFunctionOK) Error

func (*FunctionsServiceCallSyncFunctionOK) GetPayload

type FunctionsServiceCallSyncFunctionParams

type FunctionsServiceCallSyncFunctionParams struct {

	// Body.
	Body interface{}

	// ID.
	ID string

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

FunctionsServiceCallSyncFunctionParams contains all the parameters to send to the API endpoint

for the functions service call sync function operation.

Typically these are written to a http.Request.

func NewFunctionsServiceCallSyncFunctionParams

func NewFunctionsServiceCallSyncFunctionParams() *FunctionsServiceCallSyncFunctionParams

NewFunctionsServiceCallSyncFunctionParams creates a new FunctionsServiceCallSyncFunctionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFunctionsServiceCallSyncFunctionParamsWithContext

func NewFunctionsServiceCallSyncFunctionParamsWithContext(ctx context.Context) *FunctionsServiceCallSyncFunctionParams

NewFunctionsServiceCallSyncFunctionParamsWithContext creates a new FunctionsServiceCallSyncFunctionParams object with the ability to set a context for a request.

func NewFunctionsServiceCallSyncFunctionParamsWithHTTPClient

func NewFunctionsServiceCallSyncFunctionParamsWithHTTPClient(client *http.Client) *FunctionsServiceCallSyncFunctionParams

NewFunctionsServiceCallSyncFunctionParamsWithHTTPClient creates a new FunctionsServiceCallSyncFunctionParams object with the ability to set a custom HTTPClient for a request.

func NewFunctionsServiceCallSyncFunctionParamsWithTimeout

func NewFunctionsServiceCallSyncFunctionParamsWithTimeout(timeout time.Duration) *FunctionsServiceCallSyncFunctionParams

NewFunctionsServiceCallSyncFunctionParamsWithTimeout creates a new FunctionsServiceCallSyncFunctionParams object with the ability to set a timeout on a request.

func (*FunctionsServiceCallSyncFunctionParams) SetBody

func (o *FunctionsServiceCallSyncFunctionParams) SetBody(body interface{})

SetBody adds the body to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) SetContext

SetContext adds the context to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) SetDefaults added in v0.4.5

func (o *FunctionsServiceCallSyncFunctionParams) SetDefaults()

SetDefaults hydrates default values in the functions service call sync function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceCallSyncFunctionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) SetID

SetID adds the id to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) SetTimeout

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

SetTimeout adds the timeout to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) WithBody

WithBody adds the body to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) WithContext

WithContext adds the context to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) WithDefaults added in v0.4.5

WithDefaults hydrates default values in the functions service call sync function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceCallSyncFunctionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) WithID

WithID adds the id to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) WithTimeout

WithTimeout adds the timeout to the functions service call sync function params

func (*FunctionsServiceCallSyncFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FunctionsServiceCallSyncFunctionReader

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

FunctionsServiceCallSyncFunctionReader is a Reader for the FunctionsServiceCallSyncFunction structure.

func (*FunctionsServiceCallSyncFunctionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FunctionsServiceCallTestFunctionDefault

type FunctionsServiceCallTestFunctionDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
FunctionsServiceCallTestFunctionDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewFunctionsServiceCallTestFunctionDefault

func NewFunctionsServiceCallTestFunctionDefault(code int) *FunctionsServiceCallTestFunctionDefault

NewFunctionsServiceCallTestFunctionDefault creates a FunctionsServiceCallTestFunctionDefault with default headers values

func (*FunctionsServiceCallTestFunctionDefault) Code

Code gets the status code for the functions service call test function default response

func (*FunctionsServiceCallTestFunctionDefault) Error

func (*FunctionsServiceCallTestFunctionDefault) GetPayload

type FunctionsServiceCallTestFunctionNotFound

type FunctionsServiceCallTestFunctionNotFound struct {
	Payload string
}
FunctionsServiceCallTestFunctionNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewFunctionsServiceCallTestFunctionNotFound

func NewFunctionsServiceCallTestFunctionNotFound() *FunctionsServiceCallTestFunctionNotFound

NewFunctionsServiceCallTestFunctionNotFound creates a FunctionsServiceCallTestFunctionNotFound with default headers values

func (*FunctionsServiceCallTestFunctionNotFound) Error

func (*FunctionsServiceCallTestFunctionNotFound) GetPayload

type FunctionsServiceCallTestFunctionOK

type FunctionsServiceCallTestFunctionOK struct {
	Payload *models.FunctionsCallFunctionResponse
}
FunctionsServiceCallTestFunctionOK describes a response with status code 200, with default header values.

A successful response.

func NewFunctionsServiceCallTestFunctionOK

func NewFunctionsServiceCallTestFunctionOK() *FunctionsServiceCallTestFunctionOK

NewFunctionsServiceCallTestFunctionOK creates a FunctionsServiceCallTestFunctionOK with default headers values

func (*FunctionsServiceCallTestFunctionOK) Error

func (*FunctionsServiceCallTestFunctionOK) GetPayload

type FunctionsServiceCallTestFunctionParams

type FunctionsServiceCallTestFunctionParams struct {

	// Body.
	Body interface{}

	// ID.
	ID string

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

FunctionsServiceCallTestFunctionParams contains all the parameters to send to the API endpoint

for the functions service call test function operation.

Typically these are written to a http.Request.

func NewFunctionsServiceCallTestFunctionParams

func NewFunctionsServiceCallTestFunctionParams() *FunctionsServiceCallTestFunctionParams

NewFunctionsServiceCallTestFunctionParams creates a new FunctionsServiceCallTestFunctionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFunctionsServiceCallTestFunctionParamsWithContext

func NewFunctionsServiceCallTestFunctionParamsWithContext(ctx context.Context) *FunctionsServiceCallTestFunctionParams

NewFunctionsServiceCallTestFunctionParamsWithContext creates a new FunctionsServiceCallTestFunctionParams object with the ability to set a context for a request.

func NewFunctionsServiceCallTestFunctionParamsWithHTTPClient

func NewFunctionsServiceCallTestFunctionParamsWithHTTPClient(client *http.Client) *FunctionsServiceCallTestFunctionParams

NewFunctionsServiceCallTestFunctionParamsWithHTTPClient creates a new FunctionsServiceCallTestFunctionParams object with the ability to set a custom HTTPClient for a request.

func NewFunctionsServiceCallTestFunctionParamsWithTimeout

func NewFunctionsServiceCallTestFunctionParamsWithTimeout(timeout time.Duration) *FunctionsServiceCallTestFunctionParams

NewFunctionsServiceCallTestFunctionParamsWithTimeout creates a new FunctionsServiceCallTestFunctionParams object with the ability to set a timeout on a request.

func (*FunctionsServiceCallTestFunctionParams) SetBody

func (o *FunctionsServiceCallTestFunctionParams) SetBody(body interface{})

SetBody adds the body to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) SetContext

SetContext adds the context to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) SetDefaults added in v0.4.5

func (o *FunctionsServiceCallTestFunctionParams) SetDefaults()

SetDefaults hydrates default values in the functions service call test function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceCallTestFunctionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) SetID

SetID adds the id to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) SetTimeout

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

SetTimeout adds the timeout to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) WithBody

WithBody adds the body to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) WithContext

WithContext adds the context to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) WithDefaults added in v0.4.5

WithDefaults hydrates default values in the functions service call test function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceCallTestFunctionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) WithID

WithID adds the id to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) WithTimeout

WithTimeout adds the timeout to the functions service call test function params

func (*FunctionsServiceCallTestFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FunctionsServiceCallTestFunctionReader

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

FunctionsServiceCallTestFunctionReader is a Reader for the FunctionsServiceCallTestFunction structure.

func (*FunctionsServiceCallTestFunctionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FunctionsServiceCreateFunctionDefault

type FunctionsServiceCreateFunctionDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
FunctionsServiceCreateFunctionDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewFunctionsServiceCreateFunctionDefault

func NewFunctionsServiceCreateFunctionDefault(code int) *FunctionsServiceCreateFunctionDefault

NewFunctionsServiceCreateFunctionDefault creates a FunctionsServiceCreateFunctionDefault with default headers values

func (*FunctionsServiceCreateFunctionDefault) Code

Code gets the status code for the functions service create function default response

func (*FunctionsServiceCreateFunctionDefault) Error

func (*FunctionsServiceCreateFunctionDefault) GetPayload

type FunctionsServiceCreateFunctionNotFound

type FunctionsServiceCreateFunctionNotFound struct {
	Payload string
}
FunctionsServiceCreateFunctionNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewFunctionsServiceCreateFunctionNotFound

func NewFunctionsServiceCreateFunctionNotFound() *FunctionsServiceCreateFunctionNotFound

NewFunctionsServiceCreateFunctionNotFound creates a FunctionsServiceCreateFunctionNotFound with default headers values

func (*FunctionsServiceCreateFunctionNotFound) Error

func (*FunctionsServiceCreateFunctionNotFound) GetPayload

type FunctionsServiceCreateFunctionOK

type FunctionsServiceCreateFunctionOK struct {
	Payload *models.FunctionsCreateFunctionResponse
}
FunctionsServiceCreateFunctionOK describes a response with status code 200, with default header values.

A successful response.

func NewFunctionsServiceCreateFunctionOK

func NewFunctionsServiceCreateFunctionOK() *FunctionsServiceCreateFunctionOK

NewFunctionsServiceCreateFunctionOK creates a FunctionsServiceCreateFunctionOK with default headers values

func (*FunctionsServiceCreateFunctionOK) Error

func (*FunctionsServiceCreateFunctionOK) GetPayload

type FunctionsServiceCreateFunctionParams

type FunctionsServiceCreateFunctionParams struct {

	// Body.
	Body *models.FunctionsCreateFunctionRequest

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

FunctionsServiceCreateFunctionParams contains all the parameters to send to the API endpoint

for the functions service create function operation.

Typically these are written to a http.Request.

func NewFunctionsServiceCreateFunctionParams

func NewFunctionsServiceCreateFunctionParams() *FunctionsServiceCreateFunctionParams

NewFunctionsServiceCreateFunctionParams creates a new FunctionsServiceCreateFunctionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFunctionsServiceCreateFunctionParamsWithContext

func NewFunctionsServiceCreateFunctionParamsWithContext(ctx context.Context) *FunctionsServiceCreateFunctionParams

NewFunctionsServiceCreateFunctionParamsWithContext creates a new FunctionsServiceCreateFunctionParams object with the ability to set a context for a request.

func NewFunctionsServiceCreateFunctionParamsWithHTTPClient

func NewFunctionsServiceCreateFunctionParamsWithHTTPClient(client *http.Client) *FunctionsServiceCreateFunctionParams

NewFunctionsServiceCreateFunctionParamsWithHTTPClient creates a new FunctionsServiceCreateFunctionParams object with the ability to set a custom HTTPClient for a request.

func NewFunctionsServiceCreateFunctionParamsWithTimeout

func NewFunctionsServiceCreateFunctionParamsWithTimeout(timeout time.Duration) *FunctionsServiceCreateFunctionParams

NewFunctionsServiceCreateFunctionParamsWithTimeout creates a new FunctionsServiceCreateFunctionParams object with the ability to set a timeout on a request.

func (*FunctionsServiceCreateFunctionParams) SetBody

SetBody adds the body to the functions service create function params

func (*FunctionsServiceCreateFunctionParams) SetContext

SetContext adds the context to the functions service create function params

func (*FunctionsServiceCreateFunctionParams) SetDefaults added in v0.4.5

func (o *FunctionsServiceCreateFunctionParams) SetDefaults()

SetDefaults hydrates default values in the functions service create function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceCreateFunctionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the functions service create function params

func (*FunctionsServiceCreateFunctionParams) SetTimeout

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

SetTimeout adds the timeout to the functions service create function params

func (*FunctionsServiceCreateFunctionParams) WithBody

WithBody adds the body to the functions service create function params

func (*FunctionsServiceCreateFunctionParams) WithContext

WithContext adds the context to the functions service create function params

func (*FunctionsServiceCreateFunctionParams) WithDefaults added in v0.4.5

WithDefaults hydrates default values in the functions service create function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceCreateFunctionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the functions service create function params

func (*FunctionsServiceCreateFunctionParams) WithTimeout

WithTimeout adds the timeout to the functions service create function params

func (*FunctionsServiceCreateFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FunctionsServiceCreateFunctionReader

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

FunctionsServiceCreateFunctionReader is a Reader for the FunctionsServiceCreateFunction structure.

func (*FunctionsServiceCreateFunctionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FunctionsServiceDeleteFunctionDefault

type FunctionsServiceDeleteFunctionDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
FunctionsServiceDeleteFunctionDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewFunctionsServiceDeleteFunctionDefault

func NewFunctionsServiceDeleteFunctionDefault(code int) *FunctionsServiceDeleteFunctionDefault

NewFunctionsServiceDeleteFunctionDefault creates a FunctionsServiceDeleteFunctionDefault with default headers values

func (*FunctionsServiceDeleteFunctionDefault) Code

Code gets the status code for the functions service delete function default response

func (*FunctionsServiceDeleteFunctionDefault) Error

func (*FunctionsServiceDeleteFunctionDefault) GetPayload

type FunctionsServiceDeleteFunctionNotFound

type FunctionsServiceDeleteFunctionNotFound struct {
	Payload string
}
FunctionsServiceDeleteFunctionNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewFunctionsServiceDeleteFunctionNotFound

func NewFunctionsServiceDeleteFunctionNotFound() *FunctionsServiceDeleteFunctionNotFound

NewFunctionsServiceDeleteFunctionNotFound creates a FunctionsServiceDeleteFunctionNotFound with default headers values

func (*FunctionsServiceDeleteFunctionNotFound) Error

func (*FunctionsServiceDeleteFunctionNotFound) GetPayload

type FunctionsServiceDeleteFunctionOK

type FunctionsServiceDeleteFunctionOK struct {
	Payload models.FunctionsDeleteFunctionResponse
}
FunctionsServiceDeleteFunctionOK describes a response with status code 200, with default header values.

A successful response.

func NewFunctionsServiceDeleteFunctionOK

func NewFunctionsServiceDeleteFunctionOK() *FunctionsServiceDeleteFunctionOK

NewFunctionsServiceDeleteFunctionOK creates a FunctionsServiceDeleteFunctionOK with default headers values

func (*FunctionsServiceDeleteFunctionOK) Error

func (*FunctionsServiceDeleteFunctionOK) GetPayload

type FunctionsServiceDeleteFunctionParams

type FunctionsServiceDeleteFunctionParams struct {

	// ID.
	ID string

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

FunctionsServiceDeleteFunctionParams contains all the parameters to send to the API endpoint

for the functions service delete function operation.

Typically these are written to a http.Request.

func NewFunctionsServiceDeleteFunctionParams

func NewFunctionsServiceDeleteFunctionParams() *FunctionsServiceDeleteFunctionParams

NewFunctionsServiceDeleteFunctionParams creates a new FunctionsServiceDeleteFunctionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFunctionsServiceDeleteFunctionParamsWithContext

func NewFunctionsServiceDeleteFunctionParamsWithContext(ctx context.Context) *FunctionsServiceDeleteFunctionParams

NewFunctionsServiceDeleteFunctionParamsWithContext creates a new FunctionsServiceDeleteFunctionParams object with the ability to set a context for a request.

func NewFunctionsServiceDeleteFunctionParamsWithHTTPClient

func NewFunctionsServiceDeleteFunctionParamsWithHTTPClient(client *http.Client) *FunctionsServiceDeleteFunctionParams

NewFunctionsServiceDeleteFunctionParamsWithHTTPClient creates a new FunctionsServiceDeleteFunctionParams object with the ability to set a custom HTTPClient for a request.

func NewFunctionsServiceDeleteFunctionParamsWithTimeout

func NewFunctionsServiceDeleteFunctionParamsWithTimeout(timeout time.Duration) *FunctionsServiceDeleteFunctionParams

NewFunctionsServiceDeleteFunctionParamsWithTimeout creates a new FunctionsServiceDeleteFunctionParams object with the ability to set a timeout on a request.

func (*FunctionsServiceDeleteFunctionParams) SetContext

SetContext adds the context to the functions service delete function params

func (*FunctionsServiceDeleteFunctionParams) SetDefaults added in v0.4.5

func (o *FunctionsServiceDeleteFunctionParams) SetDefaults()

SetDefaults hydrates default values in the functions service delete function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceDeleteFunctionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the functions service delete function params

func (*FunctionsServiceDeleteFunctionParams) SetID

SetID adds the id to the functions service delete function params

func (*FunctionsServiceDeleteFunctionParams) SetTimeout

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

SetTimeout adds the timeout to the functions service delete function params

func (*FunctionsServiceDeleteFunctionParams) WithContext

WithContext adds the context to the functions service delete function params

func (*FunctionsServiceDeleteFunctionParams) WithDefaults added in v0.4.5

WithDefaults hydrates default values in the functions service delete function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceDeleteFunctionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the functions service delete function params

func (*FunctionsServiceDeleteFunctionParams) WithID

WithID adds the id to the functions service delete function params

func (*FunctionsServiceDeleteFunctionParams) WithTimeout

WithTimeout adds the timeout to the functions service delete function params

func (*FunctionsServiceDeleteFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FunctionsServiceDeleteFunctionReader

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

FunctionsServiceDeleteFunctionReader is a Reader for the FunctionsServiceDeleteFunction structure.

func (*FunctionsServiceDeleteFunctionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FunctionsServiceGetFunctionDefault

type FunctionsServiceGetFunctionDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
FunctionsServiceGetFunctionDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewFunctionsServiceGetFunctionDefault

func NewFunctionsServiceGetFunctionDefault(code int) *FunctionsServiceGetFunctionDefault

NewFunctionsServiceGetFunctionDefault creates a FunctionsServiceGetFunctionDefault with default headers values

func (*FunctionsServiceGetFunctionDefault) Code

Code gets the status code for the functions service get function default response

func (*FunctionsServiceGetFunctionDefault) Error

func (*FunctionsServiceGetFunctionDefault) GetPayload

type FunctionsServiceGetFunctionNotFound

type FunctionsServiceGetFunctionNotFound struct {
	Payload string
}
FunctionsServiceGetFunctionNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewFunctionsServiceGetFunctionNotFound

func NewFunctionsServiceGetFunctionNotFound() *FunctionsServiceGetFunctionNotFound

NewFunctionsServiceGetFunctionNotFound creates a FunctionsServiceGetFunctionNotFound with default headers values

func (*FunctionsServiceGetFunctionNotFound) Error

func (*FunctionsServiceGetFunctionNotFound) GetPayload

type FunctionsServiceGetFunctionOK

type FunctionsServiceGetFunctionOK struct {
	Payload *models.FunctionsGetFunctionResponse
}
FunctionsServiceGetFunctionOK describes a response with status code 200, with default header values.

A successful response.

func NewFunctionsServiceGetFunctionOK

func NewFunctionsServiceGetFunctionOK() *FunctionsServiceGetFunctionOK

NewFunctionsServiceGetFunctionOK creates a FunctionsServiceGetFunctionOK with default headers values

func (*FunctionsServiceGetFunctionOK) Error

func (*FunctionsServiceGetFunctionOK) GetPayload

type FunctionsServiceGetFunctionParams

type FunctionsServiceGetFunctionParams struct {

	// ID.
	ID string

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

FunctionsServiceGetFunctionParams contains all the parameters to send to the API endpoint

for the functions service get function operation.

Typically these are written to a http.Request.

func NewFunctionsServiceGetFunctionParams

func NewFunctionsServiceGetFunctionParams() *FunctionsServiceGetFunctionParams

NewFunctionsServiceGetFunctionParams creates a new FunctionsServiceGetFunctionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFunctionsServiceGetFunctionParamsWithContext

func NewFunctionsServiceGetFunctionParamsWithContext(ctx context.Context) *FunctionsServiceGetFunctionParams

NewFunctionsServiceGetFunctionParamsWithContext creates a new FunctionsServiceGetFunctionParams object with the ability to set a context for a request.

func NewFunctionsServiceGetFunctionParamsWithHTTPClient

func NewFunctionsServiceGetFunctionParamsWithHTTPClient(client *http.Client) *FunctionsServiceGetFunctionParams

NewFunctionsServiceGetFunctionParamsWithHTTPClient creates a new FunctionsServiceGetFunctionParams object with the ability to set a custom HTTPClient for a request.

func NewFunctionsServiceGetFunctionParamsWithTimeout

func NewFunctionsServiceGetFunctionParamsWithTimeout(timeout time.Duration) *FunctionsServiceGetFunctionParams

NewFunctionsServiceGetFunctionParamsWithTimeout creates a new FunctionsServiceGetFunctionParams object with the ability to set a timeout on a request.

func (*FunctionsServiceGetFunctionParams) SetContext

SetContext adds the context to the functions service get function params

func (*FunctionsServiceGetFunctionParams) SetDefaults added in v0.4.5

func (o *FunctionsServiceGetFunctionParams) SetDefaults()

SetDefaults hydrates default values in the functions service get function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceGetFunctionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the functions service get function params

func (*FunctionsServiceGetFunctionParams) SetID

SetID adds the id to the functions service get function params

func (*FunctionsServiceGetFunctionParams) SetTimeout

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

SetTimeout adds the timeout to the functions service get function params

func (*FunctionsServiceGetFunctionParams) WithContext

WithContext adds the context to the functions service get function params

func (*FunctionsServiceGetFunctionParams) WithDefaults added in v0.4.5

WithDefaults hydrates default values in the functions service get function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceGetFunctionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the functions service get function params

func (*FunctionsServiceGetFunctionParams) WithID

WithID adds the id to the functions service get function params

func (*FunctionsServiceGetFunctionParams) WithTimeout

WithTimeout adds the timeout to the functions service get function params

func (*FunctionsServiceGetFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FunctionsServiceGetFunctionReader

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

FunctionsServiceGetFunctionReader is a Reader for the FunctionsServiceGetFunction structure.

func (*FunctionsServiceGetFunctionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FunctionsServiceGetFunctionsDefault

type FunctionsServiceGetFunctionsDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
FunctionsServiceGetFunctionsDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewFunctionsServiceGetFunctionsDefault

func NewFunctionsServiceGetFunctionsDefault(code int) *FunctionsServiceGetFunctionsDefault

NewFunctionsServiceGetFunctionsDefault creates a FunctionsServiceGetFunctionsDefault with default headers values

func (*FunctionsServiceGetFunctionsDefault) Code

Code gets the status code for the functions service get functions default response

func (*FunctionsServiceGetFunctionsDefault) Error

func (*FunctionsServiceGetFunctionsDefault) GetPayload

type FunctionsServiceGetFunctionsNotFound

type FunctionsServiceGetFunctionsNotFound struct {
	Payload string
}
FunctionsServiceGetFunctionsNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewFunctionsServiceGetFunctionsNotFound

func NewFunctionsServiceGetFunctionsNotFound() *FunctionsServiceGetFunctionsNotFound

NewFunctionsServiceGetFunctionsNotFound creates a FunctionsServiceGetFunctionsNotFound with default headers values

func (*FunctionsServiceGetFunctionsNotFound) Error

func (*FunctionsServiceGetFunctionsNotFound) GetPayload

type FunctionsServiceGetFunctionsOK

type FunctionsServiceGetFunctionsOK struct {
	Payload *models.FunctionsGetFunctionsResponse
}
FunctionsServiceGetFunctionsOK describes a response with status code 200, with default header values.

A successful response.

func NewFunctionsServiceGetFunctionsOK

func NewFunctionsServiceGetFunctionsOK() *FunctionsServiceGetFunctionsOK

NewFunctionsServiceGetFunctionsOK creates a FunctionsServiceGetFunctionsOK with default headers values

func (*FunctionsServiceGetFunctionsOK) Error

func (*FunctionsServiceGetFunctionsOK) GetPayload

type FunctionsServiceGetFunctionsParams

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

FunctionsServiceGetFunctionsParams contains all the parameters to send to the API endpoint

for the functions service get functions operation.

Typically these are written to a http.Request.

func NewFunctionsServiceGetFunctionsParams

func NewFunctionsServiceGetFunctionsParams() *FunctionsServiceGetFunctionsParams

NewFunctionsServiceGetFunctionsParams creates a new FunctionsServiceGetFunctionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFunctionsServiceGetFunctionsParamsWithContext

func NewFunctionsServiceGetFunctionsParamsWithContext(ctx context.Context) *FunctionsServiceGetFunctionsParams

NewFunctionsServiceGetFunctionsParamsWithContext creates a new FunctionsServiceGetFunctionsParams object with the ability to set a context for a request.

func NewFunctionsServiceGetFunctionsParamsWithHTTPClient

func NewFunctionsServiceGetFunctionsParamsWithHTTPClient(client *http.Client) *FunctionsServiceGetFunctionsParams

NewFunctionsServiceGetFunctionsParamsWithHTTPClient creates a new FunctionsServiceGetFunctionsParams object with the ability to set a custom HTTPClient for a request.

func NewFunctionsServiceGetFunctionsParamsWithTimeout

func NewFunctionsServiceGetFunctionsParamsWithTimeout(timeout time.Duration) *FunctionsServiceGetFunctionsParams

NewFunctionsServiceGetFunctionsParamsWithTimeout creates a new FunctionsServiceGetFunctionsParams object with the ability to set a timeout on a request.

func (*FunctionsServiceGetFunctionsParams) SetContext

SetContext adds the context to the functions service get functions params

func (*FunctionsServiceGetFunctionsParams) SetDefaults added in v0.4.5

func (o *FunctionsServiceGetFunctionsParams) SetDefaults()

SetDefaults hydrates default values in the functions service get functions params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceGetFunctionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the functions service get functions params

func (*FunctionsServiceGetFunctionsParams) SetTimeout

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

SetTimeout adds the timeout to the functions service get functions params

func (*FunctionsServiceGetFunctionsParams) WithContext

WithContext adds the context to the functions service get functions params

func (*FunctionsServiceGetFunctionsParams) WithDefaults added in v0.4.5

WithDefaults hydrates default values in the functions service get functions params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceGetFunctionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the functions service get functions params

func (*FunctionsServiceGetFunctionsParams) WithTimeout

WithTimeout adds the timeout to the functions service get functions params

func (*FunctionsServiceGetFunctionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FunctionsServiceGetFunctionsReader

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

FunctionsServiceGetFunctionsReader is a Reader for the FunctionsServiceGetFunctions structure.

func (*FunctionsServiceGetFunctionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FunctionsServiceUpdateFunction2Default

type FunctionsServiceUpdateFunction2Default struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
FunctionsServiceUpdateFunction2Default describes a response with status code -1, with default header values.

An unexpected error response

func NewFunctionsServiceUpdateFunction2Default

func NewFunctionsServiceUpdateFunction2Default(code int) *FunctionsServiceUpdateFunction2Default

NewFunctionsServiceUpdateFunction2Default creates a FunctionsServiceUpdateFunction2Default with default headers values

func (*FunctionsServiceUpdateFunction2Default) Code

Code gets the status code for the functions service update function2 default response

func (*FunctionsServiceUpdateFunction2Default) Error

func (*FunctionsServiceUpdateFunction2Default) GetPayload

type FunctionsServiceUpdateFunction2NotFound

type FunctionsServiceUpdateFunction2NotFound struct {
	Payload string
}
FunctionsServiceUpdateFunction2NotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewFunctionsServiceUpdateFunction2NotFound

func NewFunctionsServiceUpdateFunction2NotFound() *FunctionsServiceUpdateFunction2NotFound

NewFunctionsServiceUpdateFunction2NotFound creates a FunctionsServiceUpdateFunction2NotFound with default headers values

func (*FunctionsServiceUpdateFunction2NotFound) Error

func (*FunctionsServiceUpdateFunction2NotFound) GetPayload

type FunctionsServiceUpdateFunction2OK

type FunctionsServiceUpdateFunction2OK struct {
	Payload models.FunctionsUpdateFunctionResponse
}
FunctionsServiceUpdateFunction2OK describes a response with status code 200, with default header values.

A successful response.

func NewFunctionsServiceUpdateFunction2OK

func NewFunctionsServiceUpdateFunction2OK() *FunctionsServiceUpdateFunction2OK

NewFunctionsServiceUpdateFunction2OK creates a FunctionsServiceUpdateFunction2OK with default headers values

func (*FunctionsServiceUpdateFunction2OK) Error

func (*FunctionsServiceUpdateFunction2OK) GetPayload

type FunctionsServiceUpdateFunction2Params

type FunctionsServiceUpdateFunction2Params struct {

	// Body.
	Body *models.FunctionsFunction

	// FunctionID.
	FunctionID string

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

FunctionsServiceUpdateFunction2Params contains all the parameters to send to the API endpoint

for the functions service update function2 operation.

Typically these are written to a http.Request.

func NewFunctionsServiceUpdateFunction2Params

func NewFunctionsServiceUpdateFunction2Params() *FunctionsServiceUpdateFunction2Params

NewFunctionsServiceUpdateFunction2Params creates a new FunctionsServiceUpdateFunction2Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFunctionsServiceUpdateFunction2ParamsWithContext

func NewFunctionsServiceUpdateFunction2ParamsWithContext(ctx context.Context) *FunctionsServiceUpdateFunction2Params

NewFunctionsServiceUpdateFunction2ParamsWithContext creates a new FunctionsServiceUpdateFunction2Params object with the ability to set a context for a request.

func NewFunctionsServiceUpdateFunction2ParamsWithHTTPClient

func NewFunctionsServiceUpdateFunction2ParamsWithHTTPClient(client *http.Client) *FunctionsServiceUpdateFunction2Params

NewFunctionsServiceUpdateFunction2ParamsWithHTTPClient creates a new FunctionsServiceUpdateFunction2Params object with the ability to set a custom HTTPClient for a request.

func NewFunctionsServiceUpdateFunction2ParamsWithTimeout

func NewFunctionsServiceUpdateFunction2ParamsWithTimeout(timeout time.Duration) *FunctionsServiceUpdateFunction2Params

NewFunctionsServiceUpdateFunction2ParamsWithTimeout creates a new FunctionsServiceUpdateFunction2Params object with the ability to set a timeout on a request.

func (*FunctionsServiceUpdateFunction2Params) SetBody

SetBody adds the body to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) SetContext

SetContext adds the context to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) SetDefaults added in v0.4.5

func (o *FunctionsServiceUpdateFunction2Params) SetDefaults()

SetDefaults hydrates default values in the functions service update function2 params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceUpdateFunction2Params) SetFunctionID

func (o *FunctionsServiceUpdateFunction2Params) SetFunctionID(functionID string)

SetFunctionID adds the functionId to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) SetTimeout

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

SetTimeout adds the timeout to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) WithBody

WithBody adds the body to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) WithContext

WithContext adds the context to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) WithDefaults added in v0.4.5

WithDefaults hydrates default values in the functions service update function2 params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceUpdateFunction2Params) WithFunctionID

WithFunctionID adds the functionID to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) WithTimeout

WithTimeout adds the timeout to the functions service update function2 params

func (*FunctionsServiceUpdateFunction2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type FunctionsServiceUpdateFunction2Reader

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

FunctionsServiceUpdateFunction2Reader is a Reader for the FunctionsServiceUpdateFunction2 structure.

func (*FunctionsServiceUpdateFunction2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FunctionsServiceUpdateFunctionDefault

type FunctionsServiceUpdateFunctionDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}
FunctionsServiceUpdateFunctionDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewFunctionsServiceUpdateFunctionDefault

func NewFunctionsServiceUpdateFunctionDefault(code int) *FunctionsServiceUpdateFunctionDefault

NewFunctionsServiceUpdateFunctionDefault creates a FunctionsServiceUpdateFunctionDefault with default headers values

func (*FunctionsServiceUpdateFunctionDefault) Code

Code gets the status code for the functions service update function default response

func (*FunctionsServiceUpdateFunctionDefault) Error

func (*FunctionsServiceUpdateFunctionDefault) GetPayload

type FunctionsServiceUpdateFunctionNotFound

type FunctionsServiceUpdateFunctionNotFound struct {
	Payload string
}
FunctionsServiceUpdateFunctionNotFound describes a response with status code 404, with default header values.

Returned when the resource does not exist.

func NewFunctionsServiceUpdateFunctionNotFound

func NewFunctionsServiceUpdateFunctionNotFound() *FunctionsServiceUpdateFunctionNotFound

NewFunctionsServiceUpdateFunctionNotFound creates a FunctionsServiceUpdateFunctionNotFound with default headers values

func (*FunctionsServiceUpdateFunctionNotFound) Error

func (*FunctionsServiceUpdateFunctionNotFound) GetPayload

type FunctionsServiceUpdateFunctionOK

type FunctionsServiceUpdateFunctionOK struct {
	Payload models.FunctionsUpdateFunctionResponse
}
FunctionsServiceUpdateFunctionOK describes a response with status code 200, with default header values.

A successful response.

func NewFunctionsServiceUpdateFunctionOK

func NewFunctionsServiceUpdateFunctionOK() *FunctionsServiceUpdateFunctionOK

NewFunctionsServiceUpdateFunctionOK creates a FunctionsServiceUpdateFunctionOK with default headers values

func (*FunctionsServiceUpdateFunctionOK) Error

func (*FunctionsServiceUpdateFunctionOK) GetPayload

type FunctionsServiceUpdateFunctionParams

type FunctionsServiceUpdateFunctionParams struct {

	// Body.
	Body *models.FunctionsFunction

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

FunctionsServiceUpdateFunctionParams contains all the parameters to send to the API endpoint

for the functions service update function operation.

Typically these are written to a http.Request.

func NewFunctionsServiceUpdateFunctionParams

func NewFunctionsServiceUpdateFunctionParams() *FunctionsServiceUpdateFunctionParams

NewFunctionsServiceUpdateFunctionParams creates a new FunctionsServiceUpdateFunctionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewFunctionsServiceUpdateFunctionParamsWithContext

func NewFunctionsServiceUpdateFunctionParamsWithContext(ctx context.Context) *FunctionsServiceUpdateFunctionParams

NewFunctionsServiceUpdateFunctionParamsWithContext creates a new FunctionsServiceUpdateFunctionParams object with the ability to set a context for a request.

func NewFunctionsServiceUpdateFunctionParamsWithHTTPClient

func NewFunctionsServiceUpdateFunctionParamsWithHTTPClient(client *http.Client) *FunctionsServiceUpdateFunctionParams

NewFunctionsServiceUpdateFunctionParamsWithHTTPClient creates a new FunctionsServiceUpdateFunctionParams object with the ability to set a custom HTTPClient for a request.

func NewFunctionsServiceUpdateFunctionParamsWithTimeout

func NewFunctionsServiceUpdateFunctionParamsWithTimeout(timeout time.Duration) *FunctionsServiceUpdateFunctionParams

NewFunctionsServiceUpdateFunctionParamsWithTimeout creates a new FunctionsServiceUpdateFunctionParams object with the ability to set a timeout on a request.

func (*FunctionsServiceUpdateFunctionParams) SetBody

SetBody adds the body to the functions service update function params

func (*FunctionsServiceUpdateFunctionParams) SetContext

SetContext adds the context to the functions service update function params

func (*FunctionsServiceUpdateFunctionParams) SetDefaults added in v0.4.5

func (o *FunctionsServiceUpdateFunctionParams) SetDefaults()

SetDefaults hydrates default values in the functions service update function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceUpdateFunctionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the functions service update function params

func (*FunctionsServiceUpdateFunctionParams) SetTimeout

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

SetTimeout adds the timeout to the functions service update function params

func (*FunctionsServiceUpdateFunctionParams) WithBody

WithBody adds the body to the functions service update function params

func (*FunctionsServiceUpdateFunctionParams) WithContext

WithContext adds the context to the functions service update function params

func (*FunctionsServiceUpdateFunctionParams) WithDefaults added in v0.4.5

WithDefaults hydrates default values in the functions service update function params (not the query body).

All values with no default are reset to their zero value.

func (*FunctionsServiceUpdateFunctionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the functions service update function params

func (*FunctionsServiceUpdateFunctionParams) WithTimeout

WithTimeout adds the timeout to the functions service update function params

func (*FunctionsServiceUpdateFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FunctionsServiceUpdateFunctionReader

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

FunctionsServiceUpdateFunctionReader is a Reader for the FunctionsServiceUpdateFunction structure.

func (*FunctionsServiceUpdateFunctionReader) ReadResponse

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