deploy

package
v0.3.17 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 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 deploy API

func (*Client) DeleteDeployFunctionIdentifier

func (a *Client) DeleteDeployFunctionIdentifier(params *DeleteDeployFunctionIdentifierParams, opts ...ClientOption) (*DeleteDeployFunctionIdentifierOK, error)

DeleteDeployFunctionIdentifier Removes a deployed function from the servers

func (*Client) PostDeployFunction

func (a *Client) PostDeployFunction(params *PostDeployFunctionParams, opts ...ClientOption) (*PostDeployFunctionOK, error)

PostDeployFunction Deploys a scale function

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteDeployFunctionIdentifier(params *DeleteDeployFunctionIdentifierParams, opts ...ClientOption) (*DeleteDeployFunctionIdentifierOK, error)

	PostDeployFunction(params *PostDeployFunctionParams, opts ...ClientOption) (*PostDeployFunctionOK, 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 deploy API client.

type DeleteDeployFunctionIdentifierBadRequest

type DeleteDeployFunctionIdentifierBadRequest struct {
	Payload string
}

DeleteDeployFunctionIdentifierBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteDeployFunctionIdentifierBadRequest

func NewDeleteDeployFunctionIdentifierBadRequest() *DeleteDeployFunctionIdentifierBadRequest

NewDeleteDeployFunctionIdentifierBadRequest creates a DeleteDeployFunctionIdentifierBadRequest with default headers values

func (*DeleteDeployFunctionIdentifierBadRequest) Code

Code gets the status code for the delete deploy function identifier bad request response

func (*DeleteDeployFunctionIdentifierBadRequest) Error

func (*DeleteDeployFunctionIdentifierBadRequest) GetPayload

func (*DeleteDeployFunctionIdentifierBadRequest) IsClientError

IsClientError returns true when this delete deploy function identifier bad request response has a 4xx status code

func (*DeleteDeployFunctionIdentifierBadRequest) IsCode

IsCode returns true when this delete deploy function identifier bad request response a status code equal to that given

func (*DeleteDeployFunctionIdentifierBadRequest) IsRedirect

IsRedirect returns true when this delete deploy function identifier bad request response has a 3xx status code

func (*DeleteDeployFunctionIdentifierBadRequest) IsServerError

IsServerError returns true when this delete deploy function identifier bad request response has a 5xx status code

func (*DeleteDeployFunctionIdentifierBadRequest) IsSuccess

IsSuccess returns true when this delete deploy function identifier bad request response has a 2xx status code

func (*DeleteDeployFunctionIdentifierBadRequest) String

type DeleteDeployFunctionIdentifierInternalServerError

type DeleteDeployFunctionIdentifierInternalServerError struct {
	Payload string
}

DeleteDeployFunctionIdentifierInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteDeployFunctionIdentifierInternalServerError

func NewDeleteDeployFunctionIdentifierInternalServerError() *DeleteDeployFunctionIdentifierInternalServerError

NewDeleteDeployFunctionIdentifierInternalServerError creates a DeleteDeployFunctionIdentifierInternalServerError with default headers values

func (*DeleteDeployFunctionIdentifierInternalServerError) Code

Code gets the status code for the delete deploy function identifier internal server error response

func (*DeleteDeployFunctionIdentifierInternalServerError) Error

func (*DeleteDeployFunctionIdentifierInternalServerError) GetPayload

func (*DeleteDeployFunctionIdentifierInternalServerError) IsClientError

IsClientError returns true when this delete deploy function identifier internal server error response has a 4xx status code

func (*DeleteDeployFunctionIdentifierInternalServerError) IsCode

IsCode returns true when this delete deploy function identifier internal server error response a status code equal to that given

func (*DeleteDeployFunctionIdentifierInternalServerError) IsRedirect

IsRedirect returns true when this delete deploy function identifier internal server error response has a 3xx status code

func (*DeleteDeployFunctionIdentifierInternalServerError) IsServerError

IsServerError returns true when this delete deploy function identifier internal server error response has a 5xx status code

func (*DeleteDeployFunctionIdentifierInternalServerError) IsSuccess

IsSuccess returns true when this delete deploy function identifier internal server error response has a 2xx status code

func (*DeleteDeployFunctionIdentifierInternalServerError) String

type DeleteDeployFunctionIdentifierNotFound

type DeleteDeployFunctionIdentifierNotFound struct {
	Payload string
}

DeleteDeployFunctionIdentifierNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteDeployFunctionIdentifierNotFound

func NewDeleteDeployFunctionIdentifierNotFound() *DeleteDeployFunctionIdentifierNotFound

NewDeleteDeployFunctionIdentifierNotFound creates a DeleteDeployFunctionIdentifierNotFound with default headers values

func (*DeleteDeployFunctionIdentifierNotFound) Code

Code gets the status code for the delete deploy function identifier not found response

func (*DeleteDeployFunctionIdentifierNotFound) Error

func (*DeleteDeployFunctionIdentifierNotFound) GetPayload

func (*DeleteDeployFunctionIdentifierNotFound) IsClientError

func (o *DeleteDeployFunctionIdentifierNotFound) IsClientError() bool

IsClientError returns true when this delete deploy function identifier not found response has a 4xx status code

func (*DeleteDeployFunctionIdentifierNotFound) IsCode

IsCode returns true when this delete deploy function identifier not found response a status code equal to that given

func (*DeleteDeployFunctionIdentifierNotFound) IsRedirect

IsRedirect returns true when this delete deploy function identifier not found response has a 3xx status code

func (*DeleteDeployFunctionIdentifierNotFound) IsServerError

func (o *DeleteDeployFunctionIdentifierNotFound) IsServerError() bool

IsServerError returns true when this delete deploy function identifier not found response has a 5xx status code

func (*DeleteDeployFunctionIdentifierNotFound) IsSuccess

IsSuccess returns true when this delete deploy function identifier not found response has a 2xx status code

func (*DeleteDeployFunctionIdentifierNotFound) String

type DeleteDeployFunctionIdentifierOK

type DeleteDeployFunctionIdentifierOK struct {
	Payload string
}

DeleteDeployFunctionIdentifierOK describes a response with status code 200, with default header values.

OK

func NewDeleteDeployFunctionIdentifierOK

func NewDeleteDeployFunctionIdentifierOK() *DeleteDeployFunctionIdentifierOK

NewDeleteDeployFunctionIdentifierOK creates a DeleteDeployFunctionIdentifierOK with default headers values

func (*DeleteDeployFunctionIdentifierOK) Code

Code gets the status code for the delete deploy function identifier o k response

func (*DeleteDeployFunctionIdentifierOK) Error

func (*DeleteDeployFunctionIdentifierOK) GetPayload

func (o *DeleteDeployFunctionIdentifierOK) GetPayload() string

func (*DeleteDeployFunctionIdentifierOK) IsClientError

func (o *DeleteDeployFunctionIdentifierOK) IsClientError() bool

IsClientError returns true when this delete deploy function identifier o k response has a 4xx status code

func (*DeleteDeployFunctionIdentifierOK) IsCode

func (o *DeleteDeployFunctionIdentifierOK) IsCode(code int) bool

IsCode returns true when this delete deploy function identifier o k response a status code equal to that given

func (*DeleteDeployFunctionIdentifierOK) IsRedirect

func (o *DeleteDeployFunctionIdentifierOK) IsRedirect() bool

IsRedirect returns true when this delete deploy function identifier o k response has a 3xx status code

func (*DeleteDeployFunctionIdentifierOK) IsServerError

func (o *DeleteDeployFunctionIdentifierOK) IsServerError() bool

IsServerError returns true when this delete deploy function identifier o k response has a 5xx status code

func (*DeleteDeployFunctionIdentifierOK) IsSuccess

func (o *DeleteDeployFunctionIdentifierOK) IsSuccess() bool

IsSuccess returns true when this delete deploy function identifier o k response has a 2xx status code

func (*DeleteDeployFunctionIdentifierOK) String

type DeleteDeployFunctionIdentifierParams

type DeleteDeployFunctionIdentifierParams struct {

	/* Identifier.

	   identifier
	*/
	Identifier string

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

DeleteDeployFunctionIdentifierParams contains all the parameters to send to the API endpoint

for the delete deploy function identifier operation.

Typically these are written to a http.Request.

func NewDeleteDeployFunctionIdentifierParams

func NewDeleteDeployFunctionIdentifierParams() *DeleteDeployFunctionIdentifierParams

NewDeleteDeployFunctionIdentifierParams creates a new DeleteDeployFunctionIdentifierParams 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 NewDeleteDeployFunctionIdentifierParamsWithContext

func NewDeleteDeployFunctionIdentifierParamsWithContext(ctx context.Context) *DeleteDeployFunctionIdentifierParams

NewDeleteDeployFunctionIdentifierParamsWithContext creates a new DeleteDeployFunctionIdentifierParams object with the ability to set a context for a request.

func NewDeleteDeployFunctionIdentifierParamsWithHTTPClient

func NewDeleteDeployFunctionIdentifierParamsWithHTTPClient(client *http.Client) *DeleteDeployFunctionIdentifierParams

NewDeleteDeployFunctionIdentifierParamsWithHTTPClient creates a new DeleteDeployFunctionIdentifierParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDeployFunctionIdentifierParamsWithTimeout

func NewDeleteDeployFunctionIdentifierParamsWithTimeout(timeout time.Duration) *DeleteDeployFunctionIdentifierParams

NewDeleteDeployFunctionIdentifierParamsWithTimeout creates a new DeleteDeployFunctionIdentifierParams object with the ability to set a timeout on a request.

func (*DeleteDeployFunctionIdentifierParams) SetContext

SetContext adds the context to the delete deploy function identifier params

func (*DeleteDeployFunctionIdentifierParams) SetDefaults

func (o *DeleteDeployFunctionIdentifierParams) SetDefaults()

SetDefaults hydrates default values in the delete deploy function identifier params (not the query body).

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

func (*DeleteDeployFunctionIdentifierParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete deploy function identifier params

func (*DeleteDeployFunctionIdentifierParams) SetIdentifier

func (o *DeleteDeployFunctionIdentifierParams) SetIdentifier(identifier string)

SetIdentifier adds the identifier to the delete deploy function identifier params

func (*DeleteDeployFunctionIdentifierParams) SetTimeout

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

SetTimeout adds the timeout to the delete deploy function identifier params

func (*DeleteDeployFunctionIdentifierParams) WithContext

WithContext adds the context to the delete deploy function identifier params

func (*DeleteDeployFunctionIdentifierParams) WithDefaults

WithDefaults hydrates default values in the delete deploy function identifier params (not the query body).

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

func (*DeleteDeployFunctionIdentifierParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete deploy function identifier params

func (*DeleteDeployFunctionIdentifierParams) WithIdentifier

WithIdentifier adds the identifier to the delete deploy function identifier params

func (*DeleteDeployFunctionIdentifierParams) WithTimeout

WithTimeout adds the timeout to the delete deploy function identifier params

func (*DeleteDeployFunctionIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeployFunctionIdentifierReader

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

DeleteDeployFunctionIdentifierReader is a Reader for the DeleteDeployFunctionIdentifier structure.

func (*DeleteDeployFunctionIdentifierReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeployFunctionIdentifierUnauthorized

type DeleteDeployFunctionIdentifierUnauthorized struct {
	Payload string
}

DeleteDeployFunctionIdentifierUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteDeployFunctionIdentifierUnauthorized

func NewDeleteDeployFunctionIdentifierUnauthorized() *DeleteDeployFunctionIdentifierUnauthorized

NewDeleteDeployFunctionIdentifierUnauthorized creates a DeleteDeployFunctionIdentifierUnauthorized with default headers values

func (*DeleteDeployFunctionIdentifierUnauthorized) Code

Code gets the status code for the delete deploy function identifier unauthorized response

func (*DeleteDeployFunctionIdentifierUnauthorized) Error

func (*DeleteDeployFunctionIdentifierUnauthorized) GetPayload

func (*DeleteDeployFunctionIdentifierUnauthorized) IsClientError

IsClientError returns true when this delete deploy function identifier unauthorized response has a 4xx status code

func (*DeleteDeployFunctionIdentifierUnauthorized) IsCode

IsCode returns true when this delete deploy function identifier unauthorized response a status code equal to that given

func (*DeleteDeployFunctionIdentifierUnauthorized) IsRedirect

IsRedirect returns true when this delete deploy function identifier unauthorized response has a 3xx status code

func (*DeleteDeployFunctionIdentifierUnauthorized) IsServerError

IsServerError returns true when this delete deploy function identifier unauthorized response has a 5xx status code

func (*DeleteDeployFunctionIdentifierUnauthorized) IsSuccess

IsSuccess returns true when this delete deploy function identifier unauthorized response has a 2xx status code

func (*DeleteDeployFunctionIdentifierUnauthorized) String

type PostDeployFunctionBadRequest

type PostDeployFunctionBadRequest struct {
	Payload string
}

PostDeployFunctionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostDeployFunctionBadRequest

func NewPostDeployFunctionBadRequest() *PostDeployFunctionBadRequest

NewPostDeployFunctionBadRequest creates a PostDeployFunctionBadRequest with default headers values

func (*PostDeployFunctionBadRequest) Code

Code gets the status code for the post deploy function bad request response

func (*PostDeployFunctionBadRequest) Error

func (*PostDeployFunctionBadRequest) GetPayload

func (o *PostDeployFunctionBadRequest) GetPayload() string

func (*PostDeployFunctionBadRequest) IsClientError

func (o *PostDeployFunctionBadRequest) IsClientError() bool

IsClientError returns true when this post deploy function bad request response has a 4xx status code

func (*PostDeployFunctionBadRequest) IsCode

func (o *PostDeployFunctionBadRequest) IsCode(code int) bool

IsCode returns true when this post deploy function bad request response a status code equal to that given

func (*PostDeployFunctionBadRequest) IsRedirect

func (o *PostDeployFunctionBadRequest) IsRedirect() bool

IsRedirect returns true when this post deploy function bad request response has a 3xx status code

func (*PostDeployFunctionBadRequest) IsServerError

func (o *PostDeployFunctionBadRequest) IsServerError() bool

IsServerError returns true when this post deploy function bad request response has a 5xx status code

func (*PostDeployFunctionBadRequest) IsSuccess

func (o *PostDeployFunctionBadRequest) IsSuccess() bool

IsSuccess returns true when this post deploy function bad request response has a 2xx status code

func (*PostDeployFunctionBadRequest) String

type PostDeployFunctionInternalServerError

type PostDeployFunctionInternalServerError struct {
	Payload string
}

PostDeployFunctionInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostDeployFunctionInternalServerError

func NewPostDeployFunctionInternalServerError() *PostDeployFunctionInternalServerError

NewPostDeployFunctionInternalServerError creates a PostDeployFunctionInternalServerError with default headers values

func (*PostDeployFunctionInternalServerError) Code

Code gets the status code for the post deploy function internal server error response

func (*PostDeployFunctionInternalServerError) Error

func (*PostDeployFunctionInternalServerError) GetPayload

func (*PostDeployFunctionInternalServerError) IsClientError

func (o *PostDeployFunctionInternalServerError) IsClientError() bool

IsClientError returns true when this post deploy function internal server error response has a 4xx status code

func (*PostDeployFunctionInternalServerError) IsCode

IsCode returns true when this post deploy function internal server error response a status code equal to that given

func (*PostDeployFunctionInternalServerError) IsRedirect

IsRedirect returns true when this post deploy function internal server error response has a 3xx status code

func (*PostDeployFunctionInternalServerError) IsServerError

func (o *PostDeployFunctionInternalServerError) IsServerError() bool

IsServerError returns true when this post deploy function internal server error response has a 5xx status code

func (*PostDeployFunctionInternalServerError) IsSuccess

IsSuccess returns true when this post deploy function internal server error response has a 2xx status code

func (*PostDeployFunctionInternalServerError) String

type PostDeployFunctionNotFound

type PostDeployFunctionNotFound struct {
	Payload string
}

PostDeployFunctionNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostDeployFunctionNotFound

func NewPostDeployFunctionNotFound() *PostDeployFunctionNotFound

NewPostDeployFunctionNotFound creates a PostDeployFunctionNotFound with default headers values

func (*PostDeployFunctionNotFound) Code

func (o *PostDeployFunctionNotFound) Code() int

Code gets the status code for the post deploy function not found response

func (*PostDeployFunctionNotFound) Error

func (*PostDeployFunctionNotFound) GetPayload

func (o *PostDeployFunctionNotFound) GetPayload() string

func (*PostDeployFunctionNotFound) IsClientError

func (o *PostDeployFunctionNotFound) IsClientError() bool

IsClientError returns true when this post deploy function not found response has a 4xx status code

func (*PostDeployFunctionNotFound) IsCode

func (o *PostDeployFunctionNotFound) IsCode(code int) bool

IsCode returns true when this post deploy function not found response a status code equal to that given

func (*PostDeployFunctionNotFound) IsRedirect

func (o *PostDeployFunctionNotFound) IsRedirect() bool

IsRedirect returns true when this post deploy function not found response has a 3xx status code

func (*PostDeployFunctionNotFound) IsServerError

func (o *PostDeployFunctionNotFound) IsServerError() bool

IsServerError returns true when this post deploy function not found response has a 5xx status code

func (*PostDeployFunctionNotFound) IsSuccess

func (o *PostDeployFunctionNotFound) IsSuccess() bool

IsSuccess returns true when this post deploy function not found response has a 2xx status code

func (*PostDeployFunctionNotFound) String

func (o *PostDeployFunctionNotFound) String() string

type PostDeployFunctionOK

type PostDeployFunctionOK struct {
	Payload *models.ModelsDeployFunctionResponse
}

PostDeployFunctionOK describes a response with status code 200, with default header values.

OK

func NewPostDeployFunctionOK

func NewPostDeployFunctionOK() *PostDeployFunctionOK

NewPostDeployFunctionOK creates a PostDeployFunctionOK with default headers values

func (*PostDeployFunctionOK) Code

func (o *PostDeployFunctionOK) Code() int

Code gets the status code for the post deploy function o k response

func (*PostDeployFunctionOK) Error

func (o *PostDeployFunctionOK) Error() string

func (*PostDeployFunctionOK) GetPayload

func (*PostDeployFunctionOK) IsClientError

func (o *PostDeployFunctionOK) IsClientError() bool

IsClientError returns true when this post deploy function o k response has a 4xx status code

func (*PostDeployFunctionOK) IsCode

func (o *PostDeployFunctionOK) IsCode(code int) bool

IsCode returns true when this post deploy function o k response a status code equal to that given

func (*PostDeployFunctionOK) IsRedirect

func (o *PostDeployFunctionOK) IsRedirect() bool

IsRedirect returns true when this post deploy function o k response has a 3xx status code

func (*PostDeployFunctionOK) IsServerError

func (o *PostDeployFunctionOK) IsServerError() bool

IsServerError returns true when this post deploy function o k response has a 5xx status code

func (*PostDeployFunctionOK) IsSuccess

func (o *PostDeployFunctionOK) IsSuccess() bool

IsSuccess returns true when this post deploy function o k response has a 2xx status code

func (*PostDeployFunctionOK) String

func (o *PostDeployFunctionOK) String() string

type PostDeployFunctionParams

type PostDeployFunctionParams struct {

	/* Functions.

	   functions
	*/
	Functions runtime.NamedReadCloser

	/* Name.

	   name
	*/
	Name *string

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

PostDeployFunctionParams contains all the parameters to send to the API endpoint

for the post deploy function operation.

Typically these are written to a http.Request.

func NewPostDeployFunctionParams

func NewPostDeployFunctionParams() *PostDeployFunctionParams

NewPostDeployFunctionParams creates a new PostDeployFunctionParams 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 NewPostDeployFunctionParamsWithContext

func NewPostDeployFunctionParamsWithContext(ctx context.Context) *PostDeployFunctionParams

NewPostDeployFunctionParamsWithContext creates a new PostDeployFunctionParams object with the ability to set a context for a request.

func NewPostDeployFunctionParamsWithHTTPClient

func NewPostDeployFunctionParamsWithHTTPClient(client *http.Client) *PostDeployFunctionParams

NewPostDeployFunctionParamsWithHTTPClient creates a new PostDeployFunctionParams object with the ability to set a custom HTTPClient for a request.

func NewPostDeployFunctionParamsWithTimeout

func NewPostDeployFunctionParamsWithTimeout(timeout time.Duration) *PostDeployFunctionParams

NewPostDeployFunctionParamsWithTimeout creates a new PostDeployFunctionParams object with the ability to set a timeout on a request.

func (*PostDeployFunctionParams) SetContext

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

SetContext adds the context to the post deploy function params

func (*PostDeployFunctionParams) SetDefaults

func (o *PostDeployFunctionParams) SetDefaults()

SetDefaults hydrates default values in the post deploy function params (not the query body).

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

func (*PostDeployFunctionParams) SetFunctions

func (o *PostDeployFunctionParams) SetFunctions(functions runtime.NamedReadCloser)

SetFunctions adds the functions to the post deploy function params

func (*PostDeployFunctionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post deploy function params

func (*PostDeployFunctionParams) SetName

func (o *PostDeployFunctionParams) SetName(name *string)

SetName adds the name to the post deploy function params

func (*PostDeployFunctionParams) SetTimeout

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

SetTimeout adds the timeout to the post deploy function params

func (*PostDeployFunctionParams) WithContext

WithContext adds the context to the post deploy function params

func (*PostDeployFunctionParams) WithDefaults

WithDefaults hydrates default values in the post deploy function params (not the query body).

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

func (*PostDeployFunctionParams) WithFunctions

WithFunctions adds the functions to the post deploy function params

func (*PostDeployFunctionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post deploy function params

func (*PostDeployFunctionParams) WithName

WithName adds the name to the post deploy function params

func (*PostDeployFunctionParams) WithTimeout

WithTimeout adds the timeout to the post deploy function params

func (*PostDeployFunctionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostDeployFunctionReader

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

PostDeployFunctionReader is a Reader for the PostDeployFunction structure.

func (*PostDeployFunctionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDeployFunctionUnauthorized

type PostDeployFunctionUnauthorized struct {
	Payload string
}

PostDeployFunctionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostDeployFunctionUnauthorized

func NewPostDeployFunctionUnauthorized() *PostDeployFunctionUnauthorized

NewPostDeployFunctionUnauthorized creates a PostDeployFunctionUnauthorized with default headers values

func (*PostDeployFunctionUnauthorized) Code

Code gets the status code for the post deploy function unauthorized response

func (*PostDeployFunctionUnauthorized) Error

func (*PostDeployFunctionUnauthorized) GetPayload

func (o *PostDeployFunctionUnauthorized) GetPayload() string

func (*PostDeployFunctionUnauthorized) IsClientError

func (o *PostDeployFunctionUnauthorized) IsClientError() bool

IsClientError returns true when this post deploy function unauthorized response has a 4xx status code

func (*PostDeployFunctionUnauthorized) IsCode

func (o *PostDeployFunctionUnauthorized) IsCode(code int) bool

IsCode returns true when this post deploy function unauthorized response a status code equal to that given

func (*PostDeployFunctionUnauthorized) IsRedirect

func (o *PostDeployFunctionUnauthorized) IsRedirect() bool

IsRedirect returns true when this post deploy function unauthorized response has a 3xx status code

func (*PostDeployFunctionUnauthorized) IsServerError

func (o *PostDeployFunctionUnauthorized) IsServerError() bool

IsServerError returns true when this post deploy function unauthorized response has a 5xx status code

func (*PostDeployFunctionUnauthorized) IsSuccess

func (o *PostDeployFunctionUnauthorized) IsSuccess() bool

IsSuccess returns true when this post deploy function unauthorized response has a 2xx status code

func (*PostDeployFunctionUnauthorized) String

Jump to

Keyboard shortcuts

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