engines

package
v0.0.0-...-cfedc03 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

type CreateEngineBadRequest struct {
	Payload *models.HTTPError
}
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

type CreateEngineForbidden struct {
	Payload *models.HTTPError
}
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

type CreateEngineInternalServerError struct {
	Payload *models.HTTPError
}
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 (*CreateEngineInternalServerError) GetPayload

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

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

WithBody adds the body to the create engine params

func (*CreateEngineParams) WithContext

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 {
	Payload *models.HTTPError
}
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

type DeleteEngineBadRequest struct {
	Payload *models.HTTPError
}
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

type DeleteEngineForbidden struct {
	Payload *models.HTTPError
}
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

type DeleteEngineInternalServerError struct {
	Payload *models.HTTPError
}
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 (*DeleteEngineInternalServerError) GetPayload

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

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

type DeleteEngineNotFound struct {
	Payload *models.HTTPError
}
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

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 {
	Payload *models.HTTPError
}
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

type GetEngineBadRequest struct {
	Payload *models.HTTPError
}
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

type GetEngineForbidden struct {
	Payload *models.HTTPError
}
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

type GetEngineInternalServerError struct {
	Payload *models.HTTPError
}
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 (*GetEngineInternalServerError) GetPayload

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

type GetEngineNotFound

type GetEngineNotFound struct {
	Payload *models.HTTPError
}
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

type GetEngineOK struct {
	Payload *models.Engine
}
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 {
	Payload *models.HTTPError
}
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

type ListEnginesBadRequest struct {
	Payload *models.HTTPError
}
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

type ListEnginesForbidden struct {
	Payload *models.HTTPError
}
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

type ListEnginesInternalServerError struct {
	Payload *models.HTTPError
}
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 (*ListEnginesInternalServerError) GetPayload

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

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 {
	Payload *models.HTTPError
}
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

type PingEngineBadRequest struct {
	Payload *models.HTTPError
}
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

type PingEngineForbidden struct {
	Payload *models.HTTPError
}
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

type PingEngineInternalServerError struct {
	Payload *models.HTTPError
}
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 (*PingEngineInternalServerError) GetPayload

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

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 {
	Payload *models.HTTPError
}
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

Jump to

Keyboard shortcuts

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