preheat

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: MIT 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, opts ...ClientOption) (*CreateInstanceCreated, error)

CreateInstance creates p2p provider instances

Create p2p provider instances

func (*Client) CreatePolicy

func (a *Client) CreatePolicy(params *CreatePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*DeletePolicyOK, error)

DeletePolicy deletes a preheat policy

Delete a preheat policy

func (*Client) GetExecution

func (a *Client) GetExecution(params *GetExecutionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*GetPolicyOK, error)

GetPolicy gets a preheat policy

Get a preheat policy

func (*Client) GetPreheatLog

func (a *Client) GetPreheatLog(params *GetPreheatLogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*ListInstancesOK, error)

ListInstances lists p2 p provider instances

List P2P provider instances

func (*Client) ListPolicies

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

ListPolicies lists preheat policies

List preheat policies

func (*Client) ListProviders

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

ListProviders lists p2 p providers

List P2P providers

func (*Client) ListProvidersUnderProject

func (a *Client) ListProvidersUnderProject(params *ListProvidersUnderProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*ManualPreheatCreated, error)

ManualPreheat manuals preheat

Manual preheat

func (*Client) PingInstances

func (a *Client) PingInstances(params *PingInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*StopExecutionOK, error)

StopExecution stops a execution

Stop a execution

func (*Client) UpdateInstance

func (a *Client) UpdateInstance(params *UpdateInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*UpdatePolicyOK, error)

UpdatePolicy updates preheat policy

Update preheat policy

type ClientOption added in v3.2.1

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	UpdatePolicy(params *UpdatePolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 *model.Errors
}
CreateInstanceBadRequest describes a response with status code 400, 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() *model.Errors

type CreateInstanceConflict

type CreateInstanceConflict struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
CreateInstanceConflict describes a response with status code 409, 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() *model.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 describes a response with status code 201, 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 *model.Errors
}
CreateInstanceForbidden describes a response with status code 403, 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() *model.Errors

type CreateInstanceInternalServerError

type CreateInstanceInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
CreateInstanceInternalServerError describes a response with status code 500, 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 *model.Errors
}
CreateInstanceNotFound describes a response with status code 404, 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() *model.Errors

type CreateInstanceParams

type CreateInstanceParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Instance.

	   The JSON object of instance.
	*/
	Instance *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateInstanceParamsWithContext

func NewCreateInstanceParamsWithContext(ctx context.Context) *CreateInstanceParams

NewCreateInstanceParamsWithContext creates a new CreateInstanceParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *CreateInstanceParams) SetDefaults()

SetDefaults hydrates default values in the create instance params (not the query body).

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

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 *model.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) WithDefaults added in v3.1.1

func (o *CreateInstanceParams) WithDefaults() *CreateInstanceParams

WithDefaults hydrates default values in the create instance params (not the query body).

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

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 *model.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 *model.Errors
}
CreateInstanceUnauthorized describes a response with status code 401, 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() *model.Errors

type CreatePolicyBadRequest

type CreatePolicyBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
CreatePolicyBadRequest describes a response with status code 400, 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() *model.Errors

type CreatePolicyConflict

type CreatePolicyConflict struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
CreatePolicyConflict describes a response with status code 409, 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() *model.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 describes a response with status code 201, 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 *model.Errors
}
CreatePolicyForbidden describes a response with status code 403, 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() *model.Errors

type CreatePolicyInternalServerError

type CreatePolicyInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
CreatePolicyInternalServerError describes a response with status code 500, 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

func (o *CreatePolicyInternalServerError) GetPayload() *model.Errors

type CreatePolicyParams

type CreatePolicyParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Policy.

	   The policy schema info
	*/
	Policy *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreatePolicyParamsWithContext

func NewCreatePolicyParamsWithContext(ctx context.Context) *CreatePolicyParams

NewCreatePolicyParamsWithContext creates a new CreatePolicyParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *CreatePolicyParams) SetDefaults()

SetDefaults hydrates default values in the create policy params (not the query body).

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

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 *model.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) WithDefaults added in v3.1.1

func (o *CreatePolicyParams) WithDefaults() *CreatePolicyParams

WithDefaults hydrates default values in the create policy params (not the query body).

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

func (*CreatePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create policy params

func (*CreatePolicyParams) WithPolicy

func (o *CreatePolicyParams) WithPolicy(policy *model.PreheatPolicy) *CreatePolicyParams

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 *model.Errors
}
CreatePolicyUnauthorized describes a response with status code 401, 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() *model.Errors

type DeleteInstanceForbidden

type DeleteInstanceForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
DeleteInstanceForbidden describes a response with status code 403, 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() *model.Errors

type DeleteInstanceInternalServerError

type DeleteInstanceInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
DeleteInstanceInternalServerError describes a response with status code 500, 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 *model.Errors
}
DeleteInstanceNotFound describes a response with status code 404, 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() *model.Errors

type DeleteInstanceOK

type DeleteInstanceOK struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}
DeleteInstanceOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteInstanceParamsWithContext

func NewDeleteInstanceParamsWithContext(ctx context.Context) *DeleteInstanceParams

NewDeleteInstanceParamsWithContext creates a new DeleteInstanceParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *DeleteInstanceParams) SetDefaults()

SetDefaults hydrates default values in the delete instance params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *DeleteInstanceParams) WithDefaults() *DeleteInstanceParams

WithDefaults hydrates default values in the delete instance params (not the query body).

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

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 *model.Errors
}
DeleteInstanceUnauthorized describes a response with status code 401, 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() *model.Errors

type DeletePolicyBadRequest

type DeletePolicyBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
DeletePolicyBadRequest describes a response with status code 400, 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() *model.Errors

type DeletePolicyForbidden

type DeletePolicyForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
DeletePolicyForbidden describes a response with status code 403, 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() *model.Errors

type DeletePolicyInternalServerError

type DeletePolicyInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
DeletePolicyInternalServerError describes a response with status code 500, 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

func (o *DeletePolicyInternalServerError) GetPayload() *model.Errors

type DeletePolicyNotFound

type DeletePolicyNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
DeletePolicyNotFound describes a response with status code 404, 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() *model.Errors

type DeletePolicyOK

type DeletePolicyOK struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}
DeletePolicyOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeletePolicyParamsWithContext

func NewDeletePolicyParamsWithContext(ctx context.Context) *DeletePolicyParams

NewDeletePolicyParamsWithContext creates a new DeletePolicyParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *DeletePolicyParams) SetDefaults()

SetDefaults hydrates default values in the delete policy params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *DeletePolicyParams) WithDefaults() *DeletePolicyParams

WithDefaults hydrates default values in the delete policy params (not the query body).

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

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 *model.Errors
}
DeletePolicyUnauthorized describes a response with status code 401, 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() *model.Errors

type GetExecutionBadRequest

type GetExecutionBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetExecutionBadRequest describes a response with status code 400, 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() *model.Errors

type GetExecutionForbidden

type GetExecutionForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetExecutionForbidden describes a response with status code 403, 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() *model.Errors

type GetExecutionInternalServerError

type GetExecutionInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetExecutionInternalServerError describes a response with status code 500, 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

func (o *GetExecutionInternalServerError) GetPayload() *model.Errors

type GetExecutionNotFound

type GetExecutionNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetExecutionNotFound describes a response with status code 404, 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() *model.Errors

type GetExecutionOK

type GetExecutionOK struct {
	Payload *model.Execution
}
GetExecutionOK describes a response with status code 200, 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() *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetExecutionParamsWithContext

func NewGetExecutionParamsWithContext(ctx context.Context) *GetExecutionParams

NewGetExecutionParamsWithContext creates a new GetExecutionParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *GetExecutionParams) SetDefaults()

SetDefaults hydrates default values in the get execution params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *GetExecutionParams) WithDefaults() *GetExecutionParams

WithDefaults hydrates default values in the get execution params (not the query body).

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

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 *model.Errors
}
GetExecutionUnauthorized describes a response with status code 401, 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() *model.Errors

type GetInstanceBadRequest

type GetInstanceBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetInstanceBadRequest describes a response with status code 400, 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() *model.Errors

type GetInstanceForbidden

type GetInstanceForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetInstanceForbidden describes a response with status code 403, 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() *model.Errors

type GetInstanceInternalServerError

type GetInstanceInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetInstanceInternalServerError describes a response with status code 500, 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() *model.Errors

type GetInstanceNotFound

type GetInstanceNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetInstanceNotFound describes a response with status code 404, 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() *model.Errors

type GetInstanceOK

type GetInstanceOK struct {
	Payload *model.Instance
}
GetInstanceOK describes a response with status code 200, 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() *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetInstanceParamsWithContext

func NewGetInstanceParamsWithContext(ctx context.Context) *GetInstanceParams

NewGetInstanceParamsWithContext creates a new GetInstanceParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *GetInstanceParams) SetDefaults()

SetDefaults hydrates default values in the get instance params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *GetInstanceParams) WithDefaults() *GetInstanceParams

WithDefaults hydrates default values in the get instance params (not the query body).

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

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 *model.Errors
}
GetInstanceUnauthorized describes a response with status code 401, 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() *model.Errors

type GetPolicyBadRequest

type GetPolicyBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetPolicyBadRequest describes a response with status code 400, 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() *model.Errors

type GetPolicyForbidden

type GetPolicyForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetPolicyForbidden describes a response with status code 403, 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() *model.Errors

type GetPolicyInternalServerError

type GetPolicyInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetPolicyInternalServerError describes a response with status code 500, 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() *model.Errors

type GetPolicyNotFound

type GetPolicyNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetPolicyNotFound describes a response with status code 404, 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() *model.Errors

type GetPolicyOK

type GetPolicyOK struct {
	Payload *model.PreheatPolicy
}
GetPolicyOK describes a response with status code 200, 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() *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPolicyParamsWithContext

func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams

NewGetPolicyParamsWithContext creates a new GetPolicyParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *GetPolicyParams) SetDefaults()

SetDefaults hydrates default values in the get policy params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *GetPolicyParams) WithDefaults() *GetPolicyParams

WithDefaults hydrates default values in the get policy params (not the query body).

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

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 *model.Errors
}
GetPolicyUnauthorized describes a response with status code 401, 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() *model.Errors

type GetPreheatLogBadRequest

type GetPreheatLogBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetPreheatLogBadRequest describes a response with status code 400, 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() *model.Errors

type GetPreheatLogForbidden

type GetPreheatLogForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetPreheatLogForbidden describes a response with status code 403, 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() *model.Errors

type GetPreheatLogInternalServerError

type GetPreheatLogInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
GetPreheatLogInternalServerError describes a response with status code 500, 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 *model.Errors
}
GetPreheatLogNotFound describes a response with status code 404, 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() *model.Errors

type GetPreheatLogOK

type GetPreheatLogOK struct {

	/* Content type of response
	 */
	ContentType string

	Payload string
}
GetPreheatLogOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPreheatLogParamsWithContext

func NewGetPreheatLogParamsWithContext(ctx context.Context) *GetPreheatLogParams

NewGetPreheatLogParamsWithContext creates a new GetPreheatLogParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *GetPreheatLogParams) SetDefaults()

SetDefaults hydrates default values in the get preheat log params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *GetPreheatLogParams) WithDefaults() *GetPreheatLogParams

WithDefaults hydrates default values in the get preheat log params (not the query body).

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

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 *model.Errors
}
GetPreheatLogUnauthorized describes a response with status code 401, 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() *model.Errors

type ListExecutionsBadRequest

type ListExecutionsBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListExecutionsBadRequest describes a response with status code 400, 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() *model.Errors

type ListExecutionsForbidden

type ListExecutionsForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListExecutionsForbidden describes a response with status code 403, 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() *model.Errors

type ListExecutionsInternalServerError

type ListExecutionsInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListExecutionsInternalServerError describes a response with status code 500, 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 *model.Errors
}
ListExecutionsNotFound describes a response with status code 404, 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() *model.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 []*model.Execution
}
ListExecutionsOK describes a response with status code 200, 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() []*model.Execution

type ListExecutionsParams

type ListExecutionsParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Page.

	   The page number

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   The size of per page

	   Format: int64
	   Default: 10
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListExecutionsParamsWithContext

func NewListExecutionsParamsWithContext(ctx context.Context) *ListExecutionsParams

NewListExecutionsParamsWithContext creates a new ListExecutionsParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *ListExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the list executions params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *ListExecutionsParams) WithDefaults() *ListExecutionsParams

WithDefaults hydrates default values in the list executions params (not the query body).

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

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 *model.Errors
}
ListExecutionsUnauthorized describes a response with status code 401, 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() *model.Errors

type ListInstancesBadRequest

type ListInstancesBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListInstancesBadRequest describes a response with status code 400, 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() *model.Errors

type ListInstancesForbidden

type ListInstancesForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListInstancesForbidden describes a response with status code 403, 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() *model.Errors

type ListInstancesInternalServerError

type ListInstancesInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListInstancesInternalServerError describes a response with status code 500, 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 *model.Errors
}
ListInstancesNotFound describes a response with status code 404, 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() *model.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 []*model.Instance
}
ListInstancesOK describes a response with status code 200, 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() []*model.Instance

type ListInstancesParams

type ListInstancesParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Page.

	   The page number

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   The size of per page

	   Format: int64
	   Default: 10
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListInstancesParamsWithContext

func NewListInstancesParamsWithContext(ctx context.Context) *ListInstancesParams

NewListInstancesParamsWithContext creates a new ListInstancesParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *ListInstancesParams) SetDefaults()

SetDefaults hydrates default values in the list instances params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *ListInstancesParams) WithDefaults() *ListInstancesParams

WithDefaults hydrates default values in the list instances params (not the query body).

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

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 *model.Errors
}
ListInstancesUnauthorized describes a response with status code 401, 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() *model.Errors

type ListPoliciesBadRequest

type ListPoliciesBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListPoliciesBadRequest describes a response with status code 400, 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() *model.Errors

type ListPoliciesForbidden

type ListPoliciesForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListPoliciesForbidden describes a response with status code 403, 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() *model.Errors

type ListPoliciesInternalServerError

type ListPoliciesInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListPoliciesInternalServerError describes a response with status code 500, 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

func (o *ListPoliciesInternalServerError) GetPayload() *model.Errors

type ListPoliciesOK

type ListPoliciesOK struct {

	/* Link refers to the previous page and next page
	 */
	Link string

	/* The total count of policies
	 */
	XTotalCount int64

	Payload []*model.PreheatPolicy
}
ListPoliciesOK describes a response with status code 200, 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() []*model.PreheatPolicy

type ListPoliciesParams

type ListPoliciesParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Page.

	   The page number

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   The size of per page

	   Format: int64
	   Default: 10
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListPoliciesParamsWithContext

func NewListPoliciesParamsWithContext(ctx context.Context) *ListPoliciesParams

NewListPoliciesParamsWithContext creates a new ListPoliciesParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *ListPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the list policies params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *ListPoliciesParams) WithDefaults() *ListPoliciesParams

WithDefaults hydrates default values in the list policies params (not the query body).

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

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 *model.Errors
}
ListPoliciesUnauthorized describes a response with status code 401, 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() *model.Errors

type ListProvidersBadRequest

type ListProvidersBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListProvidersBadRequest describes a response with status code 400, 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() *model.Errors

type ListProvidersForbidden

type ListProvidersForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListProvidersForbidden describes a response with status code 403, 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() *model.Errors

type ListProvidersInternalServerError

type ListProvidersInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListProvidersInternalServerError describes a response with status code 500, 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 *model.Errors
}
ListProvidersNotFound describes a response with status code 404, 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() *model.Errors

type ListProvidersOK

type ListProvidersOK struct {
	Payload []*model.Metadata
}
ListProvidersOK describes a response with status code 200, 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() []*model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProvidersParamsWithContext

func NewListProvidersParamsWithContext(ctx context.Context) *ListProvidersParams

NewListProvidersParamsWithContext creates a new ListProvidersParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *ListProvidersParams) SetDefaults()

SetDefaults hydrates default values in the list providers params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *ListProvidersParams) WithDefaults() *ListProvidersParams

WithDefaults hydrates default values in the list providers params (not the query body).

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

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 *model.Errors
}
ListProvidersUnauthorized describes a response with status code 401, 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() *model.Errors

type ListProvidersUnderProjectBadRequest

type ListProvidersUnderProjectBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListProvidersUnderProjectBadRequest describes a response with status code 400, 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 *model.Errors
}
ListProvidersUnderProjectForbidden describes a response with status code 403, 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 *model.Errors
}
ListProvidersUnderProjectInternalServerError describes a response with status code 500, 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 *model.Errors
}
ListProvidersUnderProjectNotFound describes a response with status code 404, 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 []*model.ProviderUnderProject
}
ListProvidersUnderProjectOK describes a response with status code 200, 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProvidersUnderProjectParamsWithContext

func NewListProvidersUnderProjectParamsWithContext(ctx context.Context) *ListProvidersUnderProjectParams

NewListProvidersUnderProjectParamsWithContext creates a new ListProvidersUnderProjectParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *ListProvidersUnderProjectParams) SetDefaults()

SetDefaults hydrates default values in the list providers under project params (not the query body).

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

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) WithDefaults added in v3.1.1

WithDefaults hydrates default values in the list providers under project params (not the query body).

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

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 *model.Errors
}
ListProvidersUnderProjectUnauthorized describes a response with status code 401, 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 *model.Errors
}
ListTasksBadRequest describes a response with status code 400, 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() *model.Errors

type ListTasksForbidden

type ListTasksForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListTasksForbidden describes a response with status code 403, 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() *model.Errors

type ListTasksInternalServerError

type ListTasksInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListTasksInternalServerError describes a response with status code 500, 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() *model.Errors

type ListTasksNotFound

type ListTasksNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ListTasksNotFound describes a response with status code 404, 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() *model.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 []*model.Task
}
ListTasksOK describes a response with status code 200, 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() []*model.Task

type ListTasksParams

type ListTasksParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ExecutionID.

	   Execution ID
	*/
	ExecutionID int64

	/* Page.

	   The page number

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   The size of per page

	   Format: int64
	   Default: 10
	*/
	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListTasksParamsWithContext

func NewListTasksParamsWithContext(ctx context.Context) *ListTasksParams

NewListTasksParamsWithContext creates a new ListTasksParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *ListTasksParams) SetDefaults()

SetDefaults hydrates default values in the list tasks params (not the query body).

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

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) WithDefaults added in v3.1.1

func (o *ListTasksParams) WithDefaults() *ListTasksParams

WithDefaults hydrates default values in the list tasks params (not the query body).

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

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 *model.Errors
}
ListTasksUnauthorized describes a response with status code 401, 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() *model.Errors

type ManualPreheatBadRequest

type ManualPreheatBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ManualPreheatBadRequest describes a response with status code 400, 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() *model.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 describes a response with status code 201, 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 *model.Errors
}
ManualPreheatForbidden describes a response with status code 403, 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() *model.Errors

type ManualPreheatInternalServerError

type ManualPreheatInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
ManualPreheatInternalServerError describes a response with status code 500, 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 *model.Errors
}
ManualPreheatNotFound describes a response with status code 404, 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() *model.Errors

type ManualPreheatParams

type ManualPreheatParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* Policy.

	   The policy schema info
	*/
	Policy *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewManualPreheatParamsWithContext

func NewManualPreheatParamsWithContext(ctx context.Context) *ManualPreheatParams

NewManualPreheatParamsWithContext creates a new ManualPreheatParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *ManualPreheatParams) SetDefaults()

SetDefaults hydrates default values in the manual preheat params (not the query body).

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

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 *model.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) WithDefaults added in v3.1.1

func (o *ManualPreheatParams) WithDefaults() *ManualPreheatParams

WithDefaults hydrates default values in the manual preheat params (not the query body).

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

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 *model.Errors
}
ManualPreheatUnauthorized describes a response with status code 401, 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() *model.Errors

type PingInstancesBadRequest

type PingInstancesBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
PingInstancesBadRequest describes a response with status code 400, 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() *model.Errors

type PingInstancesInternalServerError

type PingInstancesInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
PingInstancesInternalServerError describes a response with status code 500, 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 describes a response with status code 404, 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 describes a response with status code 200, 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 *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPingInstancesParamsWithContext

func NewPingInstancesParamsWithContext(ctx context.Context) *PingInstancesParams

NewPingInstancesParamsWithContext creates a new PingInstancesParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *PingInstancesParams) SetDefaults()

SetDefaults hydrates default values in the ping instances params (not the query body).

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

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 *model.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) WithDefaults added in v3.1.1

func (o *PingInstancesParams) WithDefaults() *PingInstancesParams

WithDefaults hydrates default values in the ping instances params (not the query body).

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

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 *model.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 *model.Errors
}
PingInstancesUnauthorized describes a response with status code 401, 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() *model.Errors

type StopExecutionBadRequest

type StopExecutionBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
StopExecutionBadRequest describes a response with status code 400, 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() *model.Errors

type StopExecutionForbidden

type StopExecutionForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
StopExecutionForbidden describes a response with status code 403, 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() *model.Errors

type StopExecutionInternalServerError

type StopExecutionInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
StopExecutionInternalServerError describes a response with status code 500, 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 *model.Errors
}
StopExecutionNotFound describes a response with status code 404, 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() *model.Errors

type StopExecutionOK

type StopExecutionOK struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}
StopExecutionOK describes a response with status code 200, 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 *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStopExecutionParamsWithContext

func NewStopExecutionParamsWithContext(ctx context.Context) *StopExecutionParams

NewStopExecutionParamsWithContext creates a new StopExecutionParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *StopExecutionParams) SetDefaults()

SetDefaults hydrates default values in the stop execution params (not the query body).

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

func (*StopExecutionParams) SetExecution

func (o *StopExecutionParams) SetExecution(execution *model.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) WithDefaults added in v3.1.1

func (o *StopExecutionParams) WithDefaults() *StopExecutionParams

WithDefaults hydrates default values in the stop execution params (not the query body).

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

func (*StopExecutionParams) WithExecution

func (o *StopExecutionParams) WithExecution(execution *model.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 *model.Errors
}
StopExecutionUnauthorized describes a response with status code 401, 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() *model.Errors

type UpdateInstanceBadRequest

type UpdateInstanceBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
UpdateInstanceBadRequest describes a response with status code 400, 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() *model.Errors

type UpdateInstanceForbidden

type UpdateInstanceForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
UpdateInstanceForbidden describes a response with status code 403, 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() *model.Errors

type UpdateInstanceInternalServerError

type UpdateInstanceInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
UpdateInstanceInternalServerError describes a response with status code 500, 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 *model.Errors
}
UpdateInstanceNotFound describes a response with status code 404, 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() *model.Errors

type UpdateInstanceOK

type UpdateInstanceOK struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}
UpdateInstanceOK describes a response with status code 200, 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 *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateInstanceParamsWithContext

func NewUpdateInstanceParamsWithContext(ctx context.Context) *UpdateInstanceParams

NewUpdateInstanceParamsWithContext creates a new UpdateInstanceParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *UpdateInstanceParams) SetDefaults()

SetDefaults hydrates default values in the update instance params (not the query body).

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

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 *model.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) WithDefaults added in v3.1.1

func (o *UpdateInstanceParams) WithDefaults() *UpdateInstanceParams

WithDefaults hydrates default values in the update instance params (not the query body).

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

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 *model.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 *model.Errors
}
UpdateInstanceUnauthorized describes a response with status code 401, 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() *model.Errors

type UpdatePolicyBadRequest

type UpdatePolicyBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
UpdatePolicyBadRequest describes a response with status code 400, 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() *model.Errors

type UpdatePolicyConflict

type UpdatePolicyConflict struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
UpdatePolicyConflict describes a response with status code 409, 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() *model.Errors

type UpdatePolicyForbidden

type UpdatePolicyForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
UpdatePolicyForbidden describes a response with status code 403, 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() *model.Errors

type UpdatePolicyInternalServerError

type UpdatePolicyInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
UpdatePolicyInternalServerError describes a response with status code 500, 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

func (o *UpdatePolicyInternalServerError) GetPayload() *model.Errors

type UpdatePolicyNotFound

type UpdatePolicyNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}
UpdatePolicyNotFound describes a response with status code 404, 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() *model.Errors

type UpdatePolicyOK

type UpdatePolicyOK struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string
}
UpdatePolicyOK describes a response with status code 200, 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 *model.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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdatePolicyParamsWithContext

func NewUpdatePolicyParamsWithContext(ctx context.Context) *UpdatePolicyParams

NewUpdatePolicyParamsWithContext creates a new UpdatePolicyParams object with 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 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 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) SetDefaults added in v3.1.1

func (o *UpdatePolicyParams) SetDefaults()

SetDefaults hydrates default values in the update policy params (not the query body).

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

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 *model.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) WithDefaults added in v3.1.1

func (o *UpdatePolicyParams) WithDefaults() *UpdatePolicyParams

WithDefaults hydrates default values in the update policy params (not the query body).

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

func (*UpdatePolicyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update policy params

func (*UpdatePolicyParams) WithPolicy

func (o *UpdatePolicyParams) WithPolicy(policy *model.PreheatPolicy) *UpdatePolicyParams

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 *model.Errors
}
UpdatePolicyUnauthorized describes a response with status code 401, 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() *model.Errors

Jump to

Keyboard shortcuts

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