Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteDeployFunctionIdentifier(params *DeleteDeployFunctionIdentifierParams, opts ...ClientOption) (*DeleteDeployFunctionIdentifierOK, error)
- func (a *Client) PostDeployFunction(params *PostDeployFunctionParams, opts ...ClientOption) (*PostDeployFunctionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteDeployFunctionIdentifierBadRequest
- func (o *DeleteDeployFunctionIdentifierBadRequest) Code() int
- func (o *DeleteDeployFunctionIdentifierBadRequest) Error() string
- func (o *DeleteDeployFunctionIdentifierBadRequest) GetPayload() string
- func (o *DeleteDeployFunctionIdentifierBadRequest) IsClientError() bool
- func (o *DeleteDeployFunctionIdentifierBadRequest) IsCode(code int) bool
- func (o *DeleteDeployFunctionIdentifierBadRequest) IsRedirect() bool
- func (o *DeleteDeployFunctionIdentifierBadRequest) IsServerError() bool
- func (o *DeleteDeployFunctionIdentifierBadRequest) IsSuccess() bool
- func (o *DeleteDeployFunctionIdentifierBadRequest) String() string
- type DeleteDeployFunctionIdentifierInternalServerError
- func (o *DeleteDeployFunctionIdentifierInternalServerError) Code() int
- func (o *DeleteDeployFunctionIdentifierInternalServerError) Error() string
- func (o *DeleteDeployFunctionIdentifierInternalServerError) GetPayload() string
- func (o *DeleteDeployFunctionIdentifierInternalServerError) IsClientError() bool
- func (o *DeleteDeployFunctionIdentifierInternalServerError) IsCode(code int) bool
- func (o *DeleteDeployFunctionIdentifierInternalServerError) IsRedirect() bool
- func (o *DeleteDeployFunctionIdentifierInternalServerError) IsServerError() bool
- func (o *DeleteDeployFunctionIdentifierInternalServerError) IsSuccess() bool
- func (o *DeleteDeployFunctionIdentifierInternalServerError) String() string
- type DeleteDeployFunctionIdentifierNotFound
- func (o *DeleteDeployFunctionIdentifierNotFound) Code() int
- func (o *DeleteDeployFunctionIdentifierNotFound) Error() string
- func (o *DeleteDeployFunctionIdentifierNotFound) GetPayload() string
- func (o *DeleteDeployFunctionIdentifierNotFound) IsClientError() bool
- func (o *DeleteDeployFunctionIdentifierNotFound) IsCode(code int) bool
- func (o *DeleteDeployFunctionIdentifierNotFound) IsRedirect() bool
- func (o *DeleteDeployFunctionIdentifierNotFound) IsServerError() bool
- func (o *DeleteDeployFunctionIdentifierNotFound) IsSuccess() bool
- func (o *DeleteDeployFunctionIdentifierNotFound) String() string
- type DeleteDeployFunctionIdentifierOK
- func (o *DeleteDeployFunctionIdentifierOK) Code() int
- func (o *DeleteDeployFunctionIdentifierOK) Error() string
- func (o *DeleteDeployFunctionIdentifierOK) GetPayload() string
- func (o *DeleteDeployFunctionIdentifierOK) IsClientError() bool
- func (o *DeleteDeployFunctionIdentifierOK) IsCode(code int) bool
- func (o *DeleteDeployFunctionIdentifierOK) IsRedirect() bool
- func (o *DeleteDeployFunctionIdentifierOK) IsServerError() bool
- func (o *DeleteDeployFunctionIdentifierOK) IsSuccess() bool
- func (o *DeleteDeployFunctionIdentifierOK) String() string
- type DeleteDeployFunctionIdentifierParams
- func NewDeleteDeployFunctionIdentifierParams() *DeleteDeployFunctionIdentifierParams
- func NewDeleteDeployFunctionIdentifierParamsWithContext(ctx context.Context) *DeleteDeployFunctionIdentifierParams
- func NewDeleteDeployFunctionIdentifierParamsWithHTTPClient(client *http.Client) *DeleteDeployFunctionIdentifierParams
- func NewDeleteDeployFunctionIdentifierParamsWithTimeout(timeout time.Duration) *DeleteDeployFunctionIdentifierParams
- func (o *DeleteDeployFunctionIdentifierParams) SetContext(ctx context.Context)
- func (o *DeleteDeployFunctionIdentifierParams) SetDefaults()
- func (o *DeleteDeployFunctionIdentifierParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeployFunctionIdentifierParams) SetIdentifier(identifier string)
- func (o *DeleteDeployFunctionIdentifierParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeployFunctionIdentifierParams) WithContext(ctx context.Context) *DeleteDeployFunctionIdentifierParams
- func (o *DeleteDeployFunctionIdentifierParams) WithDefaults() *DeleteDeployFunctionIdentifierParams
- func (o *DeleteDeployFunctionIdentifierParams) WithHTTPClient(client *http.Client) *DeleteDeployFunctionIdentifierParams
- func (o *DeleteDeployFunctionIdentifierParams) WithIdentifier(identifier string) *DeleteDeployFunctionIdentifierParams
- func (o *DeleteDeployFunctionIdentifierParams) WithTimeout(timeout time.Duration) *DeleteDeployFunctionIdentifierParams
- func (o *DeleteDeployFunctionIdentifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeployFunctionIdentifierReader
- type DeleteDeployFunctionIdentifierUnauthorized
- func (o *DeleteDeployFunctionIdentifierUnauthorized) Code() int
- func (o *DeleteDeployFunctionIdentifierUnauthorized) Error() string
- func (o *DeleteDeployFunctionIdentifierUnauthorized) GetPayload() string
- func (o *DeleteDeployFunctionIdentifierUnauthorized) IsClientError() bool
- func (o *DeleteDeployFunctionIdentifierUnauthorized) IsCode(code int) bool
- func (o *DeleteDeployFunctionIdentifierUnauthorized) IsRedirect() bool
- func (o *DeleteDeployFunctionIdentifierUnauthorized) IsServerError() bool
- func (o *DeleteDeployFunctionIdentifierUnauthorized) IsSuccess() bool
- func (o *DeleteDeployFunctionIdentifierUnauthorized) String() string
- type PostDeployFunctionBadRequest
- func (o *PostDeployFunctionBadRequest) Code() int
- func (o *PostDeployFunctionBadRequest) Error() string
- func (o *PostDeployFunctionBadRequest) GetPayload() string
- func (o *PostDeployFunctionBadRequest) IsClientError() bool
- func (o *PostDeployFunctionBadRequest) IsCode(code int) bool
- func (o *PostDeployFunctionBadRequest) IsRedirect() bool
- func (o *PostDeployFunctionBadRequest) IsServerError() bool
- func (o *PostDeployFunctionBadRequest) IsSuccess() bool
- func (o *PostDeployFunctionBadRequest) String() string
- type PostDeployFunctionInternalServerError
- func (o *PostDeployFunctionInternalServerError) Code() int
- func (o *PostDeployFunctionInternalServerError) Error() string
- func (o *PostDeployFunctionInternalServerError) GetPayload() string
- func (o *PostDeployFunctionInternalServerError) IsClientError() bool
- func (o *PostDeployFunctionInternalServerError) IsCode(code int) bool
- func (o *PostDeployFunctionInternalServerError) IsRedirect() bool
- func (o *PostDeployFunctionInternalServerError) IsServerError() bool
- func (o *PostDeployFunctionInternalServerError) IsSuccess() bool
- func (o *PostDeployFunctionInternalServerError) String() string
- type PostDeployFunctionNotFound
- func (o *PostDeployFunctionNotFound) Code() int
- func (o *PostDeployFunctionNotFound) Error() string
- func (o *PostDeployFunctionNotFound) GetPayload() string
- func (o *PostDeployFunctionNotFound) IsClientError() bool
- func (o *PostDeployFunctionNotFound) IsCode(code int) bool
- func (o *PostDeployFunctionNotFound) IsRedirect() bool
- func (o *PostDeployFunctionNotFound) IsServerError() bool
- func (o *PostDeployFunctionNotFound) IsSuccess() bool
- func (o *PostDeployFunctionNotFound) String() string
- type PostDeployFunctionOK
- func (o *PostDeployFunctionOK) Code() int
- func (o *PostDeployFunctionOK) Error() string
- func (o *PostDeployFunctionOK) GetPayload() *models.ModelsDeployFunctionResponse
- func (o *PostDeployFunctionOK) IsClientError() bool
- func (o *PostDeployFunctionOK) IsCode(code int) bool
- func (o *PostDeployFunctionOK) IsRedirect() bool
- func (o *PostDeployFunctionOK) IsServerError() bool
- func (o *PostDeployFunctionOK) IsSuccess() bool
- func (o *PostDeployFunctionOK) String() string
- type PostDeployFunctionParams
- func NewPostDeployFunctionParams() *PostDeployFunctionParams
- func NewPostDeployFunctionParamsWithContext(ctx context.Context) *PostDeployFunctionParams
- func NewPostDeployFunctionParamsWithHTTPClient(client *http.Client) *PostDeployFunctionParams
- func NewPostDeployFunctionParamsWithTimeout(timeout time.Duration) *PostDeployFunctionParams
- func (o *PostDeployFunctionParams) SetContext(ctx context.Context)
- func (o *PostDeployFunctionParams) SetDefaults()
- func (o *PostDeployFunctionParams) SetFunctions(functions runtime.NamedReadCloser)
- func (o *PostDeployFunctionParams) SetHTTPClient(client *http.Client)
- func (o *PostDeployFunctionParams) SetName(name *string)
- func (o *PostDeployFunctionParams) SetTimeout(timeout time.Duration)
- func (o *PostDeployFunctionParams) WithContext(ctx context.Context) *PostDeployFunctionParams
- func (o *PostDeployFunctionParams) WithDefaults() *PostDeployFunctionParams
- func (o *PostDeployFunctionParams) WithFunctions(functions runtime.NamedReadCloser) *PostDeployFunctionParams
- func (o *PostDeployFunctionParams) WithHTTPClient(client *http.Client) *PostDeployFunctionParams
- func (o *PostDeployFunctionParams) WithName(name *string) *PostDeployFunctionParams
- func (o *PostDeployFunctionParams) WithTimeout(timeout time.Duration) *PostDeployFunctionParams
- func (o *PostDeployFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostDeployFunctionReader
- type PostDeployFunctionUnauthorized
- func (o *PostDeployFunctionUnauthorized) Code() int
- func (o *PostDeployFunctionUnauthorized) Error() string
- func (o *PostDeployFunctionUnauthorized) GetPayload() string
- func (o *PostDeployFunctionUnauthorized) IsClientError() bool
- func (o *PostDeployFunctionUnauthorized) IsCode(code int) bool
- func (o *PostDeployFunctionUnauthorized) IsRedirect() bool
- func (o *PostDeployFunctionUnauthorized) IsServerError() bool
- func (o *PostDeployFunctionUnauthorized) IsSuccess() bool
- func (o *PostDeployFunctionUnauthorized) String() string
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 ¶
func (o *DeleteDeployFunctionIdentifierBadRequest) Code() int
Code gets the status code for the delete deploy function identifier bad request response
func (*DeleteDeployFunctionIdentifierBadRequest) Error ¶
func (o *DeleteDeployFunctionIdentifierBadRequest) Error() string
func (*DeleteDeployFunctionIdentifierBadRequest) GetPayload ¶
func (o *DeleteDeployFunctionIdentifierBadRequest) GetPayload() string
func (*DeleteDeployFunctionIdentifierBadRequest) IsClientError ¶
func (o *DeleteDeployFunctionIdentifierBadRequest) IsClientError() bool
IsClientError returns true when this delete deploy function identifier bad request response has a 4xx status code
func (*DeleteDeployFunctionIdentifierBadRequest) IsCode ¶
func (o *DeleteDeployFunctionIdentifierBadRequest) IsCode(code int) bool
IsCode returns true when this delete deploy function identifier bad request response a status code equal to that given
func (*DeleteDeployFunctionIdentifierBadRequest) IsRedirect ¶
func (o *DeleteDeployFunctionIdentifierBadRequest) IsRedirect() bool
IsRedirect returns true when this delete deploy function identifier bad request response has a 3xx status code
func (*DeleteDeployFunctionIdentifierBadRequest) IsServerError ¶
func (o *DeleteDeployFunctionIdentifierBadRequest) IsServerError() bool
IsServerError returns true when this delete deploy function identifier bad request response has a 5xx status code
func (*DeleteDeployFunctionIdentifierBadRequest) IsSuccess ¶
func (o *DeleteDeployFunctionIdentifierBadRequest) IsSuccess() bool
IsSuccess returns true when this delete deploy function identifier bad request response has a 2xx status code
func (*DeleteDeployFunctionIdentifierBadRequest) String ¶
func (o *DeleteDeployFunctionIdentifierBadRequest) String() 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 ¶
func (o *DeleteDeployFunctionIdentifierInternalServerError) Code() int
Code gets the status code for the delete deploy function identifier internal server error response
func (*DeleteDeployFunctionIdentifierInternalServerError) Error ¶
func (o *DeleteDeployFunctionIdentifierInternalServerError) Error() string
func (*DeleteDeployFunctionIdentifierInternalServerError) GetPayload ¶
func (o *DeleteDeployFunctionIdentifierInternalServerError) GetPayload() string
func (*DeleteDeployFunctionIdentifierInternalServerError) IsClientError ¶
func (o *DeleteDeployFunctionIdentifierInternalServerError) IsClientError() bool
IsClientError returns true when this delete deploy function identifier internal server error response has a 4xx status code
func (*DeleteDeployFunctionIdentifierInternalServerError) IsCode ¶
func (o *DeleteDeployFunctionIdentifierInternalServerError) IsCode(code int) bool
IsCode returns true when this delete deploy function identifier internal server error response a status code equal to that given
func (*DeleteDeployFunctionIdentifierInternalServerError) IsRedirect ¶
func (o *DeleteDeployFunctionIdentifierInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete deploy function identifier internal server error response has a 3xx status code
func (*DeleteDeployFunctionIdentifierInternalServerError) IsServerError ¶
func (o *DeleteDeployFunctionIdentifierInternalServerError) IsServerError() bool
IsServerError returns true when this delete deploy function identifier internal server error response has a 5xx status code
func (*DeleteDeployFunctionIdentifierInternalServerError) IsSuccess ¶
func (o *DeleteDeployFunctionIdentifierInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete deploy function identifier internal server error response has a 2xx status code
func (*DeleteDeployFunctionIdentifierInternalServerError) String ¶
func (o *DeleteDeployFunctionIdentifierInternalServerError) String() 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 ¶
func (o *DeleteDeployFunctionIdentifierNotFound) Code() int
Code gets the status code for the delete deploy function identifier not found response
func (*DeleteDeployFunctionIdentifierNotFound) Error ¶
func (o *DeleteDeployFunctionIdentifierNotFound) Error() string
func (*DeleteDeployFunctionIdentifierNotFound) GetPayload ¶
func (o *DeleteDeployFunctionIdentifierNotFound) GetPayload() string
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 ¶
func (o *DeleteDeployFunctionIdentifierNotFound) IsCode(code int) bool
IsCode returns true when this delete deploy function identifier not found response a status code equal to that given
func (*DeleteDeployFunctionIdentifierNotFound) IsRedirect ¶
func (o *DeleteDeployFunctionIdentifierNotFound) IsRedirect() bool
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 ¶
func (o *DeleteDeployFunctionIdentifierNotFound) IsSuccess() bool
IsSuccess returns true when this delete deploy function identifier not found response has a 2xx status code
func (*DeleteDeployFunctionIdentifierNotFound) String ¶
func (o *DeleteDeployFunctionIdentifierNotFound) String() 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 ¶
func (o *DeleteDeployFunctionIdentifierOK) Code() int
Code gets the status code for the delete deploy function identifier o k response
func (*DeleteDeployFunctionIdentifierOK) Error ¶
func (o *DeleteDeployFunctionIdentifierOK) Error() string
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 ¶
func (o *DeleteDeployFunctionIdentifierOK) String() 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 ¶
func (o *DeleteDeployFunctionIdentifierParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteDeployFunctionIdentifierParams) WithContext(ctx context.Context) *DeleteDeployFunctionIdentifierParams
WithContext adds the context to the delete deploy function identifier params
func (*DeleteDeployFunctionIdentifierParams) WithDefaults ¶
func (o *DeleteDeployFunctionIdentifierParams) WithDefaults() *DeleteDeployFunctionIdentifierParams
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 ¶
func (o *DeleteDeployFunctionIdentifierParams) WithHTTPClient(client *http.Client) *DeleteDeployFunctionIdentifierParams
WithHTTPClient adds the HTTPClient to the delete deploy function identifier params
func (*DeleteDeployFunctionIdentifierParams) WithIdentifier ¶
func (o *DeleteDeployFunctionIdentifierParams) WithIdentifier(identifier string) *DeleteDeployFunctionIdentifierParams
WithIdentifier adds the identifier to the delete deploy function identifier params
func (*DeleteDeployFunctionIdentifierParams) WithTimeout ¶
func (o *DeleteDeployFunctionIdentifierParams) WithTimeout(timeout time.Duration) *DeleteDeployFunctionIdentifierParams
WithTimeout adds the timeout to the delete deploy function identifier params
func (*DeleteDeployFunctionIdentifierParams) WriteToRequest ¶
func (o *DeleteDeployFunctionIdentifierParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *DeleteDeployFunctionIdentifierUnauthorized) Code() int
Code gets the status code for the delete deploy function identifier unauthorized response
func (*DeleteDeployFunctionIdentifierUnauthorized) Error ¶
func (o *DeleteDeployFunctionIdentifierUnauthorized) Error() string
func (*DeleteDeployFunctionIdentifierUnauthorized) GetPayload ¶
func (o *DeleteDeployFunctionIdentifierUnauthorized) GetPayload() string
func (*DeleteDeployFunctionIdentifierUnauthorized) IsClientError ¶
func (o *DeleteDeployFunctionIdentifierUnauthorized) IsClientError() bool
IsClientError returns true when this delete deploy function identifier unauthorized response has a 4xx status code
func (*DeleteDeployFunctionIdentifierUnauthorized) IsCode ¶
func (o *DeleteDeployFunctionIdentifierUnauthorized) IsCode(code int) bool
IsCode returns true when this delete deploy function identifier unauthorized response a status code equal to that given
func (*DeleteDeployFunctionIdentifierUnauthorized) IsRedirect ¶
func (o *DeleteDeployFunctionIdentifierUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete deploy function identifier unauthorized response has a 3xx status code
func (*DeleteDeployFunctionIdentifierUnauthorized) IsServerError ¶
func (o *DeleteDeployFunctionIdentifierUnauthorized) IsServerError() bool
IsServerError returns true when this delete deploy function identifier unauthorized response has a 5xx status code
func (*DeleteDeployFunctionIdentifierUnauthorized) IsSuccess ¶
func (o *DeleteDeployFunctionIdentifierUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete deploy function identifier unauthorized response has a 2xx status code
func (*DeleteDeployFunctionIdentifierUnauthorized) String ¶
func (o *DeleteDeployFunctionIdentifierUnauthorized) String() 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 ¶
func (o *PostDeployFunctionBadRequest) Code() int
Code gets the status code for the post deploy function bad request response
func (*PostDeployFunctionBadRequest) Error ¶
func (o *PostDeployFunctionBadRequest) Error() string
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 ¶
func (o *PostDeployFunctionBadRequest) String() 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 ¶
func (o *PostDeployFunctionInternalServerError) Code() int
Code gets the status code for the post deploy function internal server error response
func (*PostDeployFunctionInternalServerError) Error ¶
func (o *PostDeployFunctionInternalServerError) Error() string
func (*PostDeployFunctionInternalServerError) GetPayload ¶
func (o *PostDeployFunctionInternalServerError) GetPayload() string
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 ¶
func (o *PostDeployFunctionInternalServerError) IsCode(code int) bool
IsCode returns true when this post deploy function internal server error response a status code equal to that given
func (*PostDeployFunctionInternalServerError) IsRedirect ¶
func (o *PostDeployFunctionInternalServerError) IsRedirect() bool
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 ¶
func (o *PostDeployFunctionInternalServerError) IsSuccess() bool
IsSuccess returns true when this post deploy function internal server error response has a 2xx status code
func (*PostDeployFunctionInternalServerError) String ¶
func (o *PostDeployFunctionInternalServerError) String() 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 (o *PostDeployFunctionNotFound) Error() string
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 (o *PostDeployFunctionOK) GetPayload() *models.ModelsDeployFunctionResponse
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 ¶
func (o *PostDeployFunctionParams) WithContext(ctx context.Context) *PostDeployFunctionParams
WithContext adds the context to the post deploy function params
func (*PostDeployFunctionParams) WithDefaults ¶
func (o *PostDeployFunctionParams) WithDefaults() *PostDeployFunctionParams
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 ¶
func (o *PostDeployFunctionParams) WithFunctions(functions runtime.NamedReadCloser) *PostDeployFunctionParams
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 ¶
func (o *PostDeployFunctionParams) WithName(name *string) *PostDeployFunctionParams
WithName adds the name to the post deploy function params
func (*PostDeployFunctionParams) WithTimeout ¶
func (o *PostDeployFunctionParams) WithTimeout(timeout time.Duration) *PostDeployFunctionParams
WithTimeout adds the timeout to the post deploy function params
func (*PostDeployFunctionParams) WriteToRequest ¶
func (o *PostDeployFunctionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *PostDeployFunctionUnauthorized) Code() int
Code gets the status code for the post deploy function unauthorized response
func (*PostDeployFunctionUnauthorized) Error ¶
func (o *PostDeployFunctionUnauthorized) Error() string
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 ¶
func (o *PostDeployFunctionUnauthorized) String() string