preheat

package
v0.0.0-...-8115ff7 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 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 preheat API

func (*Client) CreateInstance

func (a *Client) CreateInstance(params *CreateInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateInstanceCreated, error)

CreateInstance creates p2p provider instances

Create p2p provider instances

func (*Client) CreatePolicy

func (a *Client) CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)

CreatePolicy creates a preheat policy under a project

Create a preheat policy under a project

func (*Client) DeleteInstance

func (a *Client) DeleteInstance(params *DeleteInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInstanceOK, error)

DeleteInstance deletes the specified p2 p provider instance

Delete the specified P2P provider instance

func (*Client) DeletePolicy

func (a *Client) DeletePolicy(params *DeletePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePolicyOK, error)

DeletePolicy deletes a preheat policy

Delete a preheat policy

func (*Client) GetExecution

func (a *Client) GetExecution(params *GetExecutionParams, authInfo runtime.ClientAuthInfoWriter) (*GetExecutionOK, error)

GetExecution gets a execution detail by id

Get a execution detail by id

func (*Client) GetInstance

func (a *Client) GetInstance(params *GetInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*GetInstanceOK, error)

GetInstance gets a p2 p provider instance

Get a P2P provider instance

func (*Client) GetPolicy

func (a *Client) GetPolicy(params *GetPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*GetPolicyOK, error)

GetPolicy gets a preheat policy

Get a preheat policy

func (*Client) GetPreheatLog

func (a *Client) GetPreheatLog(params *GetPreheatLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetPreheatLogOK, error)

GetPreheatLog gets the log text stream of the specified task for the given execution

Get the log text stream of the specified task for the given execution

func (*Client) ListExecutions

func (a *Client) ListExecutions(params *ListExecutionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListExecutionsOK, error)

ListExecutions lists executions for the given policy

List executions for the given policy

func (*Client) ListInstances

func (a *Client) ListInstances(params *ListInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*ListInstancesOK, error)

ListInstances lists p2 p provider instances

List P2P provider instances

func (*Client) ListPolicies

func (a *Client) ListPolicies(params *ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListPoliciesOK, error)

ListPolicies lists preheat policies

List preheat policies

func (*Client) ListProviders

func (a *Client) ListProviders(params *ListProvidersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersOK, error)

ListProviders lists p2 p providers

List P2P providers

func (*Client) ListProvidersUnderProject

func (a *Client) ListProvidersUnderProject(params *ListProvidersUnderProjectParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersUnderProjectOK, error)

ListProvidersUnderProject gets all providers at project level

Get all providers at project level

func (*Client) ListTasks

func (a *Client) ListTasks(params *ListTasksParams, authInfo runtime.ClientAuthInfoWriter) (*ListTasksOK, error)

ListTasks lists all the related tasks for the given execution

List all the related tasks for the given execution

func (*Client) ManualPreheat

func (a *Client) ManualPreheat(params *ManualPreheatParams, authInfo runtime.ClientAuthInfoWriter) (*ManualPreheatCreated, error)

ManualPreheat manuals preheat

Manual preheat

func (*Client) PingInstances

func (a *Client) PingInstances(params *PingInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*PingInstancesOK, error)

PingInstances pings status of a instance

This endpoint checks status of a instance, the instance can be given by ID or Endpoint URL (together with credential)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StopExecution

func (a *Client) StopExecution(params *StopExecutionParams, authInfo runtime.ClientAuthInfoWriter) (*StopExecutionOK, error)

StopExecution stops a execution

Stop a execution

func (*Client) UpdateInstance

func (a *Client) UpdateInstance(params *UpdateInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateInstanceOK, error)

UpdateInstance updates the specified p2 p provider instance

Update the specified P2P provider instance

func (*Client) UpdatePolicy

func (a *Client) UpdatePolicy(params *UpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyOK, error)

UpdatePolicy updates preheat policy

Update preheat policy

type ClientService

type ClientService interface {
	CreateInstance(params *CreateInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateInstanceCreated, error)

	CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePolicyCreated, error)

	DeleteInstance(params *DeleteInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteInstanceOK, error)

	DeletePolicy(params *DeletePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePolicyOK, error)

	GetExecution(params *GetExecutionParams, authInfo runtime.ClientAuthInfoWriter) (*GetExecutionOK, error)

	GetInstance(params *GetInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*GetInstanceOK, error)

	GetPolicy(params *GetPolicyParams, authInfo runtime.ClientAuthInfoWriter) (*GetPolicyOK, error)

	GetPreheatLog(params *GetPreheatLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetPreheatLogOK, error)

	ListExecutions(params *ListExecutionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListExecutionsOK, error)

	ListInstances(params *ListInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*ListInstancesOK, error)

	ListPolicies(params *ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListPoliciesOK, error)

	ListProviders(params *ListProvidersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersOK, error)

	ListProvidersUnderProject(params *ListProvidersUnderProjectParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersUnderProjectOK, error)

	ListTasks(params *ListTasksParams, authInfo runtime.ClientAuthInfoWriter) (*ListTasksOK, error)

	ManualPreheat(params *ManualPreheatParams, authInfo runtime.ClientAuthInfoWriter) (*ManualPreheatCreated, error)

	PingInstances(params *PingInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*PingInstancesOK, error)

	StopExecution(params *StopExecutionParams, authInfo runtime.ClientAuthInfoWriter) (*StopExecutionOK, error)

	UpdateInstance(params *UpdateInstanceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateInstanceOK, error)

	UpdatePolicy(params *UpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePolicyOK, 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 preheat API client.

type CreateInstanceBadRequest

type CreateInstanceBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreateInstanceBadRequest handles this case with default header values.

Bad request

func NewCreateInstanceBadRequest

func NewCreateInstanceBadRequest() *CreateInstanceBadRequest

NewCreateInstanceBadRequest creates a CreateInstanceBadRequest with default headers values

func (*CreateInstanceBadRequest) Error

func (o *CreateInstanceBadRequest) Error() string

func (*CreateInstanceBadRequest) GetPayload

func (o *CreateInstanceBadRequest) GetPayload() *models.Errors

type CreateInstanceConflict

type CreateInstanceConflict struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreateInstanceConflict handles this case with default header values.

Conflict

func NewCreateInstanceConflict

func NewCreateInstanceConflict() *CreateInstanceConflict

NewCreateInstanceConflict creates a CreateInstanceConflict with default headers values

func (*CreateInstanceConflict) Error

func (o *CreateInstanceConflict) Error() string

func (*CreateInstanceConflict) GetPayload

func (o *CreateInstanceConflict) GetPayload() *models.Errors

type CreateInstanceCreated

type CreateInstanceCreated struct {
	/*The location of the resource
	 */
	Location string
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

CreateInstanceCreated handles this case with default header values.

Created

func NewCreateInstanceCreated

func NewCreateInstanceCreated() *CreateInstanceCreated

NewCreateInstanceCreated creates a CreateInstanceCreated with default headers values

func (*CreateInstanceCreated) Error

func (o *CreateInstanceCreated) Error() string

type CreateInstanceForbidden

type CreateInstanceForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreateInstanceForbidden handles this case with default header values.

Forbidden

func NewCreateInstanceForbidden

func NewCreateInstanceForbidden() *CreateInstanceForbidden

NewCreateInstanceForbidden creates a CreateInstanceForbidden with default headers values

func (*CreateInstanceForbidden) Error

func (o *CreateInstanceForbidden) Error() string

func (*CreateInstanceForbidden) GetPayload

func (o *CreateInstanceForbidden) GetPayload() *models.Errors

type CreateInstanceInternalServerError

type CreateInstanceInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreateInstanceInternalServerError handles this case with default header values.

Internal server error

func NewCreateInstanceInternalServerError

func NewCreateInstanceInternalServerError() *CreateInstanceInternalServerError

NewCreateInstanceInternalServerError creates a CreateInstanceInternalServerError with default headers values

func (*CreateInstanceInternalServerError) Error

func (*CreateInstanceInternalServerError) GetPayload

type CreateInstanceNotFound

type CreateInstanceNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreateInstanceNotFound handles this case with default header values.

Not found

func NewCreateInstanceNotFound

func NewCreateInstanceNotFound() *CreateInstanceNotFound

NewCreateInstanceNotFound creates a CreateInstanceNotFound with default headers values

func (*CreateInstanceNotFound) Error

func (o *CreateInstanceNotFound) Error() string

func (*CreateInstanceNotFound) GetPayload

func (o *CreateInstanceNotFound) GetPayload() *models.Errors

type CreateInstanceParams

type CreateInstanceParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Instance
	  The JSON object of instance.

	*/
	Instance *models.Instance

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

CreateInstanceParams contains all the parameters to send to the API endpoint for the create instance operation typically these are written to a http.Request

func NewCreateInstanceParams

func NewCreateInstanceParams() *CreateInstanceParams

NewCreateInstanceParams creates a new CreateInstanceParams object with the default values initialized.

func NewCreateInstanceParamsWithContext

func NewCreateInstanceParamsWithContext(ctx context.Context) *CreateInstanceParams

NewCreateInstanceParamsWithContext creates a new CreateInstanceParams object with the default values initialized, and the ability to set a context for a request

func NewCreateInstanceParamsWithHTTPClient

func NewCreateInstanceParamsWithHTTPClient(client *http.Client) *CreateInstanceParams

NewCreateInstanceParamsWithHTTPClient creates a new CreateInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateInstanceParamsWithTimeout

func NewCreateInstanceParamsWithTimeout(timeout time.Duration) *CreateInstanceParams

NewCreateInstanceParamsWithTimeout creates a new CreateInstanceParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateInstanceParams) SetContext

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

SetContext adds the context to the create instance params

func (*CreateInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create instance params

func (*CreateInstanceParams) SetInstance

func (o *CreateInstanceParams) SetInstance(instance *models.Instance)

SetInstance adds the instance to the create instance params

func (*CreateInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the create instance params

func (*CreateInstanceParams) SetXRequestID

func (o *CreateInstanceParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create instance params

func (*CreateInstanceParams) WithContext

WithContext adds the context to the create instance params

func (*CreateInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create instance params

func (*CreateInstanceParams) WithInstance

func (o *CreateInstanceParams) WithInstance(instance *models.Instance) *CreateInstanceParams

WithInstance adds the instance to the create instance params

func (*CreateInstanceParams) WithTimeout

func (o *CreateInstanceParams) WithTimeout(timeout time.Duration) *CreateInstanceParams

WithTimeout adds the timeout to the create instance params

func (*CreateInstanceParams) WithXRequestID

func (o *CreateInstanceParams) WithXRequestID(xRequestID *string) *CreateInstanceParams

WithXRequestID adds the xRequestID to the create instance params

func (*CreateInstanceParams) WriteToRequest

func (o *CreateInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateInstanceReader

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

CreateInstanceReader is a Reader for the CreateInstance structure.

func (*CreateInstanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateInstanceUnauthorized

type CreateInstanceUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreateInstanceUnauthorized handles this case with default header values.

Unauthorized

func NewCreateInstanceUnauthorized

func NewCreateInstanceUnauthorized() *CreateInstanceUnauthorized

NewCreateInstanceUnauthorized creates a CreateInstanceUnauthorized with default headers values

func (*CreateInstanceUnauthorized) Error

func (*CreateInstanceUnauthorized) GetPayload

func (o *CreateInstanceUnauthorized) GetPayload() *models.Errors

type CreatePolicyBadRequest

type CreatePolicyBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreatePolicyBadRequest handles this case with default header values.

Bad request

func NewCreatePolicyBadRequest

func NewCreatePolicyBadRequest() *CreatePolicyBadRequest

NewCreatePolicyBadRequest creates a CreatePolicyBadRequest with default headers values

func (*CreatePolicyBadRequest) Error

func (o *CreatePolicyBadRequest) Error() string

func (*CreatePolicyBadRequest) GetPayload

func (o *CreatePolicyBadRequest) GetPayload() *models.Errors

type CreatePolicyConflict

type CreatePolicyConflict struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreatePolicyConflict handles this case with default header values.

Conflict

func NewCreatePolicyConflict

func NewCreatePolicyConflict() *CreatePolicyConflict

NewCreatePolicyConflict creates a CreatePolicyConflict with default headers values

func (*CreatePolicyConflict) Error

func (o *CreatePolicyConflict) Error() string

func (*CreatePolicyConflict) GetPayload

func (o *CreatePolicyConflict) GetPayload() *models.Errors

type CreatePolicyCreated

type CreatePolicyCreated struct {
	/*The location of the resource
	 */
	Location string
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

CreatePolicyCreated handles this case with default header values.

Created

func NewCreatePolicyCreated

func NewCreatePolicyCreated() *CreatePolicyCreated

NewCreatePolicyCreated creates a CreatePolicyCreated with default headers values

func (*CreatePolicyCreated) Error

func (o *CreatePolicyCreated) Error() string

type CreatePolicyForbidden

type CreatePolicyForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreatePolicyForbidden handles this case with default header values.

Forbidden

func NewCreatePolicyForbidden

func NewCreatePolicyForbidden() *CreatePolicyForbidden

NewCreatePolicyForbidden creates a CreatePolicyForbidden with default headers values

func (*CreatePolicyForbidden) Error

func (o *CreatePolicyForbidden) Error() string

func (*CreatePolicyForbidden) GetPayload

func (o *CreatePolicyForbidden) GetPayload() *models.Errors

type CreatePolicyInternalServerError

type CreatePolicyInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreatePolicyInternalServerError handles this case with default header values.

Internal server error

func NewCreatePolicyInternalServerError

func NewCreatePolicyInternalServerError() *CreatePolicyInternalServerError

NewCreatePolicyInternalServerError creates a CreatePolicyInternalServerError with default headers values

func (*CreatePolicyInternalServerError) Error

func (*CreatePolicyInternalServerError) GetPayload

type CreatePolicyParams

type CreatePolicyParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Policy
	  The policy schema info

	*/
	Policy *models.PreheatPolicy
	/*ProjectName
	  The name of the project

	*/
	ProjectName string

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

CreatePolicyParams contains all the parameters to send to the API endpoint for the create policy operation typically these are written to a http.Request

func NewCreatePolicyParams

func NewCreatePolicyParams() *CreatePolicyParams

NewCreatePolicyParams creates a new CreatePolicyParams object with the default values initialized.

func NewCreatePolicyParamsWithContext

func NewCreatePolicyParamsWithContext(ctx context.Context) *CreatePolicyParams

NewCreatePolicyParamsWithContext creates a new CreatePolicyParams object with the default values initialized, and the ability to set a context for a request

func NewCreatePolicyParamsWithHTTPClient

func NewCreatePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyParams

NewCreatePolicyParamsWithHTTPClient creates a new CreatePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreatePolicyParamsWithTimeout

func NewCreatePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyParams

NewCreatePolicyParamsWithTimeout creates a new CreatePolicyParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreatePolicyParams) SetContext

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

SetContext adds the context to the create policy params

func (*CreatePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create policy params

func (*CreatePolicyParams) SetPolicy

func (o *CreatePolicyParams) SetPolicy(policy *models.PreheatPolicy)

SetPolicy adds the policy to the create policy params

func (*CreatePolicyParams) SetProjectName

func (o *CreatePolicyParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the create policy params

func (*CreatePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the create policy params

func (*CreatePolicyParams) SetXRequestID

func (o *CreatePolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create policy params

func (*CreatePolicyParams) WithContext

WithContext adds the context to the create policy params

func (*CreatePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create policy params

func (*CreatePolicyParams) WithPolicy

WithPolicy adds the policy to the create policy params

func (*CreatePolicyParams) WithProjectName

func (o *CreatePolicyParams) WithProjectName(projectName string) *CreatePolicyParams

WithProjectName adds the projectName to the create policy params

func (*CreatePolicyParams) WithTimeout

func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams

WithTimeout adds the timeout to the create policy params

func (*CreatePolicyParams) WithXRequestID

func (o *CreatePolicyParams) WithXRequestID(xRequestID *string) *CreatePolicyParams

WithXRequestID adds the xRequestID to the create policy params

func (*CreatePolicyParams) WriteToRequest

func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreatePolicyReader

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

CreatePolicyReader is a Reader for the CreatePolicy structure.

func (*CreatePolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePolicyUnauthorized

type CreatePolicyUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

CreatePolicyUnauthorized handles this case with default header values.

Unauthorized

func NewCreatePolicyUnauthorized

func NewCreatePolicyUnauthorized() *CreatePolicyUnauthorized

NewCreatePolicyUnauthorized creates a CreatePolicyUnauthorized with default headers values

func (*CreatePolicyUnauthorized) Error

func (o *CreatePolicyUnauthorized) Error() string

func (*CreatePolicyUnauthorized) GetPayload

func (o *CreatePolicyUnauthorized) GetPayload() *models.Errors

type DeleteInstanceForbidden

type DeleteInstanceForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeleteInstanceForbidden handles this case with default header values.

Forbidden

func NewDeleteInstanceForbidden

func NewDeleteInstanceForbidden() *DeleteInstanceForbidden

NewDeleteInstanceForbidden creates a DeleteInstanceForbidden with default headers values

func (*DeleteInstanceForbidden) Error

func (o *DeleteInstanceForbidden) Error() string

func (*DeleteInstanceForbidden) GetPayload

func (o *DeleteInstanceForbidden) GetPayload() *models.Errors

type DeleteInstanceInternalServerError

type DeleteInstanceInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeleteInstanceInternalServerError handles this case with default header values.

Internal server error

func NewDeleteInstanceInternalServerError

func NewDeleteInstanceInternalServerError() *DeleteInstanceInternalServerError

NewDeleteInstanceInternalServerError creates a DeleteInstanceInternalServerError with default headers values

func (*DeleteInstanceInternalServerError) Error

func (*DeleteInstanceInternalServerError) GetPayload

type DeleteInstanceNotFound

type DeleteInstanceNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeleteInstanceNotFound handles this case with default header values.

Not found

func NewDeleteInstanceNotFound

func NewDeleteInstanceNotFound() *DeleteInstanceNotFound

NewDeleteInstanceNotFound creates a DeleteInstanceNotFound with default headers values

func (*DeleteInstanceNotFound) Error

func (o *DeleteInstanceNotFound) Error() string

func (*DeleteInstanceNotFound) GetPayload

func (o *DeleteInstanceNotFound) GetPayload() *models.Errors

type DeleteInstanceOK

type DeleteInstanceOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

DeleteInstanceOK handles this case with default header values.

Success

func NewDeleteInstanceOK

func NewDeleteInstanceOK() *DeleteInstanceOK

NewDeleteInstanceOK creates a DeleteInstanceOK with default headers values

func (*DeleteInstanceOK) Error

func (o *DeleteInstanceOK) Error() string

type DeleteInstanceParams

type DeleteInstanceParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*PreheatInstanceName
	  Instance Name

	*/
	PreheatInstanceName string

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

DeleteInstanceParams contains all the parameters to send to the API endpoint for the delete instance operation typically these are written to a http.Request

func NewDeleteInstanceParams

func NewDeleteInstanceParams() *DeleteInstanceParams

NewDeleteInstanceParams creates a new DeleteInstanceParams object with the default values initialized.

func NewDeleteInstanceParamsWithContext

func NewDeleteInstanceParamsWithContext(ctx context.Context) *DeleteInstanceParams

NewDeleteInstanceParamsWithContext creates a new DeleteInstanceParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteInstanceParamsWithHTTPClient

func NewDeleteInstanceParamsWithHTTPClient(client *http.Client) *DeleteInstanceParams

NewDeleteInstanceParamsWithHTTPClient creates a new DeleteInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteInstanceParamsWithTimeout

func NewDeleteInstanceParamsWithTimeout(timeout time.Duration) *DeleteInstanceParams

NewDeleteInstanceParamsWithTimeout creates a new DeleteInstanceParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteInstanceParams) SetContext

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

SetContext adds the context to the delete instance params

func (*DeleteInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete instance params

func (*DeleteInstanceParams) SetPreheatInstanceName

func (o *DeleteInstanceParams) SetPreheatInstanceName(preheatInstanceName string)

SetPreheatInstanceName adds the preheatInstanceName to the delete instance params

func (*DeleteInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the delete instance params

func (*DeleteInstanceParams) SetXRequestID

func (o *DeleteInstanceParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete instance params

func (*DeleteInstanceParams) WithContext

WithContext adds the context to the delete instance params

func (*DeleteInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete instance params

func (*DeleteInstanceParams) WithPreheatInstanceName

func (o *DeleteInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *DeleteInstanceParams

WithPreheatInstanceName adds the preheatInstanceName to the delete instance params

func (*DeleteInstanceParams) WithTimeout

func (o *DeleteInstanceParams) WithTimeout(timeout time.Duration) *DeleteInstanceParams

WithTimeout adds the timeout to the delete instance params

func (*DeleteInstanceParams) WithXRequestID

func (o *DeleteInstanceParams) WithXRequestID(xRequestID *string) *DeleteInstanceParams

WithXRequestID adds the xRequestID to the delete instance params

func (*DeleteInstanceParams) WriteToRequest

func (o *DeleteInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteInstanceReader

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

DeleteInstanceReader is a Reader for the DeleteInstance structure.

func (*DeleteInstanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteInstanceUnauthorized

type DeleteInstanceUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeleteInstanceUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteInstanceUnauthorized

func NewDeleteInstanceUnauthorized() *DeleteInstanceUnauthorized

NewDeleteInstanceUnauthorized creates a DeleteInstanceUnauthorized with default headers values

func (*DeleteInstanceUnauthorized) Error

func (*DeleteInstanceUnauthorized) GetPayload

func (o *DeleteInstanceUnauthorized) GetPayload() *models.Errors

type DeletePolicyBadRequest

type DeletePolicyBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeletePolicyBadRequest handles this case with default header values.

Bad request

func NewDeletePolicyBadRequest

func NewDeletePolicyBadRequest() *DeletePolicyBadRequest

NewDeletePolicyBadRequest creates a DeletePolicyBadRequest with default headers values

func (*DeletePolicyBadRequest) Error

func (o *DeletePolicyBadRequest) Error() string

func (*DeletePolicyBadRequest) GetPayload

func (o *DeletePolicyBadRequest) GetPayload() *models.Errors

type DeletePolicyForbidden

type DeletePolicyForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeletePolicyForbidden handles this case with default header values.

Forbidden

func NewDeletePolicyForbidden

func NewDeletePolicyForbidden() *DeletePolicyForbidden

NewDeletePolicyForbidden creates a DeletePolicyForbidden with default headers values

func (*DeletePolicyForbidden) Error

func (o *DeletePolicyForbidden) Error() string

func (*DeletePolicyForbidden) GetPayload

func (o *DeletePolicyForbidden) GetPayload() *models.Errors

type DeletePolicyInternalServerError

type DeletePolicyInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeletePolicyInternalServerError handles this case with default header values.

Internal server error

func NewDeletePolicyInternalServerError

func NewDeletePolicyInternalServerError() *DeletePolicyInternalServerError

NewDeletePolicyInternalServerError creates a DeletePolicyInternalServerError with default headers values

func (*DeletePolicyInternalServerError) Error

func (*DeletePolicyInternalServerError) GetPayload

type DeletePolicyNotFound

type DeletePolicyNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeletePolicyNotFound handles this case with default header values.

Not found

func NewDeletePolicyNotFound

func NewDeletePolicyNotFound() *DeletePolicyNotFound

NewDeletePolicyNotFound creates a DeletePolicyNotFound with default headers values

func (*DeletePolicyNotFound) Error

func (o *DeletePolicyNotFound) Error() string

func (*DeletePolicyNotFound) GetPayload

func (o *DeletePolicyNotFound) GetPayload() *models.Errors

type DeletePolicyOK

type DeletePolicyOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

DeletePolicyOK handles this case with default header values.

Success

func NewDeletePolicyOK

func NewDeletePolicyOK() *DeletePolicyOK

NewDeletePolicyOK creates a DeletePolicyOK with default headers values

func (*DeletePolicyOK) Error

func (o *DeletePolicyOK) Error() string

type DeletePolicyParams

type DeletePolicyParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*PreheatPolicyName
	  Preheat Policy Name

	*/
	PreheatPolicyName string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string

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

DeletePolicyParams contains all the parameters to send to the API endpoint for the delete policy operation typically these are written to a http.Request

func NewDeletePolicyParams

func NewDeletePolicyParams() *DeletePolicyParams

NewDeletePolicyParams creates a new DeletePolicyParams object with the default values initialized.

func NewDeletePolicyParamsWithContext

func NewDeletePolicyParamsWithContext(ctx context.Context) *DeletePolicyParams

NewDeletePolicyParamsWithContext creates a new DeletePolicyParams object with the default values initialized, and the ability to set a context for a request

func NewDeletePolicyParamsWithHTTPClient

func NewDeletePolicyParamsWithHTTPClient(client *http.Client) *DeletePolicyParams

NewDeletePolicyParamsWithHTTPClient creates a new DeletePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeletePolicyParamsWithTimeout

func NewDeletePolicyParamsWithTimeout(timeout time.Duration) *DeletePolicyParams

NewDeletePolicyParamsWithTimeout creates a new DeletePolicyParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeletePolicyParams) SetContext

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

SetContext adds the context to the delete policy params

func (*DeletePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete policy params

func (*DeletePolicyParams) SetPreheatPolicyName

func (o *DeletePolicyParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the delete policy params

func (*DeletePolicyParams) SetProjectName

func (o *DeletePolicyParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the delete policy params

func (*DeletePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the delete policy params

func (*DeletePolicyParams) SetXRequestID

func (o *DeletePolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete policy params

func (*DeletePolicyParams) WithContext

WithContext adds the context to the delete policy params

func (*DeletePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete policy params

func (*DeletePolicyParams) WithPreheatPolicyName

func (o *DeletePolicyParams) WithPreheatPolicyName(preheatPolicyName string) *DeletePolicyParams

WithPreheatPolicyName adds the preheatPolicyName to the delete policy params

func (*DeletePolicyParams) WithProjectName

func (o *DeletePolicyParams) WithProjectName(projectName string) *DeletePolicyParams

WithProjectName adds the projectName to the delete policy params

func (*DeletePolicyParams) WithTimeout

func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams

WithTimeout adds the timeout to the delete policy params

func (*DeletePolicyParams) WithXRequestID

func (o *DeletePolicyParams) WithXRequestID(xRequestID *string) *DeletePolicyParams

WithXRequestID adds the xRequestID to the delete policy params

func (*DeletePolicyParams) WriteToRequest

func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeletePolicyReader

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

DeletePolicyReader is a Reader for the DeletePolicy structure.

func (*DeletePolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePolicyUnauthorized

type DeletePolicyUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DeletePolicyUnauthorized handles this case with default header values.

Unauthorized

func NewDeletePolicyUnauthorized

func NewDeletePolicyUnauthorized() *DeletePolicyUnauthorized

NewDeletePolicyUnauthorized creates a DeletePolicyUnauthorized with default headers values

func (*DeletePolicyUnauthorized) Error

func (o *DeletePolicyUnauthorized) Error() string

func (*DeletePolicyUnauthorized) GetPayload

func (o *DeletePolicyUnauthorized) GetPayload() *models.Errors

type GetExecutionBadRequest

type GetExecutionBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetExecutionBadRequest handles this case with default header values.

Bad request

func NewGetExecutionBadRequest

func NewGetExecutionBadRequest() *GetExecutionBadRequest

NewGetExecutionBadRequest creates a GetExecutionBadRequest with default headers values

func (*GetExecutionBadRequest) Error

func (o *GetExecutionBadRequest) Error() string

func (*GetExecutionBadRequest) GetPayload

func (o *GetExecutionBadRequest) GetPayload() *models.Errors

type GetExecutionForbidden

type GetExecutionForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetExecutionForbidden handles this case with default header values.

Forbidden

func NewGetExecutionForbidden

func NewGetExecutionForbidden() *GetExecutionForbidden

NewGetExecutionForbidden creates a GetExecutionForbidden with default headers values

func (*GetExecutionForbidden) Error

func (o *GetExecutionForbidden) Error() string

func (*GetExecutionForbidden) GetPayload

func (o *GetExecutionForbidden) GetPayload() *models.Errors

type GetExecutionInternalServerError

type GetExecutionInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetExecutionInternalServerError handles this case with default header values.

Internal server error

func NewGetExecutionInternalServerError

func NewGetExecutionInternalServerError() *GetExecutionInternalServerError

NewGetExecutionInternalServerError creates a GetExecutionInternalServerError with default headers values

func (*GetExecutionInternalServerError) Error

func (*GetExecutionInternalServerError) GetPayload

type GetExecutionNotFound

type GetExecutionNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetExecutionNotFound handles this case with default header values.

Not found

func NewGetExecutionNotFound

func NewGetExecutionNotFound() *GetExecutionNotFound

NewGetExecutionNotFound creates a GetExecutionNotFound with default headers values

func (*GetExecutionNotFound) Error

func (o *GetExecutionNotFound) Error() string

func (*GetExecutionNotFound) GetPayload

func (o *GetExecutionNotFound) GetPayload() *models.Errors

type GetExecutionOK

type GetExecutionOK struct {
	Payload *models.Execution
}

GetExecutionOK handles this case with default header values.

Get execution success

func NewGetExecutionOK

func NewGetExecutionOK() *GetExecutionOK

NewGetExecutionOK creates a GetExecutionOK with default headers values

func (*GetExecutionOK) Error

func (o *GetExecutionOK) Error() string

func (*GetExecutionOK) GetPayload

func (o *GetExecutionOK) GetPayload() *models.Execution

type GetExecutionParams

type GetExecutionParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*ExecutionID
	  Execution ID

	*/
	ExecutionID int64
	/*PreheatPolicyName
	  Preheat Policy Name

	*/
	PreheatPolicyName string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string

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

GetExecutionParams contains all the parameters to send to the API endpoint for the get execution operation typically these are written to a http.Request

func NewGetExecutionParams

func NewGetExecutionParams() *GetExecutionParams

NewGetExecutionParams creates a new GetExecutionParams object with the default values initialized.

func NewGetExecutionParamsWithContext

func NewGetExecutionParamsWithContext(ctx context.Context) *GetExecutionParams

NewGetExecutionParamsWithContext creates a new GetExecutionParams object with the default values initialized, and the ability to set a context for a request

func NewGetExecutionParamsWithHTTPClient

func NewGetExecutionParamsWithHTTPClient(client *http.Client) *GetExecutionParams

NewGetExecutionParamsWithHTTPClient creates a new GetExecutionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetExecutionParamsWithTimeout

func NewGetExecutionParamsWithTimeout(timeout time.Duration) *GetExecutionParams

NewGetExecutionParamsWithTimeout creates a new GetExecutionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetExecutionParams) SetContext

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

SetContext adds the context to the get execution params

func (*GetExecutionParams) SetExecutionID

func (o *GetExecutionParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the get execution params

func (*GetExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get execution params

func (*GetExecutionParams) SetPreheatPolicyName

func (o *GetExecutionParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the get execution params

func (*GetExecutionParams) SetProjectName

func (o *GetExecutionParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the get execution params

func (*GetExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the get execution params

func (*GetExecutionParams) SetXRequestID

func (o *GetExecutionParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get execution params

func (*GetExecutionParams) WithContext

WithContext adds the context to the get execution params

func (*GetExecutionParams) WithExecutionID

func (o *GetExecutionParams) WithExecutionID(executionID int64) *GetExecutionParams

WithExecutionID adds the executionID to the get execution params

func (*GetExecutionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get execution params

func (*GetExecutionParams) WithPreheatPolicyName

func (o *GetExecutionParams) WithPreheatPolicyName(preheatPolicyName string) *GetExecutionParams

WithPreheatPolicyName adds the preheatPolicyName to the get execution params

func (*GetExecutionParams) WithProjectName

func (o *GetExecutionParams) WithProjectName(projectName string) *GetExecutionParams

WithProjectName adds the projectName to the get execution params

func (*GetExecutionParams) WithTimeout

func (o *GetExecutionParams) WithTimeout(timeout time.Duration) *GetExecutionParams

WithTimeout adds the timeout to the get execution params

func (*GetExecutionParams) WithXRequestID

func (o *GetExecutionParams) WithXRequestID(xRequestID *string) *GetExecutionParams

WithXRequestID adds the xRequestID to the get execution params

func (*GetExecutionParams) WriteToRequest

func (o *GetExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetExecutionReader

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

GetExecutionReader is a Reader for the GetExecution structure.

func (*GetExecutionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetExecutionUnauthorized

type GetExecutionUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetExecutionUnauthorized handles this case with default header values.

Unauthorized

func NewGetExecutionUnauthorized

func NewGetExecutionUnauthorized() *GetExecutionUnauthorized

NewGetExecutionUnauthorized creates a GetExecutionUnauthorized with default headers values

func (*GetExecutionUnauthorized) Error

func (o *GetExecutionUnauthorized) Error() string

func (*GetExecutionUnauthorized) GetPayload

func (o *GetExecutionUnauthorized) GetPayload() *models.Errors

type GetInstanceBadRequest

type GetInstanceBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetInstanceBadRequest handles this case with default header values.

Bad request

func NewGetInstanceBadRequest

func NewGetInstanceBadRequest() *GetInstanceBadRequest

NewGetInstanceBadRequest creates a GetInstanceBadRequest with default headers values

func (*GetInstanceBadRequest) Error

func (o *GetInstanceBadRequest) Error() string

func (*GetInstanceBadRequest) GetPayload

func (o *GetInstanceBadRequest) GetPayload() *models.Errors

type GetInstanceForbidden

type GetInstanceForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetInstanceForbidden handles this case with default header values.

Forbidden

func NewGetInstanceForbidden

func NewGetInstanceForbidden() *GetInstanceForbidden

NewGetInstanceForbidden creates a GetInstanceForbidden with default headers values

func (*GetInstanceForbidden) Error

func (o *GetInstanceForbidden) Error() string

func (*GetInstanceForbidden) GetPayload

func (o *GetInstanceForbidden) GetPayload() *models.Errors

type GetInstanceInternalServerError

type GetInstanceInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetInstanceInternalServerError handles this case with default header values.

Internal server error

func NewGetInstanceInternalServerError

func NewGetInstanceInternalServerError() *GetInstanceInternalServerError

NewGetInstanceInternalServerError creates a GetInstanceInternalServerError with default headers values

func (*GetInstanceInternalServerError) Error

func (*GetInstanceInternalServerError) GetPayload

func (o *GetInstanceInternalServerError) GetPayload() *models.Errors

type GetInstanceNotFound

type GetInstanceNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetInstanceNotFound handles this case with default header values.

Not found

func NewGetInstanceNotFound

func NewGetInstanceNotFound() *GetInstanceNotFound

NewGetInstanceNotFound creates a GetInstanceNotFound with default headers values

func (*GetInstanceNotFound) Error

func (o *GetInstanceNotFound) Error() string

func (*GetInstanceNotFound) GetPayload

func (o *GetInstanceNotFound) GetPayload() *models.Errors

type GetInstanceOK

type GetInstanceOK struct {
	Payload *models.Instance
}

GetInstanceOK handles this case with default header values.

Success

func NewGetInstanceOK

func NewGetInstanceOK() *GetInstanceOK

NewGetInstanceOK creates a GetInstanceOK with default headers values

func (*GetInstanceOK) Error

func (o *GetInstanceOK) Error() string

func (*GetInstanceOK) GetPayload

func (o *GetInstanceOK) GetPayload() *models.Instance

type GetInstanceParams

type GetInstanceParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*PreheatInstanceName
	  Instance Name

	*/
	PreheatInstanceName string

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

GetInstanceParams contains all the parameters to send to the API endpoint for the get instance operation typically these are written to a http.Request

func NewGetInstanceParams

func NewGetInstanceParams() *GetInstanceParams

NewGetInstanceParams creates a new GetInstanceParams object with the default values initialized.

func NewGetInstanceParamsWithContext

func NewGetInstanceParamsWithContext(ctx context.Context) *GetInstanceParams

NewGetInstanceParamsWithContext creates a new GetInstanceParams object with the default values initialized, and the ability to set a context for a request

func NewGetInstanceParamsWithHTTPClient

func NewGetInstanceParamsWithHTTPClient(client *http.Client) *GetInstanceParams

NewGetInstanceParamsWithHTTPClient creates a new GetInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetInstanceParamsWithTimeout

func NewGetInstanceParamsWithTimeout(timeout time.Duration) *GetInstanceParams

NewGetInstanceParamsWithTimeout creates a new GetInstanceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetInstanceParams) SetContext

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

SetContext adds the context to the get instance params

func (*GetInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get instance params

func (*GetInstanceParams) SetPreheatInstanceName

func (o *GetInstanceParams) SetPreheatInstanceName(preheatInstanceName string)

SetPreheatInstanceName adds the preheatInstanceName to the get instance params

func (*GetInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the get instance params

func (*GetInstanceParams) SetXRequestID

func (o *GetInstanceParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get instance params

func (*GetInstanceParams) WithContext

func (o *GetInstanceParams) WithContext(ctx context.Context) *GetInstanceParams

WithContext adds the context to the get instance params

func (*GetInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get instance params

func (*GetInstanceParams) WithPreheatInstanceName

func (o *GetInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *GetInstanceParams

WithPreheatInstanceName adds the preheatInstanceName to the get instance params

func (*GetInstanceParams) WithTimeout

func (o *GetInstanceParams) WithTimeout(timeout time.Duration) *GetInstanceParams

WithTimeout adds the timeout to the get instance params

func (*GetInstanceParams) WithXRequestID

func (o *GetInstanceParams) WithXRequestID(xRequestID *string) *GetInstanceParams

WithXRequestID adds the xRequestID to the get instance params

func (*GetInstanceParams) WriteToRequest

func (o *GetInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetInstanceReader

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

GetInstanceReader is a Reader for the GetInstance structure.

func (*GetInstanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInstanceUnauthorized

type GetInstanceUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetInstanceUnauthorized handles this case with default header values.

Unauthorized

func NewGetInstanceUnauthorized

func NewGetInstanceUnauthorized() *GetInstanceUnauthorized

NewGetInstanceUnauthorized creates a GetInstanceUnauthorized with default headers values

func (*GetInstanceUnauthorized) Error

func (o *GetInstanceUnauthorized) Error() string

func (*GetInstanceUnauthorized) GetPayload

func (o *GetInstanceUnauthorized) GetPayload() *models.Errors

type GetPolicyBadRequest

type GetPolicyBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPolicyBadRequest handles this case with default header values.

Bad request

func NewGetPolicyBadRequest

func NewGetPolicyBadRequest() *GetPolicyBadRequest

NewGetPolicyBadRequest creates a GetPolicyBadRequest with default headers values

func (*GetPolicyBadRequest) Error

func (o *GetPolicyBadRequest) Error() string

func (*GetPolicyBadRequest) GetPayload

func (o *GetPolicyBadRequest) GetPayload() *models.Errors

type GetPolicyForbidden

type GetPolicyForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPolicyForbidden handles this case with default header values.

Forbidden

func NewGetPolicyForbidden

func NewGetPolicyForbidden() *GetPolicyForbidden

NewGetPolicyForbidden creates a GetPolicyForbidden with default headers values

func (*GetPolicyForbidden) Error

func (o *GetPolicyForbidden) Error() string

func (*GetPolicyForbidden) GetPayload

func (o *GetPolicyForbidden) GetPayload() *models.Errors

type GetPolicyInternalServerError

type GetPolicyInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPolicyInternalServerError handles this case with default header values.

Internal server error

func NewGetPolicyInternalServerError

func NewGetPolicyInternalServerError() *GetPolicyInternalServerError

NewGetPolicyInternalServerError creates a GetPolicyInternalServerError with default headers values

func (*GetPolicyInternalServerError) Error

func (*GetPolicyInternalServerError) GetPayload

func (o *GetPolicyInternalServerError) GetPayload() *models.Errors

type GetPolicyNotFound

type GetPolicyNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPolicyNotFound handles this case with default header values.

Not found

func NewGetPolicyNotFound

func NewGetPolicyNotFound() *GetPolicyNotFound

NewGetPolicyNotFound creates a GetPolicyNotFound with default headers values

func (*GetPolicyNotFound) Error

func (o *GetPolicyNotFound) Error() string

func (*GetPolicyNotFound) GetPayload

func (o *GetPolicyNotFound) GetPayload() *models.Errors

type GetPolicyOK

type GetPolicyOK struct {
	Payload *models.PreheatPolicy
}

GetPolicyOK handles this case with default header values.

Get a preheat policy success

func NewGetPolicyOK

func NewGetPolicyOK() *GetPolicyOK

NewGetPolicyOK creates a GetPolicyOK with default headers values

func (*GetPolicyOK) Error

func (o *GetPolicyOK) Error() string

func (*GetPolicyOK) GetPayload

func (o *GetPolicyOK) GetPayload() *models.PreheatPolicy

type GetPolicyParams

type GetPolicyParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*PreheatPolicyName
	  Preheat Policy Name

	*/
	PreheatPolicyName string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string

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

GetPolicyParams contains all the parameters to send to the API endpoint for the get policy operation typically these are written to a http.Request

func NewGetPolicyParams

func NewGetPolicyParams() *GetPolicyParams

NewGetPolicyParams creates a new GetPolicyParams object with the default values initialized.

func NewGetPolicyParamsWithContext

func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams

NewGetPolicyParamsWithContext creates a new GetPolicyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPolicyParamsWithHTTPClient

func NewGetPolicyParamsWithHTTPClient(client *http.Client) *GetPolicyParams

NewGetPolicyParamsWithHTTPClient creates a new GetPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPolicyParamsWithTimeout

func NewGetPolicyParamsWithTimeout(timeout time.Duration) *GetPolicyParams

NewGetPolicyParamsWithTimeout creates a new GetPolicyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPolicyParams) SetContext

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

SetContext adds the context to the get policy params

func (*GetPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get policy params

func (*GetPolicyParams) SetPreheatPolicyName

func (o *GetPolicyParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the get policy params

func (*GetPolicyParams) SetProjectName

func (o *GetPolicyParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the get policy params

func (*GetPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the get policy params

func (*GetPolicyParams) SetXRequestID

func (o *GetPolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get policy params

func (*GetPolicyParams) WithContext

func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams

WithContext adds the context to the get policy params

func (*GetPolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get policy params

func (*GetPolicyParams) WithPreheatPolicyName

func (o *GetPolicyParams) WithPreheatPolicyName(preheatPolicyName string) *GetPolicyParams

WithPreheatPolicyName adds the preheatPolicyName to the get policy params

func (*GetPolicyParams) WithProjectName

func (o *GetPolicyParams) WithProjectName(projectName string) *GetPolicyParams

WithProjectName adds the projectName to the get policy params

func (*GetPolicyParams) WithTimeout

func (o *GetPolicyParams) WithTimeout(timeout time.Duration) *GetPolicyParams

WithTimeout adds the timeout to the get policy params

func (*GetPolicyParams) WithXRequestID

func (o *GetPolicyParams) WithXRequestID(xRequestID *string) *GetPolicyParams

WithXRequestID adds the xRequestID to the get policy params

func (*GetPolicyParams) WriteToRequest

func (o *GetPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPolicyReader

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

GetPolicyReader is a Reader for the GetPolicy structure.

func (*GetPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPolicyUnauthorized

type GetPolicyUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPolicyUnauthorized handles this case with default header values.

Unauthorized

func NewGetPolicyUnauthorized

func NewGetPolicyUnauthorized() *GetPolicyUnauthorized

NewGetPolicyUnauthorized creates a GetPolicyUnauthorized with default headers values

func (*GetPolicyUnauthorized) Error

func (o *GetPolicyUnauthorized) Error() string

func (*GetPolicyUnauthorized) GetPayload

func (o *GetPolicyUnauthorized) GetPayload() *models.Errors

type GetPreheatLogBadRequest

type GetPreheatLogBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPreheatLogBadRequest handles this case with default header values.

Bad request

func NewGetPreheatLogBadRequest

func NewGetPreheatLogBadRequest() *GetPreheatLogBadRequest

NewGetPreheatLogBadRequest creates a GetPreheatLogBadRequest with default headers values

func (*GetPreheatLogBadRequest) Error

func (o *GetPreheatLogBadRequest) Error() string

func (*GetPreheatLogBadRequest) GetPayload

func (o *GetPreheatLogBadRequest) GetPayload() *models.Errors

type GetPreheatLogForbidden

type GetPreheatLogForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPreheatLogForbidden handles this case with default header values.

Forbidden

func NewGetPreheatLogForbidden

func NewGetPreheatLogForbidden() *GetPreheatLogForbidden

NewGetPreheatLogForbidden creates a GetPreheatLogForbidden with default headers values

func (*GetPreheatLogForbidden) Error

func (o *GetPreheatLogForbidden) Error() string

func (*GetPreheatLogForbidden) GetPayload

func (o *GetPreheatLogForbidden) GetPayload() *models.Errors

type GetPreheatLogInternalServerError

type GetPreheatLogInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPreheatLogInternalServerError handles this case with default header values.

Internal server error

func NewGetPreheatLogInternalServerError

func NewGetPreheatLogInternalServerError() *GetPreheatLogInternalServerError

NewGetPreheatLogInternalServerError creates a GetPreheatLogInternalServerError with default headers values

func (*GetPreheatLogInternalServerError) Error

func (*GetPreheatLogInternalServerError) GetPayload

type GetPreheatLogNotFound

type GetPreheatLogNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPreheatLogNotFound handles this case with default header values.

Not found

func NewGetPreheatLogNotFound

func NewGetPreheatLogNotFound() *GetPreheatLogNotFound

NewGetPreheatLogNotFound creates a GetPreheatLogNotFound with default headers values

func (*GetPreheatLogNotFound) Error

func (o *GetPreheatLogNotFound) Error() string

func (*GetPreheatLogNotFound) GetPayload

func (o *GetPreheatLogNotFound) GetPayload() *models.Errors

type GetPreheatLogOK

type GetPreheatLogOK struct {
	/*Content type of response
	 */
	ContentType string

	Payload string
}

GetPreheatLogOK handles this case with default header values.

Get log success

func NewGetPreheatLogOK

func NewGetPreheatLogOK() *GetPreheatLogOK

NewGetPreheatLogOK creates a GetPreheatLogOK with default headers values

func (*GetPreheatLogOK) Error

func (o *GetPreheatLogOK) Error() string

func (*GetPreheatLogOK) GetPayload

func (o *GetPreheatLogOK) GetPayload() string

type GetPreheatLogParams

type GetPreheatLogParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*ExecutionID
	  Execution ID

	*/
	ExecutionID int64
	/*PreheatPolicyName
	  Preheat Policy Name

	*/
	PreheatPolicyName string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string
	/*TaskID
	  Task ID

	*/
	TaskID int64

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

GetPreheatLogParams contains all the parameters to send to the API endpoint for the get preheat log operation typically these are written to a http.Request

func NewGetPreheatLogParams

func NewGetPreheatLogParams() *GetPreheatLogParams

NewGetPreheatLogParams creates a new GetPreheatLogParams object with the default values initialized.

func NewGetPreheatLogParamsWithContext

func NewGetPreheatLogParamsWithContext(ctx context.Context) *GetPreheatLogParams

NewGetPreheatLogParamsWithContext creates a new GetPreheatLogParams object with the default values initialized, and the ability to set a context for a request

func NewGetPreheatLogParamsWithHTTPClient

func NewGetPreheatLogParamsWithHTTPClient(client *http.Client) *GetPreheatLogParams

NewGetPreheatLogParamsWithHTTPClient creates a new GetPreheatLogParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPreheatLogParamsWithTimeout

func NewGetPreheatLogParamsWithTimeout(timeout time.Duration) *GetPreheatLogParams

NewGetPreheatLogParamsWithTimeout creates a new GetPreheatLogParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPreheatLogParams) SetContext

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

SetContext adds the context to the get preheat log params

func (*GetPreheatLogParams) SetExecutionID

func (o *GetPreheatLogParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the get preheat log params

func (*GetPreheatLogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get preheat log params

func (*GetPreheatLogParams) SetPreheatPolicyName

func (o *GetPreheatLogParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the get preheat log params

func (*GetPreheatLogParams) SetProjectName

func (o *GetPreheatLogParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the get preheat log params

func (*GetPreheatLogParams) SetTaskID

func (o *GetPreheatLogParams) SetTaskID(taskID int64)

SetTaskID adds the taskId to the get preheat log params

func (*GetPreheatLogParams) SetTimeout

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

SetTimeout adds the timeout to the get preheat log params

func (*GetPreheatLogParams) SetXRequestID

func (o *GetPreheatLogParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get preheat log params

func (*GetPreheatLogParams) WithContext

WithContext adds the context to the get preheat log params

func (*GetPreheatLogParams) WithExecutionID

func (o *GetPreheatLogParams) WithExecutionID(executionID int64) *GetPreheatLogParams

WithExecutionID adds the executionID to the get preheat log params

func (*GetPreheatLogParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get preheat log params

func (*GetPreheatLogParams) WithPreheatPolicyName

func (o *GetPreheatLogParams) WithPreheatPolicyName(preheatPolicyName string) *GetPreheatLogParams

WithPreheatPolicyName adds the preheatPolicyName to the get preheat log params

func (*GetPreheatLogParams) WithProjectName

func (o *GetPreheatLogParams) WithProjectName(projectName string) *GetPreheatLogParams

WithProjectName adds the projectName to the get preheat log params

func (*GetPreheatLogParams) WithTaskID

func (o *GetPreheatLogParams) WithTaskID(taskID int64) *GetPreheatLogParams

WithTaskID adds the taskID to the get preheat log params

func (*GetPreheatLogParams) WithTimeout

func (o *GetPreheatLogParams) WithTimeout(timeout time.Duration) *GetPreheatLogParams

WithTimeout adds the timeout to the get preheat log params

func (*GetPreheatLogParams) WithXRequestID

func (o *GetPreheatLogParams) WithXRequestID(xRequestID *string) *GetPreheatLogParams

WithXRequestID adds the xRequestID to the get preheat log params

func (*GetPreheatLogParams) WriteToRequest

func (o *GetPreheatLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPreheatLogReader

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

GetPreheatLogReader is a Reader for the GetPreheatLog structure.

func (*GetPreheatLogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPreheatLogUnauthorized

type GetPreheatLogUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetPreheatLogUnauthorized handles this case with default header values.

Unauthorized

func NewGetPreheatLogUnauthorized

func NewGetPreheatLogUnauthorized() *GetPreheatLogUnauthorized

NewGetPreheatLogUnauthorized creates a GetPreheatLogUnauthorized with default headers values

func (*GetPreheatLogUnauthorized) Error

func (o *GetPreheatLogUnauthorized) Error() string

func (*GetPreheatLogUnauthorized) GetPayload

func (o *GetPreheatLogUnauthorized) GetPayload() *models.Errors

type ListExecutionsBadRequest

type ListExecutionsBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListExecutionsBadRequest handles this case with default header values.

Bad request

func NewListExecutionsBadRequest

func NewListExecutionsBadRequest() *ListExecutionsBadRequest

NewListExecutionsBadRequest creates a ListExecutionsBadRequest with default headers values

func (*ListExecutionsBadRequest) Error

func (o *ListExecutionsBadRequest) Error() string

func (*ListExecutionsBadRequest) GetPayload

func (o *ListExecutionsBadRequest) GetPayload() *models.Errors

type ListExecutionsForbidden

type ListExecutionsForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListExecutionsForbidden handles this case with default header values.

Forbidden

func NewListExecutionsForbidden

func NewListExecutionsForbidden() *ListExecutionsForbidden

NewListExecutionsForbidden creates a ListExecutionsForbidden with default headers values

func (*ListExecutionsForbidden) Error

func (o *ListExecutionsForbidden) Error() string

func (*ListExecutionsForbidden) GetPayload

func (o *ListExecutionsForbidden) GetPayload() *models.Errors

type ListExecutionsInternalServerError

type ListExecutionsInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListExecutionsInternalServerError handles this case with default header values.

Internal server error

func NewListExecutionsInternalServerError

func NewListExecutionsInternalServerError() *ListExecutionsInternalServerError

NewListExecutionsInternalServerError creates a ListExecutionsInternalServerError with default headers values

func (*ListExecutionsInternalServerError) Error

func (*ListExecutionsInternalServerError) GetPayload

type ListExecutionsNotFound

type ListExecutionsNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListExecutionsNotFound handles this case with default header values.

Not found

func NewListExecutionsNotFound

func NewListExecutionsNotFound() *ListExecutionsNotFound

NewListExecutionsNotFound creates a ListExecutionsNotFound with default headers values

func (*ListExecutionsNotFound) Error

func (o *ListExecutionsNotFound) Error() string

func (*ListExecutionsNotFound) GetPayload

func (o *ListExecutionsNotFound) GetPayload() *models.Errors

type ListExecutionsOK

type ListExecutionsOK struct {
	/*Link refers to the previous page and next page
	 */
	Link string
	/*The total count of executions
	 */
	XTotalCount int64

	Payload []*models.Execution
}

ListExecutionsOK handles this case with default header values.

List executions success

func NewListExecutionsOK

func NewListExecutionsOK() *ListExecutionsOK

NewListExecutionsOK creates a ListExecutionsOK with default headers values

func (*ListExecutionsOK) Error

func (o *ListExecutionsOK) Error() string

func (*ListExecutionsOK) GetPayload

func (o *ListExecutionsOK) GetPayload() []*models.Execution

type ListExecutionsParams

type ListExecutionsParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Page
	  The page number

	*/
	Page *int64
	/*PageSize
	  The size of per page

	*/
	PageSize *int64
	/*PreheatPolicyName
	  Preheat Policy Name

	*/
	PreheatPolicyName string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string
	/*Q
	  Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]

	*/
	Q *string

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

ListExecutionsParams contains all the parameters to send to the API endpoint for the list executions operation typically these are written to a http.Request

func NewListExecutionsParams

func NewListExecutionsParams() *ListExecutionsParams

NewListExecutionsParams creates a new ListExecutionsParams object with the default values initialized.

func NewListExecutionsParamsWithContext

func NewListExecutionsParamsWithContext(ctx context.Context) *ListExecutionsParams

NewListExecutionsParamsWithContext creates a new ListExecutionsParams object with the default values initialized, and the ability to set a context for a request

func NewListExecutionsParamsWithHTTPClient

func NewListExecutionsParamsWithHTTPClient(client *http.Client) *ListExecutionsParams

NewListExecutionsParamsWithHTTPClient creates a new ListExecutionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListExecutionsParamsWithTimeout

func NewListExecutionsParamsWithTimeout(timeout time.Duration) *ListExecutionsParams

NewListExecutionsParamsWithTimeout creates a new ListExecutionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListExecutionsParams) SetContext

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

SetContext adds the context to the list executions params

func (*ListExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list executions params

func (*ListExecutionsParams) SetPage

func (o *ListExecutionsParams) SetPage(page *int64)

SetPage adds the page to the list executions params

func (*ListExecutionsParams) SetPageSize

func (o *ListExecutionsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list executions params

func (*ListExecutionsParams) SetPreheatPolicyName

func (o *ListExecutionsParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the list executions params

func (*ListExecutionsParams) SetProjectName

func (o *ListExecutionsParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the list executions params

func (*ListExecutionsParams) SetQ

func (o *ListExecutionsParams) SetQ(q *string)

SetQ adds the q to the list executions params

func (*ListExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the list executions params

func (*ListExecutionsParams) SetXRequestID

func (o *ListExecutionsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list executions params

func (*ListExecutionsParams) WithContext

WithContext adds the context to the list executions params

func (*ListExecutionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list executions params

func (*ListExecutionsParams) WithPage

func (o *ListExecutionsParams) WithPage(page *int64) *ListExecutionsParams

WithPage adds the page to the list executions params

func (*ListExecutionsParams) WithPageSize

func (o *ListExecutionsParams) WithPageSize(pageSize *int64) *ListExecutionsParams

WithPageSize adds the pageSize to the list executions params

func (*ListExecutionsParams) WithPreheatPolicyName

func (o *ListExecutionsParams) WithPreheatPolicyName(preheatPolicyName string) *ListExecutionsParams

WithPreheatPolicyName adds the preheatPolicyName to the list executions params

func (*ListExecutionsParams) WithProjectName

func (o *ListExecutionsParams) WithProjectName(projectName string) *ListExecutionsParams

WithProjectName adds the projectName to the list executions params

func (*ListExecutionsParams) WithQ

WithQ adds the q to the list executions params

func (*ListExecutionsParams) WithTimeout

func (o *ListExecutionsParams) WithTimeout(timeout time.Duration) *ListExecutionsParams

WithTimeout adds the timeout to the list executions params

func (*ListExecutionsParams) WithXRequestID

func (o *ListExecutionsParams) WithXRequestID(xRequestID *string) *ListExecutionsParams

WithXRequestID adds the xRequestID to the list executions params

func (*ListExecutionsParams) WriteToRequest

func (o *ListExecutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListExecutionsReader

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

ListExecutionsReader is a Reader for the ListExecutions structure.

func (*ListExecutionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListExecutionsUnauthorized

type ListExecutionsUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListExecutionsUnauthorized handles this case with default header values.

Unauthorized

func NewListExecutionsUnauthorized

func NewListExecutionsUnauthorized() *ListExecutionsUnauthorized

NewListExecutionsUnauthorized creates a ListExecutionsUnauthorized with default headers values

func (*ListExecutionsUnauthorized) Error

func (*ListExecutionsUnauthorized) GetPayload

func (o *ListExecutionsUnauthorized) GetPayload() *models.Errors

type ListInstancesBadRequest

type ListInstancesBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListInstancesBadRequest handles this case with default header values.

Bad request

func NewListInstancesBadRequest

func NewListInstancesBadRequest() *ListInstancesBadRequest

NewListInstancesBadRequest creates a ListInstancesBadRequest with default headers values

func (*ListInstancesBadRequest) Error

func (o *ListInstancesBadRequest) Error() string

func (*ListInstancesBadRequest) GetPayload

func (o *ListInstancesBadRequest) GetPayload() *models.Errors

type ListInstancesForbidden

type ListInstancesForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListInstancesForbidden handles this case with default header values.

Forbidden

func NewListInstancesForbidden

func NewListInstancesForbidden() *ListInstancesForbidden

NewListInstancesForbidden creates a ListInstancesForbidden with default headers values

func (*ListInstancesForbidden) Error

func (o *ListInstancesForbidden) Error() string

func (*ListInstancesForbidden) GetPayload

func (o *ListInstancesForbidden) GetPayload() *models.Errors

type ListInstancesInternalServerError

type ListInstancesInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListInstancesInternalServerError handles this case with default header values.

Internal server error

func NewListInstancesInternalServerError

func NewListInstancesInternalServerError() *ListInstancesInternalServerError

NewListInstancesInternalServerError creates a ListInstancesInternalServerError with default headers values

func (*ListInstancesInternalServerError) Error

func (*ListInstancesInternalServerError) GetPayload

type ListInstancesNotFound

type ListInstancesNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListInstancesNotFound handles this case with default header values.

Not found

func NewListInstancesNotFound

func NewListInstancesNotFound() *ListInstancesNotFound

NewListInstancesNotFound creates a ListInstancesNotFound with default headers values

func (*ListInstancesNotFound) Error

func (o *ListInstancesNotFound) Error() string

func (*ListInstancesNotFound) GetPayload

func (o *ListInstancesNotFound) GetPayload() *models.Errors

type ListInstancesOK

type ListInstancesOK struct {
	/*Link refers to the previous page and next page
	 */
	Link string
	/*The total count of preheating provider instances
	 */
	XTotalCount int64

	Payload []*models.Instance
}

ListInstancesOK handles this case with default header values.

Success

func NewListInstancesOK

func NewListInstancesOK() *ListInstancesOK

NewListInstancesOK creates a ListInstancesOK with default headers values

func (*ListInstancesOK) Error

func (o *ListInstancesOK) Error() string

func (*ListInstancesOK) GetPayload

func (o *ListInstancesOK) GetPayload() []*models.Instance

type ListInstancesParams

type ListInstancesParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Page
	  The page number

	*/
	Page *int64
	/*PageSize
	  The size of per page

	*/
	PageSize *int64
	/*Q
	  Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]

	*/
	Q *string

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

ListInstancesParams contains all the parameters to send to the API endpoint for the list instances operation typically these are written to a http.Request

func NewListInstancesParams

func NewListInstancesParams() *ListInstancesParams

NewListInstancesParams creates a new ListInstancesParams object with the default values initialized.

func NewListInstancesParamsWithContext

func NewListInstancesParamsWithContext(ctx context.Context) *ListInstancesParams

NewListInstancesParamsWithContext creates a new ListInstancesParams object with the default values initialized, and the ability to set a context for a request

func NewListInstancesParamsWithHTTPClient

func NewListInstancesParamsWithHTTPClient(client *http.Client) *ListInstancesParams

NewListInstancesParamsWithHTTPClient creates a new ListInstancesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListInstancesParamsWithTimeout

func NewListInstancesParamsWithTimeout(timeout time.Duration) *ListInstancesParams

NewListInstancesParamsWithTimeout creates a new ListInstancesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListInstancesParams) SetContext

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

SetContext adds the context to the list instances params

func (*ListInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list instances params

func (*ListInstancesParams) SetPage

func (o *ListInstancesParams) SetPage(page *int64)

SetPage adds the page to the list instances params

func (*ListInstancesParams) SetPageSize

func (o *ListInstancesParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list instances params

func (*ListInstancesParams) SetQ

func (o *ListInstancesParams) SetQ(q *string)

SetQ adds the q to the list instances params

func (*ListInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the list instances params

func (*ListInstancesParams) SetXRequestID

func (o *ListInstancesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list instances params

func (*ListInstancesParams) WithContext

WithContext adds the context to the list instances params

func (*ListInstancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list instances params

func (*ListInstancesParams) WithPage

func (o *ListInstancesParams) WithPage(page *int64) *ListInstancesParams

WithPage adds the page to the list instances params

func (*ListInstancesParams) WithPageSize

func (o *ListInstancesParams) WithPageSize(pageSize *int64) *ListInstancesParams

WithPageSize adds the pageSize to the list instances params

func (*ListInstancesParams) WithQ

WithQ adds the q to the list instances params

func (*ListInstancesParams) WithTimeout

func (o *ListInstancesParams) WithTimeout(timeout time.Duration) *ListInstancesParams

WithTimeout adds the timeout to the list instances params

func (*ListInstancesParams) WithXRequestID

func (o *ListInstancesParams) WithXRequestID(xRequestID *string) *ListInstancesParams

WithXRequestID adds the xRequestID to the list instances params

func (*ListInstancesParams) WriteToRequest

func (o *ListInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListInstancesReader

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

ListInstancesReader is a Reader for the ListInstances structure.

func (*ListInstancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListInstancesUnauthorized

type ListInstancesUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListInstancesUnauthorized handles this case with default header values.

Unauthorized

func NewListInstancesUnauthorized

func NewListInstancesUnauthorized() *ListInstancesUnauthorized

NewListInstancesUnauthorized creates a ListInstancesUnauthorized with default headers values

func (*ListInstancesUnauthorized) Error

func (o *ListInstancesUnauthorized) Error() string

func (*ListInstancesUnauthorized) GetPayload

func (o *ListInstancesUnauthorized) GetPayload() *models.Errors

type ListPoliciesBadRequest

type ListPoliciesBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListPoliciesBadRequest handles this case with default header values.

Bad request

func NewListPoliciesBadRequest

func NewListPoliciesBadRequest() *ListPoliciesBadRequest

NewListPoliciesBadRequest creates a ListPoliciesBadRequest with default headers values

func (*ListPoliciesBadRequest) Error

func (o *ListPoliciesBadRequest) Error() string

func (*ListPoliciesBadRequest) GetPayload

func (o *ListPoliciesBadRequest) GetPayload() *models.Errors

type ListPoliciesForbidden

type ListPoliciesForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListPoliciesForbidden handles this case with default header values.

Forbidden

func NewListPoliciesForbidden

func NewListPoliciesForbidden() *ListPoliciesForbidden

NewListPoliciesForbidden creates a ListPoliciesForbidden with default headers values

func (*ListPoliciesForbidden) Error

func (o *ListPoliciesForbidden) Error() string

func (*ListPoliciesForbidden) GetPayload

func (o *ListPoliciesForbidden) GetPayload() *models.Errors

type ListPoliciesInternalServerError

type ListPoliciesInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListPoliciesInternalServerError handles this case with default header values.

Internal server error

func NewListPoliciesInternalServerError

func NewListPoliciesInternalServerError() *ListPoliciesInternalServerError

NewListPoliciesInternalServerError creates a ListPoliciesInternalServerError with default headers values

func (*ListPoliciesInternalServerError) Error

func (*ListPoliciesInternalServerError) GetPayload

type ListPoliciesOK

type ListPoliciesOK struct {
	/*Link refers to the previous page and next page
	 */
	Link string
	/*The total count of policies
	 */
	XTotalCount int64

	Payload []*models.PreheatPolicy
}

ListPoliciesOK handles this case with default header values.

List preheat policies success

func NewListPoliciesOK

func NewListPoliciesOK() *ListPoliciesOK

NewListPoliciesOK creates a ListPoliciesOK with default headers values

func (*ListPoliciesOK) Error

func (o *ListPoliciesOK) Error() string

func (*ListPoliciesOK) GetPayload

func (o *ListPoliciesOK) GetPayload() []*models.PreheatPolicy

type ListPoliciesParams

type ListPoliciesParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Page
	  The page number

	*/
	Page *int64
	/*PageSize
	  The size of per page

	*/
	PageSize *int64
	/*ProjectName
	  The name of the project

	*/
	ProjectName string
	/*Q
	  Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]

	*/
	Q *string

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

ListPoliciesParams contains all the parameters to send to the API endpoint for the list policies operation typically these are written to a http.Request

func NewListPoliciesParams

func NewListPoliciesParams() *ListPoliciesParams

NewListPoliciesParams creates a new ListPoliciesParams object with the default values initialized.

func NewListPoliciesParamsWithContext

func NewListPoliciesParamsWithContext(ctx context.Context) *ListPoliciesParams

NewListPoliciesParamsWithContext creates a new ListPoliciesParams object with the default values initialized, and the ability to set a context for a request

func NewListPoliciesParamsWithHTTPClient

func NewListPoliciesParamsWithHTTPClient(client *http.Client) *ListPoliciesParams

NewListPoliciesParamsWithHTTPClient creates a new ListPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListPoliciesParamsWithTimeout

func NewListPoliciesParamsWithTimeout(timeout time.Duration) *ListPoliciesParams

NewListPoliciesParamsWithTimeout creates a new ListPoliciesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListPoliciesParams) SetContext

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

SetContext adds the context to the list policies params

func (*ListPoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list policies params

func (*ListPoliciesParams) SetPage

func (o *ListPoliciesParams) SetPage(page *int64)

SetPage adds the page to the list policies params

func (*ListPoliciesParams) SetPageSize

func (o *ListPoliciesParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list policies params

func (*ListPoliciesParams) SetProjectName

func (o *ListPoliciesParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the list policies params

func (*ListPoliciesParams) SetQ

func (o *ListPoliciesParams) SetQ(q *string)

SetQ adds the q to the list policies params

func (*ListPoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the list policies params

func (*ListPoliciesParams) SetXRequestID

func (o *ListPoliciesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list policies params

func (*ListPoliciesParams) WithContext

WithContext adds the context to the list policies params

func (*ListPoliciesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list policies params

func (*ListPoliciesParams) WithPage

func (o *ListPoliciesParams) WithPage(page *int64) *ListPoliciesParams

WithPage adds the page to the list policies params

func (*ListPoliciesParams) WithPageSize

func (o *ListPoliciesParams) WithPageSize(pageSize *int64) *ListPoliciesParams

WithPageSize adds the pageSize to the list policies params

func (*ListPoliciesParams) WithProjectName

func (o *ListPoliciesParams) WithProjectName(projectName string) *ListPoliciesParams

WithProjectName adds the projectName to the list policies params

func (*ListPoliciesParams) WithQ

WithQ adds the q to the list policies params

func (*ListPoliciesParams) WithTimeout

func (o *ListPoliciesParams) WithTimeout(timeout time.Duration) *ListPoliciesParams

WithTimeout adds the timeout to the list policies params

func (*ListPoliciesParams) WithXRequestID

func (o *ListPoliciesParams) WithXRequestID(xRequestID *string) *ListPoliciesParams

WithXRequestID adds the xRequestID to the list policies params

func (*ListPoliciesParams) WriteToRequest

func (o *ListPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListPoliciesReader

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

ListPoliciesReader is a Reader for the ListPolicies structure.

func (*ListPoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPoliciesUnauthorized

type ListPoliciesUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListPoliciesUnauthorized handles this case with default header values.

Unauthorized

func NewListPoliciesUnauthorized

func NewListPoliciesUnauthorized() *ListPoliciesUnauthorized

NewListPoliciesUnauthorized creates a ListPoliciesUnauthorized with default headers values

func (*ListPoliciesUnauthorized) Error

func (o *ListPoliciesUnauthorized) Error() string

func (*ListPoliciesUnauthorized) GetPayload

func (o *ListPoliciesUnauthorized) GetPayload() *models.Errors

type ListProvidersBadRequest

type ListProvidersBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersBadRequest handles this case with default header values.

Bad request

func NewListProvidersBadRequest

func NewListProvidersBadRequest() *ListProvidersBadRequest

NewListProvidersBadRequest creates a ListProvidersBadRequest with default headers values

func (*ListProvidersBadRequest) Error

func (o *ListProvidersBadRequest) Error() string

func (*ListProvidersBadRequest) GetPayload

func (o *ListProvidersBadRequest) GetPayload() *models.Errors

type ListProvidersForbidden

type ListProvidersForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersForbidden handles this case with default header values.

Forbidden

func NewListProvidersForbidden

func NewListProvidersForbidden() *ListProvidersForbidden

NewListProvidersForbidden creates a ListProvidersForbidden with default headers values

func (*ListProvidersForbidden) Error

func (o *ListProvidersForbidden) Error() string

func (*ListProvidersForbidden) GetPayload

func (o *ListProvidersForbidden) GetPayload() *models.Errors

type ListProvidersInternalServerError

type ListProvidersInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersInternalServerError handles this case with default header values.

Internal server error

func NewListProvidersInternalServerError

func NewListProvidersInternalServerError() *ListProvidersInternalServerError

NewListProvidersInternalServerError creates a ListProvidersInternalServerError with default headers values

func (*ListProvidersInternalServerError) Error

func (*ListProvidersInternalServerError) GetPayload

type ListProvidersNotFound

type ListProvidersNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersNotFound handles this case with default header values.

Not found

func NewListProvidersNotFound

func NewListProvidersNotFound() *ListProvidersNotFound

NewListProvidersNotFound creates a ListProvidersNotFound with default headers values

func (*ListProvidersNotFound) Error

func (o *ListProvidersNotFound) Error() string

func (*ListProvidersNotFound) GetPayload

func (o *ListProvidersNotFound) GetPayload() *models.Errors

type ListProvidersOK

type ListProvidersOK struct {
	Payload []*models.Metadata
}

ListProvidersOK handles this case with default header values.

Success

func NewListProvidersOK

func NewListProvidersOK() *ListProvidersOK

NewListProvidersOK creates a ListProvidersOK with default headers values

func (*ListProvidersOK) Error

func (o *ListProvidersOK) Error() string

func (*ListProvidersOK) GetPayload

func (o *ListProvidersOK) GetPayload() []*models.Metadata

type ListProvidersParams

type ListProvidersParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string

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

ListProvidersParams contains all the parameters to send to the API endpoint for the list providers operation typically these are written to a http.Request

func NewListProvidersParams

func NewListProvidersParams() *ListProvidersParams

NewListProvidersParams creates a new ListProvidersParams object with the default values initialized.

func NewListProvidersParamsWithContext

func NewListProvidersParamsWithContext(ctx context.Context) *ListProvidersParams

NewListProvidersParamsWithContext creates a new ListProvidersParams object with the default values initialized, and the ability to set a context for a request

func NewListProvidersParamsWithHTTPClient

func NewListProvidersParamsWithHTTPClient(client *http.Client) *ListProvidersParams

NewListProvidersParamsWithHTTPClient creates a new ListProvidersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListProvidersParamsWithTimeout

func NewListProvidersParamsWithTimeout(timeout time.Duration) *ListProvidersParams

NewListProvidersParamsWithTimeout creates a new ListProvidersParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListProvidersParams) SetContext

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

SetContext adds the context to the list providers params

func (*ListProvidersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list providers params

func (*ListProvidersParams) SetTimeout

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

SetTimeout adds the timeout to the list providers params

func (*ListProvidersParams) SetXRequestID

func (o *ListProvidersParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list providers params

func (*ListProvidersParams) WithContext

WithContext adds the context to the list providers params

func (*ListProvidersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list providers params

func (*ListProvidersParams) WithTimeout

func (o *ListProvidersParams) WithTimeout(timeout time.Duration) *ListProvidersParams

WithTimeout adds the timeout to the list providers params

func (*ListProvidersParams) WithXRequestID

func (o *ListProvidersParams) WithXRequestID(xRequestID *string) *ListProvidersParams

WithXRequestID adds the xRequestID to the list providers params

func (*ListProvidersParams) WriteToRequest

func (o *ListProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListProvidersReader

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

ListProvidersReader is a Reader for the ListProviders structure.

func (*ListProvidersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListProvidersUnauthorized

type ListProvidersUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersUnauthorized handles this case with default header values.

Unauthorized

func NewListProvidersUnauthorized

func NewListProvidersUnauthorized() *ListProvidersUnauthorized

NewListProvidersUnauthorized creates a ListProvidersUnauthorized with default headers values

func (*ListProvidersUnauthorized) Error

func (o *ListProvidersUnauthorized) Error() string

func (*ListProvidersUnauthorized) GetPayload

func (o *ListProvidersUnauthorized) GetPayload() *models.Errors

type ListProvidersUnderProjectBadRequest

type ListProvidersUnderProjectBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersUnderProjectBadRequest handles this case with default header values.

Bad request

func NewListProvidersUnderProjectBadRequest

func NewListProvidersUnderProjectBadRequest() *ListProvidersUnderProjectBadRequest

NewListProvidersUnderProjectBadRequest creates a ListProvidersUnderProjectBadRequest with default headers values

func (*ListProvidersUnderProjectBadRequest) Error

func (*ListProvidersUnderProjectBadRequest) GetPayload

type ListProvidersUnderProjectForbidden

type ListProvidersUnderProjectForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersUnderProjectForbidden handles this case with default header values.

Forbidden

func NewListProvidersUnderProjectForbidden

func NewListProvidersUnderProjectForbidden() *ListProvidersUnderProjectForbidden

NewListProvidersUnderProjectForbidden creates a ListProvidersUnderProjectForbidden with default headers values

func (*ListProvidersUnderProjectForbidden) Error

func (*ListProvidersUnderProjectForbidden) GetPayload

type ListProvidersUnderProjectInternalServerError

type ListProvidersUnderProjectInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersUnderProjectInternalServerError handles this case with default header values.

Internal server error

func NewListProvidersUnderProjectInternalServerError

func NewListProvidersUnderProjectInternalServerError() *ListProvidersUnderProjectInternalServerError

NewListProvidersUnderProjectInternalServerError creates a ListProvidersUnderProjectInternalServerError with default headers values

func (*ListProvidersUnderProjectInternalServerError) Error

func (*ListProvidersUnderProjectInternalServerError) GetPayload

type ListProvidersUnderProjectNotFound

type ListProvidersUnderProjectNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersUnderProjectNotFound handles this case with default header values.

Not found

func NewListProvidersUnderProjectNotFound

func NewListProvidersUnderProjectNotFound() *ListProvidersUnderProjectNotFound

NewListProvidersUnderProjectNotFound creates a ListProvidersUnderProjectNotFound with default headers values

func (*ListProvidersUnderProjectNotFound) Error

func (*ListProvidersUnderProjectNotFound) GetPayload

type ListProvidersUnderProjectOK

type ListProvidersUnderProjectOK struct {
	Payload []*models.ProviderUnderProject
}

ListProvidersUnderProjectOK handles this case with default header values.

Success

func NewListProvidersUnderProjectOK

func NewListProvidersUnderProjectOK() *ListProvidersUnderProjectOK

NewListProvidersUnderProjectOK creates a ListProvidersUnderProjectOK with default headers values

func (*ListProvidersUnderProjectOK) Error

func (*ListProvidersUnderProjectOK) GetPayload

type ListProvidersUnderProjectParams

type ListProvidersUnderProjectParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string

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

ListProvidersUnderProjectParams contains all the parameters to send to the API endpoint for the list providers under project operation typically these are written to a http.Request

func NewListProvidersUnderProjectParams

func NewListProvidersUnderProjectParams() *ListProvidersUnderProjectParams

NewListProvidersUnderProjectParams creates a new ListProvidersUnderProjectParams object with the default values initialized.

func NewListProvidersUnderProjectParamsWithContext

func NewListProvidersUnderProjectParamsWithContext(ctx context.Context) *ListProvidersUnderProjectParams

NewListProvidersUnderProjectParamsWithContext creates a new ListProvidersUnderProjectParams object with the default values initialized, and the ability to set a context for a request

func NewListProvidersUnderProjectParamsWithHTTPClient

func NewListProvidersUnderProjectParamsWithHTTPClient(client *http.Client) *ListProvidersUnderProjectParams

NewListProvidersUnderProjectParamsWithHTTPClient creates a new ListProvidersUnderProjectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListProvidersUnderProjectParamsWithTimeout

func NewListProvidersUnderProjectParamsWithTimeout(timeout time.Duration) *ListProvidersUnderProjectParams

NewListProvidersUnderProjectParamsWithTimeout creates a new ListProvidersUnderProjectParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListProvidersUnderProjectParams) SetContext

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

SetContext adds the context to the list providers under project params

func (*ListProvidersUnderProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list providers under project params

func (*ListProvidersUnderProjectParams) SetProjectName

func (o *ListProvidersUnderProjectParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the list providers under project params

func (*ListProvidersUnderProjectParams) SetTimeout

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

SetTimeout adds the timeout to the list providers under project params

func (*ListProvidersUnderProjectParams) SetXRequestID

func (o *ListProvidersUnderProjectParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list providers under project params

func (*ListProvidersUnderProjectParams) WithContext

WithContext adds the context to the list providers under project params

func (*ListProvidersUnderProjectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list providers under project params

func (*ListProvidersUnderProjectParams) WithProjectName

WithProjectName adds the projectName to the list providers under project params

func (*ListProvidersUnderProjectParams) WithTimeout

WithTimeout adds the timeout to the list providers under project params

func (*ListProvidersUnderProjectParams) WithXRequestID

WithXRequestID adds the xRequestID to the list providers under project params

func (*ListProvidersUnderProjectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProvidersUnderProjectReader

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

ListProvidersUnderProjectReader is a Reader for the ListProvidersUnderProject structure.

func (*ListProvidersUnderProjectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListProvidersUnderProjectUnauthorized

type ListProvidersUnderProjectUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListProvidersUnderProjectUnauthorized handles this case with default header values.

Unauthorized

func NewListProvidersUnderProjectUnauthorized

func NewListProvidersUnderProjectUnauthorized() *ListProvidersUnderProjectUnauthorized

NewListProvidersUnderProjectUnauthorized creates a ListProvidersUnderProjectUnauthorized with default headers values

func (*ListProvidersUnderProjectUnauthorized) Error

func (*ListProvidersUnderProjectUnauthorized) GetPayload

type ListTasksBadRequest

type ListTasksBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListTasksBadRequest handles this case with default header values.

Bad request

func NewListTasksBadRequest

func NewListTasksBadRequest() *ListTasksBadRequest

NewListTasksBadRequest creates a ListTasksBadRequest with default headers values

func (*ListTasksBadRequest) Error

func (o *ListTasksBadRequest) Error() string

func (*ListTasksBadRequest) GetPayload

func (o *ListTasksBadRequest) GetPayload() *models.Errors

type ListTasksForbidden

type ListTasksForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListTasksForbidden handles this case with default header values.

Forbidden

func NewListTasksForbidden

func NewListTasksForbidden() *ListTasksForbidden

NewListTasksForbidden creates a ListTasksForbidden with default headers values

func (*ListTasksForbidden) Error

func (o *ListTasksForbidden) Error() string

func (*ListTasksForbidden) GetPayload

func (o *ListTasksForbidden) GetPayload() *models.Errors

type ListTasksInternalServerError

type ListTasksInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListTasksInternalServerError handles this case with default header values.

Internal server error

func NewListTasksInternalServerError

func NewListTasksInternalServerError() *ListTasksInternalServerError

NewListTasksInternalServerError creates a ListTasksInternalServerError with default headers values

func (*ListTasksInternalServerError) Error

func (*ListTasksInternalServerError) GetPayload

func (o *ListTasksInternalServerError) GetPayload() *models.Errors

type ListTasksNotFound

type ListTasksNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListTasksNotFound handles this case with default header values.

Not found

func NewListTasksNotFound

func NewListTasksNotFound() *ListTasksNotFound

NewListTasksNotFound creates a ListTasksNotFound with default headers values

func (*ListTasksNotFound) Error

func (o *ListTasksNotFound) Error() string

func (*ListTasksNotFound) GetPayload

func (o *ListTasksNotFound) GetPayload() *models.Errors

type ListTasksOK

type ListTasksOK struct {
	/*Link refers to the previous page and next page
	 */
	Link string
	/*The total count of tasks
	 */
	XTotalCount int64

	Payload []*models.Task
}

ListTasksOK handles this case with default header values.

List tasks success

func NewListTasksOK

func NewListTasksOK() *ListTasksOK

NewListTasksOK creates a ListTasksOK with default headers values

func (*ListTasksOK) Error

func (o *ListTasksOK) Error() string

func (*ListTasksOK) GetPayload

func (o *ListTasksOK) GetPayload() []*models.Task

type ListTasksParams

type ListTasksParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*ExecutionID
	  Execution ID

	*/
	ExecutionID int64
	/*Page
	  The page number

	*/
	Page *int64
	/*PageSize
	  The size of per page

	*/
	PageSize *int64
	/*PreheatPolicyName
	  Preheat Policy Name

	*/
	PreheatPolicyName string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string
	/*Q
	  Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]

	*/
	Q *string

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

ListTasksParams contains all the parameters to send to the API endpoint for the list tasks operation typically these are written to a http.Request

func NewListTasksParams

func NewListTasksParams() *ListTasksParams

NewListTasksParams creates a new ListTasksParams object with the default values initialized.

func NewListTasksParamsWithContext

func NewListTasksParamsWithContext(ctx context.Context) *ListTasksParams

NewListTasksParamsWithContext creates a new ListTasksParams object with the default values initialized, and the ability to set a context for a request

func NewListTasksParamsWithHTTPClient

func NewListTasksParamsWithHTTPClient(client *http.Client) *ListTasksParams

NewListTasksParamsWithHTTPClient creates a new ListTasksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListTasksParamsWithTimeout

func NewListTasksParamsWithTimeout(timeout time.Duration) *ListTasksParams

NewListTasksParamsWithTimeout creates a new ListTasksParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListTasksParams) SetContext

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

SetContext adds the context to the list tasks params

func (*ListTasksParams) SetExecutionID

func (o *ListTasksParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the list tasks params

func (*ListTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list tasks params

func (*ListTasksParams) SetPage

func (o *ListTasksParams) SetPage(page *int64)

SetPage adds the page to the list tasks params

func (*ListTasksParams) SetPageSize

func (o *ListTasksParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list tasks params

func (*ListTasksParams) SetPreheatPolicyName

func (o *ListTasksParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the list tasks params

func (*ListTasksParams) SetProjectName

func (o *ListTasksParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the list tasks params

func (*ListTasksParams) SetQ

func (o *ListTasksParams) SetQ(q *string)

SetQ adds the q to the list tasks params

func (*ListTasksParams) SetTimeout

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

SetTimeout adds the timeout to the list tasks params

func (*ListTasksParams) SetXRequestID

func (o *ListTasksParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list tasks params

func (*ListTasksParams) WithContext

func (o *ListTasksParams) WithContext(ctx context.Context) *ListTasksParams

WithContext adds the context to the list tasks params

func (*ListTasksParams) WithExecutionID

func (o *ListTasksParams) WithExecutionID(executionID int64) *ListTasksParams

WithExecutionID adds the executionID to the list tasks params

func (*ListTasksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list tasks params

func (*ListTasksParams) WithPage

func (o *ListTasksParams) WithPage(page *int64) *ListTasksParams

WithPage adds the page to the list tasks params

func (*ListTasksParams) WithPageSize

func (o *ListTasksParams) WithPageSize(pageSize *int64) *ListTasksParams

WithPageSize adds the pageSize to the list tasks params

func (*ListTasksParams) WithPreheatPolicyName

func (o *ListTasksParams) WithPreheatPolicyName(preheatPolicyName string) *ListTasksParams

WithPreheatPolicyName adds the preheatPolicyName to the list tasks params

func (*ListTasksParams) WithProjectName

func (o *ListTasksParams) WithProjectName(projectName string) *ListTasksParams

WithProjectName adds the projectName to the list tasks params

func (*ListTasksParams) WithQ

func (o *ListTasksParams) WithQ(q *string) *ListTasksParams

WithQ adds the q to the list tasks params

func (*ListTasksParams) WithTimeout

func (o *ListTasksParams) WithTimeout(timeout time.Duration) *ListTasksParams

WithTimeout adds the timeout to the list tasks params

func (*ListTasksParams) WithXRequestID

func (o *ListTasksParams) WithXRequestID(xRequestID *string) *ListTasksParams

WithXRequestID adds the xRequestID to the list tasks params

func (*ListTasksParams) WriteToRequest

func (o *ListTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListTasksReader

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

ListTasksReader is a Reader for the ListTasks structure.

func (*ListTasksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTasksUnauthorized

type ListTasksUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ListTasksUnauthorized handles this case with default header values.

Unauthorized

func NewListTasksUnauthorized

func NewListTasksUnauthorized() *ListTasksUnauthorized

NewListTasksUnauthorized creates a ListTasksUnauthorized with default headers values

func (*ListTasksUnauthorized) Error

func (o *ListTasksUnauthorized) Error() string

func (*ListTasksUnauthorized) GetPayload

func (o *ListTasksUnauthorized) GetPayload() *models.Errors

type ManualPreheatBadRequest

type ManualPreheatBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ManualPreheatBadRequest handles this case with default header values.

Bad request

func NewManualPreheatBadRequest

func NewManualPreheatBadRequest() *ManualPreheatBadRequest

NewManualPreheatBadRequest creates a ManualPreheatBadRequest with default headers values

func (*ManualPreheatBadRequest) Error

func (o *ManualPreheatBadRequest) Error() string

func (*ManualPreheatBadRequest) GetPayload

func (o *ManualPreheatBadRequest) GetPayload() *models.Errors

type ManualPreheatCreated

type ManualPreheatCreated struct {
	/*The location of the resource
	 */
	Location string
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

ManualPreheatCreated handles this case with default header values.

Created

func NewManualPreheatCreated

func NewManualPreheatCreated() *ManualPreheatCreated

NewManualPreheatCreated creates a ManualPreheatCreated with default headers values

func (*ManualPreheatCreated) Error

func (o *ManualPreheatCreated) Error() string

type ManualPreheatForbidden

type ManualPreheatForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ManualPreheatForbidden handles this case with default header values.

Forbidden

func NewManualPreheatForbidden

func NewManualPreheatForbidden() *ManualPreheatForbidden

NewManualPreheatForbidden creates a ManualPreheatForbidden with default headers values

func (*ManualPreheatForbidden) Error

func (o *ManualPreheatForbidden) Error() string

func (*ManualPreheatForbidden) GetPayload

func (o *ManualPreheatForbidden) GetPayload() *models.Errors

type ManualPreheatInternalServerError

type ManualPreheatInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ManualPreheatInternalServerError handles this case with default header values.

Internal server error

func NewManualPreheatInternalServerError

func NewManualPreheatInternalServerError() *ManualPreheatInternalServerError

NewManualPreheatInternalServerError creates a ManualPreheatInternalServerError with default headers values

func (*ManualPreheatInternalServerError) Error

func (*ManualPreheatInternalServerError) GetPayload

type ManualPreheatNotFound

type ManualPreheatNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ManualPreheatNotFound handles this case with default header values.

Not found

func NewManualPreheatNotFound

func NewManualPreheatNotFound() *ManualPreheatNotFound

NewManualPreheatNotFound creates a ManualPreheatNotFound with default headers values

func (*ManualPreheatNotFound) Error

func (o *ManualPreheatNotFound) Error() string

func (*ManualPreheatNotFound) GetPayload

func (o *ManualPreheatNotFound) GetPayload() *models.Errors

type ManualPreheatParams

type ManualPreheatParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Policy
	  The policy schema info

	*/
	Policy *models.PreheatPolicy
	/*PreheatPolicyName
	  Preheat Policy Name

	*/
	PreheatPolicyName string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string

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

ManualPreheatParams contains all the parameters to send to the API endpoint for the manual preheat operation typically these are written to a http.Request

func NewManualPreheatParams

func NewManualPreheatParams() *ManualPreheatParams

NewManualPreheatParams creates a new ManualPreheatParams object with the default values initialized.

func NewManualPreheatParamsWithContext

func NewManualPreheatParamsWithContext(ctx context.Context) *ManualPreheatParams

NewManualPreheatParamsWithContext creates a new ManualPreheatParams object with the default values initialized, and the ability to set a context for a request

func NewManualPreheatParamsWithHTTPClient

func NewManualPreheatParamsWithHTTPClient(client *http.Client) *ManualPreheatParams

NewManualPreheatParamsWithHTTPClient creates a new ManualPreheatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewManualPreheatParamsWithTimeout

func NewManualPreheatParamsWithTimeout(timeout time.Duration) *ManualPreheatParams

NewManualPreheatParamsWithTimeout creates a new ManualPreheatParams object with the default values initialized, and the ability to set a timeout on a request

func (*ManualPreheatParams) SetContext

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

SetContext adds the context to the manual preheat params

func (*ManualPreheatParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the manual preheat params

func (*ManualPreheatParams) SetPolicy

func (o *ManualPreheatParams) SetPolicy(policy *models.PreheatPolicy)

SetPolicy adds the policy to the manual preheat params

func (*ManualPreheatParams) SetPreheatPolicyName

func (o *ManualPreheatParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the manual preheat params

func (*ManualPreheatParams) SetProjectName

func (o *ManualPreheatParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the manual preheat params

func (*ManualPreheatParams) SetTimeout

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

SetTimeout adds the timeout to the manual preheat params

func (*ManualPreheatParams) SetXRequestID

func (o *ManualPreheatParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the manual preheat params

func (*ManualPreheatParams) WithContext

WithContext adds the context to the manual preheat params

func (*ManualPreheatParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the manual preheat params

func (*ManualPreheatParams) WithPolicy

WithPolicy adds the policy to the manual preheat params

func (*ManualPreheatParams) WithPreheatPolicyName

func (o *ManualPreheatParams) WithPreheatPolicyName(preheatPolicyName string) *ManualPreheatParams

WithPreheatPolicyName adds the preheatPolicyName to the manual preheat params

func (*ManualPreheatParams) WithProjectName

func (o *ManualPreheatParams) WithProjectName(projectName string) *ManualPreheatParams

WithProjectName adds the projectName to the manual preheat params

func (*ManualPreheatParams) WithTimeout

func (o *ManualPreheatParams) WithTimeout(timeout time.Duration) *ManualPreheatParams

WithTimeout adds the timeout to the manual preheat params

func (*ManualPreheatParams) WithXRequestID

func (o *ManualPreheatParams) WithXRequestID(xRequestID *string) *ManualPreheatParams

WithXRequestID adds the xRequestID to the manual preheat params

func (*ManualPreheatParams) WriteToRequest

func (o *ManualPreheatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ManualPreheatReader

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

ManualPreheatReader is a Reader for the ManualPreheat structure.

func (*ManualPreheatReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ManualPreheatUnauthorized

type ManualPreheatUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ManualPreheatUnauthorized handles this case with default header values.

Unauthorized

func NewManualPreheatUnauthorized

func NewManualPreheatUnauthorized() *ManualPreheatUnauthorized

NewManualPreheatUnauthorized creates a ManualPreheatUnauthorized with default headers values

func (*ManualPreheatUnauthorized) Error

func (o *ManualPreheatUnauthorized) Error() string

func (*ManualPreheatUnauthorized) GetPayload

func (o *ManualPreheatUnauthorized) GetPayload() *models.Errors

type PingInstancesBadRequest

type PingInstancesBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

PingInstancesBadRequest handles this case with default header values.

Bad request

func NewPingInstancesBadRequest

func NewPingInstancesBadRequest() *PingInstancesBadRequest

NewPingInstancesBadRequest creates a PingInstancesBadRequest with default headers values

func (*PingInstancesBadRequest) Error

func (o *PingInstancesBadRequest) Error() string

func (*PingInstancesBadRequest) GetPayload

func (o *PingInstancesBadRequest) GetPayload() *models.Errors

type PingInstancesInternalServerError

type PingInstancesInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

PingInstancesInternalServerError handles this case with default header values.

Internal server error

func NewPingInstancesInternalServerError

func NewPingInstancesInternalServerError() *PingInstancesInternalServerError

NewPingInstancesInternalServerError creates a PingInstancesInternalServerError with default headers values

func (*PingInstancesInternalServerError) Error

func (*PingInstancesInternalServerError) GetPayload

type PingInstancesNotFound

type PingInstancesNotFound struct {
}

PingInstancesNotFound handles this case with default header values.

Instance not found (when instance is provided by ID).

func NewPingInstancesNotFound

func NewPingInstancesNotFound() *PingInstancesNotFound

NewPingInstancesNotFound creates a PingInstancesNotFound with default headers values

func (*PingInstancesNotFound) Error

func (o *PingInstancesNotFound) Error() string

type PingInstancesOK

type PingInstancesOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

PingInstancesOK handles this case with default header values.

Success

func NewPingInstancesOK

func NewPingInstancesOK() *PingInstancesOK

NewPingInstancesOK creates a PingInstancesOK with default headers values

func (*PingInstancesOK) Error

func (o *PingInstancesOK) Error() string

type PingInstancesParams

type PingInstancesParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Instance
	  The JSON object of instance.

	*/
	Instance *models.Instance

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

PingInstancesParams contains all the parameters to send to the API endpoint for the ping instances operation typically these are written to a http.Request

func NewPingInstancesParams

func NewPingInstancesParams() *PingInstancesParams

NewPingInstancesParams creates a new PingInstancesParams object with the default values initialized.

func NewPingInstancesParamsWithContext

func NewPingInstancesParamsWithContext(ctx context.Context) *PingInstancesParams

NewPingInstancesParamsWithContext creates a new PingInstancesParams object with the default values initialized, and the ability to set a context for a request

func NewPingInstancesParamsWithHTTPClient

func NewPingInstancesParamsWithHTTPClient(client *http.Client) *PingInstancesParams

NewPingInstancesParamsWithHTTPClient creates a new PingInstancesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPingInstancesParamsWithTimeout

func NewPingInstancesParamsWithTimeout(timeout time.Duration) *PingInstancesParams

NewPingInstancesParamsWithTimeout creates a new PingInstancesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PingInstancesParams) SetContext

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

SetContext adds the context to the ping instances params

func (*PingInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ping instances params

func (*PingInstancesParams) SetInstance

func (o *PingInstancesParams) SetInstance(instance *models.Instance)

SetInstance adds the instance to the ping instances params

func (*PingInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the ping instances params

func (*PingInstancesParams) SetXRequestID

func (o *PingInstancesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the ping instances params

func (*PingInstancesParams) WithContext

WithContext adds the context to the ping instances params

func (*PingInstancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ping instances params

func (*PingInstancesParams) WithInstance

func (o *PingInstancesParams) WithInstance(instance *models.Instance) *PingInstancesParams

WithInstance adds the instance to the ping instances params

func (*PingInstancesParams) WithTimeout

func (o *PingInstancesParams) WithTimeout(timeout time.Duration) *PingInstancesParams

WithTimeout adds the timeout to the ping instances params

func (*PingInstancesParams) WithXRequestID

func (o *PingInstancesParams) WithXRequestID(xRequestID *string) *PingInstancesParams

WithXRequestID adds the xRequestID to the ping instances params

func (*PingInstancesParams) WriteToRequest

func (o *PingInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PingInstancesReader

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

PingInstancesReader is a Reader for the PingInstances structure.

func (*PingInstancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PingInstancesUnauthorized

type PingInstancesUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

PingInstancesUnauthorized handles this case with default header values.

Unauthorized

func NewPingInstancesUnauthorized

func NewPingInstancesUnauthorized() *PingInstancesUnauthorized

NewPingInstancesUnauthorized creates a PingInstancesUnauthorized with default headers values

func (*PingInstancesUnauthorized) Error

func (o *PingInstancesUnauthorized) Error() string

func (*PingInstancesUnauthorized) GetPayload

func (o *PingInstancesUnauthorized) GetPayload() *models.Errors

type StopExecutionBadRequest

type StopExecutionBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StopExecutionBadRequest handles this case with default header values.

Bad request

func NewStopExecutionBadRequest

func NewStopExecutionBadRequest() *StopExecutionBadRequest

NewStopExecutionBadRequest creates a StopExecutionBadRequest with default headers values

func (*StopExecutionBadRequest) Error

func (o *StopExecutionBadRequest) Error() string

func (*StopExecutionBadRequest) GetPayload

func (o *StopExecutionBadRequest) GetPayload() *models.Errors

type StopExecutionForbidden

type StopExecutionForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StopExecutionForbidden handles this case with default header values.

Forbidden

func NewStopExecutionForbidden

func NewStopExecutionForbidden() *StopExecutionForbidden

NewStopExecutionForbidden creates a StopExecutionForbidden with default headers values

func (*StopExecutionForbidden) Error

func (o *StopExecutionForbidden) Error() string

func (*StopExecutionForbidden) GetPayload

func (o *StopExecutionForbidden) GetPayload() *models.Errors

type StopExecutionInternalServerError

type StopExecutionInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StopExecutionInternalServerError handles this case with default header values.

Internal server error

func NewStopExecutionInternalServerError

func NewStopExecutionInternalServerError() *StopExecutionInternalServerError

NewStopExecutionInternalServerError creates a StopExecutionInternalServerError with default headers values

func (*StopExecutionInternalServerError) Error

func (*StopExecutionInternalServerError) GetPayload

type StopExecutionNotFound

type StopExecutionNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StopExecutionNotFound handles this case with default header values.

Not found

func NewStopExecutionNotFound

func NewStopExecutionNotFound() *StopExecutionNotFound

NewStopExecutionNotFound creates a StopExecutionNotFound with default headers values

func (*StopExecutionNotFound) Error

func (o *StopExecutionNotFound) Error() string

func (*StopExecutionNotFound) GetPayload

func (o *StopExecutionNotFound) GetPayload() *models.Errors

type StopExecutionOK

type StopExecutionOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

StopExecutionOK handles this case with default header values.

Success

func NewStopExecutionOK

func NewStopExecutionOK() *StopExecutionOK

NewStopExecutionOK creates a StopExecutionOK with default headers values

func (*StopExecutionOK) Error

func (o *StopExecutionOK) Error() string

type StopExecutionParams

type StopExecutionParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Execution
	  The data of execution

	*/
	Execution *models.Execution
	/*ExecutionID
	  Execution ID

	*/
	ExecutionID int64
	/*PreheatPolicyName
	  Preheat Policy Name

	*/
	PreheatPolicyName string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string

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

StopExecutionParams contains all the parameters to send to the API endpoint for the stop execution operation typically these are written to a http.Request

func NewStopExecutionParams

func NewStopExecutionParams() *StopExecutionParams

NewStopExecutionParams creates a new StopExecutionParams object with the default values initialized.

func NewStopExecutionParamsWithContext

func NewStopExecutionParamsWithContext(ctx context.Context) *StopExecutionParams

NewStopExecutionParamsWithContext creates a new StopExecutionParams object with the default values initialized, and the ability to set a context for a request

func NewStopExecutionParamsWithHTTPClient

func NewStopExecutionParamsWithHTTPClient(client *http.Client) *StopExecutionParams

NewStopExecutionParamsWithHTTPClient creates a new StopExecutionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewStopExecutionParamsWithTimeout

func NewStopExecutionParamsWithTimeout(timeout time.Duration) *StopExecutionParams

NewStopExecutionParamsWithTimeout creates a new StopExecutionParams object with the default values initialized, and the ability to set a timeout on a request

func (*StopExecutionParams) SetContext

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

SetContext adds the context to the stop execution params

func (*StopExecutionParams) SetExecution

func (o *StopExecutionParams) SetExecution(execution *models.Execution)

SetExecution adds the execution to the stop execution params

func (*StopExecutionParams) SetExecutionID

func (o *StopExecutionParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the stop execution params

func (*StopExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop execution params

func (*StopExecutionParams) SetPreheatPolicyName

func (o *StopExecutionParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the stop execution params

func (*StopExecutionParams) SetProjectName

func (o *StopExecutionParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the stop execution params

func (*StopExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the stop execution params

func (*StopExecutionParams) SetXRequestID

func (o *StopExecutionParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the stop execution params

func (*StopExecutionParams) WithContext

WithContext adds the context to the stop execution params

func (*StopExecutionParams) WithExecution

func (o *StopExecutionParams) WithExecution(execution *models.Execution) *StopExecutionParams

WithExecution adds the execution to the stop execution params

func (*StopExecutionParams) WithExecutionID

func (o *StopExecutionParams) WithExecutionID(executionID int64) *StopExecutionParams

WithExecutionID adds the executionID to the stop execution params

func (*StopExecutionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop execution params

func (*StopExecutionParams) WithPreheatPolicyName

func (o *StopExecutionParams) WithPreheatPolicyName(preheatPolicyName string) *StopExecutionParams

WithPreheatPolicyName adds the preheatPolicyName to the stop execution params

func (*StopExecutionParams) WithProjectName

func (o *StopExecutionParams) WithProjectName(projectName string) *StopExecutionParams

WithProjectName adds the projectName to the stop execution params

func (*StopExecutionParams) WithTimeout

func (o *StopExecutionParams) WithTimeout(timeout time.Duration) *StopExecutionParams

WithTimeout adds the timeout to the stop execution params

func (*StopExecutionParams) WithXRequestID

func (o *StopExecutionParams) WithXRequestID(xRequestID *string) *StopExecutionParams

WithXRequestID adds the xRequestID to the stop execution params

func (*StopExecutionParams) WriteToRequest

func (o *StopExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StopExecutionReader

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

StopExecutionReader is a Reader for the StopExecution structure.

func (*StopExecutionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopExecutionUnauthorized

type StopExecutionUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

StopExecutionUnauthorized handles this case with default header values.

Unauthorized

func NewStopExecutionUnauthorized

func NewStopExecutionUnauthorized() *StopExecutionUnauthorized

NewStopExecutionUnauthorized creates a StopExecutionUnauthorized with default headers values

func (*StopExecutionUnauthorized) Error

func (o *StopExecutionUnauthorized) Error() string

func (*StopExecutionUnauthorized) GetPayload

func (o *StopExecutionUnauthorized) GetPayload() *models.Errors

type UpdateInstanceBadRequest

type UpdateInstanceBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdateInstanceBadRequest handles this case with default header values.

Bad request

func NewUpdateInstanceBadRequest

func NewUpdateInstanceBadRequest() *UpdateInstanceBadRequest

NewUpdateInstanceBadRequest creates a UpdateInstanceBadRequest with default headers values

func (*UpdateInstanceBadRequest) Error

func (o *UpdateInstanceBadRequest) Error() string

func (*UpdateInstanceBadRequest) GetPayload

func (o *UpdateInstanceBadRequest) GetPayload() *models.Errors

type UpdateInstanceForbidden

type UpdateInstanceForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdateInstanceForbidden handles this case with default header values.

Forbidden

func NewUpdateInstanceForbidden

func NewUpdateInstanceForbidden() *UpdateInstanceForbidden

NewUpdateInstanceForbidden creates a UpdateInstanceForbidden with default headers values

func (*UpdateInstanceForbidden) Error

func (o *UpdateInstanceForbidden) Error() string

func (*UpdateInstanceForbidden) GetPayload

func (o *UpdateInstanceForbidden) GetPayload() *models.Errors

type UpdateInstanceInternalServerError

type UpdateInstanceInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdateInstanceInternalServerError handles this case with default header values.

Internal server error

func NewUpdateInstanceInternalServerError

func NewUpdateInstanceInternalServerError() *UpdateInstanceInternalServerError

NewUpdateInstanceInternalServerError creates a UpdateInstanceInternalServerError with default headers values

func (*UpdateInstanceInternalServerError) Error

func (*UpdateInstanceInternalServerError) GetPayload

type UpdateInstanceNotFound

type UpdateInstanceNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdateInstanceNotFound handles this case with default header values.

Not found

func NewUpdateInstanceNotFound

func NewUpdateInstanceNotFound() *UpdateInstanceNotFound

NewUpdateInstanceNotFound creates a UpdateInstanceNotFound with default headers values

func (*UpdateInstanceNotFound) Error

func (o *UpdateInstanceNotFound) Error() string

func (*UpdateInstanceNotFound) GetPayload

func (o *UpdateInstanceNotFound) GetPayload() *models.Errors

type UpdateInstanceOK

type UpdateInstanceOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

UpdateInstanceOK handles this case with default header values.

Success

func NewUpdateInstanceOK

func NewUpdateInstanceOK() *UpdateInstanceOK

NewUpdateInstanceOK creates a UpdateInstanceOK with default headers values

func (*UpdateInstanceOK) Error

func (o *UpdateInstanceOK) Error() string

type UpdateInstanceParams

type UpdateInstanceParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Instance
	  The instance to update

	*/
	Instance *models.Instance
	/*PreheatInstanceName
	  Instance Name

	*/
	PreheatInstanceName string

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

UpdateInstanceParams contains all the parameters to send to the API endpoint for the update instance operation typically these are written to a http.Request

func NewUpdateInstanceParams

func NewUpdateInstanceParams() *UpdateInstanceParams

NewUpdateInstanceParams creates a new UpdateInstanceParams object with the default values initialized.

func NewUpdateInstanceParamsWithContext

func NewUpdateInstanceParamsWithContext(ctx context.Context) *UpdateInstanceParams

NewUpdateInstanceParamsWithContext creates a new UpdateInstanceParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateInstanceParamsWithHTTPClient

func NewUpdateInstanceParamsWithHTTPClient(client *http.Client) *UpdateInstanceParams

NewUpdateInstanceParamsWithHTTPClient creates a new UpdateInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateInstanceParamsWithTimeout

func NewUpdateInstanceParamsWithTimeout(timeout time.Duration) *UpdateInstanceParams

NewUpdateInstanceParamsWithTimeout creates a new UpdateInstanceParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateInstanceParams) SetContext

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

SetContext adds the context to the update instance params

func (*UpdateInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update instance params

func (*UpdateInstanceParams) SetInstance

func (o *UpdateInstanceParams) SetInstance(instance *models.Instance)

SetInstance adds the instance to the update instance params

func (*UpdateInstanceParams) SetPreheatInstanceName

func (o *UpdateInstanceParams) SetPreheatInstanceName(preheatInstanceName string)

SetPreheatInstanceName adds the preheatInstanceName to the update instance params

func (*UpdateInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the update instance params

func (*UpdateInstanceParams) SetXRequestID

func (o *UpdateInstanceParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the update instance params

func (*UpdateInstanceParams) WithContext

WithContext adds the context to the update instance params

func (*UpdateInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update instance params

func (*UpdateInstanceParams) WithInstance

func (o *UpdateInstanceParams) WithInstance(instance *models.Instance) *UpdateInstanceParams

WithInstance adds the instance to the update instance params

func (*UpdateInstanceParams) WithPreheatInstanceName

func (o *UpdateInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *UpdateInstanceParams

WithPreheatInstanceName adds the preheatInstanceName to the update instance params

func (*UpdateInstanceParams) WithTimeout

func (o *UpdateInstanceParams) WithTimeout(timeout time.Duration) *UpdateInstanceParams

WithTimeout adds the timeout to the update instance params

func (*UpdateInstanceParams) WithXRequestID

func (o *UpdateInstanceParams) WithXRequestID(xRequestID *string) *UpdateInstanceParams

WithXRequestID adds the xRequestID to the update instance params

func (*UpdateInstanceParams) WriteToRequest

func (o *UpdateInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateInstanceReader

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

UpdateInstanceReader is a Reader for the UpdateInstance structure.

func (*UpdateInstanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateInstanceUnauthorized

type UpdateInstanceUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdateInstanceUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateInstanceUnauthorized

func NewUpdateInstanceUnauthorized() *UpdateInstanceUnauthorized

NewUpdateInstanceUnauthorized creates a UpdateInstanceUnauthorized with default headers values

func (*UpdateInstanceUnauthorized) Error

func (*UpdateInstanceUnauthorized) GetPayload

func (o *UpdateInstanceUnauthorized) GetPayload() *models.Errors

type UpdatePolicyBadRequest

type UpdatePolicyBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdatePolicyBadRequest handles this case with default header values.

Bad request

func NewUpdatePolicyBadRequest

func NewUpdatePolicyBadRequest() *UpdatePolicyBadRequest

NewUpdatePolicyBadRequest creates a UpdatePolicyBadRequest with default headers values

func (*UpdatePolicyBadRequest) Error

func (o *UpdatePolicyBadRequest) Error() string

func (*UpdatePolicyBadRequest) GetPayload

func (o *UpdatePolicyBadRequest) GetPayload() *models.Errors

type UpdatePolicyConflict

type UpdatePolicyConflict struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdatePolicyConflict handles this case with default header values.

Conflict

func NewUpdatePolicyConflict

func NewUpdatePolicyConflict() *UpdatePolicyConflict

NewUpdatePolicyConflict creates a UpdatePolicyConflict with default headers values

func (*UpdatePolicyConflict) Error

func (o *UpdatePolicyConflict) Error() string

func (*UpdatePolicyConflict) GetPayload

func (o *UpdatePolicyConflict) GetPayload() *models.Errors

type UpdatePolicyForbidden

type UpdatePolicyForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdatePolicyForbidden handles this case with default header values.

Forbidden

func NewUpdatePolicyForbidden

func NewUpdatePolicyForbidden() *UpdatePolicyForbidden

NewUpdatePolicyForbidden creates a UpdatePolicyForbidden with default headers values

func (*UpdatePolicyForbidden) Error

func (o *UpdatePolicyForbidden) Error() string

func (*UpdatePolicyForbidden) GetPayload

func (o *UpdatePolicyForbidden) GetPayload() *models.Errors

type UpdatePolicyInternalServerError

type UpdatePolicyInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdatePolicyInternalServerError handles this case with default header values.

Internal server error

func NewUpdatePolicyInternalServerError

func NewUpdatePolicyInternalServerError() *UpdatePolicyInternalServerError

NewUpdatePolicyInternalServerError creates a UpdatePolicyInternalServerError with default headers values

func (*UpdatePolicyInternalServerError) Error

func (*UpdatePolicyInternalServerError) GetPayload

type UpdatePolicyNotFound

type UpdatePolicyNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdatePolicyNotFound handles this case with default header values.

Not found

func NewUpdatePolicyNotFound

func NewUpdatePolicyNotFound() *UpdatePolicyNotFound

NewUpdatePolicyNotFound creates a UpdatePolicyNotFound with default headers values

func (*UpdatePolicyNotFound) Error

func (o *UpdatePolicyNotFound) Error() string

func (*UpdatePolicyNotFound) GetPayload

func (o *UpdatePolicyNotFound) GetPayload() *models.Errors

type UpdatePolicyOK

type UpdatePolicyOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

UpdatePolicyOK handles this case with default header values.

Success

func NewUpdatePolicyOK

func NewUpdatePolicyOK() *UpdatePolicyOK

NewUpdatePolicyOK creates a UpdatePolicyOK with default headers values

func (*UpdatePolicyOK) Error

func (o *UpdatePolicyOK) Error() string

type UpdatePolicyParams

type UpdatePolicyParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Policy
	  The policy schema info

	*/
	Policy *models.PreheatPolicy
	/*PreheatPolicyName
	  Preheat Policy Name

	*/
	PreheatPolicyName string
	/*ProjectName
	  The name of the project

	*/
	ProjectName string

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

UpdatePolicyParams contains all the parameters to send to the API endpoint for the update policy operation typically these are written to a http.Request

func NewUpdatePolicyParams

func NewUpdatePolicyParams() *UpdatePolicyParams

NewUpdatePolicyParams creates a new UpdatePolicyParams object with the default values initialized.

func NewUpdatePolicyParamsWithContext

func NewUpdatePolicyParamsWithContext(ctx context.Context) *UpdatePolicyParams

NewUpdatePolicyParamsWithContext creates a new UpdatePolicyParams object with the default values initialized, and the ability to set a context for a request

func NewUpdatePolicyParamsWithHTTPClient

func NewUpdatePolicyParamsWithHTTPClient(client *http.Client) *UpdatePolicyParams

NewUpdatePolicyParamsWithHTTPClient creates a new UpdatePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdatePolicyParamsWithTimeout

func NewUpdatePolicyParamsWithTimeout(timeout time.Duration) *UpdatePolicyParams

NewUpdatePolicyParamsWithTimeout creates a new UpdatePolicyParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdatePolicyParams) SetContext

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

SetContext adds the context to the update policy params

func (*UpdatePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update policy params

func (*UpdatePolicyParams) SetPolicy

func (o *UpdatePolicyParams) SetPolicy(policy *models.PreheatPolicy)

SetPolicy adds the policy to the update policy params

func (*UpdatePolicyParams) SetPreheatPolicyName

func (o *UpdatePolicyParams) SetPreheatPolicyName(preheatPolicyName string)

SetPreheatPolicyName adds the preheatPolicyName to the update policy params

func (*UpdatePolicyParams) SetProjectName

func (o *UpdatePolicyParams) SetProjectName(projectName string)

SetProjectName adds the projectName to the update policy params

func (*UpdatePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the update policy params

func (*UpdatePolicyParams) SetXRequestID

func (o *UpdatePolicyParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the update policy params

func (*UpdatePolicyParams) WithContext

WithContext adds the context to the update policy params

func (*UpdatePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update policy params

func (*UpdatePolicyParams) WithPolicy

WithPolicy adds the policy to the update policy params

func (*UpdatePolicyParams) WithPreheatPolicyName

func (o *UpdatePolicyParams) WithPreheatPolicyName(preheatPolicyName string) *UpdatePolicyParams

WithPreheatPolicyName adds the preheatPolicyName to the update policy params

func (*UpdatePolicyParams) WithProjectName

func (o *UpdatePolicyParams) WithProjectName(projectName string) *UpdatePolicyParams

WithProjectName adds the projectName to the update policy params

func (*UpdatePolicyParams) WithTimeout

func (o *UpdatePolicyParams) WithTimeout(timeout time.Duration) *UpdatePolicyParams

WithTimeout adds the timeout to the update policy params

func (*UpdatePolicyParams) WithXRequestID

func (o *UpdatePolicyParams) WithXRequestID(xRequestID *string) *UpdatePolicyParams

WithXRequestID adds the xRequestID to the update policy params

func (*UpdatePolicyParams) WriteToRequest

func (o *UpdatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdatePolicyReader

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

UpdatePolicyReader is a Reader for the UpdatePolicy structure.

func (*UpdatePolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePolicyUnauthorized

type UpdatePolicyUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

UpdatePolicyUnauthorized handles this case with default header values.

Unauthorized

func NewUpdatePolicyUnauthorized

func NewUpdatePolicyUnauthorized() *UpdatePolicyUnauthorized

NewUpdatePolicyUnauthorized creates a UpdatePolicyUnauthorized with default headers values

func (*UpdatePolicyUnauthorized) Error

func (o *UpdatePolicyUnauthorized) Error() string

func (*UpdatePolicyUnauthorized) GetPayload

func (o *UpdatePolicyUnauthorized) GetPayload() *models.Errors

Jump to

Keyboard shortcuts

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