Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateEngine(params *CreateEngineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateEngineCreated, error)
- func (a *Client) DeleteEngine(params *DeleteEngineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteEngineOK, *DeleteEngineNoContent, error)
- func (a *Client) GetEngine(params *GetEngineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetEngineOK, error)
- func (a *Client) ListEngines(params *ListEnginesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListEnginesOK, error)
- func (a *Client) PingEngine(params *PingEngineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PingEngineOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateEngineBadRequest
- func (o *CreateEngineBadRequest) Error() string
- func (o *CreateEngineBadRequest) GetPayload() *models.HTTPError
- func (o *CreateEngineBadRequest) IsClientError() bool
- func (o *CreateEngineBadRequest) IsCode(code int) bool
- func (o *CreateEngineBadRequest) IsRedirect() bool
- func (o *CreateEngineBadRequest) IsServerError() bool
- func (o *CreateEngineBadRequest) IsSuccess() bool
- func (o *CreateEngineBadRequest) String() string
- type CreateEngineCreated
- func (o *CreateEngineCreated) Error() string
- func (o *CreateEngineCreated) GetPayload() *models.CreateResponse
- func (o *CreateEngineCreated) IsClientError() bool
- func (o *CreateEngineCreated) IsCode(code int) bool
- func (o *CreateEngineCreated) IsRedirect() bool
- func (o *CreateEngineCreated) IsServerError() bool
- func (o *CreateEngineCreated) IsSuccess() bool
- func (o *CreateEngineCreated) String() string
- type CreateEngineForbidden
- func (o *CreateEngineForbidden) Error() string
- func (o *CreateEngineForbidden) GetPayload() *models.HTTPError
- func (o *CreateEngineForbidden) IsClientError() bool
- func (o *CreateEngineForbidden) IsCode(code int) bool
- func (o *CreateEngineForbidden) IsRedirect() bool
- func (o *CreateEngineForbidden) IsServerError() bool
- func (o *CreateEngineForbidden) IsSuccess() bool
- func (o *CreateEngineForbidden) String() string
- type CreateEngineInternalServerError
- func (o *CreateEngineInternalServerError) Error() string
- func (o *CreateEngineInternalServerError) GetPayload() *models.HTTPError
- func (o *CreateEngineInternalServerError) IsClientError() bool
- func (o *CreateEngineInternalServerError) IsCode(code int) bool
- func (o *CreateEngineInternalServerError) IsRedirect() bool
- func (o *CreateEngineInternalServerError) IsServerError() bool
- func (o *CreateEngineInternalServerError) IsSuccess() bool
- func (o *CreateEngineInternalServerError) String() string
- type CreateEngineParams
- func (o *CreateEngineParams) SetBody(body *models.EngineCreate)
- func (o *CreateEngineParams) SetContext(ctx context.Context)
- func (o *CreateEngineParams) SetDefaults()
- func (o *CreateEngineParams) SetHTTPClient(client *http.Client)
- func (o *CreateEngineParams) SetTimeout(timeout time.Duration)
- func (o *CreateEngineParams) WithBody(body *models.EngineCreate) *CreateEngineParams
- func (o *CreateEngineParams) WithContext(ctx context.Context) *CreateEngineParams
- func (o *CreateEngineParams) WithDefaults() *CreateEngineParams
- func (o *CreateEngineParams) WithHTTPClient(client *http.Client) *CreateEngineParams
- func (o *CreateEngineParams) WithTimeout(timeout time.Duration) *CreateEngineParams
- func (o *CreateEngineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEngineReader
- type CreateEngineUnauthorized
- func (o *CreateEngineUnauthorized) Error() string
- func (o *CreateEngineUnauthorized) GetPayload() *models.HTTPError
- func (o *CreateEngineUnauthorized) IsClientError() bool
- func (o *CreateEngineUnauthorized) IsCode(code int) bool
- func (o *CreateEngineUnauthorized) IsRedirect() bool
- func (o *CreateEngineUnauthorized) IsServerError() bool
- func (o *CreateEngineUnauthorized) IsSuccess() bool
- func (o *CreateEngineUnauthorized) String() string
- type DeleteEngineBadRequest
- func (o *DeleteEngineBadRequest) Error() string
- func (o *DeleteEngineBadRequest) GetPayload() *models.HTTPError
- func (o *DeleteEngineBadRequest) IsClientError() bool
- func (o *DeleteEngineBadRequest) IsCode(code int) bool
- func (o *DeleteEngineBadRequest) IsRedirect() bool
- func (o *DeleteEngineBadRequest) IsServerError() bool
- func (o *DeleteEngineBadRequest) IsSuccess() bool
- func (o *DeleteEngineBadRequest) String() string
- type DeleteEngineForbidden
- func (o *DeleteEngineForbidden) Error() string
- func (o *DeleteEngineForbidden) GetPayload() *models.HTTPError
- func (o *DeleteEngineForbidden) IsClientError() bool
- func (o *DeleteEngineForbidden) IsCode(code int) bool
- func (o *DeleteEngineForbidden) IsRedirect() bool
- func (o *DeleteEngineForbidden) IsServerError() bool
- func (o *DeleteEngineForbidden) IsSuccess() bool
- func (o *DeleteEngineForbidden) String() string
- type DeleteEngineInternalServerError
- func (o *DeleteEngineInternalServerError) Error() string
- func (o *DeleteEngineInternalServerError) GetPayload() *models.HTTPError
- func (o *DeleteEngineInternalServerError) IsClientError() bool
- func (o *DeleteEngineInternalServerError) IsCode(code int) bool
- func (o *DeleteEngineInternalServerError) IsRedirect() bool
- func (o *DeleteEngineInternalServerError) IsServerError() bool
- func (o *DeleteEngineInternalServerError) IsSuccess() bool
- func (o *DeleteEngineInternalServerError) String() string
- type DeleteEngineNoContent
- func (o *DeleteEngineNoContent) Error() string
- func (o *DeleteEngineNoContent) IsClientError() bool
- func (o *DeleteEngineNoContent) IsCode(code int) bool
- func (o *DeleteEngineNoContent) IsRedirect() bool
- func (o *DeleteEngineNoContent) IsServerError() bool
- func (o *DeleteEngineNoContent) IsSuccess() bool
- func (o *DeleteEngineNoContent) String() string
- type DeleteEngineNotFound
- func (o *DeleteEngineNotFound) Error() string
- func (o *DeleteEngineNotFound) GetPayload() *models.HTTPError
- func (o *DeleteEngineNotFound) IsClientError() bool
- func (o *DeleteEngineNotFound) IsCode(code int) bool
- func (o *DeleteEngineNotFound) IsRedirect() bool
- func (o *DeleteEngineNotFound) IsServerError() bool
- func (o *DeleteEngineNotFound) IsSuccess() bool
- func (o *DeleteEngineNotFound) String() string
- type DeleteEngineOK
- func (o *DeleteEngineOK) Error() string
- func (o *DeleteEngineOK) GetPayload() *models.MessageResponse
- func (o *DeleteEngineOK) IsClientError() bool
- func (o *DeleteEngineOK) IsCode(code int) bool
- func (o *DeleteEngineOK) IsRedirect() bool
- func (o *DeleteEngineOK) IsServerError() bool
- func (o *DeleteEngineOK) IsSuccess() bool
- func (o *DeleteEngineOK) String() string
- type DeleteEngineParams
- func (o *DeleteEngineParams) SetContext(ctx context.Context)
- func (o *DeleteEngineParams) SetDefaults()
- func (o *DeleteEngineParams) SetForce(force *bool)
- func (o *DeleteEngineParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEngineParams) SetName(name string)
- func (o *DeleteEngineParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEngineParams) WithContext(ctx context.Context) *DeleteEngineParams
- func (o *DeleteEngineParams) WithDefaults() *DeleteEngineParams
- func (o *DeleteEngineParams) WithForce(force *bool) *DeleteEngineParams
- func (o *DeleteEngineParams) WithHTTPClient(client *http.Client) *DeleteEngineParams
- func (o *DeleteEngineParams) WithName(name string) *DeleteEngineParams
- func (o *DeleteEngineParams) WithTimeout(timeout time.Duration) *DeleteEngineParams
- func (o *DeleteEngineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEngineReader
- type DeleteEngineUnauthorized
- func (o *DeleteEngineUnauthorized) Error() string
- func (o *DeleteEngineUnauthorized) GetPayload() *models.HTTPError
- func (o *DeleteEngineUnauthorized) IsClientError() bool
- func (o *DeleteEngineUnauthorized) IsCode(code int) bool
- func (o *DeleteEngineUnauthorized) IsRedirect() bool
- func (o *DeleteEngineUnauthorized) IsServerError() bool
- func (o *DeleteEngineUnauthorized) IsSuccess() bool
- func (o *DeleteEngineUnauthorized) String() string
- type GetEngineBadRequest
- func (o *GetEngineBadRequest) Error() string
- func (o *GetEngineBadRequest) GetPayload() *models.HTTPError
- func (o *GetEngineBadRequest) IsClientError() bool
- func (o *GetEngineBadRequest) IsCode(code int) bool
- func (o *GetEngineBadRequest) IsRedirect() bool
- func (o *GetEngineBadRequest) IsServerError() bool
- func (o *GetEngineBadRequest) IsSuccess() bool
- func (o *GetEngineBadRequest) String() string
- type GetEngineForbidden
- func (o *GetEngineForbidden) Error() string
- func (o *GetEngineForbidden) GetPayload() *models.HTTPError
- func (o *GetEngineForbidden) IsClientError() bool
- func (o *GetEngineForbidden) IsCode(code int) bool
- func (o *GetEngineForbidden) IsRedirect() bool
- func (o *GetEngineForbidden) IsServerError() bool
- func (o *GetEngineForbidden) IsSuccess() bool
- func (o *GetEngineForbidden) String() string
- type GetEngineInternalServerError
- func (o *GetEngineInternalServerError) Error() string
- func (o *GetEngineInternalServerError) GetPayload() *models.HTTPError
- func (o *GetEngineInternalServerError) IsClientError() bool
- func (o *GetEngineInternalServerError) IsCode(code int) bool
- func (o *GetEngineInternalServerError) IsRedirect() bool
- func (o *GetEngineInternalServerError) IsServerError() bool
- func (o *GetEngineInternalServerError) IsSuccess() bool
- func (o *GetEngineInternalServerError) String() string
- type GetEngineNotFound
- func (o *GetEngineNotFound) Error() string
- func (o *GetEngineNotFound) GetPayload() *models.HTTPError
- func (o *GetEngineNotFound) IsClientError() bool
- func (o *GetEngineNotFound) IsCode(code int) bool
- func (o *GetEngineNotFound) IsRedirect() bool
- func (o *GetEngineNotFound) IsServerError() bool
- func (o *GetEngineNotFound) IsSuccess() bool
- func (o *GetEngineNotFound) String() string
- type GetEngineOK
- func (o *GetEngineOK) Error() string
- func (o *GetEngineOK) GetPayload() *models.Engine
- func (o *GetEngineOK) IsClientError() bool
- func (o *GetEngineOK) IsCode(code int) bool
- func (o *GetEngineOK) IsRedirect() bool
- func (o *GetEngineOK) IsServerError() bool
- func (o *GetEngineOK) IsSuccess() bool
- func (o *GetEngineOK) String() string
- type GetEngineParams
- func (o *GetEngineParams) SetContext(ctx context.Context)
- func (o *GetEngineParams) SetDefaults()
- func (o *GetEngineParams) SetHTTPClient(client *http.Client)
- func (o *GetEngineParams) SetName(name string)
- func (o *GetEngineParams) SetTimeout(timeout time.Duration)
- func (o *GetEngineParams) WithContext(ctx context.Context) *GetEngineParams
- func (o *GetEngineParams) WithDefaults() *GetEngineParams
- func (o *GetEngineParams) WithHTTPClient(client *http.Client) *GetEngineParams
- func (o *GetEngineParams) WithName(name string) *GetEngineParams
- func (o *GetEngineParams) WithTimeout(timeout time.Duration) *GetEngineParams
- func (o *GetEngineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEngineReader
- type GetEngineUnauthorized
- func (o *GetEngineUnauthorized) Error() string
- func (o *GetEngineUnauthorized) GetPayload() *models.HTTPError
- func (o *GetEngineUnauthorized) IsClientError() bool
- func (o *GetEngineUnauthorized) IsCode(code int) bool
- func (o *GetEngineUnauthorized) IsRedirect() bool
- func (o *GetEngineUnauthorized) IsServerError() bool
- func (o *GetEngineUnauthorized) IsSuccess() bool
- func (o *GetEngineUnauthorized) String() string
- type ListEnginesBadRequest
- func (o *ListEnginesBadRequest) Error() string
- func (o *ListEnginesBadRequest) GetPayload() *models.HTTPError
- func (o *ListEnginesBadRequest) IsClientError() bool
- func (o *ListEnginesBadRequest) IsCode(code int) bool
- func (o *ListEnginesBadRequest) IsRedirect() bool
- func (o *ListEnginesBadRequest) IsServerError() bool
- func (o *ListEnginesBadRequest) IsSuccess() bool
- func (o *ListEnginesBadRequest) String() string
- type ListEnginesForbidden
- func (o *ListEnginesForbidden) Error() string
- func (o *ListEnginesForbidden) GetPayload() *models.HTTPError
- func (o *ListEnginesForbidden) IsClientError() bool
- func (o *ListEnginesForbidden) IsCode(code int) bool
- func (o *ListEnginesForbidden) IsRedirect() bool
- func (o *ListEnginesForbidden) IsServerError() bool
- func (o *ListEnginesForbidden) IsSuccess() bool
- func (o *ListEnginesForbidden) String() string
- type ListEnginesInternalServerError
- func (o *ListEnginesInternalServerError) Error() string
- func (o *ListEnginesInternalServerError) GetPayload() *models.HTTPError
- func (o *ListEnginesInternalServerError) IsClientError() bool
- func (o *ListEnginesInternalServerError) IsCode(code int) bool
- func (o *ListEnginesInternalServerError) IsRedirect() bool
- func (o *ListEnginesInternalServerError) IsServerError() bool
- func (o *ListEnginesInternalServerError) IsSuccess() bool
- func (o *ListEnginesInternalServerError) String() string
- type ListEnginesOK
- func (o *ListEnginesOK) Error() string
- func (o *ListEnginesOK) GetPayload() *models.EngineListResult
- func (o *ListEnginesOK) IsClientError() bool
- func (o *ListEnginesOK) IsCode(code int) bool
- func (o *ListEnginesOK) IsRedirect() bool
- func (o *ListEnginesOK) IsServerError() bool
- func (o *ListEnginesOK) IsSuccess() bool
- func (o *ListEnginesOK) String() string
- type ListEnginesParams
- func (o *ListEnginesParams) SetContext(ctx context.Context)
- func (o *ListEnginesParams) SetDefaults()
- func (o *ListEnginesParams) SetHTTPClient(client *http.Client)
- func (o *ListEnginesParams) SetTimeout(timeout time.Duration)
- func (o *ListEnginesParams) WithContext(ctx context.Context) *ListEnginesParams
- func (o *ListEnginesParams) WithDefaults() *ListEnginesParams
- func (o *ListEnginesParams) WithHTTPClient(client *http.Client) *ListEnginesParams
- func (o *ListEnginesParams) WithTimeout(timeout time.Duration) *ListEnginesParams
- func (o *ListEnginesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListEnginesReader
- type ListEnginesUnauthorized
- func (o *ListEnginesUnauthorized) Error() string
- func (o *ListEnginesUnauthorized) GetPayload() *models.HTTPError
- func (o *ListEnginesUnauthorized) IsClientError() bool
- func (o *ListEnginesUnauthorized) IsCode(code int) bool
- func (o *ListEnginesUnauthorized) IsRedirect() bool
- func (o *ListEnginesUnauthorized) IsServerError() bool
- func (o *ListEnginesUnauthorized) IsSuccess() bool
- func (o *ListEnginesUnauthorized) String() string
- type PingEngineBadRequest
- func (o *PingEngineBadRequest) Error() string
- func (o *PingEngineBadRequest) GetPayload() *models.HTTPError
- func (o *PingEngineBadRequest) IsClientError() bool
- func (o *PingEngineBadRequest) IsCode(code int) bool
- func (o *PingEngineBadRequest) IsRedirect() bool
- func (o *PingEngineBadRequest) IsServerError() bool
- func (o *PingEngineBadRequest) IsSuccess() bool
- func (o *PingEngineBadRequest) String() string
- type PingEngineForbidden
- func (o *PingEngineForbidden) Error() string
- func (o *PingEngineForbidden) GetPayload() *models.HTTPError
- func (o *PingEngineForbidden) IsClientError() bool
- func (o *PingEngineForbidden) IsCode(code int) bool
- func (o *PingEngineForbidden) IsRedirect() bool
- func (o *PingEngineForbidden) IsServerError() bool
- func (o *PingEngineForbidden) IsSuccess() bool
- func (o *PingEngineForbidden) String() string
- type PingEngineInternalServerError
- func (o *PingEngineInternalServerError) Error() string
- func (o *PingEngineInternalServerError) GetPayload() *models.HTTPError
- func (o *PingEngineInternalServerError) IsClientError() bool
- func (o *PingEngineInternalServerError) IsCode(code int) bool
- func (o *PingEngineInternalServerError) IsRedirect() bool
- func (o *PingEngineInternalServerError) IsServerError() bool
- func (o *PingEngineInternalServerError) IsSuccess() bool
- func (o *PingEngineInternalServerError) String() string
- type PingEngineOK
- func (o *PingEngineOK) Error() string
- func (o *PingEngineOK) GetPayload() *models.PingResponse
- func (o *PingEngineOK) IsClientError() bool
- func (o *PingEngineOK) IsCode(code int) bool
- func (o *PingEngineOK) IsRedirect() bool
- func (o *PingEngineOK) IsServerError() bool
- func (o *PingEngineOK) IsSuccess() bool
- func (o *PingEngineOK) String() string
- type PingEngineParams
- func (o *PingEngineParams) SetContext(ctx context.Context)
- func (o *PingEngineParams) SetDefaults()
- func (o *PingEngineParams) SetHTTPClient(client *http.Client)
- func (o *PingEngineParams) SetName(name string)
- func (o *PingEngineParams) SetTimeout(timeout time.Duration)
- func (o *PingEngineParams) WithContext(ctx context.Context) *PingEngineParams
- func (o *PingEngineParams) WithDefaults() *PingEngineParams
- func (o *PingEngineParams) WithHTTPClient(client *http.Client) *PingEngineParams
- func (o *PingEngineParams) WithName(name string) *PingEngineParams
- func (o *PingEngineParams) WithTimeout(timeout time.Duration) *PingEngineParams
- func (o *PingEngineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PingEngineReader
- type PingEngineUnauthorized
- func (o *PingEngineUnauthorized) Error() string
- func (o *PingEngineUnauthorized) GetPayload() *models.HTTPError
- func (o *PingEngineUnauthorized) IsClientError() bool
- func (o *PingEngineUnauthorized) IsCode(code int) bool
- func (o *PingEngineUnauthorized) IsRedirect() bool
- func (o *PingEngineUnauthorized) IsServerError() bool
- func (o *PingEngineUnauthorized) IsSuccess() bool
- func (o *PingEngineUnauthorized) 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 engines API
func (*Client) CreateEngine ¶
func (a *Client) CreateEngine(params *CreateEngineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEngineCreated, error)
CreateEngine creates engine
Registers a new engine and returns its key pair.
func (*Client) DeleteEngine ¶
func (a *Client) DeleteEngine(params *DeleteEngineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEngineOK, *DeleteEngineNoContent, error)
DeleteEngine deletes engine
Delete an engine by name.
func (*Client) GetEngine ¶
func (a *Client) GetEngine(params *GetEngineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEngineOK, error)
GetEngine gets engine
Retrieve engine by name.
func (*Client) ListEngines ¶
func (a *Client) ListEngines(params *ListEnginesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnginesOK, error)
ListEngines lists engines
List all existing engines.
func (*Client) PingEngine ¶
func (a *Client) PingEngine(params *PingEngineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PingEngineOK, error)
PingEngine pings engine
Sends a message to the engine to validate connectivity.
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 { CreateEngine(params *CreateEngineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEngineCreated, error) DeleteEngine(params *DeleteEngineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEngineOK, *DeleteEngineNoContent, error) GetEngine(params *GetEngineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEngineOK, error) ListEngines(params *ListEnginesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListEnginesOK, error) PingEngine(params *PingEngineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PingEngineOK, 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 engines API client.
type CreateEngineBadRequest ¶
CreateEngineBadRequest describes a response with status code 400, with default header values.
bad request
func NewCreateEngineBadRequest ¶
func NewCreateEngineBadRequest() *CreateEngineBadRequest
NewCreateEngineBadRequest creates a CreateEngineBadRequest with default headers values
func (*CreateEngineBadRequest) Error ¶
func (o *CreateEngineBadRequest) Error() string
func (*CreateEngineBadRequest) GetPayload ¶
func (o *CreateEngineBadRequest) GetPayload() *models.HTTPError
func (*CreateEngineBadRequest) IsClientError ¶
func (o *CreateEngineBadRequest) IsClientError() bool
IsClientError returns true when this create engine bad request response has a 4xx status code
func (*CreateEngineBadRequest) IsCode ¶
func (o *CreateEngineBadRequest) IsCode(code int) bool
IsCode returns true when this create engine bad request response a status code equal to that given
func (*CreateEngineBadRequest) IsRedirect ¶
func (o *CreateEngineBadRequest) IsRedirect() bool
IsRedirect returns true when this create engine bad request response has a 3xx status code
func (*CreateEngineBadRequest) IsServerError ¶
func (o *CreateEngineBadRequest) IsServerError() bool
IsServerError returns true when this create engine bad request response has a 5xx status code
func (*CreateEngineBadRequest) IsSuccess ¶
func (o *CreateEngineBadRequest) IsSuccess() bool
IsSuccess returns true when this create engine bad request response has a 2xx status code
func (*CreateEngineBadRequest) String ¶
func (o *CreateEngineBadRequest) String() string
type CreateEngineCreated ¶
type CreateEngineCreated struct {
Payload *models.CreateResponse
}
CreateEngineCreated describes a response with status code 201, with default header values.
no error
func NewCreateEngineCreated ¶
func NewCreateEngineCreated() *CreateEngineCreated
NewCreateEngineCreated creates a CreateEngineCreated with default headers values
func (*CreateEngineCreated) Error ¶
func (o *CreateEngineCreated) Error() string
func (*CreateEngineCreated) GetPayload ¶
func (o *CreateEngineCreated) GetPayload() *models.CreateResponse
func (*CreateEngineCreated) IsClientError ¶
func (o *CreateEngineCreated) IsClientError() bool
IsClientError returns true when this create engine created response has a 4xx status code
func (*CreateEngineCreated) IsCode ¶
func (o *CreateEngineCreated) IsCode(code int) bool
IsCode returns true when this create engine created response a status code equal to that given
func (*CreateEngineCreated) IsRedirect ¶
func (o *CreateEngineCreated) IsRedirect() bool
IsRedirect returns true when this create engine created response has a 3xx status code
func (*CreateEngineCreated) IsServerError ¶
func (o *CreateEngineCreated) IsServerError() bool
IsServerError returns true when this create engine created response has a 5xx status code
func (*CreateEngineCreated) IsSuccess ¶
func (o *CreateEngineCreated) IsSuccess() bool
IsSuccess returns true when this create engine created response has a 2xx status code
func (*CreateEngineCreated) String ¶
func (o *CreateEngineCreated) String() string
type CreateEngineForbidden ¶
CreateEngineForbidden describes a response with status code 403, with default header values.
forbidden
func NewCreateEngineForbidden ¶
func NewCreateEngineForbidden() *CreateEngineForbidden
NewCreateEngineForbidden creates a CreateEngineForbidden with default headers values
func (*CreateEngineForbidden) Error ¶
func (o *CreateEngineForbidden) Error() string
func (*CreateEngineForbidden) GetPayload ¶
func (o *CreateEngineForbidden) GetPayload() *models.HTTPError
func (*CreateEngineForbidden) IsClientError ¶
func (o *CreateEngineForbidden) IsClientError() bool
IsClientError returns true when this create engine forbidden response has a 4xx status code
func (*CreateEngineForbidden) IsCode ¶
func (o *CreateEngineForbidden) IsCode(code int) bool
IsCode returns true when this create engine forbidden response a status code equal to that given
func (*CreateEngineForbidden) IsRedirect ¶
func (o *CreateEngineForbidden) IsRedirect() bool
IsRedirect returns true when this create engine forbidden response has a 3xx status code
func (*CreateEngineForbidden) IsServerError ¶
func (o *CreateEngineForbidden) IsServerError() bool
IsServerError returns true when this create engine forbidden response has a 5xx status code
func (*CreateEngineForbidden) IsSuccess ¶
func (o *CreateEngineForbidden) IsSuccess() bool
IsSuccess returns true when this create engine forbidden response has a 2xx status code
func (*CreateEngineForbidden) String ¶
func (o *CreateEngineForbidden) String() string
type CreateEngineInternalServerError ¶
CreateEngineInternalServerError describes a response with status code 500, with default header values.
server error
func NewCreateEngineInternalServerError ¶
func NewCreateEngineInternalServerError() *CreateEngineInternalServerError
NewCreateEngineInternalServerError creates a CreateEngineInternalServerError with default headers values
func (*CreateEngineInternalServerError) Error ¶
func (o *CreateEngineInternalServerError) Error() string
func (*CreateEngineInternalServerError) GetPayload ¶
func (o *CreateEngineInternalServerError) GetPayload() *models.HTTPError
func (*CreateEngineInternalServerError) IsClientError ¶
func (o *CreateEngineInternalServerError) IsClientError() bool
IsClientError returns true when this create engine internal server error response has a 4xx status code
func (*CreateEngineInternalServerError) IsCode ¶
func (o *CreateEngineInternalServerError) IsCode(code int) bool
IsCode returns true when this create engine internal server error response a status code equal to that given
func (*CreateEngineInternalServerError) IsRedirect ¶
func (o *CreateEngineInternalServerError) IsRedirect() bool
IsRedirect returns true when this create engine internal server error response has a 3xx status code
func (*CreateEngineInternalServerError) IsServerError ¶
func (o *CreateEngineInternalServerError) IsServerError() bool
IsServerError returns true when this create engine internal server error response has a 5xx status code
func (*CreateEngineInternalServerError) IsSuccess ¶
func (o *CreateEngineInternalServerError) IsSuccess() bool
IsSuccess returns true when this create engine internal server error response has a 2xx status code
func (*CreateEngineInternalServerError) String ¶
func (o *CreateEngineInternalServerError) String() string
type CreateEngineParams ¶
type CreateEngineParams struct { // Body. Body *models.EngineCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEngineParams contains all the parameters to send to the API endpoint
for the create engine operation. Typically these are written to a http.Request.
func NewCreateEngineParams ¶
func NewCreateEngineParams() *CreateEngineParams
NewCreateEngineParams creates a new CreateEngineParams 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 NewCreateEngineParamsWithContext ¶
func NewCreateEngineParamsWithContext(ctx context.Context) *CreateEngineParams
NewCreateEngineParamsWithContext creates a new CreateEngineParams object with the ability to set a context for a request.
func NewCreateEngineParamsWithHTTPClient ¶
func NewCreateEngineParamsWithHTTPClient(client *http.Client) *CreateEngineParams
NewCreateEngineParamsWithHTTPClient creates a new CreateEngineParams object with the ability to set a custom HTTPClient for a request.
func NewCreateEngineParamsWithTimeout ¶
func NewCreateEngineParamsWithTimeout(timeout time.Duration) *CreateEngineParams
NewCreateEngineParamsWithTimeout creates a new CreateEngineParams object with the ability to set a timeout on a request.
func (*CreateEngineParams) SetBody ¶
func (o *CreateEngineParams) SetBody(body *models.EngineCreate)
SetBody adds the body to the create engine params
func (*CreateEngineParams) SetContext ¶
func (o *CreateEngineParams) SetContext(ctx context.Context)
SetContext adds the context to the create engine params
func (*CreateEngineParams) SetDefaults ¶
func (o *CreateEngineParams) SetDefaults()
SetDefaults hydrates default values in the create engine params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEngineParams) SetHTTPClient ¶
func (o *CreateEngineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create engine params
func (*CreateEngineParams) SetTimeout ¶
func (o *CreateEngineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create engine params
func (*CreateEngineParams) WithBody ¶
func (o *CreateEngineParams) WithBody(body *models.EngineCreate) *CreateEngineParams
WithBody adds the body to the create engine params
func (*CreateEngineParams) WithContext ¶
func (o *CreateEngineParams) WithContext(ctx context.Context) *CreateEngineParams
WithContext adds the context to the create engine params
func (*CreateEngineParams) WithDefaults ¶
func (o *CreateEngineParams) WithDefaults() *CreateEngineParams
WithDefaults hydrates default values in the create engine params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEngineParams) WithHTTPClient ¶
func (o *CreateEngineParams) WithHTTPClient(client *http.Client) *CreateEngineParams
WithHTTPClient adds the HTTPClient to the create engine params
func (*CreateEngineParams) WithTimeout ¶
func (o *CreateEngineParams) WithTimeout(timeout time.Duration) *CreateEngineParams
WithTimeout adds the timeout to the create engine params
func (*CreateEngineParams) WriteToRequest ¶
func (o *CreateEngineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEngineReader ¶
type CreateEngineReader struct {
// contains filtered or unexported fields
}
CreateEngineReader is a Reader for the CreateEngine structure.
func (*CreateEngineReader) ReadResponse ¶
func (o *CreateEngineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEngineUnauthorized ¶
type CreateEngineUnauthorized struct {
}CreateEngineUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewCreateEngineUnauthorized ¶
func NewCreateEngineUnauthorized() *CreateEngineUnauthorized
NewCreateEngineUnauthorized creates a CreateEngineUnauthorized with default headers values
func (*CreateEngineUnauthorized) Error ¶
func (o *CreateEngineUnauthorized) Error() string
func (*CreateEngineUnauthorized) GetPayload ¶
func (o *CreateEngineUnauthorized) GetPayload() *models.HTTPError
func (*CreateEngineUnauthorized) IsClientError ¶
func (o *CreateEngineUnauthorized) IsClientError() bool
IsClientError returns true when this create engine unauthorized response has a 4xx status code
func (*CreateEngineUnauthorized) IsCode ¶
func (o *CreateEngineUnauthorized) IsCode(code int) bool
IsCode returns true when this create engine unauthorized response a status code equal to that given
func (*CreateEngineUnauthorized) IsRedirect ¶
func (o *CreateEngineUnauthorized) IsRedirect() bool
IsRedirect returns true when this create engine unauthorized response has a 3xx status code
func (*CreateEngineUnauthorized) IsServerError ¶
func (o *CreateEngineUnauthorized) IsServerError() bool
IsServerError returns true when this create engine unauthorized response has a 5xx status code
func (*CreateEngineUnauthorized) IsSuccess ¶
func (o *CreateEngineUnauthorized) IsSuccess() bool
IsSuccess returns true when this create engine unauthorized response has a 2xx status code
func (*CreateEngineUnauthorized) String ¶
func (o *CreateEngineUnauthorized) String() string
type DeleteEngineBadRequest ¶
DeleteEngineBadRequest describes a response with status code 400, with default header values.
bad request
func NewDeleteEngineBadRequest ¶
func NewDeleteEngineBadRequest() *DeleteEngineBadRequest
NewDeleteEngineBadRequest creates a DeleteEngineBadRequest with default headers values
func (*DeleteEngineBadRequest) Error ¶
func (o *DeleteEngineBadRequest) Error() string
func (*DeleteEngineBadRequest) GetPayload ¶
func (o *DeleteEngineBadRequest) GetPayload() *models.HTTPError
func (*DeleteEngineBadRequest) IsClientError ¶
func (o *DeleteEngineBadRequest) IsClientError() bool
IsClientError returns true when this delete engine bad request response has a 4xx status code
func (*DeleteEngineBadRequest) IsCode ¶
func (o *DeleteEngineBadRequest) IsCode(code int) bool
IsCode returns true when this delete engine bad request response a status code equal to that given
func (*DeleteEngineBadRequest) IsRedirect ¶
func (o *DeleteEngineBadRequest) IsRedirect() bool
IsRedirect returns true when this delete engine bad request response has a 3xx status code
func (*DeleteEngineBadRequest) IsServerError ¶
func (o *DeleteEngineBadRequest) IsServerError() bool
IsServerError returns true when this delete engine bad request response has a 5xx status code
func (*DeleteEngineBadRequest) IsSuccess ¶
func (o *DeleteEngineBadRequest) IsSuccess() bool
IsSuccess returns true when this delete engine bad request response has a 2xx status code
func (*DeleteEngineBadRequest) String ¶
func (o *DeleteEngineBadRequest) String() string
type DeleteEngineForbidden ¶
DeleteEngineForbidden describes a response with status code 403, with default header values.
forbidden
func NewDeleteEngineForbidden ¶
func NewDeleteEngineForbidden() *DeleteEngineForbidden
NewDeleteEngineForbidden creates a DeleteEngineForbidden with default headers values
func (*DeleteEngineForbidden) Error ¶
func (o *DeleteEngineForbidden) Error() string
func (*DeleteEngineForbidden) GetPayload ¶
func (o *DeleteEngineForbidden) GetPayload() *models.HTTPError
func (*DeleteEngineForbidden) IsClientError ¶
func (o *DeleteEngineForbidden) IsClientError() bool
IsClientError returns true when this delete engine forbidden response has a 4xx status code
func (*DeleteEngineForbidden) IsCode ¶
func (o *DeleteEngineForbidden) IsCode(code int) bool
IsCode returns true when this delete engine forbidden response a status code equal to that given
func (*DeleteEngineForbidden) IsRedirect ¶
func (o *DeleteEngineForbidden) IsRedirect() bool
IsRedirect returns true when this delete engine forbidden response has a 3xx status code
func (*DeleteEngineForbidden) IsServerError ¶
func (o *DeleteEngineForbidden) IsServerError() bool
IsServerError returns true when this delete engine forbidden response has a 5xx status code
func (*DeleteEngineForbidden) IsSuccess ¶
func (o *DeleteEngineForbidden) IsSuccess() bool
IsSuccess returns true when this delete engine forbidden response has a 2xx status code
func (*DeleteEngineForbidden) String ¶
func (o *DeleteEngineForbidden) String() string
type DeleteEngineInternalServerError ¶
DeleteEngineInternalServerError describes a response with status code 500, with default header values.
server error
func NewDeleteEngineInternalServerError ¶
func NewDeleteEngineInternalServerError() *DeleteEngineInternalServerError
NewDeleteEngineInternalServerError creates a DeleteEngineInternalServerError with default headers values
func (*DeleteEngineInternalServerError) Error ¶
func (o *DeleteEngineInternalServerError) Error() string
func (*DeleteEngineInternalServerError) GetPayload ¶
func (o *DeleteEngineInternalServerError) GetPayload() *models.HTTPError
func (*DeleteEngineInternalServerError) IsClientError ¶
func (o *DeleteEngineInternalServerError) IsClientError() bool
IsClientError returns true when this delete engine internal server error response has a 4xx status code
func (*DeleteEngineInternalServerError) IsCode ¶
func (o *DeleteEngineInternalServerError) IsCode(code int) bool
IsCode returns true when this delete engine internal server error response a status code equal to that given
func (*DeleteEngineInternalServerError) IsRedirect ¶
func (o *DeleteEngineInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete engine internal server error response has a 3xx status code
func (*DeleteEngineInternalServerError) IsServerError ¶
func (o *DeleteEngineInternalServerError) IsServerError() bool
IsServerError returns true when this delete engine internal server error response has a 5xx status code
func (*DeleteEngineInternalServerError) IsSuccess ¶
func (o *DeleteEngineInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete engine internal server error response has a 2xx status code
func (*DeleteEngineInternalServerError) String ¶
func (o *DeleteEngineInternalServerError) String() string
type DeleteEngineNoContent ¶
type DeleteEngineNoContent struct { }
DeleteEngineNoContent describes a response with status code 204, with default header values.
no error
func NewDeleteEngineNoContent ¶
func NewDeleteEngineNoContent() *DeleteEngineNoContent
NewDeleteEngineNoContent creates a DeleteEngineNoContent with default headers values
func (*DeleteEngineNoContent) Error ¶
func (o *DeleteEngineNoContent) Error() string
func (*DeleteEngineNoContent) IsClientError ¶
func (o *DeleteEngineNoContent) IsClientError() bool
IsClientError returns true when this delete engine no content response has a 4xx status code
func (*DeleteEngineNoContent) IsCode ¶
func (o *DeleteEngineNoContent) IsCode(code int) bool
IsCode returns true when this delete engine no content response a status code equal to that given
func (*DeleteEngineNoContent) IsRedirect ¶
func (o *DeleteEngineNoContent) IsRedirect() bool
IsRedirect returns true when this delete engine no content response has a 3xx status code
func (*DeleteEngineNoContent) IsServerError ¶
func (o *DeleteEngineNoContent) IsServerError() bool
IsServerError returns true when this delete engine no content response has a 5xx status code
func (*DeleteEngineNoContent) IsSuccess ¶
func (o *DeleteEngineNoContent) IsSuccess() bool
IsSuccess returns true when this delete engine no content response has a 2xx status code
func (*DeleteEngineNoContent) String ¶
func (o *DeleteEngineNoContent) String() string
type DeleteEngineNotFound ¶
DeleteEngineNotFound describes a response with status code 404, with default header values.
not found
func NewDeleteEngineNotFound ¶
func NewDeleteEngineNotFound() *DeleteEngineNotFound
NewDeleteEngineNotFound creates a DeleteEngineNotFound with default headers values
func (*DeleteEngineNotFound) Error ¶
func (o *DeleteEngineNotFound) Error() string
func (*DeleteEngineNotFound) GetPayload ¶
func (o *DeleteEngineNotFound) GetPayload() *models.HTTPError
func (*DeleteEngineNotFound) IsClientError ¶
func (o *DeleteEngineNotFound) IsClientError() bool
IsClientError returns true when this delete engine not found response has a 4xx status code
func (*DeleteEngineNotFound) IsCode ¶
func (o *DeleteEngineNotFound) IsCode(code int) bool
IsCode returns true when this delete engine not found response a status code equal to that given
func (*DeleteEngineNotFound) IsRedirect ¶
func (o *DeleteEngineNotFound) IsRedirect() bool
IsRedirect returns true when this delete engine not found response has a 3xx status code
func (*DeleteEngineNotFound) IsServerError ¶
func (o *DeleteEngineNotFound) IsServerError() bool
IsServerError returns true when this delete engine not found response has a 5xx status code
func (*DeleteEngineNotFound) IsSuccess ¶
func (o *DeleteEngineNotFound) IsSuccess() bool
IsSuccess returns true when this delete engine not found response has a 2xx status code
func (*DeleteEngineNotFound) String ¶
func (o *DeleteEngineNotFound) String() string
type DeleteEngineOK ¶
type DeleteEngineOK struct {
Payload *models.MessageResponse
}
DeleteEngineOK describes a response with status code 200, with default header values.
no error
func NewDeleteEngineOK ¶
func NewDeleteEngineOK() *DeleteEngineOK
NewDeleteEngineOK creates a DeleteEngineOK with default headers values
func (*DeleteEngineOK) Error ¶
func (o *DeleteEngineOK) Error() string
func (*DeleteEngineOK) GetPayload ¶
func (o *DeleteEngineOK) GetPayload() *models.MessageResponse
func (*DeleteEngineOK) IsClientError ¶
func (o *DeleteEngineOK) IsClientError() bool
IsClientError returns true when this delete engine o k response has a 4xx status code
func (*DeleteEngineOK) IsCode ¶
func (o *DeleteEngineOK) IsCode(code int) bool
IsCode returns true when this delete engine o k response a status code equal to that given
func (*DeleteEngineOK) IsRedirect ¶
func (o *DeleteEngineOK) IsRedirect() bool
IsRedirect returns true when this delete engine o k response has a 3xx status code
func (*DeleteEngineOK) IsServerError ¶
func (o *DeleteEngineOK) IsServerError() bool
IsServerError returns true when this delete engine o k response has a 5xx status code
func (*DeleteEngineOK) IsSuccess ¶
func (o *DeleteEngineOK) IsSuccess() bool
IsSuccess returns true when this delete engine o k response has a 2xx status code
func (*DeleteEngineOK) String ¶
func (o *DeleteEngineOK) String() string
type DeleteEngineParams ¶
type DeleteEngineParams struct { /* Force. Delete immediately */ Force *bool /* Name. Name of engine */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEngineParams contains all the parameters to send to the API endpoint
for the delete engine operation. Typically these are written to a http.Request.
func NewDeleteEngineParams ¶
func NewDeleteEngineParams() *DeleteEngineParams
NewDeleteEngineParams creates a new DeleteEngineParams 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 NewDeleteEngineParamsWithContext ¶
func NewDeleteEngineParamsWithContext(ctx context.Context) *DeleteEngineParams
NewDeleteEngineParamsWithContext creates a new DeleteEngineParams object with the ability to set a context for a request.
func NewDeleteEngineParamsWithHTTPClient ¶
func NewDeleteEngineParamsWithHTTPClient(client *http.Client) *DeleteEngineParams
NewDeleteEngineParamsWithHTTPClient creates a new DeleteEngineParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteEngineParamsWithTimeout ¶
func NewDeleteEngineParamsWithTimeout(timeout time.Duration) *DeleteEngineParams
NewDeleteEngineParamsWithTimeout creates a new DeleteEngineParams object with the ability to set a timeout on a request.
func (*DeleteEngineParams) SetContext ¶
func (o *DeleteEngineParams) SetContext(ctx context.Context)
SetContext adds the context to the delete engine params
func (*DeleteEngineParams) SetDefaults ¶
func (o *DeleteEngineParams) SetDefaults()
SetDefaults hydrates default values in the delete engine params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEngineParams) SetForce ¶
func (o *DeleteEngineParams) SetForce(force *bool)
SetForce adds the force to the delete engine params
func (*DeleteEngineParams) SetHTTPClient ¶
func (o *DeleteEngineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete engine params
func (*DeleteEngineParams) SetName ¶
func (o *DeleteEngineParams) SetName(name string)
SetName adds the name to the delete engine params
func (*DeleteEngineParams) SetTimeout ¶
func (o *DeleteEngineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete engine params
func (*DeleteEngineParams) WithContext ¶
func (o *DeleteEngineParams) WithContext(ctx context.Context) *DeleteEngineParams
WithContext adds the context to the delete engine params
func (*DeleteEngineParams) WithDefaults ¶
func (o *DeleteEngineParams) WithDefaults() *DeleteEngineParams
WithDefaults hydrates default values in the delete engine params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteEngineParams) WithForce ¶
func (o *DeleteEngineParams) WithForce(force *bool) *DeleteEngineParams
WithForce adds the force to the delete engine params
func (*DeleteEngineParams) WithHTTPClient ¶
func (o *DeleteEngineParams) WithHTTPClient(client *http.Client) *DeleteEngineParams
WithHTTPClient adds the HTTPClient to the delete engine params
func (*DeleteEngineParams) WithName ¶
func (o *DeleteEngineParams) WithName(name string) *DeleteEngineParams
WithName adds the name to the delete engine params
func (*DeleteEngineParams) WithTimeout ¶
func (o *DeleteEngineParams) WithTimeout(timeout time.Duration) *DeleteEngineParams
WithTimeout adds the timeout to the delete engine params
func (*DeleteEngineParams) WriteToRequest ¶
func (o *DeleteEngineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEngineReader ¶
type DeleteEngineReader struct {
// contains filtered or unexported fields
}
DeleteEngineReader is a Reader for the DeleteEngine structure.
func (*DeleteEngineReader) ReadResponse ¶
func (o *DeleteEngineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEngineUnauthorized ¶
type DeleteEngineUnauthorized struct {
}DeleteEngineUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewDeleteEngineUnauthorized ¶
func NewDeleteEngineUnauthorized() *DeleteEngineUnauthorized
NewDeleteEngineUnauthorized creates a DeleteEngineUnauthorized with default headers values
func (*DeleteEngineUnauthorized) Error ¶
func (o *DeleteEngineUnauthorized) Error() string
func (*DeleteEngineUnauthorized) GetPayload ¶
func (o *DeleteEngineUnauthorized) GetPayload() *models.HTTPError
func (*DeleteEngineUnauthorized) IsClientError ¶
func (o *DeleteEngineUnauthorized) IsClientError() bool
IsClientError returns true when this delete engine unauthorized response has a 4xx status code
func (*DeleteEngineUnauthorized) IsCode ¶
func (o *DeleteEngineUnauthorized) IsCode(code int) bool
IsCode returns true when this delete engine unauthorized response a status code equal to that given
func (*DeleteEngineUnauthorized) IsRedirect ¶
func (o *DeleteEngineUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete engine unauthorized response has a 3xx status code
func (*DeleteEngineUnauthorized) IsServerError ¶
func (o *DeleteEngineUnauthorized) IsServerError() bool
IsServerError returns true when this delete engine unauthorized response has a 5xx status code
func (*DeleteEngineUnauthorized) IsSuccess ¶
func (o *DeleteEngineUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete engine unauthorized response has a 2xx status code
func (*DeleteEngineUnauthorized) String ¶
func (o *DeleteEngineUnauthorized) String() string
type GetEngineBadRequest ¶
GetEngineBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetEngineBadRequest ¶
func NewGetEngineBadRequest() *GetEngineBadRequest
NewGetEngineBadRequest creates a GetEngineBadRequest with default headers values
func (*GetEngineBadRequest) Error ¶
func (o *GetEngineBadRequest) Error() string
func (*GetEngineBadRequest) GetPayload ¶
func (o *GetEngineBadRequest) GetPayload() *models.HTTPError
func (*GetEngineBadRequest) IsClientError ¶
func (o *GetEngineBadRequest) IsClientError() bool
IsClientError returns true when this get engine bad request response has a 4xx status code
func (*GetEngineBadRequest) IsCode ¶
func (o *GetEngineBadRequest) IsCode(code int) bool
IsCode returns true when this get engine bad request response a status code equal to that given
func (*GetEngineBadRequest) IsRedirect ¶
func (o *GetEngineBadRequest) IsRedirect() bool
IsRedirect returns true when this get engine bad request response has a 3xx status code
func (*GetEngineBadRequest) IsServerError ¶
func (o *GetEngineBadRequest) IsServerError() bool
IsServerError returns true when this get engine bad request response has a 5xx status code
func (*GetEngineBadRequest) IsSuccess ¶
func (o *GetEngineBadRequest) IsSuccess() bool
IsSuccess returns true when this get engine bad request response has a 2xx status code
func (*GetEngineBadRequest) String ¶
func (o *GetEngineBadRequest) String() string
type GetEngineForbidden ¶
GetEngineForbidden describes a response with status code 403, with default header values.
forbidden
func NewGetEngineForbidden ¶
func NewGetEngineForbidden() *GetEngineForbidden
NewGetEngineForbidden creates a GetEngineForbidden with default headers values
func (*GetEngineForbidden) Error ¶
func (o *GetEngineForbidden) Error() string
func (*GetEngineForbidden) GetPayload ¶
func (o *GetEngineForbidden) GetPayload() *models.HTTPError
func (*GetEngineForbidden) IsClientError ¶
func (o *GetEngineForbidden) IsClientError() bool
IsClientError returns true when this get engine forbidden response has a 4xx status code
func (*GetEngineForbidden) IsCode ¶
func (o *GetEngineForbidden) IsCode(code int) bool
IsCode returns true when this get engine forbidden response a status code equal to that given
func (*GetEngineForbidden) IsRedirect ¶
func (o *GetEngineForbidden) IsRedirect() bool
IsRedirect returns true when this get engine forbidden response has a 3xx status code
func (*GetEngineForbidden) IsServerError ¶
func (o *GetEngineForbidden) IsServerError() bool
IsServerError returns true when this get engine forbidden response has a 5xx status code
func (*GetEngineForbidden) IsSuccess ¶
func (o *GetEngineForbidden) IsSuccess() bool
IsSuccess returns true when this get engine forbidden response has a 2xx status code
func (*GetEngineForbidden) String ¶
func (o *GetEngineForbidden) String() string
type GetEngineInternalServerError ¶
GetEngineInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetEngineInternalServerError ¶
func NewGetEngineInternalServerError() *GetEngineInternalServerError
NewGetEngineInternalServerError creates a GetEngineInternalServerError with default headers values
func (*GetEngineInternalServerError) Error ¶
func (o *GetEngineInternalServerError) Error() string
func (*GetEngineInternalServerError) GetPayload ¶
func (o *GetEngineInternalServerError) GetPayload() *models.HTTPError
func (*GetEngineInternalServerError) IsClientError ¶
func (o *GetEngineInternalServerError) IsClientError() bool
IsClientError returns true when this get engine internal server error response has a 4xx status code
func (*GetEngineInternalServerError) IsCode ¶
func (o *GetEngineInternalServerError) IsCode(code int) bool
IsCode returns true when this get engine internal server error response a status code equal to that given
func (*GetEngineInternalServerError) IsRedirect ¶
func (o *GetEngineInternalServerError) IsRedirect() bool
IsRedirect returns true when this get engine internal server error response has a 3xx status code
func (*GetEngineInternalServerError) IsServerError ¶
func (o *GetEngineInternalServerError) IsServerError() bool
IsServerError returns true when this get engine internal server error response has a 5xx status code
func (*GetEngineInternalServerError) IsSuccess ¶
func (o *GetEngineInternalServerError) IsSuccess() bool
IsSuccess returns true when this get engine internal server error response has a 2xx status code
func (*GetEngineInternalServerError) String ¶
func (o *GetEngineInternalServerError) String() string
type GetEngineNotFound ¶
GetEngineNotFound describes a response with status code 404, with default header values.
not found
func NewGetEngineNotFound ¶
func NewGetEngineNotFound() *GetEngineNotFound
NewGetEngineNotFound creates a GetEngineNotFound with default headers values
func (*GetEngineNotFound) Error ¶
func (o *GetEngineNotFound) Error() string
func (*GetEngineNotFound) GetPayload ¶
func (o *GetEngineNotFound) GetPayload() *models.HTTPError
func (*GetEngineNotFound) IsClientError ¶
func (o *GetEngineNotFound) IsClientError() bool
IsClientError returns true when this get engine not found response has a 4xx status code
func (*GetEngineNotFound) IsCode ¶
func (o *GetEngineNotFound) IsCode(code int) bool
IsCode returns true when this get engine not found response a status code equal to that given
func (*GetEngineNotFound) IsRedirect ¶
func (o *GetEngineNotFound) IsRedirect() bool
IsRedirect returns true when this get engine not found response has a 3xx status code
func (*GetEngineNotFound) IsServerError ¶
func (o *GetEngineNotFound) IsServerError() bool
IsServerError returns true when this get engine not found response has a 5xx status code
func (*GetEngineNotFound) IsSuccess ¶
func (o *GetEngineNotFound) IsSuccess() bool
IsSuccess returns true when this get engine not found response has a 2xx status code
func (*GetEngineNotFound) String ¶
func (o *GetEngineNotFound) String() string
type GetEngineOK ¶
GetEngineOK describes a response with status code 200, with default header values.
no error
func NewGetEngineOK ¶
func NewGetEngineOK() *GetEngineOK
NewGetEngineOK creates a GetEngineOK with default headers values
func (*GetEngineOK) Error ¶
func (o *GetEngineOK) Error() string
func (*GetEngineOK) GetPayload ¶
func (o *GetEngineOK) GetPayload() *models.Engine
func (*GetEngineOK) IsClientError ¶
func (o *GetEngineOK) IsClientError() bool
IsClientError returns true when this get engine o k response has a 4xx status code
func (*GetEngineOK) IsCode ¶
func (o *GetEngineOK) IsCode(code int) bool
IsCode returns true when this get engine o k response a status code equal to that given
func (*GetEngineOK) IsRedirect ¶
func (o *GetEngineOK) IsRedirect() bool
IsRedirect returns true when this get engine o k response has a 3xx status code
func (*GetEngineOK) IsServerError ¶
func (o *GetEngineOK) IsServerError() bool
IsServerError returns true when this get engine o k response has a 5xx status code
func (*GetEngineOK) IsSuccess ¶
func (o *GetEngineOK) IsSuccess() bool
IsSuccess returns true when this get engine o k response has a 2xx status code
func (*GetEngineOK) String ¶
func (o *GetEngineOK) String() string
type GetEngineParams ¶
type GetEngineParams struct { /* Name. Name of engine */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEngineParams contains all the parameters to send to the API endpoint
for the get engine operation. Typically these are written to a http.Request.
func NewGetEngineParams ¶
func NewGetEngineParams() *GetEngineParams
NewGetEngineParams creates a new GetEngineParams 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 NewGetEngineParamsWithContext ¶
func NewGetEngineParamsWithContext(ctx context.Context) *GetEngineParams
NewGetEngineParamsWithContext creates a new GetEngineParams object with the ability to set a context for a request.
func NewGetEngineParamsWithHTTPClient ¶
func NewGetEngineParamsWithHTTPClient(client *http.Client) *GetEngineParams
NewGetEngineParamsWithHTTPClient creates a new GetEngineParams object with the ability to set a custom HTTPClient for a request.
func NewGetEngineParamsWithTimeout ¶
func NewGetEngineParamsWithTimeout(timeout time.Duration) *GetEngineParams
NewGetEngineParamsWithTimeout creates a new GetEngineParams object with the ability to set a timeout on a request.
func (*GetEngineParams) SetContext ¶
func (o *GetEngineParams) SetContext(ctx context.Context)
SetContext adds the context to the get engine params
func (*GetEngineParams) SetDefaults ¶
func (o *GetEngineParams) SetDefaults()
SetDefaults hydrates default values in the get engine params (not the query body).
All values with no default are reset to their zero value.
func (*GetEngineParams) SetHTTPClient ¶
func (o *GetEngineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get engine params
func (*GetEngineParams) SetName ¶
func (o *GetEngineParams) SetName(name string)
SetName adds the name to the get engine params
func (*GetEngineParams) SetTimeout ¶
func (o *GetEngineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get engine params
func (*GetEngineParams) WithContext ¶
func (o *GetEngineParams) WithContext(ctx context.Context) *GetEngineParams
WithContext adds the context to the get engine params
func (*GetEngineParams) WithDefaults ¶
func (o *GetEngineParams) WithDefaults() *GetEngineParams
WithDefaults hydrates default values in the get engine params (not the query body).
All values with no default are reset to their zero value.
func (*GetEngineParams) WithHTTPClient ¶
func (o *GetEngineParams) WithHTTPClient(client *http.Client) *GetEngineParams
WithHTTPClient adds the HTTPClient to the get engine params
func (*GetEngineParams) WithName ¶
func (o *GetEngineParams) WithName(name string) *GetEngineParams
WithName adds the name to the get engine params
func (*GetEngineParams) WithTimeout ¶
func (o *GetEngineParams) WithTimeout(timeout time.Duration) *GetEngineParams
WithTimeout adds the timeout to the get engine params
func (*GetEngineParams) WriteToRequest ¶
func (o *GetEngineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEngineReader ¶
type GetEngineReader struct {
// contains filtered or unexported fields
}
GetEngineReader is a Reader for the GetEngine structure.
func (*GetEngineReader) ReadResponse ¶
func (o *GetEngineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEngineUnauthorized ¶
type GetEngineUnauthorized struct {
}GetEngineUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetEngineUnauthorized ¶
func NewGetEngineUnauthorized() *GetEngineUnauthorized
NewGetEngineUnauthorized creates a GetEngineUnauthorized with default headers values
func (*GetEngineUnauthorized) Error ¶
func (o *GetEngineUnauthorized) Error() string
func (*GetEngineUnauthorized) GetPayload ¶
func (o *GetEngineUnauthorized) GetPayload() *models.HTTPError
func (*GetEngineUnauthorized) IsClientError ¶
func (o *GetEngineUnauthorized) IsClientError() bool
IsClientError returns true when this get engine unauthorized response has a 4xx status code
func (*GetEngineUnauthorized) IsCode ¶
func (o *GetEngineUnauthorized) IsCode(code int) bool
IsCode returns true when this get engine unauthorized response a status code equal to that given
func (*GetEngineUnauthorized) IsRedirect ¶
func (o *GetEngineUnauthorized) IsRedirect() bool
IsRedirect returns true when this get engine unauthorized response has a 3xx status code
func (*GetEngineUnauthorized) IsServerError ¶
func (o *GetEngineUnauthorized) IsServerError() bool
IsServerError returns true when this get engine unauthorized response has a 5xx status code
func (*GetEngineUnauthorized) IsSuccess ¶
func (o *GetEngineUnauthorized) IsSuccess() bool
IsSuccess returns true when this get engine unauthorized response has a 2xx status code
func (*GetEngineUnauthorized) String ¶
func (o *GetEngineUnauthorized) String() string
type ListEnginesBadRequest ¶
ListEnginesBadRequest describes a response with status code 400, with default header values.
bad request
func NewListEnginesBadRequest ¶
func NewListEnginesBadRequest() *ListEnginesBadRequest
NewListEnginesBadRequest creates a ListEnginesBadRequest with default headers values
func (*ListEnginesBadRequest) Error ¶
func (o *ListEnginesBadRequest) Error() string
func (*ListEnginesBadRequest) GetPayload ¶
func (o *ListEnginesBadRequest) GetPayload() *models.HTTPError
func (*ListEnginesBadRequest) IsClientError ¶
func (o *ListEnginesBadRequest) IsClientError() bool
IsClientError returns true when this list engines bad request response has a 4xx status code
func (*ListEnginesBadRequest) IsCode ¶
func (o *ListEnginesBadRequest) IsCode(code int) bool
IsCode returns true when this list engines bad request response a status code equal to that given
func (*ListEnginesBadRequest) IsRedirect ¶
func (o *ListEnginesBadRequest) IsRedirect() bool
IsRedirect returns true when this list engines bad request response has a 3xx status code
func (*ListEnginesBadRequest) IsServerError ¶
func (o *ListEnginesBadRequest) IsServerError() bool
IsServerError returns true when this list engines bad request response has a 5xx status code
func (*ListEnginesBadRequest) IsSuccess ¶
func (o *ListEnginesBadRequest) IsSuccess() bool
IsSuccess returns true when this list engines bad request response has a 2xx status code
func (*ListEnginesBadRequest) String ¶
func (o *ListEnginesBadRequest) String() string
type ListEnginesForbidden ¶
ListEnginesForbidden describes a response with status code 403, with default header values.
forbidden
func NewListEnginesForbidden ¶
func NewListEnginesForbidden() *ListEnginesForbidden
NewListEnginesForbidden creates a ListEnginesForbidden with default headers values
func (*ListEnginesForbidden) Error ¶
func (o *ListEnginesForbidden) Error() string
func (*ListEnginesForbidden) GetPayload ¶
func (o *ListEnginesForbidden) GetPayload() *models.HTTPError
func (*ListEnginesForbidden) IsClientError ¶
func (o *ListEnginesForbidden) IsClientError() bool
IsClientError returns true when this list engines forbidden response has a 4xx status code
func (*ListEnginesForbidden) IsCode ¶
func (o *ListEnginesForbidden) IsCode(code int) bool
IsCode returns true when this list engines forbidden response a status code equal to that given
func (*ListEnginesForbidden) IsRedirect ¶
func (o *ListEnginesForbidden) IsRedirect() bool
IsRedirect returns true when this list engines forbidden response has a 3xx status code
func (*ListEnginesForbidden) IsServerError ¶
func (o *ListEnginesForbidden) IsServerError() bool
IsServerError returns true when this list engines forbidden response has a 5xx status code
func (*ListEnginesForbidden) IsSuccess ¶
func (o *ListEnginesForbidden) IsSuccess() bool
IsSuccess returns true when this list engines forbidden response has a 2xx status code
func (*ListEnginesForbidden) String ¶
func (o *ListEnginesForbidden) String() string
type ListEnginesInternalServerError ¶
ListEnginesInternalServerError describes a response with status code 500, with default header values.
server error
func NewListEnginesInternalServerError ¶
func NewListEnginesInternalServerError() *ListEnginesInternalServerError
NewListEnginesInternalServerError creates a ListEnginesInternalServerError with default headers values
func (*ListEnginesInternalServerError) Error ¶
func (o *ListEnginesInternalServerError) Error() string
func (*ListEnginesInternalServerError) GetPayload ¶
func (o *ListEnginesInternalServerError) GetPayload() *models.HTTPError
func (*ListEnginesInternalServerError) IsClientError ¶
func (o *ListEnginesInternalServerError) IsClientError() bool
IsClientError returns true when this list engines internal server error response has a 4xx status code
func (*ListEnginesInternalServerError) IsCode ¶
func (o *ListEnginesInternalServerError) IsCode(code int) bool
IsCode returns true when this list engines internal server error response a status code equal to that given
func (*ListEnginesInternalServerError) IsRedirect ¶
func (o *ListEnginesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list engines internal server error response has a 3xx status code
func (*ListEnginesInternalServerError) IsServerError ¶
func (o *ListEnginesInternalServerError) IsServerError() bool
IsServerError returns true when this list engines internal server error response has a 5xx status code
func (*ListEnginesInternalServerError) IsSuccess ¶
func (o *ListEnginesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list engines internal server error response has a 2xx status code
func (*ListEnginesInternalServerError) String ¶
func (o *ListEnginesInternalServerError) String() string
type ListEnginesOK ¶
type ListEnginesOK struct {
Payload *models.EngineListResult
}
ListEnginesOK describes a response with status code 200, with default header values.
no error
func NewListEnginesOK ¶
func NewListEnginesOK() *ListEnginesOK
NewListEnginesOK creates a ListEnginesOK with default headers values
func (*ListEnginesOK) Error ¶
func (o *ListEnginesOK) Error() string
func (*ListEnginesOK) GetPayload ¶
func (o *ListEnginesOK) GetPayload() *models.EngineListResult
func (*ListEnginesOK) IsClientError ¶
func (o *ListEnginesOK) IsClientError() bool
IsClientError returns true when this list engines o k response has a 4xx status code
func (*ListEnginesOK) IsCode ¶
func (o *ListEnginesOK) IsCode(code int) bool
IsCode returns true when this list engines o k response a status code equal to that given
func (*ListEnginesOK) IsRedirect ¶
func (o *ListEnginesOK) IsRedirect() bool
IsRedirect returns true when this list engines o k response has a 3xx status code
func (*ListEnginesOK) IsServerError ¶
func (o *ListEnginesOK) IsServerError() bool
IsServerError returns true when this list engines o k response has a 5xx status code
func (*ListEnginesOK) IsSuccess ¶
func (o *ListEnginesOK) IsSuccess() bool
IsSuccess returns true when this list engines o k response has a 2xx status code
func (*ListEnginesOK) String ¶
func (o *ListEnginesOK) String() string
type ListEnginesParams ¶
type ListEnginesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListEnginesParams contains all the parameters to send to the API endpoint
for the list engines operation. Typically these are written to a http.Request.
func NewListEnginesParams ¶
func NewListEnginesParams() *ListEnginesParams
NewListEnginesParams creates a new ListEnginesParams 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 NewListEnginesParamsWithContext ¶
func NewListEnginesParamsWithContext(ctx context.Context) *ListEnginesParams
NewListEnginesParamsWithContext creates a new ListEnginesParams object with the ability to set a context for a request.
func NewListEnginesParamsWithHTTPClient ¶
func NewListEnginesParamsWithHTTPClient(client *http.Client) *ListEnginesParams
NewListEnginesParamsWithHTTPClient creates a new ListEnginesParams object with the ability to set a custom HTTPClient for a request.
func NewListEnginesParamsWithTimeout ¶
func NewListEnginesParamsWithTimeout(timeout time.Duration) *ListEnginesParams
NewListEnginesParamsWithTimeout creates a new ListEnginesParams object with the ability to set a timeout on a request.
func (*ListEnginesParams) SetContext ¶
func (o *ListEnginesParams) SetContext(ctx context.Context)
SetContext adds the context to the list engines params
func (*ListEnginesParams) SetDefaults ¶
func (o *ListEnginesParams) SetDefaults()
SetDefaults hydrates default values in the list engines params (not the query body).
All values with no default are reset to their zero value.
func (*ListEnginesParams) SetHTTPClient ¶
func (o *ListEnginesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list engines params
func (*ListEnginesParams) SetTimeout ¶
func (o *ListEnginesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list engines params
func (*ListEnginesParams) WithContext ¶
func (o *ListEnginesParams) WithContext(ctx context.Context) *ListEnginesParams
WithContext adds the context to the list engines params
func (*ListEnginesParams) WithDefaults ¶
func (o *ListEnginesParams) WithDefaults() *ListEnginesParams
WithDefaults hydrates default values in the list engines params (not the query body).
All values with no default are reset to their zero value.
func (*ListEnginesParams) WithHTTPClient ¶
func (o *ListEnginesParams) WithHTTPClient(client *http.Client) *ListEnginesParams
WithHTTPClient adds the HTTPClient to the list engines params
func (*ListEnginesParams) WithTimeout ¶
func (o *ListEnginesParams) WithTimeout(timeout time.Duration) *ListEnginesParams
WithTimeout adds the timeout to the list engines params
func (*ListEnginesParams) WriteToRequest ¶
func (o *ListEnginesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListEnginesReader ¶
type ListEnginesReader struct {
// contains filtered or unexported fields
}
ListEnginesReader is a Reader for the ListEngines structure.
func (*ListEnginesReader) ReadResponse ¶
func (o *ListEnginesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListEnginesUnauthorized ¶
type ListEnginesUnauthorized struct {
}ListEnginesUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewListEnginesUnauthorized ¶
func NewListEnginesUnauthorized() *ListEnginesUnauthorized
NewListEnginesUnauthorized creates a ListEnginesUnauthorized with default headers values
func (*ListEnginesUnauthorized) Error ¶
func (o *ListEnginesUnauthorized) Error() string
func (*ListEnginesUnauthorized) GetPayload ¶
func (o *ListEnginesUnauthorized) GetPayload() *models.HTTPError
func (*ListEnginesUnauthorized) IsClientError ¶
func (o *ListEnginesUnauthorized) IsClientError() bool
IsClientError returns true when this list engines unauthorized response has a 4xx status code
func (*ListEnginesUnauthorized) IsCode ¶
func (o *ListEnginesUnauthorized) IsCode(code int) bool
IsCode returns true when this list engines unauthorized response a status code equal to that given
func (*ListEnginesUnauthorized) IsRedirect ¶
func (o *ListEnginesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list engines unauthorized response has a 3xx status code
func (*ListEnginesUnauthorized) IsServerError ¶
func (o *ListEnginesUnauthorized) IsServerError() bool
IsServerError returns true when this list engines unauthorized response has a 5xx status code
func (*ListEnginesUnauthorized) IsSuccess ¶
func (o *ListEnginesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list engines unauthorized response has a 2xx status code
func (*ListEnginesUnauthorized) String ¶
func (o *ListEnginesUnauthorized) String() string
type PingEngineBadRequest ¶
PingEngineBadRequest describes a response with status code 400, with default header values.
bad request
func NewPingEngineBadRequest ¶
func NewPingEngineBadRequest() *PingEngineBadRequest
NewPingEngineBadRequest creates a PingEngineBadRequest with default headers values
func (*PingEngineBadRequest) Error ¶
func (o *PingEngineBadRequest) Error() string
func (*PingEngineBadRequest) GetPayload ¶
func (o *PingEngineBadRequest) GetPayload() *models.HTTPError
func (*PingEngineBadRequest) IsClientError ¶
func (o *PingEngineBadRequest) IsClientError() bool
IsClientError returns true when this ping engine bad request response has a 4xx status code
func (*PingEngineBadRequest) IsCode ¶
func (o *PingEngineBadRequest) IsCode(code int) bool
IsCode returns true when this ping engine bad request response a status code equal to that given
func (*PingEngineBadRequest) IsRedirect ¶
func (o *PingEngineBadRequest) IsRedirect() bool
IsRedirect returns true when this ping engine bad request response has a 3xx status code
func (*PingEngineBadRequest) IsServerError ¶
func (o *PingEngineBadRequest) IsServerError() bool
IsServerError returns true when this ping engine bad request response has a 5xx status code
func (*PingEngineBadRequest) IsSuccess ¶
func (o *PingEngineBadRequest) IsSuccess() bool
IsSuccess returns true when this ping engine bad request response has a 2xx status code
func (*PingEngineBadRequest) String ¶
func (o *PingEngineBadRequest) String() string
type PingEngineForbidden ¶
PingEngineForbidden describes a response with status code 403, with default header values.
forbidden
func NewPingEngineForbidden ¶
func NewPingEngineForbidden() *PingEngineForbidden
NewPingEngineForbidden creates a PingEngineForbidden with default headers values
func (*PingEngineForbidden) Error ¶
func (o *PingEngineForbidden) Error() string
func (*PingEngineForbidden) GetPayload ¶
func (o *PingEngineForbidden) GetPayload() *models.HTTPError
func (*PingEngineForbidden) IsClientError ¶
func (o *PingEngineForbidden) IsClientError() bool
IsClientError returns true when this ping engine forbidden response has a 4xx status code
func (*PingEngineForbidden) IsCode ¶
func (o *PingEngineForbidden) IsCode(code int) bool
IsCode returns true when this ping engine forbidden response a status code equal to that given
func (*PingEngineForbidden) IsRedirect ¶
func (o *PingEngineForbidden) IsRedirect() bool
IsRedirect returns true when this ping engine forbidden response has a 3xx status code
func (*PingEngineForbidden) IsServerError ¶
func (o *PingEngineForbidden) IsServerError() bool
IsServerError returns true when this ping engine forbidden response has a 5xx status code
func (*PingEngineForbidden) IsSuccess ¶
func (o *PingEngineForbidden) IsSuccess() bool
IsSuccess returns true when this ping engine forbidden response has a 2xx status code
func (*PingEngineForbidden) String ¶
func (o *PingEngineForbidden) String() string
type PingEngineInternalServerError ¶
PingEngineInternalServerError describes a response with status code 500, with default header values.
server error
func NewPingEngineInternalServerError ¶
func NewPingEngineInternalServerError() *PingEngineInternalServerError
NewPingEngineInternalServerError creates a PingEngineInternalServerError with default headers values
func (*PingEngineInternalServerError) Error ¶
func (o *PingEngineInternalServerError) Error() string
func (*PingEngineInternalServerError) GetPayload ¶
func (o *PingEngineInternalServerError) GetPayload() *models.HTTPError
func (*PingEngineInternalServerError) IsClientError ¶
func (o *PingEngineInternalServerError) IsClientError() bool
IsClientError returns true when this ping engine internal server error response has a 4xx status code
func (*PingEngineInternalServerError) IsCode ¶
func (o *PingEngineInternalServerError) IsCode(code int) bool
IsCode returns true when this ping engine internal server error response a status code equal to that given
func (*PingEngineInternalServerError) IsRedirect ¶
func (o *PingEngineInternalServerError) IsRedirect() bool
IsRedirect returns true when this ping engine internal server error response has a 3xx status code
func (*PingEngineInternalServerError) IsServerError ¶
func (o *PingEngineInternalServerError) IsServerError() bool
IsServerError returns true when this ping engine internal server error response has a 5xx status code
func (*PingEngineInternalServerError) IsSuccess ¶
func (o *PingEngineInternalServerError) IsSuccess() bool
IsSuccess returns true when this ping engine internal server error response has a 2xx status code
func (*PingEngineInternalServerError) String ¶
func (o *PingEngineInternalServerError) String() string
type PingEngineOK ¶
type PingEngineOK struct {
Payload *models.PingResponse
}
PingEngineOK describes a response with status code 200, with default header values.
no error
func NewPingEngineOK ¶
func NewPingEngineOK() *PingEngineOK
NewPingEngineOK creates a PingEngineOK with default headers values
func (*PingEngineOK) Error ¶
func (o *PingEngineOK) Error() string
func (*PingEngineOK) GetPayload ¶
func (o *PingEngineOK) GetPayload() *models.PingResponse
func (*PingEngineOK) IsClientError ¶
func (o *PingEngineOK) IsClientError() bool
IsClientError returns true when this ping engine o k response has a 4xx status code
func (*PingEngineOK) IsCode ¶
func (o *PingEngineOK) IsCode(code int) bool
IsCode returns true when this ping engine o k response a status code equal to that given
func (*PingEngineOK) IsRedirect ¶
func (o *PingEngineOK) IsRedirect() bool
IsRedirect returns true when this ping engine o k response has a 3xx status code
func (*PingEngineOK) IsServerError ¶
func (o *PingEngineOK) IsServerError() bool
IsServerError returns true when this ping engine o k response has a 5xx status code
func (*PingEngineOK) IsSuccess ¶
func (o *PingEngineOK) IsSuccess() bool
IsSuccess returns true when this ping engine o k response has a 2xx status code
func (*PingEngineOK) String ¶
func (o *PingEngineOK) String() string
type PingEngineParams ¶
type PingEngineParams struct { /* Name. Name of engine */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PingEngineParams contains all the parameters to send to the API endpoint
for the ping engine operation. Typically these are written to a http.Request.
func NewPingEngineParams ¶
func NewPingEngineParams() *PingEngineParams
NewPingEngineParams creates a new PingEngineParams 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 NewPingEngineParamsWithContext ¶
func NewPingEngineParamsWithContext(ctx context.Context) *PingEngineParams
NewPingEngineParamsWithContext creates a new PingEngineParams object with the ability to set a context for a request.
func NewPingEngineParamsWithHTTPClient ¶
func NewPingEngineParamsWithHTTPClient(client *http.Client) *PingEngineParams
NewPingEngineParamsWithHTTPClient creates a new PingEngineParams object with the ability to set a custom HTTPClient for a request.
func NewPingEngineParamsWithTimeout ¶
func NewPingEngineParamsWithTimeout(timeout time.Duration) *PingEngineParams
NewPingEngineParamsWithTimeout creates a new PingEngineParams object with the ability to set a timeout on a request.
func (*PingEngineParams) SetContext ¶
func (o *PingEngineParams) SetContext(ctx context.Context)
SetContext adds the context to the ping engine params
func (*PingEngineParams) SetDefaults ¶
func (o *PingEngineParams) SetDefaults()
SetDefaults hydrates default values in the ping engine params (not the query body).
All values with no default are reset to their zero value.
func (*PingEngineParams) SetHTTPClient ¶
func (o *PingEngineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ping engine params
func (*PingEngineParams) SetName ¶
func (o *PingEngineParams) SetName(name string)
SetName adds the name to the ping engine params
func (*PingEngineParams) SetTimeout ¶
func (o *PingEngineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ping engine params
func (*PingEngineParams) WithContext ¶
func (o *PingEngineParams) WithContext(ctx context.Context) *PingEngineParams
WithContext adds the context to the ping engine params
func (*PingEngineParams) WithDefaults ¶
func (o *PingEngineParams) WithDefaults() *PingEngineParams
WithDefaults hydrates default values in the ping engine params (not the query body).
All values with no default are reset to their zero value.
func (*PingEngineParams) WithHTTPClient ¶
func (o *PingEngineParams) WithHTTPClient(client *http.Client) *PingEngineParams
WithHTTPClient adds the HTTPClient to the ping engine params
func (*PingEngineParams) WithName ¶
func (o *PingEngineParams) WithName(name string) *PingEngineParams
WithName adds the name to the ping engine params
func (*PingEngineParams) WithTimeout ¶
func (o *PingEngineParams) WithTimeout(timeout time.Duration) *PingEngineParams
WithTimeout adds the timeout to the ping engine params
func (*PingEngineParams) WriteToRequest ¶
func (o *PingEngineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PingEngineReader ¶
type PingEngineReader struct {
// contains filtered or unexported fields
}
PingEngineReader is a Reader for the PingEngine structure.
func (*PingEngineReader) ReadResponse ¶
func (o *PingEngineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PingEngineUnauthorized ¶
type PingEngineUnauthorized struct {
}PingEngineUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewPingEngineUnauthorized ¶
func NewPingEngineUnauthorized() *PingEngineUnauthorized
NewPingEngineUnauthorized creates a PingEngineUnauthorized with default headers values
func (*PingEngineUnauthorized) Error ¶
func (o *PingEngineUnauthorized) Error() string
func (*PingEngineUnauthorized) GetPayload ¶
func (o *PingEngineUnauthorized) GetPayload() *models.HTTPError
func (*PingEngineUnauthorized) IsClientError ¶
func (o *PingEngineUnauthorized) IsClientError() bool
IsClientError returns true when this ping engine unauthorized response has a 4xx status code
func (*PingEngineUnauthorized) IsCode ¶
func (o *PingEngineUnauthorized) IsCode(code int) bool
IsCode returns true when this ping engine unauthorized response a status code equal to that given
func (*PingEngineUnauthorized) IsRedirect ¶
func (o *PingEngineUnauthorized) IsRedirect() bool
IsRedirect returns true when this ping engine unauthorized response has a 3xx status code
func (*PingEngineUnauthorized) IsServerError ¶
func (o *PingEngineUnauthorized) IsServerError() bool
IsServerError returns true when this ping engine unauthorized response has a 5xx status code
func (*PingEngineUnauthorized) IsSuccess ¶
func (o *PingEngineUnauthorized) IsSuccess() bool
IsSuccess returns true when this ping engine unauthorized response has a 2xx status code
func (*PingEngineUnauthorized) String ¶
func (o *PingEngineUnauthorized) String() string