Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) CreateInstance(ctx context.Context, params *CreateInstanceParams) (*CreateInstanceCreated, error)
- func (a *Client) CreatePolicy(ctx context.Context, params *CreatePolicyParams) (*CreatePolicyCreated, error)
- func (a *Client) DeleteInstance(ctx context.Context, params *DeleteInstanceParams) (*DeleteInstanceOK, error)
- func (a *Client) DeletePolicy(ctx context.Context, params *DeletePolicyParams) (*DeletePolicyOK, error)
- func (a *Client) GetExecution(ctx context.Context, params *GetExecutionParams) (*GetExecutionOK, error)
- func (a *Client) GetInstance(ctx context.Context, params *GetInstanceParams) (*GetInstanceOK, error)
- func (a *Client) GetPolicy(ctx context.Context, params *GetPolicyParams) (*GetPolicyOK, error)
- func (a *Client) GetPreheatLog(ctx context.Context, params *GetPreheatLogParams) (*GetPreheatLogOK, error)
- func (a *Client) ListExecutions(ctx context.Context, params *ListExecutionsParams) (*ListExecutionsOK, error)
- func (a *Client) ListInstances(ctx context.Context, params *ListInstancesParams) (*ListInstancesOK, error)
- func (a *Client) ListPolicies(ctx context.Context, params *ListPoliciesParams) (*ListPoliciesOK, error)
- func (a *Client) ListProviders(ctx context.Context, params *ListProvidersParams) (*ListProvidersOK, error)
- func (a *Client) ListProvidersUnderProject(ctx context.Context, params *ListProvidersUnderProjectParams) (*ListProvidersUnderProjectOK, error)
- func (a *Client) ListTasks(ctx context.Context, params *ListTasksParams) (*ListTasksOK, error)
- func (a *Client) ManualPreheat(ctx context.Context, params *ManualPreheatParams) (*ManualPreheatCreated, error)
- func (a *Client) PingInstances(ctx context.Context, params *PingInstancesParams) (*PingInstancesOK, error)
- func (a *Client) StopExecution(ctx context.Context, params *StopExecutionParams) (*StopExecutionOK, error)
- func (a *Client) UpdateInstance(ctx context.Context, params *UpdateInstanceParams) (*UpdateInstanceOK, error)
- func (a *Client) UpdatePolicy(ctx context.Context, params *UpdatePolicyParams) (*UpdatePolicyOK, error)
- type CreateInstanceBadRequest
- func (o *CreateInstanceBadRequest) Error() string
- func (o *CreateInstanceBadRequest) GetPayload() *models.Errors
- func (o *CreateInstanceBadRequest) IsClientError() bool
- func (o *CreateInstanceBadRequest) IsCode(code int) bool
- func (o *CreateInstanceBadRequest) IsRedirect() bool
- func (o *CreateInstanceBadRequest) IsServerError() bool
- func (o *CreateInstanceBadRequest) IsSuccess() bool
- func (o *CreateInstanceBadRequest) String() string
- type CreateInstanceConflict
- func (o *CreateInstanceConflict) Error() string
- func (o *CreateInstanceConflict) GetPayload() *models.Errors
- func (o *CreateInstanceConflict) IsClientError() bool
- func (o *CreateInstanceConflict) IsCode(code int) bool
- func (o *CreateInstanceConflict) IsRedirect() bool
- func (o *CreateInstanceConflict) IsServerError() bool
- func (o *CreateInstanceConflict) IsSuccess() bool
- func (o *CreateInstanceConflict) String() string
- type CreateInstanceCreated
- func (o *CreateInstanceCreated) Error() string
- func (o *CreateInstanceCreated) IsClientError() bool
- func (o *CreateInstanceCreated) IsCode(code int) bool
- func (o *CreateInstanceCreated) IsRedirect() bool
- func (o *CreateInstanceCreated) IsServerError() bool
- func (o *CreateInstanceCreated) IsSuccess() bool
- func (o *CreateInstanceCreated) String() string
- type CreateInstanceForbidden
- func (o *CreateInstanceForbidden) Error() string
- func (o *CreateInstanceForbidden) GetPayload() *models.Errors
- func (o *CreateInstanceForbidden) IsClientError() bool
- func (o *CreateInstanceForbidden) IsCode(code int) bool
- func (o *CreateInstanceForbidden) IsRedirect() bool
- func (o *CreateInstanceForbidden) IsServerError() bool
- func (o *CreateInstanceForbidden) IsSuccess() bool
- func (o *CreateInstanceForbidden) String() string
- type CreateInstanceInternalServerError
- func (o *CreateInstanceInternalServerError) Error() string
- func (o *CreateInstanceInternalServerError) GetPayload() *models.Errors
- func (o *CreateInstanceInternalServerError) IsClientError() bool
- func (o *CreateInstanceInternalServerError) IsCode(code int) bool
- func (o *CreateInstanceInternalServerError) IsRedirect() bool
- func (o *CreateInstanceInternalServerError) IsServerError() bool
- func (o *CreateInstanceInternalServerError) IsSuccess() bool
- func (o *CreateInstanceInternalServerError) String() string
- type CreateInstanceNotFound
- func (o *CreateInstanceNotFound) Error() string
- func (o *CreateInstanceNotFound) GetPayload() *models.Errors
- func (o *CreateInstanceNotFound) IsClientError() bool
- func (o *CreateInstanceNotFound) IsCode(code int) bool
- func (o *CreateInstanceNotFound) IsRedirect() bool
- func (o *CreateInstanceNotFound) IsServerError() bool
- func (o *CreateInstanceNotFound) IsSuccess() bool
- func (o *CreateInstanceNotFound) String() string
- type CreateInstanceParams
- func NewCreateInstanceParams() *CreateInstanceParams
- func NewCreateInstanceParamsWithContext(ctx context.Context) *CreateInstanceParams
- func NewCreateInstanceParamsWithHTTPClient(client *http.Client) *CreateInstanceParams
- func NewCreateInstanceParamsWithTimeout(timeout time.Duration) *CreateInstanceParams
- func (o *CreateInstanceParams) SetContext(ctx context.Context)
- func (o *CreateInstanceParams) SetDefaults()
- func (o *CreateInstanceParams) SetHTTPClient(client *http.Client)
- func (o *CreateInstanceParams) SetInstance(instance *models.Instance)
- func (o *CreateInstanceParams) SetTimeout(timeout time.Duration)
- func (o *CreateInstanceParams) SetXRequestID(xRequestID *string)
- func (o *CreateInstanceParams) WithContext(ctx context.Context) *CreateInstanceParams
- func (o *CreateInstanceParams) WithDefaults() *CreateInstanceParams
- func (o *CreateInstanceParams) WithHTTPClient(client *http.Client) *CreateInstanceParams
- func (o *CreateInstanceParams) WithInstance(instance *models.Instance) *CreateInstanceParams
- func (o *CreateInstanceParams) WithTimeout(timeout time.Duration) *CreateInstanceParams
- func (o *CreateInstanceParams) WithXRequestID(xRequestID *string) *CreateInstanceParams
- func (o *CreateInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInstanceReader
- type CreateInstanceUnauthorized
- func (o *CreateInstanceUnauthorized) Error() string
- func (o *CreateInstanceUnauthorized) GetPayload() *models.Errors
- func (o *CreateInstanceUnauthorized) IsClientError() bool
- func (o *CreateInstanceUnauthorized) IsCode(code int) bool
- func (o *CreateInstanceUnauthorized) IsRedirect() bool
- func (o *CreateInstanceUnauthorized) IsServerError() bool
- func (o *CreateInstanceUnauthorized) IsSuccess() bool
- func (o *CreateInstanceUnauthorized) String() string
- type CreatePolicyBadRequest
- func (o *CreatePolicyBadRequest) Error() string
- func (o *CreatePolicyBadRequest) GetPayload() *models.Errors
- func (o *CreatePolicyBadRequest) IsClientError() bool
- func (o *CreatePolicyBadRequest) IsCode(code int) bool
- func (o *CreatePolicyBadRequest) IsRedirect() bool
- func (o *CreatePolicyBadRequest) IsServerError() bool
- func (o *CreatePolicyBadRequest) IsSuccess() bool
- func (o *CreatePolicyBadRequest) String() string
- type CreatePolicyConflict
- func (o *CreatePolicyConflict) Error() string
- func (o *CreatePolicyConflict) GetPayload() *models.Errors
- func (o *CreatePolicyConflict) IsClientError() bool
- func (o *CreatePolicyConflict) IsCode(code int) bool
- func (o *CreatePolicyConflict) IsRedirect() bool
- func (o *CreatePolicyConflict) IsServerError() bool
- func (o *CreatePolicyConflict) IsSuccess() bool
- func (o *CreatePolicyConflict) String() string
- type CreatePolicyCreated
- func (o *CreatePolicyCreated) Error() string
- func (o *CreatePolicyCreated) IsClientError() bool
- func (o *CreatePolicyCreated) IsCode(code int) bool
- func (o *CreatePolicyCreated) IsRedirect() bool
- func (o *CreatePolicyCreated) IsServerError() bool
- func (o *CreatePolicyCreated) IsSuccess() bool
- func (o *CreatePolicyCreated) String() string
- type CreatePolicyForbidden
- func (o *CreatePolicyForbidden) Error() string
- func (o *CreatePolicyForbidden) GetPayload() *models.Errors
- func (o *CreatePolicyForbidden) IsClientError() bool
- func (o *CreatePolicyForbidden) IsCode(code int) bool
- func (o *CreatePolicyForbidden) IsRedirect() bool
- func (o *CreatePolicyForbidden) IsServerError() bool
- func (o *CreatePolicyForbidden) IsSuccess() bool
- func (o *CreatePolicyForbidden) String() string
- type CreatePolicyInternalServerError
- func (o *CreatePolicyInternalServerError) Error() string
- func (o *CreatePolicyInternalServerError) GetPayload() *models.Errors
- func (o *CreatePolicyInternalServerError) IsClientError() bool
- func (o *CreatePolicyInternalServerError) IsCode(code int) bool
- func (o *CreatePolicyInternalServerError) IsRedirect() bool
- func (o *CreatePolicyInternalServerError) IsServerError() bool
- func (o *CreatePolicyInternalServerError) IsSuccess() bool
- func (o *CreatePolicyInternalServerError) String() string
- type CreatePolicyParams
- func (o *CreatePolicyParams) SetContext(ctx context.Context)
- func (o *CreatePolicyParams) SetDefaults()
- func (o *CreatePolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreatePolicyParams) SetPolicy(policy *models.PreheatPolicy)
- func (o *CreatePolicyParams) SetProjectName(projectName string)
- func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreatePolicyParams) SetXRequestID(xRequestID *string)
- func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
- func (o *CreatePolicyParams) WithDefaults() *CreatePolicyParams
- func (o *CreatePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyParams
- func (o *CreatePolicyParams) WithPolicy(policy *models.PreheatPolicy) *CreatePolicyParams
- func (o *CreatePolicyParams) WithProjectName(projectName string) *CreatePolicyParams
- func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams
- func (o *CreatePolicyParams) WithXRequestID(xRequestID *string) *CreatePolicyParams
- func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicyReader
- type CreatePolicyUnauthorized
- func (o *CreatePolicyUnauthorized) Error() string
- func (o *CreatePolicyUnauthorized) GetPayload() *models.Errors
- func (o *CreatePolicyUnauthorized) IsClientError() bool
- func (o *CreatePolicyUnauthorized) IsCode(code int) bool
- func (o *CreatePolicyUnauthorized) IsRedirect() bool
- func (o *CreatePolicyUnauthorized) IsServerError() bool
- func (o *CreatePolicyUnauthorized) IsSuccess() bool
- func (o *CreatePolicyUnauthorized) String() string
- type DeleteInstanceForbidden
- func (o *DeleteInstanceForbidden) Error() string
- func (o *DeleteInstanceForbidden) GetPayload() *models.Errors
- func (o *DeleteInstanceForbidden) IsClientError() bool
- func (o *DeleteInstanceForbidden) IsCode(code int) bool
- func (o *DeleteInstanceForbidden) IsRedirect() bool
- func (o *DeleteInstanceForbidden) IsServerError() bool
- func (o *DeleteInstanceForbidden) IsSuccess() bool
- func (o *DeleteInstanceForbidden) String() string
- type DeleteInstanceInternalServerError
- func (o *DeleteInstanceInternalServerError) Error() string
- func (o *DeleteInstanceInternalServerError) GetPayload() *models.Errors
- func (o *DeleteInstanceInternalServerError) IsClientError() bool
- func (o *DeleteInstanceInternalServerError) IsCode(code int) bool
- func (o *DeleteInstanceInternalServerError) IsRedirect() bool
- func (o *DeleteInstanceInternalServerError) IsServerError() bool
- func (o *DeleteInstanceInternalServerError) IsSuccess() bool
- func (o *DeleteInstanceInternalServerError) String() string
- type DeleteInstanceNotFound
- func (o *DeleteInstanceNotFound) Error() string
- func (o *DeleteInstanceNotFound) GetPayload() *models.Errors
- func (o *DeleteInstanceNotFound) IsClientError() bool
- func (o *DeleteInstanceNotFound) IsCode(code int) bool
- func (o *DeleteInstanceNotFound) IsRedirect() bool
- func (o *DeleteInstanceNotFound) IsServerError() bool
- func (o *DeleteInstanceNotFound) IsSuccess() bool
- func (o *DeleteInstanceNotFound) String() string
- type DeleteInstanceOK
- func (o *DeleteInstanceOK) Error() string
- func (o *DeleteInstanceOK) IsClientError() bool
- func (o *DeleteInstanceOK) IsCode(code int) bool
- func (o *DeleteInstanceOK) IsRedirect() bool
- func (o *DeleteInstanceOK) IsServerError() bool
- func (o *DeleteInstanceOK) IsSuccess() bool
- func (o *DeleteInstanceOK) String() string
- type DeleteInstanceParams
- func NewDeleteInstanceParams() *DeleteInstanceParams
- func NewDeleteInstanceParamsWithContext(ctx context.Context) *DeleteInstanceParams
- func NewDeleteInstanceParamsWithHTTPClient(client *http.Client) *DeleteInstanceParams
- func NewDeleteInstanceParamsWithTimeout(timeout time.Duration) *DeleteInstanceParams
- func (o *DeleteInstanceParams) SetContext(ctx context.Context)
- func (o *DeleteInstanceParams) SetDefaults()
- func (o *DeleteInstanceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInstanceParams) SetPreheatInstanceName(preheatInstanceName string)
- func (o *DeleteInstanceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInstanceParams) SetXRequestID(xRequestID *string)
- func (o *DeleteInstanceParams) WithContext(ctx context.Context) *DeleteInstanceParams
- func (o *DeleteInstanceParams) WithDefaults() *DeleteInstanceParams
- func (o *DeleteInstanceParams) WithHTTPClient(client *http.Client) *DeleteInstanceParams
- func (o *DeleteInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *DeleteInstanceParams
- func (o *DeleteInstanceParams) WithTimeout(timeout time.Duration) *DeleteInstanceParams
- func (o *DeleteInstanceParams) WithXRequestID(xRequestID *string) *DeleteInstanceParams
- func (o *DeleteInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInstanceReader
- type DeleteInstanceUnauthorized
- func (o *DeleteInstanceUnauthorized) Error() string
- func (o *DeleteInstanceUnauthorized) GetPayload() *models.Errors
- func (o *DeleteInstanceUnauthorized) IsClientError() bool
- func (o *DeleteInstanceUnauthorized) IsCode(code int) bool
- func (o *DeleteInstanceUnauthorized) IsRedirect() bool
- func (o *DeleteInstanceUnauthorized) IsServerError() bool
- func (o *DeleteInstanceUnauthorized) IsSuccess() bool
- func (o *DeleteInstanceUnauthorized) String() string
- type DeletePolicyBadRequest
- func (o *DeletePolicyBadRequest) Error() string
- func (o *DeletePolicyBadRequest) GetPayload() *models.Errors
- func (o *DeletePolicyBadRequest) IsClientError() bool
- func (o *DeletePolicyBadRequest) IsCode(code int) bool
- func (o *DeletePolicyBadRequest) IsRedirect() bool
- func (o *DeletePolicyBadRequest) IsServerError() bool
- func (o *DeletePolicyBadRequest) IsSuccess() bool
- func (o *DeletePolicyBadRequest) String() string
- type DeletePolicyForbidden
- func (o *DeletePolicyForbidden) Error() string
- func (o *DeletePolicyForbidden) GetPayload() *models.Errors
- func (o *DeletePolicyForbidden) IsClientError() bool
- func (o *DeletePolicyForbidden) IsCode(code int) bool
- func (o *DeletePolicyForbidden) IsRedirect() bool
- func (o *DeletePolicyForbidden) IsServerError() bool
- func (o *DeletePolicyForbidden) IsSuccess() bool
- func (o *DeletePolicyForbidden) String() string
- type DeletePolicyInternalServerError
- func (o *DeletePolicyInternalServerError) Error() string
- func (o *DeletePolicyInternalServerError) GetPayload() *models.Errors
- func (o *DeletePolicyInternalServerError) IsClientError() bool
- func (o *DeletePolicyInternalServerError) IsCode(code int) bool
- func (o *DeletePolicyInternalServerError) IsRedirect() bool
- func (o *DeletePolicyInternalServerError) IsServerError() bool
- func (o *DeletePolicyInternalServerError) IsSuccess() bool
- func (o *DeletePolicyInternalServerError) String() string
- type DeletePolicyNotFound
- func (o *DeletePolicyNotFound) Error() string
- func (o *DeletePolicyNotFound) GetPayload() *models.Errors
- func (o *DeletePolicyNotFound) IsClientError() bool
- func (o *DeletePolicyNotFound) IsCode(code int) bool
- func (o *DeletePolicyNotFound) IsRedirect() bool
- func (o *DeletePolicyNotFound) IsServerError() bool
- func (o *DeletePolicyNotFound) IsSuccess() bool
- func (o *DeletePolicyNotFound) String() string
- type DeletePolicyOK
- func (o *DeletePolicyOK) Error() string
- func (o *DeletePolicyOK) IsClientError() bool
- func (o *DeletePolicyOK) IsCode(code int) bool
- func (o *DeletePolicyOK) IsRedirect() bool
- func (o *DeletePolicyOK) IsServerError() bool
- func (o *DeletePolicyOK) IsSuccess() bool
- func (o *DeletePolicyOK) String() string
- type DeletePolicyParams
- func (o *DeletePolicyParams) SetContext(ctx context.Context)
- func (o *DeletePolicyParams) SetDefaults()
- func (o *DeletePolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeletePolicyParams) SetPreheatPolicyName(preheatPolicyName string)
- func (o *DeletePolicyParams) SetProjectName(projectName string)
- func (o *DeletePolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeletePolicyParams) SetXRequestID(xRequestID *string)
- func (o *DeletePolicyParams) WithContext(ctx context.Context) *DeletePolicyParams
- func (o *DeletePolicyParams) WithDefaults() *DeletePolicyParams
- func (o *DeletePolicyParams) WithHTTPClient(client *http.Client) *DeletePolicyParams
- func (o *DeletePolicyParams) WithPreheatPolicyName(preheatPolicyName string) *DeletePolicyParams
- func (o *DeletePolicyParams) WithProjectName(projectName string) *DeletePolicyParams
- func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams
- func (o *DeletePolicyParams) WithXRequestID(xRequestID *string) *DeletePolicyParams
- func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePolicyReader
- type DeletePolicyUnauthorized
- func (o *DeletePolicyUnauthorized) Error() string
- func (o *DeletePolicyUnauthorized) GetPayload() *models.Errors
- func (o *DeletePolicyUnauthorized) IsClientError() bool
- func (o *DeletePolicyUnauthorized) IsCode(code int) bool
- func (o *DeletePolicyUnauthorized) IsRedirect() bool
- func (o *DeletePolicyUnauthorized) IsServerError() bool
- func (o *DeletePolicyUnauthorized) IsSuccess() bool
- func (o *DeletePolicyUnauthorized) String() string
- type GetExecutionBadRequest
- func (o *GetExecutionBadRequest) Error() string
- func (o *GetExecutionBadRequest) GetPayload() *models.Errors
- func (o *GetExecutionBadRequest) IsClientError() bool
- func (o *GetExecutionBadRequest) IsCode(code int) bool
- func (o *GetExecutionBadRequest) IsRedirect() bool
- func (o *GetExecutionBadRequest) IsServerError() bool
- func (o *GetExecutionBadRequest) IsSuccess() bool
- func (o *GetExecutionBadRequest) String() string
- type GetExecutionForbidden
- func (o *GetExecutionForbidden) Error() string
- func (o *GetExecutionForbidden) GetPayload() *models.Errors
- func (o *GetExecutionForbidden) IsClientError() bool
- func (o *GetExecutionForbidden) IsCode(code int) bool
- func (o *GetExecutionForbidden) IsRedirect() bool
- func (o *GetExecutionForbidden) IsServerError() bool
- func (o *GetExecutionForbidden) IsSuccess() bool
- func (o *GetExecutionForbidden) String() string
- type GetExecutionInternalServerError
- func (o *GetExecutionInternalServerError) Error() string
- func (o *GetExecutionInternalServerError) GetPayload() *models.Errors
- func (o *GetExecutionInternalServerError) IsClientError() bool
- func (o *GetExecutionInternalServerError) IsCode(code int) bool
- func (o *GetExecutionInternalServerError) IsRedirect() bool
- func (o *GetExecutionInternalServerError) IsServerError() bool
- func (o *GetExecutionInternalServerError) IsSuccess() bool
- func (o *GetExecutionInternalServerError) String() string
- type GetExecutionNotFound
- func (o *GetExecutionNotFound) Error() string
- func (o *GetExecutionNotFound) GetPayload() *models.Errors
- func (o *GetExecutionNotFound) IsClientError() bool
- func (o *GetExecutionNotFound) IsCode(code int) bool
- func (o *GetExecutionNotFound) IsRedirect() bool
- func (o *GetExecutionNotFound) IsServerError() bool
- func (o *GetExecutionNotFound) IsSuccess() bool
- func (o *GetExecutionNotFound) String() string
- type GetExecutionOK
- func (o *GetExecutionOK) Error() string
- func (o *GetExecutionOK) GetPayload() *models.Execution
- func (o *GetExecutionOK) IsClientError() bool
- func (o *GetExecutionOK) IsCode(code int) bool
- func (o *GetExecutionOK) IsRedirect() bool
- func (o *GetExecutionOK) IsServerError() bool
- func (o *GetExecutionOK) IsSuccess() bool
- func (o *GetExecutionOK) String() string
- type GetExecutionParams
- func (o *GetExecutionParams) SetContext(ctx context.Context)
- func (o *GetExecutionParams) SetDefaults()
- func (o *GetExecutionParams) SetExecutionID(executionID int64)
- func (o *GetExecutionParams) SetHTTPClient(client *http.Client)
- func (o *GetExecutionParams) SetPreheatPolicyName(preheatPolicyName string)
- func (o *GetExecutionParams) SetProjectName(projectName string)
- func (o *GetExecutionParams) SetTimeout(timeout time.Duration)
- func (o *GetExecutionParams) SetXRequestID(xRequestID *string)
- func (o *GetExecutionParams) WithContext(ctx context.Context) *GetExecutionParams
- func (o *GetExecutionParams) WithDefaults() *GetExecutionParams
- func (o *GetExecutionParams) WithExecutionID(executionID int64) *GetExecutionParams
- func (o *GetExecutionParams) WithHTTPClient(client *http.Client) *GetExecutionParams
- func (o *GetExecutionParams) WithPreheatPolicyName(preheatPolicyName string) *GetExecutionParams
- func (o *GetExecutionParams) WithProjectName(projectName string) *GetExecutionParams
- func (o *GetExecutionParams) WithTimeout(timeout time.Duration) *GetExecutionParams
- func (o *GetExecutionParams) WithXRequestID(xRequestID *string) *GetExecutionParams
- func (o *GetExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExecutionReader
- type GetExecutionUnauthorized
- func (o *GetExecutionUnauthorized) Error() string
- func (o *GetExecutionUnauthorized) GetPayload() *models.Errors
- func (o *GetExecutionUnauthorized) IsClientError() bool
- func (o *GetExecutionUnauthorized) IsCode(code int) bool
- func (o *GetExecutionUnauthorized) IsRedirect() bool
- func (o *GetExecutionUnauthorized) IsServerError() bool
- func (o *GetExecutionUnauthorized) IsSuccess() bool
- func (o *GetExecutionUnauthorized) String() string
- type GetInstanceBadRequest
- func (o *GetInstanceBadRequest) Error() string
- func (o *GetInstanceBadRequest) GetPayload() *models.Errors
- func (o *GetInstanceBadRequest) IsClientError() bool
- func (o *GetInstanceBadRequest) IsCode(code int) bool
- func (o *GetInstanceBadRequest) IsRedirect() bool
- func (o *GetInstanceBadRequest) IsServerError() bool
- func (o *GetInstanceBadRequest) IsSuccess() bool
- func (o *GetInstanceBadRequest) String() string
- type GetInstanceForbidden
- func (o *GetInstanceForbidden) Error() string
- func (o *GetInstanceForbidden) GetPayload() *models.Errors
- func (o *GetInstanceForbidden) IsClientError() bool
- func (o *GetInstanceForbidden) IsCode(code int) bool
- func (o *GetInstanceForbidden) IsRedirect() bool
- func (o *GetInstanceForbidden) IsServerError() bool
- func (o *GetInstanceForbidden) IsSuccess() bool
- func (o *GetInstanceForbidden) String() string
- type GetInstanceInternalServerError
- func (o *GetInstanceInternalServerError) Error() string
- func (o *GetInstanceInternalServerError) GetPayload() *models.Errors
- func (o *GetInstanceInternalServerError) IsClientError() bool
- func (o *GetInstanceInternalServerError) IsCode(code int) bool
- func (o *GetInstanceInternalServerError) IsRedirect() bool
- func (o *GetInstanceInternalServerError) IsServerError() bool
- func (o *GetInstanceInternalServerError) IsSuccess() bool
- func (o *GetInstanceInternalServerError) String() string
- type GetInstanceNotFound
- func (o *GetInstanceNotFound) Error() string
- func (o *GetInstanceNotFound) GetPayload() *models.Errors
- func (o *GetInstanceNotFound) IsClientError() bool
- func (o *GetInstanceNotFound) IsCode(code int) bool
- func (o *GetInstanceNotFound) IsRedirect() bool
- func (o *GetInstanceNotFound) IsServerError() bool
- func (o *GetInstanceNotFound) IsSuccess() bool
- func (o *GetInstanceNotFound) String() string
- type GetInstanceOK
- func (o *GetInstanceOK) Error() string
- func (o *GetInstanceOK) GetPayload() *models.Instance
- func (o *GetInstanceOK) IsClientError() bool
- func (o *GetInstanceOK) IsCode(code int) bool
- func (o *GetInstanceOK) IsRedirect() bool
- func (o *GetInstanceOK) IsServerError() bool
- func (o *GetInstanceOK) IsSuccess() bool
- func (o *GetInstanceOK) String() string
- type GetInstanceParams
- func (o *GetInstanceParams) SetContext(ctx context.Context)
- func (o *GetInstanceParams) SetDefaults()
- func (o *GetInstanceParams) SetHTTPClient(client *http.Client)
- func (o *GetInstanceParams) SetPreheatInstanceName(preheatInstanceName string)
- func (o *GetInstanceParams) SetTimeout(timeout time.Duration)
- func (o *GetInstanceParams) SetXRequestID(xRequestID *string)
- func (o *GetInstanceParams) WithContext(ctx context.Context) *GetInstanceParams
- func (o *GetInstanceParams) WithDefaults() *GetInstanceParams
- func (o *GetInstanceParams) WithHTTPClient(client *http.Client) *GetInstanceParams
- func (o *GetInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *GetInstanceParams
- func (o *GetInstanceParams) WithTimeout(timeout time.Duration) *GetInstanceParams
- func (o *GetInstanceParams) WithXRequestID(xRequestID *string) *GetInstanceParams
- func (o *GetInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstanceReader
- type GetInstanceUnauthorized
- func (o *GetInstanceUnauthorized) Error() string
- func (o *GetInstanceUnauthorized) GetPayload() *models.Errors
- func (o *GetInstanceUnauthorized) IsClientError() bool
- func (o *GetInstanceUnauthorized) IsCode(code int) bool
- func (o *GetInstanceUnauthorized) IsRedirect() bool
- func (o *GetInstanceUnauthorized) IsServerError() bool
- func (o *GetInstanceUnauthorized) IsSuccess() bool
- func (o *GetInstanceUnauthorized) String() string
- type GetPolicyBadRequest
- func (o *GetPolicyBadRequest) Error() string
- func (o *GetPolicyBadRequest) GetPayload() *models.Errors
- func (o *GetPolicyBadRequest) IsClientError() bool
- func (o *GetPolicyBadRequest) IsCode(code int) bool
- func (o *GetPolicyBadRequest) IsRedirect() bool
- func (o *GetPolicyBadRequest) IsServerError() bool
- func (o *GetPolicyBadRequest) IsSuccess() bool
- func (o *GetPolicyBadRequest) String() string
- type GetPolicyForbidden
- func (o *GetPolicyForbidden) Error() string
- func (o *GetPolicyForbidden) GetPayload() *models.Errors
- func (o *GetPolicyForbidden) IsClientError() bool
- func (o *GetPolicyForbidden) IsCode(code int) bool
- func (o *GetPolicyForbidden) IsRedirect() bool
- func (o *GetPolicyForbidden) IsServerError() bool
- func (o *GetPolicyForbidden) IsSuccess() bool
- func (o *GetPolicyForbidden) String() string
- type GetPolicyInternalServerError
- func (o *GetPolicyInternalServerError) Error() string
- func (o *GetPolicyInternalServerError) GetPayload() *models.Errors
- func (o *GetPolicyInternalServerError) IsClientError() bool
- func (o *GetPolicyInternalServerError) IsCode(code int) bool
- func (o *GetPolicyInternalServerError) IsRedirect() bool
- func (o *GetPolicyInternalServerError) IsServerError() bool
- func (o *GetPolicyInternalServerError) IsSuccess() bool
- func (o *GetPolicyInternalServerError) String() string
- type GetPolicyNotFound
- func (o *GetPolicyNotFound) Error() string
- func (o *GetPolicyNotFound) GetPayload() *models.Errors
- func (o *GetPolicyNotFound) IsClientError() bool
- func (o *GetPolicyNotFound) IsCode(code int) bool
- func (o *GetPolicyNotFound) IsRedirect() bool
- func (o *GetPolicyNotFound) IsServerError() bool
- func (o *GetPolicyNotFound) IsSuccess() bool
- func (o *GetPolicyNotFound) String() string
- type GetPolicyOK
- func (o *GetPolicyOK) Error() string
- func (o *GetPolicyOK) GetPayload() *models.PreheatPolicy
- func (o *GetPolicyOK) IsClientError() bool
- func (o *GetPolicyOK) IsCode(code int) bool
- func (o *GetPolicyOK) IsRedirect() bool
- func (o *GetPolicyOK) IsServerError() bool
- func (o *GetPolicyOK) IsSuccess() bool
- func (o *GetPolicyOK) String() string
- type GetPolicyParams
- func (o *GetPolicyParams) SetContext(ctx context.Context)
- func (o *GetPolicyParams) SetDefaults()
- func (o *GetPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyParams) SetPreheatPolicyName(preheatPolicyName string)
- func (o *GetPolicyParams) SetProjectName(projectName string)
- func (o *GetPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyParams) SetXRequestID(xRequestID *string)
- func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams
- func (o *GetPolicyParams) WithDefaults() *GetPolicyParams
- func (o *GetPolicyParams) WithHTTPClient(client *http.Client) *GetPolicyParams
- func (o *GetPolicyParams) WithPreheatPolicyName(preheatPolicyName string) *GetPolicyParams
- func (o *GetPolicyParams) WithProjectName(projectName string) *GetPolicyParams
- func (o *GetPolicyParams) WithTimeout(timeout time.Duration) *GetPolicyParams
- func (o *GetPolicyParams) WithXRequestID(xRequestID *string) *GetPolicyParams
- func (o *GetPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyReader
- type GetPolicyUnauthorized
- func (o *GetPolicyUnauthorized) Error() string
- func (o *GetPolicyUnauthorized) GetPayload() *models.Errors
- func (o *GetPolicyUnauthorized) IsClientError() bool
- func (o *GetPolicyUnauthorized) IsCode(code int) bool
- func (o *GetPolicyUnauthorized) IsRedirect() bool
- func (o *GetPolicyUnauthorized) IsServerError() bool
- func (o *GetPolicyUnauthorized) IsSuccess() bool
- func (o *GetPolicyUnauthorized) String() string
- type GetPreheatLogBadRequest
- func (o *GetPreheatLogBadRequest) Error() string
- func (o *GetPreheatLogBadRequest) GetPayload() *models.Errors
- func (o *GetPreheatLogBadRequest) IsClientError() bool
- func (o *GetPreheatLogBadRequest) IsCode(code int) bool
- func (o *GetPreheatLogBadRequest) IsRedirect() bool
- func (o *GetPreheatLogBadRequest) IsServerError() bool
- func (o *GetPreheatLogBadRequest) IsSuccess() bool
- func (o *GetPreheatLogBadRequest) String() string
- type GetPreheatLogForbidden
- func (o *GetPreheatLogForbidden) Error() string
- func (o *GetPreheatLogForbidden) GetPayload() *models.Errors
- func (o *GetPreheatLogForbidden) IsClientError() bool
- func (o *GetPreheatLogForbidden) IsCode(code int) bool
- func (o *GetPreheatLogForbidden) IsRedirect() bool
- func (o *GetPreheatLogForbidden) IsServerError() bool
- func (o *GetPreheatLogForbidden) IsSuccess() bool
- func (o *GetPreheatLogForbidden) String() string
- type GetPreheatLogInternalServerError
- func (o *GetPreheatLogInternalServerError) Error() string
- func (o *GetPreheatLogInternalServerError) GetPayload() *models.Errors
- func (o *GetPreheatLogInternalServerError) IsClientError() bool
- func (o *GetPreheatLogInternalServerError) IsCode(code int) bool
- func (o *GetPreheatLogInternalServerError) IsRedirect() bool
- func (o *GetPreheatLogInternalServerError) IsServerError() bool
- func (o *GetPreheatLogInternalServerError) IsSuccess() bool
- func (o *GetPreheatLogInternalServerError) String() string
- type GetPreheatLogNotFound
- func (o *GetPreheatLogNotFound) Error() string
- func (o *GetPreheatLogNotFound) GetPayload() *models.Errors
- func (o *GetPreheatLogNotFound) IsClientError() bool
- func (o *GetPreheatLogNotFound) IsCode(code int) bool
- func (o *GetPreheatLogNotFound) IsRedirect() bool
- func (o *GetPreheatLogNotFound) IsServerError() bool
- func (o *GetPreheatLogNotFound) IsSuccess() bool
- func (o *GetPreheatLogNotFound) String() string
- type GetPreheatLogOK
- func (o *GetPreheatLogOK) Error() string
- func (o *GetPreheatLogOK) GetPayload() string
- func (o *GetPreheatLogOK) IsClientError() bool
- func (o *GetPreheatLogOK) IsCode(code int) bool
- func (o *GetPreheatLogOK) IsRedirect() bool
- func (o *GetPreheatLogOK) IsServerError() bool
- func (o *GetPreheatLogOK) IsSuccess() bool
- func (o *GetPreheatLogOK) String() string
- type GetPreheatLogParams
- func (o *GetPreheatLogParams) SetContext(ctx context.Context)
- func (o *GetPreheatLogParams) SetDefaults()
- func (o *GetPreheatLogParams) SetExecutionID(executionID int64)
- func (o *GetPreheatLogParams) SetHTTPClient(client *http.Client)
- func (o *GetPreheatLogParams) SetPreheatPolicyName(preheatPolicyName string)
- func (o *GetPreheatLogParams) SetProjectName(projectName string)
- func (o *GetPreheatLogParams) SetTaskID(taskID int64)
- func (o *GetPreheatLogParams) SetTimeout(timeout time.Duration)
- func (o *GetPreheatLogParams) SetXRequestID(xRequestID *string)
- func (o *GetPreheatLogParams) WithContext(ctx context.Context) *GetPreheatLogParams
- func (o *GetPreheatLogParams) WithDefaults() *GetPreheatLogParams
- func (o *GetPreheatLogParams) WithExecutionID(executionID int64) *GetPreheatLogParams
- func (o *GetPreheatLogParams) WithHTTPClient(client *http.Client) *GetPreheatLogParams
- func (o *GetPreheatLogParams) WithPreheatPolicyName(preheatPolicyName string) *GetPreheatLogParams
- func (o *GetPreheatLogParams) WithProjectName(projectName string) *GetPreheatLogParams
- func (o *GetPreheatLogParams) WithTaskID(taskID int64) *GetPreheatLogParams
- func (o *GetPreheatLogParams) WithTimeout(timeout time.Duration) *GetPreheatLogParams
- func (o *GetPreheatLogParams) WithXRequestID(xRequestID *string) *GetPreheatLogParams
- func (o *GetPreheatLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPreheatLogReader
- type GetPreheatLogUnauthorized
- func (o *GetPreheatLogUnauthorized) Error() string
- func (o *GetPreheatLogUnauthorized) GetPayload() *models.Errors
- func (o *GetPreheatLogUnauthorized) IsClientError() bool
- func (o *GetPreheatLogUnauthorized) IsCode(code int) bool
- func (o *GetPreheatLogUnauthorized) IsRedirect() bool
- func (o *GetPreheatLogUnauthorized) IsServerError() bool
- func (o *GetPreheatLogUnauthorized) IsSuccess() bool
- func (o *GetPreheatLogUnauthorized) String() string
- type ListExecutionsBadRequest
- func (o *ListExecutionsBadRequest) Error() string
- func (o *ListExecutionsBadRequest) GetPayload() *models.Errors
- func (o *ListExecutionsBadRequest) IsClientError() bool
- func (o *ListExecutionsBadRequest) IsCode(code int) bool
- func (o *ListExecutionsBadRequest) IsRedirect() bool
- func (o *ListExecutionsBadRequest) IsServerError() bool
- func (o *ListExecutionsBadRequest) IsSuccess() bool
- func (o *ListExecutionsBadRequest) String() string
- type ListExecutionsForbidden
- func (o *ListExecutionsForbidden) Error() string
- func (o *ListExecutionsForbidden) GetPayload() *models.Errors
- func (o *ListExecutionsForbidden) IsClientError() bool
- func (o *ListExecutionsForbidden) IsCode(code int) bool
- func (o *ListExecutionsForbidden) IsRedirect() bool
- func (o *ListExecutionsForbidden) IsServerError() bool
- func (o *ListExecutionsForbidden) IsSuccess() bool
- func (o *ListExecutionsForbidden) String() string
- type ListExecutionsInternalServerError
- func (o *ListExecutionsInternalServerError) Error() string
- func (o *ListExecutionsInternalServerError) GetPayload() *models.Errors
- func (o *ListExecutionsInternalServerError) IsClientError() bool
- func (o *ListExecutionsInternalServerError) IsCode(code int) bool
- func (o *ListExecutionsInternalServerError) IsRedirect() bool
- func (o *ListExecutionsInternalServerError) IsServerError() bool
- func (o *ListExecutionsInternalServerError) IsSuccess() bool
- func (o *ListExecutionsInternalServerError) String() string
- type ListExecutionsNotFound
- func (o *ListExecutionsNotFound) Error() string
- func (o *ListExecutionsNotFound) GetPayload() *models.Errors
- func (o *ListExecutionsNotFound) IsClientError() bool
- func (o *ListExecutionsNotFound) IsCode(code int) bool
- func (o *ListExecutionsNotFound) IsRedirect() bool
- func (o *ListExecutionsNotFound) IsServerError() bool
- func (o *ListExecutionsNotFound) IsSuccess() bool
- func (o *ListExecutionsNotFound) String() string
- type ListExecutionsOK
- func (o *ListExecutionsOK) Error() string
- func (o *ListExecutionsOK) GetPayload() []*models.Execution
- func (o *ListExecutionsOK) IsClientError() bool
- func (o *ListExecutionsOK) IsCode(code int) bool
- func (o *ListExecutionsOK) IsRedirect() bool
- func (o *ListExecutionsOK) IsServerError() bool
- func (o *ListExecutionsOK) IsSuccess() bool
- func (o *ListExecutionsOK) String() string
- type ListExecutionsParams
- func NewListExecutionsParams() *ListExecutionsParams
- func NewListExecutionsParamsWithContext(ctx context.Context) *ListExecutionsParams
- func NewListExecutionsParamsWithHTTPClient(client *http.Client) *ListExecutionsParams
- func NewListExecutionsParamsWithTimeout(timeout time.Duration) *ListExecutionsParams
- func (o *ListExecutionsParams) SetContext(ctx context.Context)
- func (o *ListExecutionsParams) SetDefaults()
- func (o *ListExecutionsParams) SetHTTPClient(client *http.Client)
- func (o *ListExecutionsParams) SetPage(page *int64)
- func (o *ListExecutionsParams) SetPageSize(pageSize *int64)
- func (o *ListExecutionsParams) SetPreheatPolicyName(preheatPolicyName string)
- func (o *ListExecutionsParams) SetProjectName(projectName string)
- func (o *ListExecutionsParams) SetQ(q *string)
- func (o *ListExecutionsParams) SetSort(sort *string)
- func (o *ListExecutionsParams) SetTimeout(timeout time.Duration)
- func (o *ListExecutionsParams) SetXRequestID(xRequestID *string)
- func (o *ListExecutionsParams) WithContext(ctx context.Context) *ListExecutionsParams
- func (o *ListExecutionsParams) WithDefaults() *ListExecutionsParams
- func (o *ListExecutionsParams) WithHTTPClient(client *http.Client) *ListExecutionsParams
- func (o *ListExecutionsParams) WithPage(page *int64) *ListExecutionsParams
- func (o *ListExecutionsParams) WithPageSize(pageSize *int64) *ListExecutionsParams
- func (o *ListExecutionsParams) WithPreheatPolicyName(preheatPolicyName string) *ListExecutionsParams
- func (o *ListExecutionsParams) WithProjectName(projectName string) *ListExecutionsParams
- func (o *ListExecutionsParams) WithQ(q *string) *ListExecutionsParams
- func (o *ListExecutionsParams) WithSort(sort *string) *ListExecutionsParams
- func (o *ListExecutionsParams) WithTimeout(timeout time.Duration) *ListExecutionsParams
- func (o *ListExecutionsParams) WithXRequestID(xRequestID *string) *ListExecutionsParams
- func (o *ListExecutionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListExecutionsReader
- type ListExecutionsUnauthorized
- func (o *ListExecutionsUnauthorized) Error() string
- func (o *ListExecutionsUnauthorized) GetPayload() *models.Errors
- func (o *ListExecutionsUnauthorized) IsClientError() bool
- func (o *ListExecutionsUnauthorized) IsCode(code int) bool
- func (o *ListExecutionsUnauthorized) IsRedirect() bool
- func (o *ListExecutionsUnauthorized) IsServerError() bool
- func (o *ListExecutionsUnauthorized) IsSuccess() bool
- func (o *ListExecutionsUnauthorized) String() string
- type ListInstancesBadRequest
- func (o *ListInstancesBadRequest) Error() string
- func (o *ListInstancesBadRequest) GetPayload() *models.Errors
- func (o *ListInstancesBadRequest) IsClientError() bool
- func (o *ListInstancesBadRequest) IsCode(code int) bool
- func (o *ListInstancesBadRequest) IsRedirect() bool
- func (o *ListInstancesBadRequest) IsServerError() bool
- func (o *ListInstancesBadRequest) IsSuccess() bool
- func (o *ListInstancesBadRequest) String() string
- type ListInstancesForbidden
- func (o *ListInstancesForbidden) Error() string
- func (o *ListInstancesForbidden) GetPayload() *models.Errors
- func (o *ListInstancesForbidden) IsClientError() bool
- func (o *ListInstancesForbidden) IsCode(code int) bool
- func (o *ListInstancesForbidden) IsRedirect() bool
- func (o *ListInstancesForbidden) IsServerError() bool
- func (o *ListInstancesForbidden) IsSuccess() bool
- func (o *ListInstancesForbidden) String() string
- type ListInstancesInternalServerError
- func (o *ListInstancesInternalServerError) Error() string
- func (o *ListInstancesInternalServerError) GetPayload() *models.Errors
- func (o *ListInstancesInternalServerError) IsClientError() bool
- func (o *ListInstancesInternalServerError) IsCode(code int) bool
- func (o *ListInstancesInternalServerError) IsRedirect() bool
- func (o *ListInstancesInternalServerError) IsServerError() bool
- func (o *ListInstancesInternalServerError) IsSuccess() bool
- func (o *ListInstancesInternalServerError) String() string
- type ListInstancesNotFound
- func (o *ListInstancesNotFound) Error() string
- func (o *ListInstancesNotFound) GetPayload() *models.Errors
- func (o *ListInstancesNotFound) IsClientError() bool
- func (o *ListInstancesNotFound) IsCode(code int) bool
- func (o *ListInstancesNotFound) IsRedirect() bool
- func (o *ListInstancesNotFound) IsServerError() bool
- func (o *ListInstancesNotFound) IsSuccess() bool
- func (o *ListInstancesNotFound) String() string
- type ListInstancesOK
- func (o *ListInstancesOK) Error() string
- func (o *ListInstancesOK) GetPayload() []*models.Instance
- func (o *ListInstancesOK) IsClientError() bool
- func (o *ListInstancesOK) IsCode(code int) bool
- func (o *ListInstancesOK) IsRedirect() bool
- func (o *ListInstancesOK) IsServerError() bool
- func (o *ListInstancesOK) IsSuccess() bool
- func (o *ListInstancesOK) String() string
- type ListInstancesParams
- func (o *ListInstancesParams) SetContext(ctx context.Context)
- func (o *ListInstancesParams) SetDefaults()
- func (o *ListInstancesParams) SetHTTPClient(client *http.Client)
- func (o *ListInstancesParams) SetPage(page *int64)
- func (o *ListInstancesParams) SetPageSize(pageSize *int64)
- func (o *ListInstancesParams) SetQ(q *string)
- func (o *ListInstancesParams) SetSort(sort *string)
- func (o *ListInstancesParams) SetTimeout(timeout time.Duration)
- func (o *ListInstancesParams) SetXRequestID(xRequestID *string)
- func (o *ListInstancesParams) WithContext(ctx context.Context) *ListInstancesParams
- func (o *ListInstancesParams) WithDefaults() *ListInstancesParams
- func (o *ListInstancesParams) WithHTTPClient(client *http.Client) *ListInstancesParams
- func (o *ListInstancesParams) WithPage(page *int64) *ListInstancesParams
- func (o *ListInstancesParams) WithPageSize(pageSize *int64) *ListInstancesParams
- func (o *ListInstancesParams) WithQ(q *string) *ListInstancesParams
- func (o *ListInstancesParams) WithSort(sort *string) *ListInstancesParams
- func (o *ListInstancesParams) WithTimeout(timeout time.Duration) *ListInstancesParams
- func (o *ListInstancesParams) WithXRequestID(xRequestID *string) *ListInstancesParams
- func (o *ListInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListInstancesReader
- type ListInstancesUnauthorized
- func (o *ListInstancesUnauthorized) Error() string
- func (o *ListInstancesUnauthorized) GetPayload() *models.Errors
- func (o *ListInstancesUnauthorized) IsClientError() bool
- func (o *ListInstancesUnauthorized) IsCode(code int) bool
- func (o *ListInstancesUnauthorized) IsRedirect() bool
- func (o *ListInstancesUnauthorized) IsServerError() bool
- func (o *ListInstancesUnauthorized) IsSuccess() bool
- func (o *ListInstancesUnauthorized) String() string
- type ListPoliciesBadRequest
- func (o *ListPoliciesBadRequest) Error() string
- func (o *ListPoliciesBadRequest) GetPayload() *models.Errors
- func (o *ListPoliciesBadRequest) IsClientError() bool
- func (o *ListPoliciesBadRequest) IsCode(code int) bool
- func (o *ListPoliciesBadRequest) IsRedirect() bool
- func (o *ListPoliciesBadRequest) IsServerError() bool
- func (o *ListPoliciesBadRequest) IsSuccess() bool
- func (o *ListPoliciesBadRequest) String() string
- type ListPoliciesForbidden
- func (o *ListPoliciesForbidden) Error() string
- func (o *ListPoliciesForbidden) GetPayload() *models.Errors
- func (o *ListPoliciesForbidden) IsClientError() bool
- func (o *ListPoliciesForbidden) IsCode(code int) bool
- func (o *ListPoliciesForbidden) IsRedirect() bool
- func (o *ListPoliciesForbidden) IsServerError() bool
- func (o *ListPoliciesForbidden) IsSuccess() bool
- func (o *ListPoliciesForbidden) String() string
- type ListPoliciesInternalServerError
- func (o *ListPoliciesInternalServerError) Error() string
- func (o *ListPoliciesInternalServerError) GetPayload() *models.Errors
- func (o *ListPoliciesInternalServerError) IsClientError() bool
- func (o *ListPoliciesInternalServerError) IsCode(code int) bool
- func (o *ListPoliciesInternalServerError) IsRedirect() bool
- func (o *ListPoliciesInternalServerError) IsServerError() bool
- func (o *ListPoliciesInternalServerError) IsSuccess() bool
- func (o *ListPoliciesInternalServerError) String() string
- type ListPoliciesOK
- func (o *ListPoliciesOK) Error() string
- func (o *ListPoliciesOK) GetPayload() []*models.PreheatPolicy
- func (o *ListPoliciesOK) IsClientError() bool
- func (o *ListPoliciesOK) IsCode(code int) bool
- func (o *ListPoliciesOK) IsRedirect() bool
- func (o *ListPoliciesOK) IsServerError() bool
- func (o *ListPoliciesOK) IsSuccess() bool
- func (o *ListPoliciesOK) String() string
- type ListPoliciesParams
- func (o *ListPoliciesParams) SetContext(ctx context.Context)
- func (o *ListPoliciesParams) SetDefaults()
- func (o *ListPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ListPoliciesParams) SetPage(page *int64)
- func (o *ListPoliciesParams) SetPageSize(pageSize *int64)
- func (o *ListPoliciesParams) SetProjectName(projectName string)
- func (o *ListPoliciesParams) SetQ(q *string)
- func (o *ListPoliciesParams) SetSort(sort *string)
- func (o *ListPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ListPoliciesParams) SetXRequestID(xRequestID *string)
- func (o *ListPoliciesParams) WithContext(ctx context.Context) *ListPoliciesParams
- func (o *ListPoliciesParams) WithDefaults() *ListPoliciesParams
- func (o *ListPoliciesParams) WithHTTPClient(client *http.Client) *ListPoliciesParams
- func (o *ListPoliciesParams) WithPage(page *int64) *ListPoliciesParams
- func (o *ListPoliciesParams) WithPageSize(pageSize *int64) *ListPoliciesParams
- func (o *ListPoliciesParams) WithProjectName(projectName string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithQ(q *string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithSort(sort *string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithTimeout(timeout time.Duration) *ListPoliciesParams
- func (o *ListPoliciesParams) WithXRequestID(xRequestID *string) *ListPoliciesParams
- func (o *ListPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPoliciesReader
- type ListPoliciesUnauthorized
- func (o *ListPoliciesUnauthorized) Error() string
- func (o *ListPoliciesUnauthorized) GetPayload() *models.Errors
- func (o *ListPoliciesUnauthorized) IsClientError() bool
- func (o *ListPoliciesUnauthorized) IsCode(code int) bool
- func (o *ListPoliciesUnauthorized) IsRedirect() bool
- func (o *ListPoliciesUnauthorized) IsServerError() bool
- func (o *ListPoliciesUnauthorized) IsSuccess() bool
- func (o *ListPoliciesUnauthorized) String() string
- type ListProvidersBadRequest
- func (o *ListProvidersBadRequest) Error() string
- func (o *ListProvidersBadRequest) GetPayload() *models.Errors
- func (o *ListProvidersBadRequest) IsClientError() bool
- func (o *ListProvidersBadRequest) IsCode(code int) bool
- func (o *ListProvidersBadRequest) IsRedirect() bool
- func (o *ListProvidersBadRequest) IsServerError() bool
- func (o *ListProvidersBadRequest) IsSuccess() bool
- func (o *ListProvidersBadRequest) String() string
- type ListProvidersForbidden
- func (o *ListProvidersForbidden) Error() string
- func (o *ListProvidersForbidden) GetPayload() *models.Errors
- func (o *ListProvidersForbidden) IsClientError() bool
- func (o *ListProvidersForbidden) IsCode(code int) bool
- func (o *ListProvidersForbidden) IsRedirect() bool
- func (o *ListProvidersForbidden) IsServerError() bool
- func (o *ListProvidersForbidden) IsSuccess() bool
- func (o *ListProvidersForbidden) String() string
- type ListProvidersInternalServerError
- func (o *ListProvidersInternalServerError) Error() string
- func (o *ListProvidersInternalServerError) GetPayload() *models.Errors
- func (o *ListProvidersInternalServerError) IsClientError() bool
- func (o *ListProvidersInternalServerError) IsCode(code int) bool
- func (o *ListProvidersInternalServerError) IsRedirect() bool
- func (o *ListProvidersInternalServerError) IsServerError() bool
- func (o *ListProvidersInternalServerError) IsSuccess() bool
- func (o *ListProvidersInternalServerError) String() string
- type ListProvidersNotFound
- func (o *ListProvidersNotFound) Error() string
- func (o *ListProvidersNotFound) GetPayload() *models.Errors
- func (o *ListProvidersNotFound) IsClientError() bool
- func (o *ListProvidersNotFound) IsCode(code int) bool
- func (o *ListProvidersNotFound) IsRedirect() bool
- func (o *ListProvidersNotFound) IsServerError() bool
- func (o *ListProvidersNotFound) IsSuccess() bool
- func (o *ListProvidersNotFound) String() string
- type ListProvidersOK
- func (o *ListProvidersOK) Error() string
- func (o *ListProvidersOK) GetPayload() []*models.Metadata
- func (o *ListProvidersOK) IsClientError() bool
- func (o *ListProvidersOK) IsCode(code int) bool
- func (o *ListProvidersOK) IsRedirect() bool
- func (o *ListProvidersOK) IsServerError() bool
- func (o *ListProvidersOK) IsSuccess() bool
- func (o *ListProvidersOK) String() string
- type ListProvidersParams
- func (o *ListProvidersParams) SetContext(ctx context.Context)
- func (o *ListProvidersParams) SetDefaults()
- func (o *ListProvidersParams) SetHTTPClient(client *http.Client)
- func (o *ListProvidersParams) SetTimeout(timeout time.Duration)
- func (o *ListProvidersParams) SetXRequestID(xRequestID *string)
- func (o *ListProvidersParams) WithContext(ctx context.Context) *ListProvidersParams
- func (o *ListProvidersParams) WithDefaults() *ListProvidersParams
- func (o *ListProvidersParams) WithHTTPClient(client *http.Client) *ListProvidersParams
- func (o *ListProvidersParams) WithTimeout(timeout time.Duration) *ListProvidersParams
- func (o *ListProvidersParams) WithXRequestID(xRequestID *string) *ListProvidersParams
- func (o *ListProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProvidersReader
- type ListProvidersUnauthorized
- func (o *ListProvidersUnauthorized) Error() string
- func (o *ListProvidersUnauthorized) GetPayload() *models.Errors
- func (o *ListProvidersUnauthorized) IsClientError() bool
- func (o *ListProvidersUnauthorized) IsCode(code int) bool
- func (o *ListProvidersUnauthorized) IsRedirect() bool
- func (o *ListProvidersUnauthorized) IsServerError() bool
- func (o *ListProvidersUnauthorized) IsSuccess() bool
- func (o *ListProvidersUnauthorized) String() string
- type ListProvidersUnderProjectBadRequest
- func (o *ListProvidersUnderProjectBadRequest) Error() string
- func (o *ListProvidersUnderProjectBadRequest) GetPayload() *models.Errors
- func (o *ListProvidersUnderProjectBadRequest) IsClientError() bool
- func (o *ListProvidersUnderProjectBadRequest) IsCode(code int) bool
- func (o *ListProvidersUnderProjectBadRequest) IsRedirect() bool
- func (o *ListProvidersUnderProjectBadRequest) IsServerError() bool
- func (o *ListProvidersUnderProjectBadRequest) IsSuccess() bool
- func (o *ListProvidersUnderProjectBadRequest) String() string
- type ListProvidersUnderProjectForbidden
- func (o *ListProvidersUnderProjectForbidden) Error() string
- func (o *ListProvidersUnderProjectForbidden) GetPayload() *models.Errors
- func (o *ListProvidersUnderProjectForbidden) IsClientError() bool
- func (o *ListProvidersUnderProjectForbidden) IsCode(code int) bool
- func (o *ListProvidersUnderProjectForbidden) IsRedirect() bool
- func (o *ListProvidersUnderProjectForbidden) IsServerError() bool
- func (o *ListProvidersUnderProjectForbidden) IsSuccess() bool
- func (o *ListProvidersUnderProjectForbidden) String() string
- type ListProvidersUnderProjectInternalServerError
- func (o *ListProvidersUnderProjectInternalServerError) Error() string
- func (o *ListProvidersUnderProjectInternalServerError) GetPayload() *models.Errors
- func (o *ListProvidersUnderProjectInternalServerError) IsClientError() bool
- func (o *ListProvidersUnderProjectInternalServerError) IsCode(code int) bool
- func (o *ListProvidersUnderProjectInternalServerError) IsRedirect() bool
- func (o *ListProvidersUnderProjectInternalServerError) IsServerError() bool
- func (o *ListProvidersUnderProjectInternalServerError) IsSuccess() bool
- func (o *ListProvidersUnderProjectInternalServerError) String() string
- type ListProvidersUnderProjectNotFound
- func (o *ListProvidersUnderProjectNotFound) Error() string
- func (o *ListProvidersUnderProjectNotFound) GetPayload() *models.Errors
- func (o *ListProvidersUnderProjectNotFound) IsClientError() bool
- func (o *ListProvidersUnderProjectNotFound) IsCode(code int) bool
- func (o *ListProvidersUnderProjectNotFound) IsRedirect() bool
- func (o *ListProvidersUnderProjectNotFound) IsServerError() bool
- func (o *ListProvidersUnderProjectNotFound) IsSuccess() bool
- func (o *ListProvidersUnderProjectNotFound) String() string
- type ListProvidersUnderProjectOK
- func (o *ListProvidersUnderProjectOK) Error() string
- func (o *ListProvidersUnderProjectOK) GetPayload() []*models.ProviderUnderProject
- func (o *ListProvidersUnderProjectOK) IsClientError() bool
- func (o *ListProvidersUnderProjectOK) IsCode(code int) bool
- func (o *ListProvidersUnderProjectOK) IsRedirect() bool
- func (o *ListProvidersUnderProjectOK) IsServerError() bool
- func (o *ListProvidersUnderProjectOK) IsSuccess() bool
- func (o *ListProvidersUnderProjectOK) String() string
- type ListProvidersUnderProjectParams
- func NewListProvidersUnderProjectParams() *ListProvidersUnderProjectParams
- func NewListProvidersUnderProjectParamsWithContext(ctx context.Context) *ListProvidersUnderProjectParams
- func NewListProvidersUnderProjectParamsWithHTTPClient(client *http.Client) *ListProvidersUnderProjectParams
- func NewListProvidersUnderProjectParamsWithTimeout(timeout time.Duration) *ListProvidersUnderProjectParams
- func (o *ListProvidersUnderProjectParams) SetContext(ctx context.Context)
- func (o *ListProvidersUnderProjectParams) SetDefaults()
- func (o *ListProvidersUnderProjectParams) SetHTTPClient(client *http.Client)
- func (o *ListProvidersUnderProjectParams) SetProjectName(projectName string)
- func (o *ListProvidersUnderProjectParams) SetTimeout(timeout time.Duration)
- func (o *ListProvidersUnderProjectParams) SetXRequestID(xRequestID *string)
- func (o *ListProvidersUnderProjectParams) WithContext(ctx context.Context) *ListProvidersUnderProjectParams
- func (o *ListProvidersUnderProjectParams) WithDefaults() *ListProvidersUnderProjectParams
- func (o *ListProvidersUnderProjectParams) WithHTTPClient(client *http.Client) *ListProvidersUnderProjectParams
- func (o *ListProvidersUnderProjectParams) WithProjectName(projectName string) *ListProvidersUnderProjectParams
- func (o *ListProvidersUnderProjectParams) WithTimeout(timeout time.Duration) *ListProvidersUnderProjectParams
- func (o *ListProvidersUnderProjectParams) WithXRequestID(xRequestID *string) *ListProvidersUnderProjectParams
- func (o *ListProvidersUnderProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProvidersUnderProjectReader
- type ListProvidersUnderProjectUnauthorized
- func (o *ListProvidersUnderProjectUnauthorized) Error() string
- func (o *ListProvidersUnderProjectUnauthorized) GetPayload() *models.Errors
- func (o *ListProvidersUnderProjectUnauthorized) IsClientError() bool
- func (o *ListProvidersUnderProjectUnauthorized) IsCode(code int) bool
- func (o *ListProvidersUnderProjectUnauthorized) IsRedirect() bool
- func (o *ListProvidersUnderProjectUnauthorized) IsServerError() bool
- func (o *ListProvidersUnderProjectUnauthorized) IsSuccess() bool
- func (o *ListProvidersUnderProjectUnauthorized) String() string
- type ListTasksBadRequest
- func (o *ListTasksBadRequest) Error() string
- func (o *ListTasksBadRequest) GetPayload() *models.Errors
- func (o *ListTasksBadRequest) IsClientError() bool
- func (o *ListTasksBadRequest) IsCode(code int) bool
- func (o *ListTasksBadRequest) IsRedirect() bool
- func (o *ListTasksBadRequest) IsServerError() bool
- func (o *ListTasksBadRequest) IsSuccess() bool
- func (o *ListTasksBadRequest) String() string
- type ListTasksForbidden
- func (o *ListTasksForbidden) Error() string
- func (o *ListTasksForbidden) GetPayload() *models.Errors
- func (o *ListTasksForbidden) IsClientError() bool
- func (o *ListTasksForbidden) IsCode(code int) bool
- func (o *ListTasksForbidden) IsRedirect() bool
- func (o *ListTasksForbidden) IsServerError() bool
- func (o *ListTasksForbidden) IsSuccess() bool
- func (o *ListTasksForbidden) String() string
- type ListTasksInternalServerError
- func (o *ListTasksInternalServerError) Error() string
- func (o *ListTasksInternalServerError) GetPayload() *models.Errors
- func (o *ListTasksInternalServerError) IsClientError() bool
- func (o *ListTasksInternalServerError) IsCode(code int) bool
- func (o *ListTasksInternalServerError) IsRedirect() bool
- func (o *ListTasksInternalServerError) IsServerError() bool
- func (o *ListTasksInternalServerError) IsSuccess() bool
- func (o *ListTasksInternalServerError) String() string
- type ListTasksNotFound
- func (o *ListTasksNotFound) Error() string
- func (o *ListTasksNotFound) GetPayload() *models.Errors
- func (o *ListTasksNotFound) IsClientError() bool
- func (o *ListTasksNotFound) IsCode(code int) bool
- func (o *ListTasksNotFound) IsRedirect() bool
- func (o *ListTasksNotFound) IsServerError() bool
- func (o *ListTasksNotFound) IsSuccess() bool
- func (o *ListTasksNotFound) String() string
- type ListTasksOK
- func (o *ListTasksOK) Error() string
- func (o *ListTasksOK) GetPayload() []*models.Task
- func (o *ListTasksOK) IsClientError() bool
- func (o *ListTasksOK) IsCode(code int) bool
- func (o *ListTasksOK) IsRedirect() bool
- func (o *ListTasksOK) IsServerError() bool
- func (o *ListTasksOK) IsSuccess() bool
- func (o *ListTasksOK) String() string
- type ListTasksParams
- func (o *ListTasksParams) SetContext(ctx context.Context)
- func (o *ListTasksParams) SetDefaults()
- func (o *ListTasksParams) SetExecutionID(executionID int64)
- func (o *ListTasksParams) SetHTTPClient(client *http.Client)
- func (o *ListTasksParams) SetPage(page *int64)
- func (o *ListTasksParams) SetPageSize(pageSize *int64)
- func (o *ListTasksParams) SetPreheatPolicyName(preheatPolicyName string)
- func (o *ListTasksParams) SetProjectName(projectName string)
- func (o *ListTasksParams) SetQ(q *string)
- func (o *ListTasksParams) SetSort(sort *string)
- func (o *ListTasksParams) SetTimeout(timeout time.Duration)
- func (o *ListTasksParams) SetXRequestID(xRequestID *string)
- func (o *ListTasksParams) WithContext(ctx context.Context) *ListTasksParams
- func (o *ListTasksParams) WithDefaults() *ListTasksParams
- func (o *ListTasksParams) WithExecutionID(executionID int64) *ListTasksParams
- func (o *ListTasksParams) WithHTTPClient(client *http.Client) *ListTasksParams
- func (o *ListTasksParams) WithPage(page *int64) *ListTasksParams
- func (o *ListTasksParams) WithPageSize(pageSize *int64) *ListTasksParams
- func (o *ListTasksParams) WithPreheatPolicyName(preheatPolicyName string) *ListTasksParams
- func (o *ListTasksParams) WithProjectName(projectName string) *ListTasksParams
- func (o *ListTasksParams) WithQ(q *string) *ListTasksParams
- func (o *ListTasksParams) WithSort(sort *string) *ListTasksParams
- func (o *ListTasksParams) WithTimeout(timeout time.Duration) *ListTasksParams
- func (o *ListTasksParams) WithXRequestID(xRequestID *string) *ListTasksParams
- func (o *ListTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTasksReader
- type ListTasksUnauthorized
- func (o *ListTasksUnauthorized) Error() string
- func (o *ListTasksUnauthorized) GetPayload() *models.Errors
- func (o *ListTasksUnauthorized) IsClientError() bool
- func (o *ListTasksUnauthorized) IsCode(code int) bool
- func (o *ListTasksUnauthorized) IsRedirect() bool
- func (o *ListTasksUnauthorized) IsServerError() bool
- func (o *ListTasksUnauthorized) IsSuccess() bool
- func (o *ListTasksUnauthorized) String() string
- type ManualPreheatBadRequest
- func (o *ManualPreheatBadRequest) Error() string
- func (o *ManualPreheatBadRequest) GetPayload() *models.Errors
- func (o *ManualPreheatBadRequest) IsClientError() bool
- func (o *ManualPreheatBadRequest) IsCode(code int) bool
- func (o *ManualPreheatBadRequest) IsRedirect() bool
- func (o *ManualPreheatBadRequest) IsServerError() bool
- func (o *ManualPreheatBadRequest) IsSuccess() bool
- func (o *ManualPreheatBadRequest) String() string
- type ManualPreheatCreated
- func (o *ManualPreheatCreated) Error() string
- func (o *ManualPreheatCreated) IsClientError() bool
- func (o *ManualPreheatCreated) IsCode(code int) bool
- func (o *ManualPreheatCreated) IsRedirect() bool
- func (o *ManualPreheatCreated) IsServerError() bool
- func (o *ManualPreheatCreated) IsSuccess() bool
- func (o *ManualPreheatCreated) String() string
- type ManualPreheatForbidden
- func (o *ManualPreheatForbidden) Error() string
- func (o *ManualPreheatForbidden) GetPayload() *models.Errors
- func (o *ManualPreheatForbidden) IsClientError() bool
- func (o *ManualPreheatForbidden) IsCode(code int) bool
- func (o *ManualPreheatForbidden) IsRedirect() bool
- func (o *ManualPreheatForbidden) IsServerError() bool
- func (o *ManualPreheatForbidden) IsSuccess() bool
- func (o *ManualPreheatForbidden) String() string
- type ManualPreheatInternalServerError
- func (o *ManualPreheatInternalServerError) Error() string
- func (o *ManualPreheatInternalServerError) GetPayload() *models.Errors
- func (o *ManualPreheatInternalServerError) IsClientError() bool
- func (o *ManualPreheatInternalServerError) IsCode(code int) bool
- func (o *ManualPreheatInternalServerError) IsRedirect() bool
- func (o *ManualPreheatInternalServerError) IsServerError() bool
- func (o *ManualPreheatInternalServerError) IsSuccess() bool
- func (o *ManualPreheatInternalServerError) String() string
- type ManualPreheatNotFound
- func (o *ManualPreheatNotFound) Error() string
- func (o *ManualPreheatNotFound) GetPayload() *models.Errors
- func (o *ManualPreheatNotFound) IsClientError() bool
- func (o *ManualPreheatNotFound) IsCode(code int) bool
- func (o *ManualPreheatNotFound) IsRedirect() bool
- func (o *ManualPreheatNotFound) IsServerError() bool
- func (o *ManualPreheatNotFound) IsSuccess() bool
- func (o *ManualPreheatNotFound) String() string
- type ManualPreheatParams
- func (o *ManualPreheatParams) SetContext(ctx context.Context)
- func (o *ManualPreheatParams) SetDefaults()
- func (o *ManualPreheatParams) SetHTTPClient(client *http.Client)
- func (o *ManualPreheatParams) SetPolicy(policy *models.PreheatPolicy)
- func (o *ManualPreheatParams) SetPreheatPolicyName(preheatPolicyName string)
- func (o *ManualPreheatParams) SetProjectName(projectName string)
- func (o *ManualPreheatParams) SetTimeout(timeout time.Duration)
- func (o *ManualPreheatParams) SetXRequestID(xRequestID *string)
- func (o *ManualPreheatParams) WithContext(ctx context.Context) *ManualPreheatParams
- func (o *ManualPreheatParams) WithDefaults() *ManualPreheatParams
- func (o *ManualPreheatParams) WithHTTPClient(client *http.Client) *ManualPreheatParams
- func (o *ManualPreheatParams) WithPolicy(policy *models.PreheatPolicy) *ManualPreheatParams
- func (o *ManualPreheatParams) WithPreheatPolicyName(preheatPolicyName string) *ManualPreheatParams
- func (o *ManualPreheatParams) WithProjectName(projectName string) *ManualPreheatParams
- func (o *ManualPreheatParams) WithTimeout(timeout time.Duration) *ManualPreheatParams
- func (o *ManualPreheatParams) WithXRequestID(xRequestID *string) *ManualPreheatParams
- func (o *ManualPreheatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ManualPreheatReader
- type ManualPreheatUnauthorized
- func (o *ManualPreheatUnauthorized) Error() string
- func (o *ManualPreheatUnauthorized) GetPayload() *models.Errors
- func (o *ManualPreheatUnauthorized) IsClientError() bool
- func (o *ManualPreheatUnauthorized) IsCode(code int) bool
- func (o *ManualPreheatUnauthorized) IsRedirect() bool
- func (o *ManualPreheatUnauthorized) IsServerError() bool
- func (o *ManualPreheatUnauthorized) IsSuccess() bool
- func (o *ManualPreheatUnauthorized) String() string
- type PingInstancesBadRequest
- func (o *PingInstancesBadRequest) Error() string
- func (o *PingInstancesBadRequest) GetPayload() *models.Errors
- func (o *PingInstancesBadRequest) IsClientError() bool
- func (o *PingInstancesBadRequest) IsCode(code int) bool
- func (o *PingInstancesBadRequest) IsRedirect() bool
- func (o *PingInstancesBadRequest) IsServerError() bool
- func (o *PingInstancesBadRequest) IsSuccess() bool
- func (o *PingInstancesBadRequest) String() string
- type PingInstancesInternalServerError
- func (o *PingInstancesInternalServerError) Error() string
- func (o *PingInstancesInternalServerError) GetPayload() *models.Errors
- func (o *PingInstancesInternalServerError) IsClientError() bool
- func (o *PingInstancesInternalServerError) IsCode(code int) bool
- func (o *PingInstancesInternalServerError) IsRedirect() bool
- func (o *PingInstancesInternalServerError) IsServerError() bool
- func (o *PingInstancesInternalServerError) IsSuccess() bool
- func (o *PingInstancesInternalServerError) String() string
- type PingInstancesNotFound
- func (o *PingInstancesNotFound) Error() string
- func (o *PingInstancesNotFound) IsClientError() bool
- func (o *PingInstancesNotFound) IsCode(code int) bool
- func (o *PingInstancesNotFound) IsRedirect() bool
- func (o *PingInstancesNotFound) IsServerError() bool
- func (o *PingInstancesNotFound) IsSuccess() bool
- func (o *PingInstancesNotFound) String() string
- type PingInstancesOK
- func (o *PingInstancesOK) Error() string
- func (o *PingInstancesOK) IsClientError() bool
- func (o *PingInstancesOK) IsCode(code int) bool
- func (o *PingInstancesOK) IsRedirect() bool
- func (o *PingInstancesOK) IsServerError() bool
- func (o *PingInstancesOK) IsSuccess() bool
- func (o *PingInstancesOK) String() string
- type PingInstancesParams
- func (o *PingInstancesParams) SetContext(ctx context.Context)
- func (o *PingInstancesParams) SetDefaults()
- func (o *PingInstancesParams) SetHTTPClient(client *http.Client)
- func (o *PingInstancesParams) SetInstance(instance *models.Instance)
- func (o *PingInstancesParams) SetTimeout(timeout time.Duration)
- func (o *PingInstancesParams) SetXRequestID(xRequestID *string)
- func (o *PingInstancesParams) WithContext(ctx context.Context) *PingInstancesParams
- func (o *PingInstancesParams) WithDefaults() *PingInstancesParams
- func (o *PingInstancesParams) WithHTTPClient(client *http.Client) *PingInstancesParams
- func (o *PingInstancesParams) WithInstance(instance *models.Instance) *PingInstancesParams
- func (o *PingInstancesParams) WithTimeout(timeout time.Duration) *PingInstancesParams
- func (o *PingInstancesParams) WithXRequestID(xRequestID *string) *PingInstancesParams
- func (o *PingInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PingInstancesReader
- type PingInstancesUnauthorized
- func (o *PingInstancesUnauthorized) Error() string
- func (o *PingInstancesUnauthorized) GetPayload() *models.Errors
- func (o *PingInstancesUnauthorized) IsClientError() bool
- func (o *PingInstancesUnauthorized) IsCode(code int) bool
- func (o *PingInstancesUnauthorized) IsRedirect() bool
- func (o *PingInstancesUnauthorized) IsServerError() bool
- func (o *PingInstancesUnauthorized) IsSuccess() bool
- func (o *PingInstancesUnauthorized) String() string
- type StopExecutionBadRequest
- func (o *StopExecutionBadRequest) Error() string
- func (o *StopExecutionBadRequest) GetPayload() *models.Errors
- func (o *StopExecutionBadRequest) IsClientError() bool
- func (o *StopExecutionBadRequest) IsCode(code int) bool
- func (o *StopExecutionBadRequest) IsRedirect() bool
- func (o *StopExecutionBadRequest) IsServerError() bool
- func (o *StopExecutionBadRequest) IsSuccess() bool
- func (o *StopExecutionBadRequest) String() string
- type StopExecutionForbidden
- func (o *StopExecutionForbidden) Error() string
- func (o *StopExecutionForbidden) GetPayload() *models.Errors
- func (o *StopExecutionForbidden) IsClientError() bool
- func (o *StopExecutionForbidden) IsCode(code int) bool
- func (o *StopExecutionForbidden) IsRedirect() bool
- func (o *StopExecutionForbidden) IsServerError() bool
- func (o *StopExecutionForbidden) IsSuccess() bool
- func (o *StopExecutionForbidden) String() string
- type StopExecutionInternalServerError
- func (o *StopExecutionInternalServerError) Error() string
- func (o *StopExecutionInternalServerError) GetPayload() *models.Errors
- func (o *StopExecutionInternalServerError) IsClientError() bool
- func (o *StopExecutionInternalServerError) IsCode(code int) bool
- func (o *StopExecutionInternalServerError) IsRedirect() bool
- func (o *StopExecutionInternalServerError) IsServerError() bool
- func (o *StopExecutionInternalServerError) IsSuccess() bool
- func (o *StopExecutionInternalServerError) String() string
- type StopExecutionNotFound
- func (o *StopExecutionNotFound) Error() string
- func (o *StopExecutionNotFound) GetPayload() *models.Errors
- func (o *StopExecutionNotFound) IsClientError() bool
- func (o *StopExecutionNotFound) IsCode(code int) bool
- func (o *StopExecutionNotFound) IsRedirect() bool
- func (o *StopExecutionNotFound) IsServerError() bool
- func (o *StopExecutionNotFound) IsSuccess() bool
- func (o *StopExecutionNotFound) String() string
- type StopExecutionOK
- func (o *StopExecutionOK) Error() string
- func (o *StopExecutionOK) IsClientError() bool
- func (o *StopExecutionOK) IsCode(code int) bool
- func (o *StopExecutionOK) IsRedirect() bool
- func (o *StopExecutionOK) IsServerError() bool
- func (o *StopExecutionOK) IsSuccess() bool
- func (o *StopExecutionOK) String() string
- type StopExecutionParams
- func (o *StopExecutionParams) SetContext(ctx context.Context)
- func (o *StopExecutionParams) SetDefaults()
- func (o *StopExecutionParams) SetExecution(execution *models.Execution)
- func (o *StopExecutionParams) SetExecutionID(executionID int64)
- func (o *StopExecutionParams) SetHTTPClient(client *http.Client)
- func (o *StopExecutionParams) SetPreheatPolicyName(preheatPolicyName string)
- func (o *StopExecutionParams) SetProjectName(projectName string)
- func (o *StopExecutionParams) SetTimeout(timeout time.Duration)
- func (o *StopExecutionParams) SetXRequestID(xRequestID *string)
- func (o *StopExecutionParams) WithContext(ctx context.Context) *StopExecutionParams
- func (o *StopExecutionParams) WithDefaults() *StopExecutionParams
- func (o *StopExecutionParams) WithExecution(execution *models.Execution) *StopExecutionParams
- func (o *StopExecutionParams) WithExecutionID(executionID int64) *StopExecutionParams
- func (o *StopExecutionParams) WithHTTPClient(client *http.Client) *StopExecutionParams
- func (o *StopExecutionParams) WithPreheatPolicyName(preheatPolicyName string) *StopExecutionParams
- func (o *StopExecutionParams) WithProjectName(projectName string) *StopExecutionParams
- func (o *StopExecutionParams) WithTimeout(timeout time.Duration) *StopExecutionParams
- func (o *StopExecutionParams) WithXRequestID(xRequestID *string) *StopExecutionParams
- func (o *StopExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopExecutionReader
- type StopExecutionUnauthorized
- func (o *StopExecutionUnauthorized) Error() string
- func (o *StopExecutionUnauthorized) GetPayload() *models.Errors
- func (o *StopExecutionUnauthorized) IsClientError() bool
- func (o *StopExecutionUnauthorized) IsCode(code int) bool
- func (o *StopExecutionUnauthorized) IsRedirect() bool
- func (o *StopExecutionUnauthorized) IsServerError() bool
- func (o *StopExecutionUnauthorized) IsSuccess() bool
- func (o *StopExecutionUnauthorized) String() string
- type UpdateInstanceBadRequest
- func (o *UpdateInstanceBadRequest) Error() string
- func (o *UpdateInstanceBadRequest) GetPayload() *models.Errors
- func (o *UpdateInstanceBadRequest) IsClientError() bool
- func (o *UpdateInstanceBadRequest) IsCode(code int) bool
- func (o *UpdateInstanceBadRequest) IsRedirect() bool
- func (o *UpdateInstanceBadRequest) IsServerError() bool
- func (o *UpdateInstanceBadRequest) IsSuccess() bool
- func (o *UpdateInstanceBadRequest) String() string
- type UpdateInstanceForbidden
- func (o *UpdateInstanceForbidden) Error() string
- func (o *UpdateInstanceForbidden) GetPayload() *models.Errors
- func (o *UpdateInstanceForbidden) IsClientError() bool
- func (o *UpdateInstanceForbidden) IsCode(code int) bool
- func (o *UpdateInstanceForbidden) IsRedirect() bool
- func (o *UpdateInstanceForbidden) IsServerError() bool
- func (o *UpdateInstanceForbidden) IsSuccess() bool
- func (o *UpdateInstanceForbidden) String() string
- type UpdateInstanceInternalServerError
- func (o *UpdateInstanceInternalServerError) Error() string
- func (o *UpdateInstanceInternalServerError) GetPayload() *models.Errors
- func (o *UpdateInstanceInternalServerError) IsClientError() bool
- func (o *UpdateInstanceInternalServerError) IsCode(code int) bool
- func (o *UpdateInstanceInternalServerError) IsRedirect() bool
- func (o *UpdateInstanceInternalServerError) IsServerError() bool
- func (o *UpdateInstanceInternalServerError) IsSuccess() bool
- func (o *UpdateInstanceInternalServerError) String() string
- type UpdateInstanceNotFound
- func (o *UpdateInstanceNotFound) Error() string
- func (o *UpdateInstanceNotFound) GetPayload() *models.Errors
- func (o *UpdateInstanceNotFound) IsClientError() bool
- func (o *UpdateInstanceNotFound) IsCode(code int) bool
- func (o *UpdateInstanceNotFound) IsRedirect() bool
- func (o *UpdateInstanceNotFound) IsServerError() bool
- func (o *UpdateInstanceNotFound) IsSuccess() bool
- func (o *UpdateInstanceNotFound) String() string
- type UpdateInstanceOK
- func (o *UpdateInstanceOK) Error() string
- func (o *UpdateInstanceOK) IsClientError() bool
- func (o *UpdateInstanceOK) IsCode(code int) bool
- func (o *UpdateInstanceOK) IsRedirect() bool
- func (o *UpdateInstanceOK) IsServerError() bool
- func (o *UpdateInstanceOK) IsSuccess() bool
- func (o *UpdateInstanceOK) String() string
- type UpdateInstanceParams
- func NewUpdateInstanceParams() *UpdateInstanceParams
- func NewUpdateInstanceParamsWithContext(ctx context.Context) *UpdateInstanceParams
- func NewUpdateInstanceParamsWithHTTPClient(client *http.Client) *UpdateInstanceParams
- func NewUpdateInstanceParamsWithTimeout(timeout time.Duration) *UpdateInstanceParams
- func (o *UpdateInstanceParams) SetContext(ctx context.Context)
- func (o *UpdateInstanceParams) SetDefaults()
- func (o *UpdateInstanceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateInstanceParams) SetInstance(instance *models.Instance)
- func (o *UpdateInstanceParams) SetPreheatInstanceName(preheatInstanceName string)
- func (o *UpdateInstanceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateInstanceParams) SetXRequestID(xRequestID *string)
- func (o *UpdateInstanceParams) WithContext(ctx context.Context) *UpdateInstanceParams
- func (o *UpdateInstanceParams) WithDefaults() *UpdateInstanceParams
- func (o *UpdateInstanceParams) WithHTTPClient(client *http.Client) *UpdateInstanceParams
- func (o *UpdateInstanceParams) WithInstance(instance *models.Instance) *UpdateInstanceParams
- func (o *UpdateInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *UpdateInstanceParams
- func (o *UpdateInstanceParams) WithTimeout(timeout time.Duration) *UpdateInstanceParams
- func (o *UpdateInstanceParams) WithXRequestID(xRequestID *string) *UpdateInstanceParams
- func (o *UpdateInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateInstanceReader
- type UpdateInstanceUnauthorized
- func (o *UpdateInstanceUnauthorized) Error() string
- func (o *UpdateInstanceUnauthorized) GetPayload() *models.Errors
- func (o *UpdateInstanceUnauthorized) IsClientError() bool
- func (o *UpdateInstanceUnauthorized) IsCode(code int) bool
- func (o *UpdateInstanceUnauthorized) IsRedirect() bool
- func (o *UpdateInstanceUnauthorized) IsServerError() bool
- func (o *UpdateInstanceUnauthorized) IsSuccess() bool
- func (o *UpdateInstanceUnauthorized) String() string
- type UpdatePolicyBadRequest
- func (o *UpdatePolicyBadRequest) Error() string
- func (o *UpdatePolicyBadRequest) GetPayload() *models.Errors
- func (o *UpdatePolicyBadRequest) IsClientError() bool
- func (o *UpdatePolicyBadRequest) IsCode(code int) bool
- func (o *UpdatePolicyBadRequest) IsRedirect() bool
- func (o *UpdatePolicyBadRequest) IsServerError() bool
- func (o *UpdatePolicyBadRequest) IsSuccess() bool
- func (o *UpdatePolicyBadRequest) String() string
- type UpdatePolicyConflict
- func (o *UpdatePolicyConflict) Error() string
- func (o *UpdatePolicyConflict) GetPayload() *models.Errors
- func (o *UpdatePolicyConflict) IsClientError() bool
- func (o *UpdatePolicyConflict) IsCode(code int) bool
- func (o *UpdatePolicyConflict) IsRedirect() bool
- func (o *UpdatePolicyConflict) IsServerError() bool
- func (o *UpdatePolicyConflict) IsSuccess() bool
- func (o *UpdatePolicyConflict) String() string
- type UpdatePolicyForbidden
- func (o *UpdatePolicyForbidden) Error() string
- func (o *UpdatePolicyForbidden) GetPayload() *models.Errors
- func (o *UpdatePolicyForbidden) IsClientError() bool
- func (o *UpdatePolicyForbidden) IsCode(code int) bool
- func (o *UpdatePolicyForbidden) IsRedirect() bool
- func (o *UpdatePolicyForbidden) IsServerError() bool
- func (o *UpdatePolicyForbidden) IsSuccess() bool
- func (o *UpdatePolicyForbidden) String() string
- type UpdatePolicyInternalServerError
- func (o *UpdatePolicyInternalServerError) Error() string
- func (o *UpdatePolicyInternalServerError) GetPayload() *models.Errors
- func (o *UpdatePolicyInternalServerError) IsClientError() bool
- func (o *UpdatePolicyInternalServerError) IsCode(code int) bool
- func (o *UpdatePolicyInternalServerError) IsRedirect() bool
- func (o *UpdatePolicyInternalServerError) IsServerError() bool
- func (o *UpdatePolicyInternalServerError) IsSuccess() bool
- func (o *UpdatePolicyInternalServerError) String() string
- type UpdatePolicyNotFound
- func (o *UpdatePolicyNotFound) Error() string
- func (o *UpdatePolicyNotFound) GetPayload() *models.Errors
- func (o *UpdatePolicyNotFound) IsClientError() bool
- func (o *UpdatePolicyNotFound) IsCode(code int) bool
- func (o *UpdatePolicyNotFound) IsRedirect() bool
- func (o *UpdatePolicyNotFound) IsServerError() bool
- func (o *UpdatePolicyNotFound) IsSuccess() bool
- func (o *UpdatePolicyNotFound) String() string
- type UpdatePolicyOK
- func (o *UpdatePolicyOK) Error() string
- func (o *UpdatePolicyOK) IsClientError() bool
- func (o *UpdatePolicyOK) IsCode(code int) bool
- func (o *UpdatePolicyOK) IsRedirect() bool
- func (o *UpdatePolicyOK) IsServerError() bool
- func (o *UpdatePolicyOK) IsSuccess() bool
- func (o *UpdatePolicyOK) String() string
- type UpdatePolicyParams
- func (o *UpdatePolicyParams) SetContext(ctx context.Context)
- func (o *UpdatePolicyParams) SetDefaults()
- func (o *UpdatePolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePolicyParams) SetPolicy(policy *models.PreheatPolicy)
- func (o *UpdatePolicyParams) SetPreheatPolicyName(preheatPolicyName string)
- func (o *UpdatePolicyParams) SetProjectName(projectName string)
- func (o *UpdatePolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePolicyParams) SetXRequestID(xRequestID *string)
- func (o *UpdatePolicyParams) WithContext(ctx context.Context) *UpdatePolicyParams
- func (o *UpdatePolicyParams) WithDefaults() *UpdatePolicyParams
- func (o *UpdatePolicyParams) WithHTTPClient(client *http.Client) *UpdatePolicyParams
- func (o *UpdatePolicyParams) WithPolicy(policy *models.PreheatPolicy) *UpdatePolicyParams
- func (o *UpdatePolicyParams) WithPreheatPolicyName(preheatPolicyName string) *UpdatePolicyParams
- func (o *UpdatePolicyParams) WithProjectName(projectName string) *UpdatePolicyParams
- func (o *UpdatePolicyParams) WithTimeout(timeout time.Duration) *UpdatePolicyParams
- func (o *UpdatePolicyParams) WithXRequestID(xRequestID *string) *UpdatePolicyParams
- func (o *UpdatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePolicyReader
- type UpdatePolicyUnauthorized
- func (o *UpdatePolicyUnauthorized) Error() string
- func (o *UpdatePolicyUnauthorized) GetPayload() *models.Errors
- func (o *UpdatePolicyUnauthorized) IsClientError() bool
- func (o *UpdatePolicyUnauthorized) IsCode(code int) bool
- func (o *UpdatePolicyUnauthorized) IsRedirect() bool
- func (o *UpdatePolicyUnauthorized) IsServerError() bool
- func (o *UpdatePolicyUnauthorized) IsSuccess() bool
- func (o *UpdatePolicyUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* CreateInstance creates p2p provider instances Create p2p provider instances*/ CreateInstance(ctx context.Context, params *CreateInstanceParams) (*CreateInstanceCreated, error) /* CreatePolicy creates a preheat policy under a project Create a preheat policy under a project*/ CreatePolicy(ctx context.Context, params *CreatePolicyParams) (*CreatePolicyCreated, error) /* DeleteInstance deletes the specified p2 p provider instance Delete the specified P2P provider instance*/ DeleteInstance(ctx context.Context, params *DeleteInstanceParams) (*DeleteInstanceOK, error) /* DeletePolicy deletes a preheat policy Delete a preheat policy*/ DeletePolicy(ctx context.Context, params *DeletePolicyParams) (*DeletePolicyOK, error) /* GetExecution gets a execution detail by id Get a execution detail by id*/ GetExecution(ctx context.Context, params *GetExecutionParams) (*GetExecutionOK, error) /* GetInstance gets a p2 p provider instance Get a P2P provider instance*/ GetInstance(ctx context.Context, params *GetInstanceParams) (*GetInstanceOK, error) /* GetPolicy gets a preheat policy Get a preheat policy*/ GetPolicy(ctx context.Context, params *GetPolicyParams) (*GetPolicyOK, 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*/ GetPreheatLog(ctx context.Context, params *GetPreheatLogParams) (*GetPreheatLogOK, error) /* ListExecutions lists executions for the given policy List executions for the given policy*/ ListExecutions(ctx context.Context, params *ListExecutionsParams) (*ListExecutionsOK, error) /* ListInstances lists p2 p provider instances List P2P provider instances*/ ListInstances(ctx context.Context, params *ListInstancesParams) (*ListInstancesOK, error) /* ListPolicies lists preheat policies List preheat policies*/ ListPolicies(ctx context.Context, params *ListPoliciesParams) (*ListPoliciesOK, error) /* ListProviders lists p2 p providers List P2P providers*/ ListProviders(ctx context.Context, params *ListProvidersParams) (*ListProvidersOK, error) /* ListProvidersUnderProject gets all providers at project level Get all providers at project level*/ ListProvidersUnderProject(ctx context.Context, params *ListProvidersUnderProjectParams) (*ListProvidersUnderProjectOK, error) /* ListTasks lists all the related tasks for the given execution List all the related tasks for the given execution*/ ListTasks(ctx context.Context, params *ListTasksParams) (*ListTasksOK, error) /* ManualPreheat manuals preheat Manual preheat*/ ManualPreheat(ctx context.Context, params *ManualPreheatParams) (*ManualPreheatCreated, 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) */ PingInstances(ctx context.Context, params *PingInstancesParams) (*PingInstancesOK, error) /* StopExecution stops a execution Stop a execution*/ StopExecution(ctx context.Context, params *StopExecutionParams) (*StopExecutionOK, error) /* UpdateInstance updates the specified p2 p provider instance Update the specified P2P provider instance*/ UpdateInstance(ctx context.Context, params *UpdateInstanceParams) (*UpdateInstanceOK, error) /* UpdatePolicy updates preheat policy Update preheat policy*/ UpdatePolicy(ctx context.Context, params *UpdatePolicyParams) (*UpdatePolicyOK, error) }
API is the interface of the preheat client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for preheat API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new preheat API client.
func (*Client) CreateInstance ¶
func (a *Client) CreateInstance(ctx context.Context, params *CreateInstanceParams) (*CreateInstanceCreated, error)
CreateInstance creates p2p provider instances
Create p2p provider instances
func (*Client) CreatePolicy ¶
func (a *Client) CreatePolicy(ctx context.Context, params *CreatePolicyParams) (*CreatePolicyCreated, error)
CreatePolicy creates a preheat policy under a project
Create a preheat policy under a project
func (*Client) DeleteInstance ¶
func (a *Client) DeleteInstance(ctx context.Context, params *DeleteInstanceParams) (*DeleteInstanceOK, error)
DeleteInstance deletes the specified p2 p provider instance
Delete the specified P2P provider instance
func (*Client) DeletePolicy ¶
func (a *Client) DeletePolicy(ctx context.Context, params *DeletePolicyParams) (*DeletePolicyOK, error)
DeletePolicy deletes a preheat policy
Delete a preheat policy
func (*Client) GetExecution ¶
func (a *Client) GetExecution(ctx context.Context, params *GetExecutionParams) (*GetExecutionOK, error)
GetExecution gets a execution detail by id
Get a execution detail by id
func (*Client) GetInstance ¶
func (a *Client) GetInstance(ctx context.Context, params *GetInstanceParams) (*GetInstanceOK, error)
GetInstance gets a p2 p provider instance
Get a P2P provider instance
func (*Client) GetPolicy ¶
func (a *Client) GetPolicy(ctx context.Context, params *GetPolicyParams) (*GetPolicyOK, error)
GetPolicy gets a preheat policy
Get a preheat policy
func (*Client) GetPreheatLog ¶
func (a *Client) GetPreheatLog(ctx context.Context, params *GetPreheatLogParams) (*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(ctx context.Context, params *ListExecutionsParams) (*ListExecutionsOK, error)
ListExecutions lists executions for the given policy
List executions for the given policy
func (*Client) ListInstances ¶
func (a *Client) ListInstances(ctx context.Context, params *ListInstancesParams) (*ListInstancesOK, error)
ListInstances lists p2 p provider instances
List P2P provider instances
func (*Client) ListPolicies ¶
func (a *Client) ListPolicies(ctx context.Context, params *ListPoliciesParams) (*ListPoliciesOK, error)
ListPolicies lists preheat policies
List preheat policies
func (*Client) ListProviders ¶
func (a *Client) ListProviders(ctx context.Context, params *ListProvidersParams) (*ListProvidersOK, error)
ListProviders lists p2 p providers
List P2P providers
func (*Client) ListProvidersUnderProject ¶
func (a *Client) ListProvidersUnderProject(ctx context.Context, params *ListProvidersUnderProjectParams) (*ListProvidersUnderProjectOK, error)
ListProvidersUnderProject gets all providers at project level
Get all providers at project level
func (*Client) ListTasks ¶
func (a *Client) ListTasks(ctx context.Context, params *ListTasksParams) (*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(ctx context.Context, params *ManualPreheatParams) (*ManualPreheatCreated, error)
ManualPreheat manuals preheat
Manual preheat
func (*Client) PingInstances ¶
func (a *Client) PingInstances(ctx context.Context, params *PingInstancesParams) (*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) StopExecution ¶
func (a *Client) StopExecution(ctx context.Context, params *StopExecutionParams) (*StopExecutionOK, error)
StopExecution stops a execution
Stop a execution
func (*Client) UpdateInstance ¶
func (a *Client) UpdateInstance(ctx context.Context, params *UpdateInstanceParams) (*UpdateInstanceOK, error)
UpdateInstance updates the specified p2 p provider instance
Update the specified P2P provider instance
func (*Client) UpdatePolicy ¶
func (a *Client) UpdatePolicy(ctx context.Context, params *UpdatePolicyParams) (*UpdatePolicyOK, error)
UpdatePolicy updates preheat policy
Update preheat policy
type CreateInstanceBadRequest ¶
type CreateInstanceBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*CreateInstanceBadRequest) IsClientError ¶
func (o *CreateInstanceBadRequest) IsClientError() bool
IsClientError returns true when this create instance bad request response has a 4xx status code
func (*CreateInstanceBadRequest) IsCode ¶
func (o *CreateInstanceBadRequest) IsCode(code int) bool
IsCode returns true when this create instance bad request response a status code equal to that given
func (*CreateInstanceBadRequest) IsRedirect ¶
func (o *CreateInstanceBadRequest) IsRedirect() bool
IsRedirect returns true when this create instance bad request response has a 3xx status code
func (*CreateInstanceBadRequest) IsServerError ¶
func (o *CreateInstanceBadRequest) IsServerError() bool
IsServerError returns true when this create instance bad request response has a 5xx status code
func (*CreateInstanceBadRequest) IsSuccess ¶
func (o *CreateInstanceBadRequest) IsSuccess() bool
IsSuccess returns true when this create instance bad request response has a 2xx status code
func (*CreateInstanceBadRequest) String ¶
func (o *CreateInstanceBadRequest) String() string
type CreateInstanceConflict ¶
type CreateInstanceConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*CreateInstanceConflict) IsClientError ¶
func (o *CreateInstanceConflict) IsClientError() bool
IsClientError returns true when this create instance conflict response has a 4xx status code
func (*CreateInstanceConflict) IsCode ¶
func (o *CreateInstanceConflict) IsCode(code int) bool
IsCode returns true when this create instance conflict response a status code equal to that given
func (*CreateInstanceConflict) IsRedirect ¶
func (o *CreateInstanceConflict) IsRedirect() bool
IsRedirect returns true when this create instance conflict response has a 3xx status code
func (*CreateInstanceConflict) IsServerError ¶
func (o *CreateInstanceConflict) IsServerError() bool
IsServerError returns true when this create instance conflict response has a 5xx status code
func (*CreateInstanceConflict) IsSuccess ¶
func (o *CreateInstanceConflict) IsSuccess() bool
IsSuccess returns true when this create instance conflict response has a 2xx status code
func (*CreateInstanceConflict) String ¶
func (o *CreateInstanceConflict) String() string
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
func (*CreateInstanceCreated) IsClientError ¶
func (o *CreateInstanceCreated) IsClientError() bool
IsClientError returns true when this create instance created response has a 4xx status code
func (*CreateInstanceCreated) IsCode ¶
func (o *CreateInstanceCreated) IsCode(code int) bool
IsCode returns true when this create instance created response a status code equal to that given
func (*CreateInstanceCreated) IsRedirect ¶
func (o *CreateInstanceCreated) IsRedirect() bool
IsRedirect returns true when this create instance created response has a 3xx status code
func (*CreateInstanceCreated) IsServerError ¶
func (o *CreateInstanceCreated) IsServerError() bool
IsServerError returns true when this create instance created response has a 5xx status code
func (*CreateInstanceCreated) IsSuccess ¶
func (o *CreateInstanceCreated) IsSuccess() bool
IsSuccess returns true when this create instance created response has a 2xx status code
func (*CreateInstanceCreated) String ¶
func (o *CreateInstanceCreated) String() string
type CreateInstanceForbidden ¶
type CreateInstanceForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*CreateInstanceForbidden) IsClientError ¶
func (o *CreateInstanceForbidden) IsClientError() bool
IsClientError returns true when this create instance forbidden response has a 4xx status code
func (*CreateInstanceForbidden) IsCode ¶
func (o *CreateInstanceForbidden) IsCode(code int) bool
IsCode returns true when this create instance forbidden response a status code equal to that given
func (*CreateInstanceForbidden) IsRedirect ¶
func (o *CreateInstanceForbidden) IsRedirect() bool
IsRedirect returns true when this create instance forbidden response has a 3xx status code
func (*CreateInstanceForbidden) IsServerError ¶
func (o *CreateInstanceForbidden) IsServerError() bool
IsServerError returns true when this create instance forbidden response has a 5xx status code
func (*CreateInstanceForbidden) IsSuccess ¶
func (o *CreateInstanceForbidden) IsSuccess() bool
IsSuccess returns true when this create instance forbidden response has a 2xx status code
func (*CreateInstanceForbidden) String ¶
func (o *CreateInstanceForbidden) String() string
type CreateInstanceInternalServerError ¶
type CreateInstanceInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *CreateInstanceInternalServerError) Error() string
func (*CreateInstanceInternalServerError) GetPayload ¶
func (o *CreateInstanceInternalServerError) GetPayload() *models.Errors
func (*CreateInstanceInternalServerError) IsClientError ¶
func (o *CreateInstanceInternalServerError) IsClientError() bool
IsClientError returns true when this create instance internal server error response has a 4xx status code
func (*CreateInstanceInternalServerError) IsCode ¶
func (o *CreateInstanceInternalServerError) IsCode(code int) bool
IsCode returns true when this create instance internal server error response a status code equal to that given
func (*CreateInstanceInternalServerError) IsRedirect ¶
func (o *CreateInstanceInternalServerError) IsRedirect() bool
IsRedirect returns true when this create instance internal server error response has a 3xx status code
func (*CreateInstanceInternalServerError) IsServerError ¶
func (o *CreateInstanceInternalServerError) IsServerError() bool
IsServerError returns true when this create instance internal server error response has a 5xx status code
func (*CreateInstanceInternalServerError) IsSuccess ¶
func (o *CreateInstanceInternalServerError) IsSuccess() bool
IsSuccess returns true when this create instance internal server error response has a 2xx status code
func (*CreateInstanceInternalServerError) String ¶
func (o *CreateInstanceInternalServerError) String() string
type CreateInstanceNotFound ¶
type CreateInstanceNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*CreateInstanceNotFound) IsClientError ¶
func (o *CreateInstanceNotFound) IsClientError() bool
IsClientError returns true when this create instance not found response has a 4xx status code
func (*CreateInstanceNotFound) IsCode ¶
func (o *CreateInstanceNotFound) IsCode(code int) bool
IsCode returns true when this create instance not found response a status code equal to that given
func (*CreateInstanceNotFound) IsRedirect ¶
func (o *CreateInstanceNotFound) IsRedirect() bool
IsRedirect returns true when this create instance not found response has a 3xx status code
func (*CreateInstanceNotFound) IsServerError ¶
func (o *CreateInstanceNotFound) IsServerError() bool
IsServerError returns true when this create instance not found response has a 5xx status code
func (*CreateInstanceNotFound) IsSuccess ¶
func (o *CreateInstanceNotFound) IsSuccess() bool
IsSuccess returns true when this create instance not found response has a 2xx status code
func (*CreateInstanceNotFound) String ¶
func (o *CreateInstanceNotFound) String() string
type CreateInstanceParams ¶
type CreateInstanceParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Instance. The JSON object of instance. */ Instance *models.Instance Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateInstanceParams contains all the parameters to send to the API endpoint
for the create instance operation. Typically these are written to a http.Request.
func NewCreateInstanceParams ¶
func NewCreateInstanceParams() *CreateInstanceParams
NewCreateInstanceParams creates a new CreateInstanceParams object, with the default 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 ¶
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 *models.Instance)
SetInstance adds the instance to the create instance params
func (*CreateInstanceParams) SetTimeout ¶
func (o *CreateInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create instance params
func (*CreateInstanceParams) SetXRequestID ¶
func (o *CreateInstanceParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create instance params
func (*CreateInstanceParams) WithContext ¶
func (o *CreateInstanceParams) WithContext(ctx context.Context) *CreateInstanceParams
WithContext adds the context to the create instance params
func (*CreateInstanceParams) WithDefaults ¶
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 *models.Instance) *CreateInstanceParams
WithInstance adds the instance to the create instance params
func (*CreateInstanceParams) WithTimeout ¶
func (o *CreateInstanceParams) WithTimeout(timeout time.Duration) *CreateInstanceParams
WithTimeout adds the timeout to the create instance params
func (*CreateInstanceParams) WithXRequestID ¶
func (o *CreateInstanceParams) WithXRequestID(xRequestID *string) *CreateInstanceParams
WithXRequestID adds the xRequestID to the create instance params
func (*CreateInstanceParams) WriteToRequest ¶
func (o *CreateInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInstanceReader ¶
type CreateInstanceReader struct {
// contains filtered or unexported fields
}
CreateInstanceReader is a Reader for the CreateInstance structure.
func (*CreateInstanceReader) ReadResponse ¶
func (o *CreateInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateInstanceUnauthorized ¶
type CreateInstanceUnauthorized struct { string }XRequestID
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 (o *CreateInstanceUnauthorized) Error() string
func (*CreateInstanceUnauthorized) GetPayload ¶
func (o *CreateInstanceUnauthorized) GetPayload() *models.Errors
func (*CreateInstanceUnauthorized) IsClientError ¶
func (o *CreateInstanceUnauthorized) IsClientError() bool
IsClientError returns true when this create instance unauthorized response has a 4xx status code
func (*CreateInstanceUnauthorized) IsCode ¶
func (o *CreateInstanceUnauthorized) IsCode(code int) bool
IsCode returns true when this create instance unauthorized response a status code equal to that given
func (*CreateInstanceUnauthorized) IsRedirect ¶
func (o *CreateInstanceUnauthorized) IsRedirect() bool
IsRedirect returns true when this create instance unauthorized response has a 3xx status code
func (*CreateInstanceUnauthorized) IsServerError ¶
func (o *CreateInstanceUnauthorized) IsServerError() bool
IsServerError returns true when this create instance unauthorized response has a 5xx status code
func (*CreateInstanceUnauthorized) IsSuccess ¶
func (o *CreateInstanceUnauthorized) IsSuccess() bool
IsSuccess returns true when this create instance unauthorized response has a 2xx status code
func (*CreateInstanceUnauthorized) String ¶
func (o *CreateInstanceUnauthorized) String() string
type CreatePolicyBadRequest ¶
type CreatePolicyBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*CreatePolicyBadRequest) IsClientError ¶
func (o *CreatePolicyBadRequest) IsClientError() bool
IsClientError returns true when this create policy bad request response has a 4xx status code
func (*CreatePolicyBadRequest) IsCode ¶
func (o *CreatePolicyBadRequest) IsCode(code int) bool
IsCode returns true when this create policy bad request response a status code equal to that given
func (*CreatePolicyBadRequest) IsRedirect ¶
func (o *CreatePolicyBadRequest) IsRedirect() bool
IsRedirect returns true when this create policy bad request response has a 3xx status code
func (*CreatePolicyBadRequest) IsServerError ¶
func (o *CreatePolicyBadRequest) IsServerError() bool
IsServerError returns true when this create policy bad request response has a 5xx status code
func (*CreatePolicyBadRequest) IsSuccess ¶
func (o *CreatePolicyBadRequest) IsSuccess() bool
IsSuccess returns true when this create policy bad request response has a 2xx status code
func (*CreatePolicyBadRequest) String ¶
func (o *CreatePolicyBadRequest) String() string
type CreatePolicyConflict ¶
type CreatePolicyConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*CreatePolicyConflict) IsClientError ¶
func (o *CreatePolicyConflict) IsClientError() bool
IsClientError returns true when this create policy conflict response has a 4xx status code
func (*CreatePolicyConflict) IsCode ¶
func (o *CreatePolicyConflict) IsCode(code int) bool
IsCode returns true when this create policy conflict response a status code equal to that given
func (*CreatePolicyConflict) IsRedirect ¶
func (o *CreatePolicyConflict) IsRedirect() bool
IsRedirect returns true when this create policy conflict response has a 3xx status code
func (*CreatePolicyConflict) IsServerError ¶
func (o *CreatePolicyConflict) IsServerError() bool
IsServerError returns true when this create policy conflict response has a 5xx status code
func (*CreatePolicyConflict) IsSuccess ¶
func (o *CreatePolicyConflict) IsSuccess() bool
IsSuccess returns true when this create policy conflict response has a 2xx status code
func (*CreatePolicyConflict) String ¶
func (o *CreatePolicyConflict) String() string
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
func (*CreatePolicyCreated) IsClientError ¶
func (o *CreatePolicyCreated) IsClientError() bool
IsClientError returns true when this create policy created response has a 4xx status code
func (*CreatePolicyCreated) IsCode ¶
func (o *CreatePolicyCreated) IsCode(code int) bool
IsCode returns true when this create policy created response a status code equal to that given
func (*CreatePolicyCreated) IsRedirect ¶
func (o *CreatePolicyCreated) IsRedirect() bool
IsRedirect returns true when this create policy created response has a 3xx status code
func (*CreatePolicyCreated) IsServerError ¶
func (o *CreatePolicyCreated) IsServerError() bool
IsServerError returns true when this create policy created response has a 5xx status code
func (*CreatePolicyCreated) IsSuccess ¶
func (o *CreatePolicyCreated) IsSuccess() bool
IsSuccess returns true when this create policy created response has a 2xx status code
func (*CreatePolicyCreated) String ¶
func (o *CreatePolicyCreated) String() string
type CreatePolicyForbidden ¶
type CreatePolicyForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*CreatePolicyForbidden) IsClientError ¶
func (o *CreatePolicyForbidden) IsClientError() bool
IsClientError returns true when this create policy forbidden response has a 4xx status code
func (*CreatePolicyForbidden) IsCode ¶
func (o *CreatePolicyForbidden) IsCode(code int) bool
IsCode returns true when this create policy forbidden response a status code equal to that given
func (*CreatePolicyForbidden) IsRedirect ¶
func (o *CreatePolicyForbidden) IsRedirect() bool
IsRedirect returns true when this create policy forbidden response has a 3xx status code
func (*CreatePolicyForbidden) IsServerError ¶
func (o *CreatePolicyForbidden) IsServerError() bool
IsServerError returns true when this create policy forbidden response has a 5xx status code
func (*CreatePolicyForbidden) IsSuccess ¶
func (o *CreatePolicyForbidden) IsSuccess() bool
IsSuccess returns true when this create policy forbidden response has a 2xx status code
func (*CreatePolicyForbidden) String ¶
func (o *CreatePolicyForbidden) String() string
type CreatePolicyInternalServerError ¶
type CreatePolicyInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *CreatePolicyInternalServerError) Error() string
func (*CreatePolicyInternalServerError) GetPayload ¶
func (o *CreatePolicyInternalServerError) GetPayload() *models.Errors
func (*CreatePolicyInternalServerError) IsClientError ¶
func (o *CreatePolicyInternalServerError) IsClientError() bool
IsClientError returns true when this create policy internal server error response has a 4xx status code
func (*CreatePolicyInternalServerError) IsCode ¶
func (o *CreatePolicyInternalServerError) IsCode(code int) bool
IsCode returns true when this create policy internal server error response a status code equal to that given
func (*CreatePolicyInternalServerError) IsRedirect ¶
func (o *CreatePolicyInternalServerError) IsRedirect() bool
IsRedirect returns true when this create policy internal server error response has a 3xx status code
func (*CreatePolicyInternalServerError) IsServerError ¶
func (o *CreatePolicyInternalServerError) IsServerError() bool
IsServerError returns true when this create policy internal server error response has a 5xx status code
func (*CreatePolicyInternalServerError) IsSuccess ¶
func (o *CreatePolicyInternalServerError) IsSuccess() bool
IsSuccess returns true when this create policy internal server error response has a 2xx status code
func (*CreatePolicyInternalServerError) String ¶
func (o *CreatePolicyInternalServerError) String() string
type CreatePolicyParams ¶
type CreatePolicyParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Policy. The policy schema info */ Policy *models.PreheatPolicy /* ProjectName. The name of the project */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePolicyParams contains all the parameters to send to the API endpoint
for the create policy operation. Typically these are written to a http.Request.
func NewCreatePolicyParams ¶
func NewCreatePolicyParams() *CreatePolicyParams
NewCreatePolicyParams creates a new CreatePolicyParams object, with the default 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 ¶
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 *models.PreheatPolicy)
SetPolicy adds the policy to the create policy params
func (*CreatePolicyParams) SetProjectName ¶
func (o *CreatePolicyParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the create policy params
func (*CreatePolicyParams) SetTimeout ¶
func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policy params
func (*CreatePolicyParams) SetXRequestID ¶
func (o *CreatePolicyParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create policy params
func (*CreatePolicyParams) WithContext ¶
func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
WithContext adds the context to the create policy params
func (*CreatePolicyParams) WithDefaults ¶
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 *models.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 { string }XRequestID
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() *models.Errors
func (*CreatePolicyUnauthorized) IsClientError ¶
func (o *CreatePolicyUnauthorized) IsClientError() bool
IsClientError returns true when this create policy unauthorized response has a 4xx status code
func (*CreatePolicyUnauthorized) IsCode ¶
func (o *CreatePolicyUnauthorized) IsCode(code int) bool
IsCode returns true when this create policy unauthorized response a status code equal to that given
func (*CreatePolicyUnauthorized) IsRedirect ¶
func (o *CreatePolicyUnauthorized) IsRedirect() bool
IsRedirect returns true when this create policy unauthorized response has a 3xx status code
func (*CreatePolicyUnauthorized) IsServerError ¶
func (o *CreatePolicyUnauthorized) IsServerError() bool
IsServerError returns true when this create policy unauthorized response has a 5xx status code
func (*CreatePolicyUnauthorized) IsSuccess ¶
func (o *CreatePolicyUnauthorized) IsSuccess() bool
IsSuccess returns true when this create policy unauthorized response has a 2xx status code
func (*CreatePolicyUnauthorized) String ¶
func (o *CreatePolicyUnauthorized) String() string
type DeleteInstanceForbidden ¶
type DeleteInstanceForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*DeleteInstanceForbidden) IsClientError ¶
func (o *DeleteInstanceForbidden) IsClientError() bool
IsClientError returns true when this delete instance forbidden response has a 4xx status code
func (*DeleteInstanceForbidden) IsCode ¶
func (o *DeleteInstanceForbidden) IsCode(code int) bool
IsCode returns true when this delete instance forbidden response a status code equal to that given
func (*DeleteInstanceForbidden) IsRedirect ¶
func (o *DeleteInstanceForbidden) IsRedirect() bool
IsRedirect returns true when this delete instance forbidden response has a 3xx status code
func (*DeleteInstanceForbidden) IsServerError ¶
func (o *DeleteInstanceForbidden) IsServerError() bool
IsServerError returns true when this delete instance forbidden response has a 5xx status code
func (*DeleteInstanceForbidden) IsSuccess ¶
func (o *DeleteInstanceForbidden) IsSuccess() bool
IsSuccess returns true when this delete instance forbidden response has a 2xx status code
func (*DeleteInstanceForbidden) String ¶
func (o *DeleteInstanceForbidden) String() string
type DeleteInstanceInternalServerError ¶
type DeleteInstanceInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *DeleteInstanceInternalServerError) Error() string
func (*DeleteInstanceInternalServerError) GetPayload ¶
func (o *DeleteInstanceInternalServerError) GetPayload() *models.Errors
func (*DeleteInstanceInternalServerError) IsClientError ¶
func (o *DeleteInstanceInternalServerError) IsClientError() bool
IsClientError returns true when this delete instance internal server error response has a 4xx status code
func (*DeleteInstanceInternalServerError) IsCode ¶
func (o *DeleteInstanceInternalServerError) IsCode(code int) bool
IsCode returns true when this delete instance internal server error response a status code equal to that given
func (*DeleteInstanceInternalServerError) IsRedirect ¶
func (o *DeleteInstanceInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete instance internal server error response has a 3xx status code
func (*DeleteInstanceInternalServerError) IsServerError ¶
func (o *DeleteInstanceInternalServerError) IsServerError() bool
IsServerError returns true when this delete instance internal server error response has a 5xx status code
func (*DeleteInstanceInternalServerError) IsSuccess ¶
func (o *DeleteInstanceInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete instance internal server error response has a 2xx status code
func (*DeleteInstanceInternalServerError) String ¶
func (o *DeleteInstanceInternalServerError) String() string
type DeleteInstanceNotFound ¶
type DeleteInstanceNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*DeleteInstanceNotFound) IsClientError ¶
func (o *DeleteInstanceNotFound) IsClientError() bool
IsClientError returns true when this delete instance not found response has a 4xx status code
func (*DeleteInstanceNotFound) IsCode ¶
func (o *DeleteInstanceNotFound) IsCode(code int) bool
IsCode returns true when this delete instance not found response a status code equal to that given
func (*DeleteInstanceNotFound) IsRedirect ¶
func (o *DeleteInstanceNotFound) IsRedirect() bool
IsRedirect returns true when this delete instance not found response has a 3xx status code
func (*DeleteInstanceNotFound) IsServerError ¶
func (o *DeleteInstanceNotFound) IsServerError() bool
IsServerError returns true when this delete instance not found response has a 5xx status code
func (*DeleteInstanceNotFound) IsSuccess ¶
func (o *DeleteInstanceNotFound) IsSuccess() bool
IsSuccess returns true when this delete instance not found response has a 2xx status code
func (*DeleteInstanceNotFound) String ¶
func (o *DeleteInstanceNotFound) String() string
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
func (*DeleteInstanceOK) IsClientError ¶
func (o *DeleteInstanceOK) IsClientError() bool
IsClientError returns true when this delete instance o k response has a 4xx status code
func (*DeleteInstanceOK) IsCode ¶
func (o *DeleteInstanceOK) IsCode(code int) bool
IsCode returns true when this delete instance o k response a status code equal to that given
func (*DeleteInstanceOK) IsRedirect ¶
func (o *DeleteInstanceOK) IsRedirect() bool
IsRedirect returns true when this delete instance o k response has a 3xx status code
func (*DeleteInstanceOK) IsServerError ¶
func (o *DeleteInstanceOK) IsServerError() bool
IsServerError returns true when this delete instance o k response has a 5xx status code
func (*DeleteInstanceOK) IsSuccess ¶
func (o *DeleteInstanceOK) IsSuccess() bool
IsSuccess returns true when this delete instance o k response has a 2xx status code
func (*DeleteInstanceOK) String ¶
func (o *DeleteInstanceOK) String() 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 ¶
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 ¶
func (o *DeleteInstanceParams) WithContext(ctx context.Context) *DeleteInstanceParams
WithContext adds the context to the delete instance params
func (*DeleteInstanceParams) WithDefaults ¶
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 { string }XRequestID
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 (o *DeleteInstanceUnauthorized) Error() string
func (*DeleteInstanceUnauthorized) GetPayload ¶
func (o *DeleteInstanceUnauthorized) GetPayload() *models.Errors
func (*DeleteInstanceUnauthorized) IsClientError ¶
func (o *DeleteInstanceUnauthorized) IsClientError() bool
IsClientError returns true when this delete instance unauthorized response has a 4xx status code
func (*DeleteInstanceUnauthorized) IsCode ¶
func (o *DeleteInstanceUnauthorized) IsCode(code int) bool
IsCode returns true when this delete instance unauthorized response a status code equal to that given
func (*DeleteInstanceUnauthorized) IsRedirect ¶
func (o *DeleteInstanceUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete instance unauthorized response has a 3xx status code
func (*DeleteInstanceUnauthorized) IsServerError ¶
func (o *DeleteInstanceUnauthorized) IsServerError() bool
IsServerError returns true when this delete instance unauthorized response has a 5xx status code
func (*DeleteInstanceUnauthorized) IsSuccess ¶
func (o *DeleteInstanceUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete instance unauthorized response has a 2xx status code
func (*DeleteInstanceUnauthorized) String ¶
func (o *DeleteInstanceUnauthorized) String() string
type DeletePolicyBadRequest ¶
type DeletePolicyBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*DeletePolicyBadRequest) IsClientError ¶
func (o *DeletePolicyBadRequest) IsClientError() bool
IsClientError returns true when this delete policy bad request response has a 4xx status code
func (*DeletePolicyBadRequest) IsCode ¶
func (o *DeletePolicyBadRequest) IsCode(code int) bool
IsCode returns true when this delete policy bad request response a status code equal to that given
func (*DeletePolicyBadRequest) IsRedirect ¶
func (o *DeletePolicyBadRequest) IsRedirect() bool
IsRedirect returns true when this delete policy bad request response has a 3xx status code
func (*DeletePolicyBadRequest) IsServerError ¶
func (o *DeletePolicyBadRequest) IsServerError() bool
IsServerError returns true when this delete policy bad request response has a 5xx status code
func (*DeletePolicyBadRequest) IsSuccess ¶
func (o *DeletePolicyBadRequest) IsSuccess() bool
IsSuccess returns true when this delete policy bad request response has a 2xx status code
func (*DeletePolicyBadRequest) String ¶
func (o *DeletePolicyBadRequest) String() string
type DeletePolicyForbidden ¶
type DeletePolicyForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*DeletePolicyForbidden) IsClientError ¶
func (o *DeletePolicyForbidden) IsClientError() bool
IsClientError returns true when this delete policy forbidden response has a 4xx status code
func (*DeletePolicyForbidden) IsCode ¶
func (o *DeletePolicyForbidden) IsCode(code int) bool
IsCode returns true when this delete policy forbidden response a status code equal to that given
func (*DeletePolicyForbidden) IsRedirect ¶
func (o *DeletePolicyForbidden) IsRedirect() bool
IsRedirect returns true when this delete policy forbidden response has a 3xx status code
func (*DeletePolicyForbidden) IsServerError ¶
func (o *DeletePolicyForbidden) IsServerError() bool
IsServerError returns true when this delete policy forbidden response has a 5xx status code
func (*DeletePolicyForbidden) IsSuccess ¶
func (o *DeletePolicyForbidden) IsSuccess() bool
IsSuccess returns true when this delete policy forbidden response has a 2xx status code
func (*DeletePolicyForbidden) String ¶
func (o *DeletePolicyForbidden) String() string
type DeletePolicyInternalServerError ¶
type DeletePolicyInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *DeletePolicyInternalServerError) Error() string
func (*DeletePolicyInternalServerError) GetPayload ¶
func (o *DeletePolicyInternalServerError) GetPayload() *models.Errors
func (*DeletePolicyInternalServerError) IsClientError ¶
func (o *DeletePolicyInternalServerError) IsClientError() bool
IsClientError returns true when this delete policy internal server error response has a 4xx status code
func (*DeletePolicyInternalServerError) IsCode ¶
func (o *DeletePolicyInternalServerError) IsCode(code int) bool
IsCode returns true when this delete policy internal server error response a status code equal to that given
func (*DeletePolicyInternalServerError) IsRedirect ¶
func (o *DeletePolicyInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete policy internal server error response has a 3xx status code
func (*DeletePolicyInternalServerError) IsServerError ¶
func (o *DeletePolicyInternalServerError) IsServerError() bool
IsServerError returns true when this delete policy internal server error response has a 5xx status code
func (*DeletePolicyInternalServerError) IsSuccess ¶
func (o *DeletePolicyInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete policy internal server error response has a 2xx status code
func (*DeletePolicyInternalServerError) String ¶
func (o *DeletePolicyInternalServerError) String() string
type DeletePolicyNotFound ¶
type DeletePolicyNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*DeletePolicyNotFound) IsClientError ¶
func (o *DeletePolicyNotFound) IsClientError() bool
IsClientError returns true when this delete policy not found response has a 4xx status code
func (*DeletePolicyNotFound) IsCode ¶
func (o *DeletePolicyNotFound) IsCode(code int) bool
IsCode returns true when this delete policy not found response a status code equal to that given
func (*DeletePolicyNotFound) IsRedirect ¶
func (o *DeletePolicyNotFound) IsRedirect() bool
IsRedirect returns true when this delete policy not found response has a 3xx status code
func (*DeletePolicyNotFound) IsServerError ¶
func (o *DeletePolicyNotFound) IsServerError() bool
IsServerError returns true when this delete policy not found response has a 5xx status code
func (*DeletePolicyNotFound) IsSuccess ¶
func (o *DeletePolicyNotFound) IsSuccess() bool
IsSuccess returns true when this delete policy not found response has a 2xx status code
func (*DeletePolicyNotFound) String ¶
func (o *DeletePolicyNotFound) String() string
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
func (*DeletePolicyOK) IsClientError ¶
func (o *DeletePolicyOK) IsClientError() bool
IsClientError returns true when this delete policy o k response has a 4xx status code
func (*DeletePolicyOK) IsCode ¶
func (o *DeletePolicyOK) IsCode(code int) bool
IsCode returns true when this delete policy o k response a status code equal to that given
func (*DeletePolicyOK) IsRedirect ¶
func (o *DeletePolicyOK) IsRedirect() bool
IsRedirect returns true when this delete policy o k response has a 3xx status code
func (*DeletePolicyOK) IsServerError ¶
func (o *DeletePolicyOK) IsServerError() bool
IsServerError returns true when this delete policy o k response has a 5xx status code
func (*DeletePolicyOK) IsSuccess ¶
func (o *DeletePolicyOK) IsSuccess() bool
IsSuccess returns true when this delete policy o k response has a 2xx status code
func (*DeletePolicyOK) String ¶
func (o *DeletePolicyOK) String() 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 ¶
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 ¶
func (o *DeletePolicyParams) WithContext(ctx context.Context) *DeletePolicyParams
WithContext adds the context to the delete policy params
func (*DeletePolicyParams) WithDefaults ¶
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 { string }XRequestID
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() *models.Errors
func (*DeletePolicyUnauthorized) IsClientError ¶
func (o *DeletePolicyUnauthorized) IsClientError() bool
IsClientError returns true when this delete policy unauthorized response has a 4xx status code
func (*DeletePolicyUnauthorized) IsCode ¶
func (o *DeletePolicyUnauthorized) IsCode(code int) bool
IsCode returns true when this delete policy unauthorized response a status code equal to that given
func (*DeletePolicyUnauthorized) IsRedirect ¶
func (o *DeletePolicyUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete policy unauthorized response has a 3xx status code
func (*DeletePolicyUnauthorized) IsServerError ¶
func (o *DeletePolicyUnauthorized) IsServerError() bool
IsServerError returns true when this delete policy unauthorized response has a 5xx status code
func (*DeletePolicyUnauthorized) IsSuccess ¶
func (o *DeletePolicyUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete policy unauthorized response has a 2xx status code
func (*DeletePolicyUnauthorized) String ¶
func (o *DeletePolicyUnauthorized) String() string
type GetExecutionBadRequest ¶
type GetExecutionBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetExecutionBadRequest) IsClientError ¶
func (o *GetExecutionBadRequest) IsClientError() bool
IsClientError returns true when this get execution bad request response has a 4xx status code
func (*GetExecutionBadRequest) IsCode ¶
func (o *GetExecutionBadRequest) IsCode(code int) bool
IsCode returns true when this get execution bad request response a status code equal to that given
func (*GetExecutionBadRequest) IsRedirect ¶
func (o *GetExecutionBadRequest) IsRedirect() bool
IsRedirect returns true when this get execution bad request response has a 3xx status code
func (*GetExecutionBadRequest) IsServerError ¶
func (o *GetExecutionBadRequest) IsServerError() bool
IsServerError returns true when this get execution bad request response has a 5xx status code
func (*GetExecutionBadRequest) IsSuccess ¶
func (o *GetExecutionBadRequest) IsSuccess() bool
IsSuccess returns true when this get execution bad request response has a 2xx status code
func (*GetExecutionBadRequest) String ¶
func (o *GetExecutionBadRequest) String() string
type GetExecutionForbidden ¶
type GetExecutionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetExecutionForbidden) IsClientError ¶
func (o *GetExecutionForbidden) IsClientError() bool
IsClientError returns true when this get execution forbidden response has a 4xx status code
func (*GetExecutionForbidden) IsCode ¶
func (o *GetExecutionForbidden) IsCode(code int) bool
IsCode returns true when this get execution forbidden response a status code equal to that given
func (*GetExecutionForbidden) IsRedirect ¶
func (o *GetExecutionForbidden) IsRedirect() bool
IsRedirect returns true when this get execution forbidden response has a 3xx status code
func (*GetExecutionForbidden) IsServerError ¶
func (o *GetExecutionForbidden) IsServerError() bool
IsServerError returns true when this get execution forbidden response has a 5xx status code
func (*GetExecutionForbidden) IsSuccess ¶
func (o *GetExecutionForbidden) IsSuccess() bool
IsSuccess returns true when this get execution forbidden response has a 2xx status code
func (*GetExecutionForbidden) String ¶
func (o *GetExecutionForbidden) String() string
type GetExecutionInternalServerError ¶
type GetExecutionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *GetExecutionInternalServerError) Error() string
func (*GetExecutionInternalServerError) GetPayload ¶
func (o *GetExecutionInternalServerError) GetPayload() *models.Errors
func (*GetExecutionInternalServerError) IsClientError ¶
func (o *GetExecutionInternalServerError) IsClientError() bool
IsClientError returns true when this get execution internal server error response has a 4xx status code
func (*GetExecutionInternalServerError) IsCode ¶
func (o *GetExecutionInternalServerError) IsCode(code int) bool
IsCode returns true when this get execution internal server error response a status code equal to that given
func (*GetExecutionInternalServerError) IsRedirect ¶
func (o *GetExecutionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get execution internal server error response has a 3xx status code
func (*GetExecutionInternalServerError) IsServerError ¶
func (o *GetExecutionInternalServerError) IsServerError() bool
IsServerError returns true when this get execution internal server error response has a 5xx status code
func (*GetExecutionInternalServerError) IsSuccess ¶
func (o *GetExecutionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get execution internal server error response has a 2xx status code
func (*GetExecutionInternalServerError) String ¶
func (o *GetExecutionInternalServerError) String() string
type GetExecutionNotFound ¶
type GetExecutionNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetExecutionNotFound) IsClientError ¶
func (o *GetExecutionNotFound) IsClientError() bool
IsClientError returns true when this get execution not found response has a 4xx status code
func (*GetExecutionNotFound) IsCode ¶
func (o *GetExecutionNotFound) IsCode(code int) bool
IsCode returns true when this get execution not found response a status code equal to that given
func (*GetExecutionNotFound) IsRedirect ¶
func (o *GetExecutionNotFound) IsRedirect() bool
IsRedirect returns true when this get execution not found response has a 3xx status code
func (*GetExecutionNotFound) IsServerError ¶
func (o *GetExecutionNotFound) IsServerError() bool
IsServerError returns true when this get execution not found response has a 5xx status code
func (*GetExecutionNotFound) IsSuccess ¶
func (o *GetExecutionNotFound) IsSuccess() bool
IsSuccess returns true when this get execution not found response has a 2xx status code
func (*GetExecutionNotFound) String ¶
func (o *GetExecutionNotFound) String() string
type GetExecutionOK ¶
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() *models.Execution
func (*GetExecutionOK) IsClientError ¶
func (o *GetExecutionOK) IsClientError() bool
IsClientError returns true when this get execution o k response has a 4xx status code
func (*GetExecutionOK) IsCode ¶
func (o *GetExecutionOK) IsCode(code int) bool
IsCode returns true when this get execution o k response a status code equal to that given
func (*GetExecutionOK) IsRedirect ¶
func (o *GetExecutionOK) IsRedirect() bool
IsRedirect returns true when this get execution o k response has a 3xx status code
func (*GetExecutionOK) IsServerError ¶
func (o *GetExecutionOK) IsServerError() bool
IsServerError returns true when this get execution o k response has a 5xx status code
func (*GetExecutionOK) IsSuccess ¶
func (o *GetExecutionOK) IsSuccess() bool
IsSuccess returns true when this get execution o k response has a 2xx status code
func (*GetExecutionOK) String ¶
func (o *GetExecutionOK) String() string
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 ¶
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 ¶
func (o *GetExecutionParams) WithContext(ctx context.Context) *GetExecutionParams
WithContext adds the context to the get execution params
func (*GetExecutionParams) WithDefaults ¶
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 { string }XRequestID
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() *models.Errors
func (*GetExecutionUnauthorized) IsClientError ¶
func (o *GetExecutionUnauthorized) IsClientError() bool
IsClientError returns true when this get execution unauthorized response has a 4xx status code
func (*GetExecutionUnauthorized) IsCode ¶
func (o *GetExecutionUnauthorized) IsCode(code int) bool
IsCode returns true when this get execution unauthorized response a status code equal to that given
func (*GetExecutionUnauthorized) IsRedirect ¶
func (o *GetExecutionUnauthorized) IsRedirect() bool
IsRedirect returns true when this get execution unauthorized response has a 3xx status code
func (*GetExecutionUnauthorized) IsServerError ¶
func (o *GetExecutionUnauthorized) IsServerError() bool
IsServerError returns true when this get execution unauthorized response has a 5xx status code
func (*GetExecutionUnauthorized) IsSuccess ¶
func (o *GetExecutionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get execution unauthorized response has a 2xx status code
func (*GetExecutionUnauthorized) String ¶
func (o *GetExecutionUnauthorized) String() string
type GetInstanceBadRequest ¶
type GetInstanceBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetInstanceBadRequest) IsClientError ¶
func (o *GetInstanceBadRequest) IsClientError() bool
IsClientError returns true when this get instance bad request response has a 4xx status code
func (*GetInstanceBadRequest) IsCode ¶
func (o *GetInstanceBadRequest) IsCode(code int) bool
IsCode returns true when this get instance bad request response a status code equal to that given
func (*GetInstanceBadRequest) IsRedirect ¶
func (o *GetInstanceBadRequest) IsRedirect() bool
IsRedirect returns true when this get instance bad request response has a 3xx status code
func (*GetInstanceBadRequest) IsServerError ¶
func (o *GetInstanceBadRequest) IsServerError() bool
IsServerError returns true when this get instance bad request response has a 5xx status code
func (*GetInstanceBadRequest) IsSuccess ¶
func (o *GetInstanceBadRequest) IsSuccess() bool
IsSuccess returns true when this get instance bad request response has a 2xx status code
func (*GetInstanceBadRequest) String ¶
func (o *GetInstanceBadRequest) String() string
type GetInstanceForbidden ¶
type GetInstanceForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetInstanceForbidden) IsClientError ¶
func (o *GetInstanceForbidden) IsClientError() bool
IsClientError returns true when this get instance forbidden response has a 4xx status code
func (*GetInstanceForbidden) IsCode ¶
func (o *GetInstanceForbidden) IsCode(code int) bool
IsCode returns true when this get instance forbidden response a status code equal to that given
func (*GetInstanceForbidden) IsRedirect ¶
func (o *GetInstanceForbidden) IsRedirect() bool
IsRedirect returns true when this get instance forbidden response has a 3xx status code
func (*GetInstanceForbidden) IsServerError ¶
func (o *GetInstanceForbidden) IsServerError() bool
IsServerError returns true when this get instance forbidden response has a 5xx status code
func (*GetInstanceForbidden) IsSuccess ¶
func (o *GetInstanceForbidden) IsSuccess() bool
IsSuccess returns true when this get instance forbidden response has a 2xx status code
func (*GetInstanceForbidden) String ¶
func (o *GetInstanceForbidden) String() string
type GetInstanceInternalServerError ¶
type GetInstanceInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *GetInstanceInternalServerError) Error() string
func (*GetInstanceInternalServerError) GetPayload ¶
func (o *GetInstanceInternalServerError) GetPayload() *models.Errors
func (*GetInstanceInternalServerError) IsClientError ¶
func (o *GetInstanceInternalServerError) IsClientError() bool
IsClientError returns true when this get instance internal server error response has a 4xx status code
func (*GetInstanceInternalServerError) IsCode ¶
func (o *GetInstanceInternalServerError) IsCode(code int) bool
IsCode returns true when this get instance internal server error response a status code equal to that given
func (*GetInstanceInternalServerError) IsRedirect ¶
func (o *GetInstanceInternalServerError) IsRedirect() bool
IsRedirect returns true when this get instance internal server error response has a 3xx status code
func (*GetInstanceInternalServerError) IsServerError ¶
func (o *GetInstanceInternalServerError) IsServerError() bool
IsServerError returns true when this get instance internal server error response has a 5xx status code
func (*GetInstanceInternalServerError) IsSuccess ¶
func (o *GetInstanceInternalServerError) IsSuccess() bool
IsSuccess returns true when this get instance internal server error response has a 2xx status code
func (*GetInstanceInternalServerError) String ¶
func (o *GetInstanceInternalServerError) String() string
type GetInstanceNotFound ¶
type GetInstanceNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetInstanceNotFound) IsClientError ¶
func (o *GetInstanceNotFound) IsClientError() bool
IsClientError returns true when this get instance not found response has a 4xx status code
func (*GetInstanceNotFound) IsCode ¶
func (o *GetInstanceNotFound) IsCode(code int) bool
IsCode returns true when this get instance not found response a status code equal to that given
func (*GetInstanceNotFound) IsRedirect ¶
func (o *GetInstanceNotFound) IsRedirect() bool
IsRedirect returns true when this get instance not found response has a 3xx status code
func (*GetInstanceNotFound) IsServerError ¶
func (o *GetInstanceNotFound) IsServerError() bool
IsServerError returns true when this get instance not found response has a 5xx status code
func (*GetInstanceNotFound) IsSuccess ¶
func (o *GetInstanceNotFound) IsSuccess() bool
IsSuccess returns true when this get instance not found response has a 2xx status code
func (*GetInstanceNotFound) String ¶
func (o *GetInstanceNotFound) String() string
type GetInstanceOK ¶
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() *models.Instance
func (*GetInstanceOK) IsClientError ¶
func (o *GetInstanceOK) IsClientError() bool
IsClientError returns true when this get instance o k response has a 4xx status code
func (*GetInstanceOK) IsCode ¶
func (o *GetInstanceOK) IsCode(code int) bool
IsCode returns true when this get instance o k response a status code equal to that given
func (*GetInstanceOK) IsRedirect ¶
func (o *GetInstanceOK) IsRedirect() bool
IsRedirect returns true when this get instance o k response has a 3xx status code
func (*GetInstanceOK) IsServerError ¶
func (o *GetInstanceOK) IsServerError() bool
IsServerError returns true when this get instance o k response has a 5xx status code
func (*GetInstanceOK) IsSuccess ¶
func (o *GetInstanceOK) IsSuccess() bool
IsSuccess returns true when this get instance o k response has a 2xx status code
func (*GetInstanceOK) String ¶
func (o *GetInstanceOK) String() string
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 ¶
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 ¶
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 { string }XRequestID
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() *models.Errors
func (*GetInstanceUnauthorized) IsClientError ¶
func (o *GetInstanceUnauthorized) IsClientError() bool
IsClientError returns true when this get instance unauthorized response has a 4xx status code
func (*GetInstanceUnauthorized) IsCode ¶
func (o *GetInstanceUnauthorized) IsCode(code int) bool
IsCode returns true when this get instance unauthorized response a status code equal to that given
func (*GetInstanceUnauthorized) IsRedirect ¶
func (o *GetInstanceUnauthorized) IsRedirect() bool
IsRedirect returns true when this get instance unauthorized response has a 3xx status code
func (*GetInstanceUnauthorized) IsServerError ¶
func (o *GetInstanceUnauthorized) IsServerError() bool
IsServerError returns true when this get instance unauthorized response has a 5xx status code
func (*GetInstanceUnauthorized) IsSuccess ¶
func (o *GetInstanceUnauthorized) IsSuccess() bool
IsSuccess returns true when this get instance unauthorized response has a 2xx status code
func (*GetInstanceUnauthorized) String ¶
func (o *GetInstanceUnauthorized) String() string
type GetPolicyBadRequest ¶
type GetPolicyBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetPolicyBadRequest) IsClientError ¶
func (o *GetPolicyBadRequest) IsClientError() bool
IsClientError returns true when this get policy bad request response has a 4xx status code
func (*GetPolicyBadRequest) IsCode ¶
func (o *GetPolicyBadRequest) IsCode(code int) bool
IsCode returns true when this get policy bad request response a status code equal to that given
func (*GetPolicyBadRequest) IsRedirect ¶
func (o *GetPolicyBadRequest) IsRedirect() bool
IsRedirect returns true when this get policy bad request response has a 3xx status code
func (*GetPolicyBadRequest) IsServerError ¶
func (o *GetPolicyBadRequest) IsServerError() bool
IsServerError returns true when this get policy bad request response has a 5xx status code
func (*GetPolicyBadRequest) IsSuccess ¶
func (o *GetPolicyBadRequest) IsSuccess() bool
IsSuccess returns true when this get policy bad request response has a 2xx status code
func (*GetPolicyBadRequest) String ¶
func (o *GetPolicyBadRequest) String() string
type GetPolicyForbidden ¶
type GetPolicyForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetPolicyForbidden) IsClientError ¶
func (o *GetPolicyForbidden) IsClientError() bool
IsClientError returns true when this get policy forbidden response has a 4xx status code
func (*GetPolicyForbidden) IsCode ¶
func (o *GetPolicyForbidden) IsCode(code int) bool
IsCode returns true when this get policy forbidden response a status code equal to that given
func (*GetPolicyForbidden) IsRedirect ¶
func (o *GetPolicyForbidden) IsRedirect() bool
IsRedirect returns true when this get policy forbidden response has a 3xx status code
func (*GetPolicyForbidden) IsServerError ¶
func (o *GetPolicyForbidden) IsServerError() bool
IsServerError returns true when this get policy forbidden response has a 5xx status code
func (*GetPolicyForbidden) IsSuccess ¶
func (o *GetPolicyForbidden) IsSuccess() bool
IsSuccess returns true when this get policy forbidden response has a 2xx status code
func (*GetPolicyForbidden) String ¶
func (o *GetPolicyForbidden) String() string
type GetPolicyInternalServerError ¶
type GetPolicyInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *GetPolicyInternalServerError) Error() string
func (*GetPolicyInternalServerError) GetPayload ¶
func (o *GetPolicyInternalServerError) GetPayload() *models.Errors
func (*GetPolicyInternalServerError) IsClientError ¶
func (o *GetPolicyInternalServerError) IsClientError() bool
IsClientError returns true when this get policy internal server error response has a 4xx status code
func (*GetPolicyInternalServerError) IsCode ¶
func (o *GetPolicyInternalServerError) IsCode(code int) bool
IsCode returns true when this get policy internal server error response a status code equal to that given
func (*GetPolicyInternalServerError) IsRedirect ¶
func (o *GetPolicyInternalServerError) IsRedirect() bool
IsRedirect returns true when this get policy internal server error response has a 3xx status code
func (*GetPolicyInternalServerError) IsServerError ¶
func (o *GetPolicyInternalServerError) IsServerError() bool
IsServerError returns true when this get policy internal server error response has a 5xx status code
func (*GetPolicyInternalServerError) IsSuccess ¶
func (o *GetPolicyInternalServerError) IsSuccess() bool
IsSuccess returns true when this get policy internal server error response has a 2xx status code
func (*GetPolicyInternalServerError) String ¶
func (o *GetPolicyInternalServerError) String() string
type GetPolicyNotFound ¶
type GetPolicyNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetPolicyNotFound) IsClientError ¶
func (o *GetPolicyNotFound) IsClientError() bool
IsClientError returns true when this get policy not found response has a 4xx status code
func (*GetPolicyNotFound) IsCode ¶
func (o *GetPolicyNotFound) IsCode(code int) bool
IsCode returns true when this get policy not found response a status code equal to that given
func (*GetPolicyNotFound) IsRedirect ¶
func (o *GetPolicyNotFound) IsRedirect() bool
IsRedirect returns true when this get policy not found response has a 3xx status code
func (*GetPolicyNotFound) IsServerError ¶
func (o *GetPolicyNotFound) IsServerError() bool
IsServerError returns true when this get policy not found response has a 5xx status code
func (*GetPolicyNotFound) IsSuccess ¶
func (o *GetPolicyNotFound) IsSuccess() bool
IsSuccess returns true when this get policy not found response has a 2xx status code
func (*GetPolicyNotFound) String ¶
func (o *GetPolicyNotFound) String() string
type GetPolicyOK ¶
type GetPolicyOK struct {
Payload *models.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() *models.PreheatPolicy
func (*GetPolicyOK) IsClientError ¶
func (o *GetPolicyOK) IsClientError() bool
IsClientError returns true when this get policy o k response has a 4xx status code
func (*GetPolicyOK) IsCode ¶
func (o *GetPolicyOK) IsCode(code int) bool
IsCode returns true when this get policy o k response a status code equal to that given
func (*GetPolicyOK) IsRedirect ¶
func (o *GetPolicyOK) IsRedirect() bool
IsRedirect returns true when this get policy o k response has a 3xx status code
func (*GetPolicyOK) IsServerError ¶
func (o *GetPolicyOK) IsServerError() bool
IsServerError returns true when this get policy o k response has a 5xx status code
func (*GetPolicyOK) IsSuccess ¶
func (o *GetPolicyOK) IsSuccess() bool
IsSuccess returns true when this get policy o k response has a 2xx status code
func (*GetPolicyOK) String ¶
func (o *GetPolicyOK) String() string
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 ¶
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 ¶
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 { string }XRequestID
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() *models.Errors
func (*GetPolicyUnauthorized) IsClientError ¶
func (o *GetPolicyUnauthorized) IsClientError() bool
IsClientError returns true when this get policy unauthorized response has a 4xx status code
func (*GetPolicyUnauthorized) IsCode ¶
func (o *GetPolicyUnauthorized) IsCode(code int) bool
IsCode returns true when this get policy unauthorized response a status code equal to that given
func (*GetPolicyUnauthorized) IsRedirect ¶
func (o *GetPolicyUnauthorized) IsRedirect() bool
IsRedirect returns true when this get policy unauthorized response has a 3xx status code
func (*GetPolicyUnauthorized) IsServerError ¶
func (o *GetPolicyUnauthorized) IsServerError() bool
IsServerError returns true when this get policy unauthorized response has a 5xx status code
func (*GetPolicyUnauthorized) IsSuccess ¶
func (o *GetPolicyUnauthorized) IsSuccess() bool
IsSuccess returns true when this get policy unauthorized response has a 2xx status code
func (*GetPolicyUnauthorized) String ¶
func (o *GetPolicyUnauthorized) String() string
type GetPreheatLogBadRequest ¶
type GetPreheatLogBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetPreheatLogBadRequest) IsClientError ¶
func (o *GetPreheatLogBadRequest) IsClientError() bool
IsClientError returns true when this get preheat log bad request response has a 4xx status code
func (*GetPreheatLogBadRequest) IsCode ¶
func (o *GetPreheatLogBadRequest) IsCode(code int) bool
IsCode returns true when this get preheat log bad request response a status code equal to that given
func (*GetPreheatLogBadRequest) IsRedirect ¶
func (o *GetPreheatLogBadRequest) IsRedirect() bool
IsRedirect returns true when this get preheat log bad request response has a 3xx status code
func (*GetPreheatLogBadRequest) IsServerError ¶
func (o *GetPreheatLogBadRequest) IsServerError() bool
IsServerError returns true when this get preheat log bad request response has a 5xx status code
func (*GetPreheatLogBadRequest) IsSuccess ¶
func (o *GetPreheatLogBadRequest) IsSuccess() bool
IsSuccess returns true when this get preheat log bad request response has a 2xx status code
func (*GetPreheatLogBadRequest) String ¶
func (o *GetPreheatLogBadRequest) String() string
type GetPreheatLogForbidden ¶
type GetPreheatLogForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetPreheatLogForbidden) IsClientError ¶
func (o *GetPreheatLogForbidden) IsClientError() bool
IsClientError returns true when this get preheat log forbidden response has a 4xx status code
func (*GetPreheatLogForbidden) IsCode ¶
func (o *GetPreheatLogForbidden) IsCode(code int) bool
IsCode returns true when this get preheat log forbidden response a status code equal to that given
func (*GetPreheatLogForbidden) IsRedirect ¶
func (o *GetPreheatLogForbidden) IsRedirect() bool
IsRedirect returns true when this get preheat log forbidden response has a 3xx status code
func (*GetPreheatLogForbidden) IsServerError ¶
func (o *GetPreheatLogForbidden) IsServerError() bool
IsServerError returns true when this get preheat log forbidden response has a 5xx status code
func (*GetPreheatLogForbidden) IsSuccess ¶
func (o *GetPreheatLogForbidden) IsSuccess() bool
IsSuccess returns true when this get preheat log forbidden response has a 2xx status code
func (*GetPreheatLogForbidden) String ¶
func (o *GetPreheatLogForbidden) String() string
type GetPreheatLogInternalServerError ¶
type GetPreheatLogInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *GetPreheatLogInternalServerError) Error() string
func (*GetPreheatLogInternalServerError) GetPayload ¶
func (o *GetPreheatLogInternalServerError) GetPayload() *models.Errors
func (*GetPreheatLogInternalServerError) IsClientError ¶
func (o *GetPreheatLogInternalServerError) IsClientError() bool
IsClientError returns true when this get preheat log internal server error response has a 4xx status code
func (*GetPreheatLogInternalServerError) IsCode ¶
func (o *GetPreheatLogInternalServerError) IsCode(code int) bool
IsCode returns true when this get preheat log internal server error response a status code equal to that given
func (*GetPreheatLogInternalServerError) IsRedirect ¶
func (o *GetPreheatLogInternalServerError) IsRedirect() bool
IsRedirect returns true when this get preheat log internal server error response has a 3xx status code
func (*GetPreheatLogInternalServerError) IsServerError ¶
func (o *GetPreheatLogInternalServerError) IsServerError() bool
IsServerError returns true when this get preheat log internal server error response has a 5xx status code
func (*GetPreheatLogInternalServerError) IsSuccess ¶
func (o *GetPreheatLogInternalServerError) IsSuccess() bool
IsSuccess returns true when this get preheat log internal server error response has a 2xx status code
func (*GetPreheatLogInternalServerError) String ¶
func (o *GetPreheatLogInternalServerError) String() string
type GetPreheatLogNotFound ¶
type GetPreheatLogNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*GetPreheatLogNotFound) IsClientError ¶
func (o *GetPreheatLogNotFound) IsClientError() bool
IsClientError returns true when this get preheat log not found response has a 4xx status code
func (*GetPreheatLogNotFound) IsCode ¶
func (o *GetPreheatLogNotFound) IsCode(code int) bool
IsCode returns true when this get preheat log not found response a status code equal to that given
func (*GetPreheatLogNotFound) IsRedirect ¶
func (o *GetPreheatLogNotFound) IsRedirect() bool
IsRedirect returns true when this get preheat log not found response has a 3xx status code
func (*GetPreheatLogNotFound) IsServerError ¶
func (o *GetPreheatLogNotFound) IsServerError() bool
IsServerError returns true when this get preheat log not found response has a 5xx status code
func (*GetPreheatLogNotFound) IsSuccess ¶
func (o *GetPreheatLogNotFound) IsSuccess() bool
IsSuccess returns true when this get preheat log not found response has a 2xx status code
func (*GetPreheatLogNotFound) String ¶
func (o *GetPreheatLogNotFound) String() string
type GetPreheatLogOK ¶
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
func (*GetPreheatLogOK) IsClientError ¶
func (o *GetPreheatLogOK) IsClientError() bool
IsClientError returns true when this get preheat log o k response has a 4xx status code
func (*GetPreheatLogOK) IsCode ¶
func (o *GetPreheatLogOK) IsCode(code int) bool
IsCode returns true when this get preheat log o k response a status code equal to that given
func (*GetPreheatLogOK) IsRedirect ¶
func (o *GetPreheatLogOK) IsRedirect() bool
IsRedirect returns true when this get preheat log o k response has a 3xx status code
func (*GetPreheatLogOK) IsServerError ¶
func (o *GetPreheatLogOK) IsServerError() bool
IsServerError returns true when this get preheat log o k response has a 5xx status code
func (*GetPreheatLogOK) IsSuccess ¶
func (o *GetPreheatLogOK) IsSuccess() bool
IsSuccess returns true when this get preheat log o k response has a 2xx status code
func (*GetPreheatLogOK) String ¶
func (o *GetPreheatLogOK) String() 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 ¶
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 ¶
func (o *GetPreheatLogParams) WithContext(ctx context.Context) *GetPreheatLogParams
WithContext adds the context to the get preheat log params
func (*GetPreheatLogParams) WithDefaults ¶
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 { string }XRequestID
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() *models.Errors
func (*GetPreheatLogUnauthorized) IsClientError ¶
func (o *GetPreheatLogUnauthorized) IsClientError() bool
IsClientError returns true when this get preheat log unauthorized response has a 4xx status code
func (*GetPreheatLogUnauthorized) IsCode ¶
func (o *GetPreheatLogUnauthorized) IsCode(code int) bool
IsCode returns true when this get preheat log unauthorized response a status code equal to that given
func (*GetPreheatLogUnauthorized) IsRedirect ¶
func (o *GetPreheatLogUnauthorized) IsRedirect() bool
IsRedirect returns true when this get preheat log unauthorized response has a 3xx status code
func (*GetPreheatLogUnauthorized) IsServerError ¶
func (o *GetPreheatLogUnauthorized) IsServerError() bool
IsServerError returns true when this get preheat log unauthorized response has a 5xx status code
func (*GetPreheatLogUnauthorized) IsSuccess ¶
func (o *GetPreheatLogUnauthorized) IsSuccess() bool
IsSuccess returns true when this get preheat log unauthorized response has a 2xx status code
func (*GetPreheatLogUnauthorized) String ¶
func (o *GetPreheatLogUnauthorized) String() string
type ListExecutionsBadRequest ¶
type ListExecutionsBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListExecutionsBadRequest) IsClientError ¶
func (o *ListExecutionsBadRequest) IsClientError() bool
IsClientError returns true when this list executions bad request response has a 4xx status code
func (*ListExecutionsBadRequest) IsCode ¶
func (o *ListExecutionsBadRequest) IsCode(code int) bool
IsCode returns true when this list executions bad request response a status code equal to that given
func (*ListExecutionsBadRequest) IsRedirect ¶
func (o *ListExecutionsBadRequest) IsRedirect() bool
IsRedirect returns true when this list executions bad request response has a 3xx status code
func (*ListExecutionsBadRequest) IsServerError ¶
func (o *ListExecutionsBadRequest) IsServerError() bool
IsServerError returns true when this list executions bad request response has a 5xx status code
func (*ListExecutionsBadRequest) IsSuccess ¶
func (o *ListExecutionsBadRequest) IsSuccess() bool
IsSuccess returns true when this list executions bad request response has a 2xx status code
func (*ListExecutionsBadRequest) String ¶
func (o *ListExecutionsBadRequest) String() string
type ListExecutionsForbidden ¶
type ListExecutionsForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListExecutionsForbidden) IsClientError ¶
func (o *ListExecutionsForbidden) IsClientError() bool
IsClientError returns true when this list executions forbidden response has a 4xx status code
func (*ListExecutionsForbidden) IsCode ¶
func (o *ListExecutionsForbidden) IsCode(code int) bool
IsCode returns true when this list executions forbidden response a status code equal to that given
func (*ListExecutionsForbidden) IsRedirect ¶
func (o *ListExecutionsForbidden) IsRedirect() bool
IsRedirect returns true when this list executions forbidden response has a 3xx status code
func (*ListExecutionsForbidden) IsServerError ¶
func (o *ListExecutionsForbidden) IsServerError() bool
IsServerError returns true when this list executions forbidden response has a 5xx status code
func (*ListExecutionsForbidden) IsSuccess ¶
func (o *ListExecutionsForbidden) IsSuccess() bool
IsSuccess returns true when this list executions forbidden response has a 2xx status code
func (*ListExecutionsForbidden) String ¶
func (o *ListExecutionsForbidden) String() string
type ListExecutionsInternalServerError ¶
type ListExecutionsInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ListExecutionsInternalServerError) Error() string
func (*ListExecutionsInternalServerError) GetPayload ¶
func (o *ListExecutionsInternalServerError) GetPayload() *models.Errors
func (*ListExecutionsInternalServerError) IsClientError ¶
func (o *ListExecutionsInternalServerError) IsClientError() bool
IsClientError returns true when this list executions internal server error response has a 4xx status code
func (*ListExecutionsInternalServerError) IsCode ¶
func (o *ListExecutionsInternalServerError) IsCode(code int) bool
IsCode returns true when this list executions internal server error response a status code equal to that given
func (*ListExecutionsInternalServerError) IsRedirect ¶
func (o *ListExecutionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list executions internal server error response has a 3xx status code
func (*ListExecutionsInternalServerError) IsServerError ¶
func (o *ListExecutionsInternalServerError) IsServerError() bool
IsServerError returns true when this list executions internal server error response has a 5xx status code
func (*ListExecutionsInternalServerError) IsSuccess ¶
func (o *ListExecutionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list executions internal server error response has a 2xx status code
func (*ListExecutionsInternalServerError) String ¶
func (o *ListExecutionsInternalServerError) String() string
type ListExecutionsNotFound ¶
type ListExecutionsNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListExecutionsNotFound) IsClientError ¶
func (o *ListExecutionsNotFound) IsClientError() bool
IsClientError returns true when this list executions not found response has a 4xx status code
func (*ListExecutionsNotFound) IsCode ¶
func (o *ListExecutionsNotFound) IsCode(code int) bool
IsCode returns true when this list executions not found response a status code equal to that given
func (*ListExecutionsNotFound) IsRedirect ¶
func (o *ListExecutionsNotFound) IsRedirect() bool
IsRedirect returns true when this list executions not found response has a 3xx status code
func (*ListExecutionsNotFound) IsServerError ¶
func (o *ListExecutionsNotFound) IsServerError() bool
IsServerError returns true when this list executions not found response has a 5xx status code
func (*ListExecutionsNotFound) IsSuccess ¶
func (o *ListExecutionsNotFound) IsSuccess() bool
IsSuccess returns true when this list executions not found response has a 2xx status code
func (*ListExecutionsNotFound) String ¶
func (o *ListExecutionsNotFound) String() string
type ListExecutionsOK ¶
type ListExecutionsOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of executions */ XTotalCount int64 Payload []*models.Execution }
ListExecutionsOK 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() []*models.Execution
func (*ListExecutionsOK) IsClientError ¶
func (o *ListExecutionsOK) IsClientError() bool
IsClientError returns true when this list executions o k response has a 4xx status code
func (*ListExecutionsOK) IsCode ¶
func (o *ListExecutionsOK) IsCode(code int) bool
IsCode returns true when this list executions o k response a status code equal to that given
func (*ListExecutionsOK) IsRedirect ¶
func (o *ListExecutionsOK) IsRedirect() bool
IsRedirect returns true when this list executions o k response has a 3xx status code
func (*ListExecutionsOK) IsServerError ¶
func (o *ListExecutionsOK) IsServerError() bool
IsServerError returns true when this list executions o k response has a 5xx status code
func (*ListExecutionsOK) IsSuccess ¶
func (o *ListExecutionsOK) IsSuccess() bool
IsSuccess returns true when this list executions o k response has a 2xx status code
func (*ListExecutionsOK) String ¶
func (o *ListExecutionsOK) String() string
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 /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *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 ¶
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) SetSort ¶
func (o *ListExecutionsParams) SetSort(sort *string)
SetSort adds the sort 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 ¶
func (o *ListExecutionsParams) WithContext(ctx context.Context) *ListExecutionsParams
WithContext adds the context to the list executions params
func (*ListExecutionsParams) WithDefaults ¶
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 ¶
func (o *ListExecutionsParams) WithQ(q *string) *ListExecutionsParams
WithQ adds the q to the list executions params
func (*ListExecutionsParams) WithSort ¶
func (o *ListExecutionsParams) WithSort(sort *string) *ListExecutionsParams
WithSort adds the sort 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 { string }XRequestID
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 (o *ListExecutionsUnauthorized) Error() string
func (*ListExecutionsUnauthorized) GetPayload ¶
func (o *ListExecutionsUnauthorized) GetPayload() *models.Errors
func (*ListExecutionsUnauthorized) IsClientError ¶
func (o *ListExecutionsUnauthorized) IsClientError() bool
IsClientError returns true when this list executions unauthorized response has a 4xx status code
func (*ListExecutionsUnauthorized) IsCode ¶
func (o *ListExecutionsUnauthorized) IsCode(code int) bool
IsCode returns true when this list executions unauthorized response a status code equal to that given
func (*ListExecutionsUnauthorized) IsRedirect ¶
func (o *ListExecutionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list executions unauthorized response has a 3xx status code
func (*ListExecutionsUnauthorized) IsServerError ¶
func (o *ListExecutionsUnauthorized) IsServerError() bool
IsServerError returns true when this list executions unauthorized response has a 5xx status code
func (*ListExecutionsUnauthorized) IsSuccess ¶
func (o *ListExecutionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list executions unauthorized response has a 2xx status code
func (*ListExecutionsUnauthorized) String ¶
func (o *ListExecutionsUnauthorized) String() string
type ListInstancesBadRequest ¶
type ListInstancesBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListInstancesBadRequest) IsClientError ¶
func (o *ListInstancesBadRequest) IsClientError() bool
IsClientError returns true when this list instances bad request response has a 4xx status code
func (*ListInstancesBadRequest) IsCode ¶
func (o *ListInstancesBadRequest) IsCode(code int) bool
IsCode returns true when this list instances bad request response a status code equal to that given
func (*ListInstancesBadRequest) IsRedirect ¶
func (o *ListInstancesBadRequest) IsRedirect() bool
IsRedirect returns true when this list instances bad request response has a 3xx status code
func (*ListInstancesBadRequest) IsServerError ¶
func (o *ListInstancesBadRequest) IsServerError() bool
IsServerError returns true when this list instances bad request response has a 5xx status code
func (*ListInstancesBadRequest) IsSuccess ¶
func (o *ListInstancesBadRequest) IsSuccess() bool
IsSuccess returns true when this list instances bad request response has a 2xx status code
func (*ListInstancesBadRequest) String ¶
func (o *ListInstancesBadRequest) String() string
type ListInstancesForbidden ¶
type ListInstancesForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListInstancesForbidden) IsClientError ¶
func (o *ListInstancesForbidden) IsClientError() bool
IsClientError returns true when this list instances forbidden response has a 4xx status code
func (*ListInstancesForbidden) IsCode ¶
func (o *ListInstancesForbidden) IsCode(code int) bool
IsCode returns true when this list instances forbidden response a status code equal to that given
func (*ListInstancesForbidden) IsRedirect ¶
func (o *ListInstancesForbidden) IsRedirect() bool
IsRedirect returns true when this list instances forbidden response has a 3xx status code
func (*ListInstancesForbidden) IsServerError ¶
func (o *ListInstancesForbidden) IsServerError() bool
IsServerError returns true when this list instances forbidden response has a 5xx status code
func (*ListInstancesForbidden) IsSuccess ¶
func (o *ListInstancesForbidden) IsSuccess() bool
IsSuccess returns true when this list instances forbidden response has a 2xx status code
func (*ListInstancesForbidden) String ¶
func (o *ListInstancesForbidden) String() string
type ListInstancesInternalServerError ¶
type ListInstancesInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ListInstancesInternalServerError) Error() string
func (*ListInstancesInternalServerError) GetPayload ¶
func (o *ListInstancesInternalServerError) GetPayload() *models.Errors
func (*ListInstancesInternalServerError) IsClientError ¶
func (o *ListInstancesInternalServerError) IsClientError() bool
IsClientError returns true when this list instances internal server error response has a 4xx status code
func (*ListInstancesInternalServerError) IsCode ¶
func (o *ListInstancesInternalServerError) IsCode(code int) bool
IsCode returns true when this list instances internal server error response a status code equal to that given
func (*ListInstancesInternalServerError) IsRedirect ¶
func (o *ListInstancesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list instances internal server error response has a 3xx status code
func (*ListInstancesInternalServerError) IsServerError ¶
func (o *ListInstancesInternalServerError) IsServerError() bool
IsServerError returns true when this list instances internal server error response has a 5xx status code
func (*ListInstancesInternalServerError) IsSuccess ¶
func (o *ListInstancesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list instances internal server error response has a 2xx status code
func (*ListInstancesInternalServerError) String ¶
func (o *ListInstancesInternalServerError) String() string
type ListInstancesNotFound ¶
type ListInstancesNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListInstancesNotFound) IsClientError ¶
func (o *ListInstancesNotFound) IsClientError() bool
IsClientError returns true when this list instances not found response has a 4xx status code
func (*ListInstancesNotFound) IsCode ¶
func (o *ListInstancesNotFound) IsCode(code int) bool
IsCode returns true when this list instances not found response a status code equal to that given
func (*ListInstancesNotFound) IsRedirect ¶
func (o *ListInstancesNotFound) IsRedirect() bool
IsRedirect returns true when this list instances not found response has a 3xx status code
func (*ListInstancesNotFound) IsServerError ¶
func (o *ListInstancesNotFound) IsServerError() bool
IsServerError returns true when this list instances not found response has a 5xx status code
func (*ListInstancesNotFound) IsSuccess ¶
func (o *ListInstancesNotFound) IsSuccess() bool
IsSuccess returns true when this list instances not found response has a 2xx status code
func (*ListInstancesNotFound) String ¶
func (o *ListInstancesNotFound) String() string
type ListInstancesOK ¶
type ListInstancesOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of preheating provider instances */ XTotalCount int64 Payload []*models.Instance }
ListInstancesOK 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() []*models.Instance
func (*ListInstancesOK) IsClientError ¶
func (o *ListInstancesOK) IsClientError() bool
IsClientError returns true when this list instances o k response has a 4xx status code
func (*ListInstancesOK) IsCode ¶
func (o *ListInstancesOK) IsCode(code int) bool
IsCode returns true when this list instances o k response a status code equal to that given
func (*ListInstancesOK) IsRedirect ¶
func (o *ListInstancesOK) IsRedirect() bool
IsRedirect returns true when this list instances o k response has a 3xx status code
func (*ListInstancesOK) IsServerError ¶
func (o *ListInstancesOK) IsServerError() bool
IsServerError returns true when this list instances o k response has a 5xx status code
func (*ListInstancesOK) IsSuccess ¶
func (o *ListInstancesOK) IsSuccess() bool
IsSuccess returns true when this list instances o k response has a 2xx status code
func (*ListInstancesOK) String ¶
func (o *ListInstancesOK) String() string
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 /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *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 ¶
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) SetSort ¶
func (o *ListInstancesParams) SetSort(sort *string)
SetSort adds the sort 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 ¶
func (o *ListInstancesParams) WithContext(ctx context.Context) *ListInstancesParams
WithContext adds the context to the list instances params
func (*ListInstancesParams) WithDefaults ¶
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 ¶
func (o *ListInstancesParams) WithQ(q *string) *ListInstancesParams
WithQ adds the q to the list instances params
func (*ListInstancesParams) WithSort ¶
func (o *ListInstancesParams) WithSort(sort *string) *ListInstancesParams
WithSort adds the sort 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 { string }XRequestID
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() *models.Errors
func (*ListInstancesUnauthorized) IsClientError ¶
func (o *ListInstancesUnauthorized) IsClientError() bool
IsClientError returns true when this list instances unauthorized response has a 4xx status code
func (*ListInstancesUnauthorized) IsCode ¶
func (o *ListInstancesUnauthorized) IsCode(code int) bool
IsCode returns true when this list instances unauthorized response a status code equal to that given
func (*ListInstancesUnauthorized) IsRedirect ¶
func (o *ListInstancesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list instances unauthorized response has a 3xx status code
func (*ListInstancesUnauthorized) IsServerError ¶
func (o *ListInstancesUnauthorized) IsServerError() bool
IsServerError returns true when this list instances unauthorized response has a 5xx status code
func (*ListInstancesUnauthorized) IsSuccess ¶
func (o *ListInstancesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list instances unauthorized response has a 2xx status code
func (*ListInstancesUnauthorized) String ¶
func (o *ListInstancesUnauthorized) String() string
type ListPoliciesBadRequest ¶
type ListPoliciesBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListPoliciesBadRequest) IsClientError ¶
func (o *ListPoliciesBadRequest) IsClientError() bool
IsClientError returns true when this list policies bad request response has a 4xx status code
func (*ListPoliciesBadRequest) IsCode ¶
func (o *ListPoliciesBadRequest) IsCode(code int) bool
IsCode returns true when this list policies bad request response a status code equal to that given
func (*ListPoliciesBadRequest) IsRedirect ¶
func (o *ListPoliciesBadRequest) IsRedirect() bool
IsRedirect returns true when this list policies bad request response has a 3xx status code
func (*ListPoliciesBadRequest) IsServerError ¶
func (o *ListPoliciesBadRequest) IsServerError() bool
IsServerError returns true when this list policies bad request response has a 5xx status code
func (*ListPoliciesBadRequest) IsSuccess ¶
func (o *ListPoliciesBadRequest) IsSuccess() bool
IsSuccess returns true when this list policies bad request response has a 2xx status code
func (*ListPoliciesBadRequest) String ¶
func (o *ListPoliciesBadRequest) String() string
type ListPoliciesForbidden ¶
type ListPoliciesForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListPoliciesForbidden) IsClientError ¶
func (o *ListPoliciesForbidden) IsClientError() bool
IsClientError returns true when this list policies forbidden response has a 4xx status code
func (*ListPoliciesForbidden) IsCode ¶
func (o *ListPoliciesForbidden) IsCode(code int) bool
IsCode returns true when this list policies forbidden response a status code equal to that given
func (*ListPoliciesForbidden) IsRedirect ¶
func (o *ListPoliciesForbidden) IsRedirect() bool
IsRedirect returns true when this list policies forbidden response has a 3xx status code
func (*ListPoliciesForbidden) IsServerError ¶
func (o *ListPoliciesForbidden) IsServerError() bool
IsServerError returns true when this list policies forbidden response has a 5xx status code
func (*ListPoliciesForbidden) IsSuccess ¶
func (o *ListPoliciesForbidden) IsSuccess() bool
IsSuccess returns true when this list policies forbidden response has a 2xx status code
func (*ListPoliciesForbidden) String ¶
func (o *ListPoliciesForbidden) String() string
type ListPoliciesInternalServerError ¶
type ListPoliciesInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ListPoliciesInternalServerError) Error() string
func (*ListPoliciesInternalServerError) GetPayload ¶
func (o *ListPoliciesInternalServerError) GetPayload() *models.Errors
func (*ListPoliciesInternalServerError) IsClientError ¶
func (o *ListPoliciesInternalServerError) IsClientError() bool
IsClientError returns true when this list policies internal server error response has a 4xx status code
func (*ListPoliciesInternalServerError) IsCode ¶
func (o *ListPoliciesInternalServerError) IsCode(code int) bool
IsCode returns true when this list policies internal server error response a status code equal to that given
func (*ListPoliciesInternalServerError) IsRedirect ¶
func (o *ListPoliciesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list policies internal server error response has a 3xx status code
func (*ListPoliciesInternalServerError) IsServerError ¶
func (o *ListPoliciesInternalServerError) IsServerError() bool
IsServerError returns true when this list policies internal server error response has a 5xx status code
func (*ListPoliciesInternalServerError) IsSuccess ¶
func (o *ListPoliciesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list policies internal server error response has a 2xx status code
func (*ListPoliciesInternalServerError) String ¶
func (o *ListPoliciesInternalServerError) String() string
type ListPoliciesOK ¶
type ListPoliciesOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of policies */ XTotalCount int64 Payload []*models.PreheatPolicy }
ListPoliciesOK 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() []*models.PreheatPolicy
func (*ListPoliciesOK) IsClientError ¶
func (o *ListPoliciesOK) IsClientError() bool
IsClientError returns true when this list policies o k response has a 4xx status code
func (*ListPoliciesOK) IsCode ¶
func (o *ListPoliciesOK) IsCode(code int) bool
IsCode returns true when this list policies o k response a status code equal to that given
func (*ListPoliciesOK) IsRedirect ¶
func (o *ListPoliciesOK) IsRedirect() bool
IsRedirect returns true when this list policies o k response has a 3xx status code
func (*ListPoliciesOK) IsServerError ¶
func (o *ListPoliciesOK) IsServerError() bool
IsServerError returns true when this list policies o k response has a 5xx status code
func (*ListPoliciesOK) IsSuccess ¶
func (o *ListPoliciesOK) IsSuccess() bool
IsSuccess returns true when this list policies o k response has a 2xx status code
func (*ListPoliciesOK) String ¶
func (o *ListPoliciesOK) String() string
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 /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *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 ¶
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) SetSort ¶
func (o *ListPoliciesParams) SetSort(sort *string)
SetSort adds the sort 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 ¶
func (o *ListPoliciesParams) WithContext(ctx context.Context) *ListPoliciesParams
WithContext adds the context to the list policies params
func (*ListPoliciesParams) WithDefaults ¶
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 ¶
func (o *ListPoliciesParams) WithQ(q *string) *ListPoliciesParams
WithQ adds the q to the list policies params
func (*ListPoliciesParams) WithSort ¶
func (o *ListPoliciesParams) WithSort(sort *string) *ListPoliciesParams
WithSort adds the sort 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 { string }XRequestID
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() *models.Errors
func (*ListPoliciesUnauthorized) IsClientError ¶
func (o *ListPoliciesUnauthorized) IsClientError() bool
IsClientError returns true when this list policies unauthorized response has a 4xx status code
func (*ListPoliciesUnauthorized) IsCode ¶
func (o *ListPoliciesUnauthorized) IsCode(code int) bool
IsCode returns true when this list policies unauthorized response a status code equal to that given
func (*ListPoliciesUnauthorized) IsRedirect ¶
func (o *ListPoliciesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list policies unauthorized response has a 3xx status code
func (*ListPoliciesUnauthorized) IsServerError ¶
func (o *ListPoliciesUnauthorized) IsServerError() bool
IsServerError returns true when this list policies unauthorized response has a 5xx status code
func (*ListPoliciesUnauthorized) IsSuccess ¶
func (o *ListPoliciesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list policies unauthorized response has a 2xx status code
func (*ListPoliciesUnauthorized) String ¶
func (o *ListPoliciesUnauthorized) String() string
type ListProvidersBadRequest ¶
type ListProvidersBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListProvidersBadRequest) IsClientError ¶
func (o *ListProvidersBadRequest) IsClientError() bool
IsClientError returns true when this list providers bad request response has a 4xx status code
func (*ListProvidersBadRequest) IsCode ¶
func (o *ListProvidersBadRequest) IsCode(code int) bool
IsCode returns true when this list providers bad request response a status code equal to that given
func (*ListProvidersBadRequest) IsRedirect ¶
func (o *ListProvidersBadRequest) IsRedirect() bool
IsRedirect returns true when this list providers bad request response has a 3xx status code
func (*ListProvidersBadRequest) IsServerError ¶
func (o *ListProvidersBadRequest) IsServerError() bool
IsServerError returns true when this list providers bad request response has a 5xx status code
func (*ListProvidersBadRequest) IsSuccess ¶
func (o *ListProvidersBadRequest) IsSuccess() bool
IsSuccess returns true when this list providers bad request response has a 2xx status code
func (*ListProvidersBadRequest) String ¶
func (o *ListProvidersBadRequest) String() string
type ListProvidersForbidden ¶
type ListProvidersForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListProvidersForbidden) IsClientError ¶
func (o *ListProvidersForbidden) IsClientError() bool
IsClientError returns true when this list providers forbidden response has a 4xx status code
func (*ListProvidersForbidden) IsCode ¶
func (o *ListProvidersForbidden) IsCode(code int) bool
IsCode returns true when this list providers forbidden response a status code equal to that given
func (*ListProvidersForbidden) IsRedirect ¶
func (o *ListProvidersForbidden) IsRedirect() bool
IsRedirect returns true when this list providers forbidden response has a 3xx status code
func (*ListProvidersForbidden) IsServerError ¶
func (o *ListProvidersForbidden) IsServerError() bool
IsServerError returns true when this list providers forbidden response has a 5xx status code
func (*ListProvidersForbidden) IsSuccess ¶
func (o *ListProvidersForbidden) IsSuccess() bool
IsSuccess returns true when this list providers forbidden response has a 2xx status code
func (*ListProvidersForbidden) String ¶
func (o *ListProvidersForbidden) String() string
type ListProvidersInternalServerError ¶
type ListProvidersInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ListProvidersInternalServerError) Error() string
func (*ListProvidersInternalServerError) GetPayload ¶
func (o *ListProvidersInternalServerError) GetPayload() *models.Errors
func (*ListProvidersInternalServerError) IsClientError ¶
func (o *ListProvidersInternalServerError) IsClientError() bool
IsClientError returns true when this list providers internal server error response has a 4xx status code
func (*ListProvidersInternalServerError) IsCode ¶
func (o *ListProvidersInternalServerError) IsCode(code int) bool
IsCode returns true when this list providers internal server error response a status code equal to that given
func (*ListProvidersInternalServerError) IsRedirect ¶
func (o *ListProvidersInternalServerError) IsRedirect() bool
IsRedirect returns true when this list providers internal server error response has a 3xx status code
func (*ListProvidersInternalServerError) IsServerError ¶
func (o *ListProvidersInternalServerError) IsServerError() bool
IsServerError returns true when this list providers internal server error response has a 5xx status code
func (*ListProvidersInternalServerError) IsSuccess ¶
func (o *ListProvidersInternalServerError) IsSuccess() bool
IsSuccess returns true when this list providers internal server error response has a 2xx status code
func (*ListProvidersInternalServerError) String ¶
func (o *ListProvidersInternalServerError) String() string
type ListProvidersNotFound ¶
type ListProvidersNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListProvidersNotFound) IsClientError ¶
func (o *ListProvidersNotFound) IsClientError() bool
IsClientError returns true when this list providers not found response has a 4xx status code
func (*ListProvidersNotFound) IsCode ¶
func (o *ListProvidersNotFound) IsCode(code int) bool
IsCode returns true when this list providers not found response a status code equal to that given
func (*ListProvidersNotFound) IsRedirect ¶
func (o *ListProvidersNotFound) IsRedirect() bool
IsRedirect returns true when this list providers not found response has a 3xx status code
func (*ListProvidersNotFound) IsServerError ¶
func (o *ListProvidersNotFound) IsServerError() bool
IsServerError returns true when this list providers not found response has a 5xx status code
func (*ListProvidersNotFound) IsSuccess ¶
func (o *ListProvidersNotFound) IsSuccess() bool
IsSuccess returns true when this list providers not found response has a 2xx status code
func (*ListProvidersNotFound) String ¶
func (o *ListProvidersNotFound) String() string
type ListProvidersOK ¶
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() []*models.Metadata
func (*ListProvidersOK) IsClientError ¶
func (o *ListProvidersOK) IsClientError() bool
IsClientError returns true when this list providers o k response has a 4xx status code
func (*ListProvidersOK) IsCode ¶
func (o *ListProvidersOK) IsCode(code int) bool
IsCode returns true when this list providers o k response a status code equal to that given
func (*ListProvidersOK) IsRedirect ¶
func (o *ListProvidersOK) IsRedirect() bool
IsRedirect returns true when this list providers o k response has a 3xx status code
func (*ListProvidersOK) IsServerError ¶
func (o *ListProvidersOK) IsServerError() bool
IsServerError returns true when this list providers o k response has a 5xx status code
func (*ListProvidersOK) IsSuccess ¶
func (o *ListProvidersOK) IsSuccess() bool
IsSuccess returns true when this list providers o k response has a 2xx status code
func (*ListProvidersOK) String ¶
func (o *ListProvidersOK) String() string
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 ¶
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 ¶
func (o *ListProvidersParams) WithContext(ctx context.Context) *ListProvidersParams
WithContext adds the context to the list providers params
func (*ListProvidersParams) WithDefaults ¶
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 { string }XRequestID
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() *models.Errors
func (*ListProvidersUnauthorized) IsClientError ¶
func (o *ListProvidersUnauthorized) IsClientError() bool
IsClientError returns true when this list providers unauthorized response has a 4xx status code
func (*ListProvidersUnauthorized) IsCode ¶
func (o *ListProvidersUnauthorized) IsCode(code int) bool
IsCode returns true when this list providers unauthorized response a status code equal to that given
func (*ListProvidersUnauthorized) IsRedirect ¶
func (o *ListProvidersUnauthorized) IsRedirect() bool
IsRedirect returns true when this list providers unauthorized response has a 3xx status code
func (*ListProvidersUnauthorized) IsServerError ¶
func (o *ListProvidersUnauthorized) IsServerError() bool
IsServerError returns true when this list providers unauthorized response has a 5xx status code
func (*ListProvidersUnauthorized) IsSuccess ¶
func (o *ListProvidersUnauthorized) IsSuccess() bool
IsSuccess returns true when this list providers unauthorized response has a 2xx status code
func (*ListProvidersUnauthorized) String ¶
func (o *ListProvidersUnauthorized) String() string
type ListProvidersUnderProjectBadRequest ¶
type ListProvidersUnderProjectBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ListProvidersUnderProjectBadRequest) Error() string
func (*ListProvidersUnderProjectBadRequest) GetPayload ¶
func (o *ListProvidersUnderProjectBadRequest) GetPayload() *models.Errors
func (*ListProvidersUnderProjectBadRequest) IsClientError ¶
func (o *ListProvidersUnderProjectBadRequest) IsClientError() bool
IsClientError returns true when this list providers under project bad request response has a 4xx status code
func (*ListProvidersUnderProjectBadRequest) IsCode ¶
func (o *ListProvidersUnderProjectBadRequest) IsCode(code int) bool
IsCode returns true when this list providers under project bad request response a status code equal to that given
func (*ListProvidersUnderProjectBadRequest) IsRedirect ¶
func (o *ListProvidersUnderProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this list providers under project bad request response has a 3xx status code
func (*ListProvidersUnderProjectBadRequest) IsServerError ¶
func (o *ListProvidersUnderProjectBadRequest) IsServerError() bool
IsServerError returns true when this list providers under project bad request response has a 5xx status code
func (*ListProvidersUnderProjectBadRequest) IsSuccess ¶
func (o *ListProvidersUnderProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this list providers under project bad request response has a 2xx status code
func (*ListProvidersUnderProjectBadRequest) String ¶
func (o *ListProvidersUnderProjectBadRequest) String() string
type ListProvidersUnderProjectForbidden ¶
type ListProvidersUnderProjectForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ListProvidersUnderProjectForbidden) Error() string
func (*ListProvidersUnderProjectForbidden) GetPayload ¶
func (o *ListProvidersUnderProjectForbidden) GetPayload() *models.Errors
func (*ListProvidersUnderProjectForbidden) IsClientError ¶
func (o *ListProvidersUnderProjectForbidden) IsClientError() bool
IsClientError returns true when this list providers under project forbidden response has a 4xx status code
func (*ListProvidersUnderProjectForbidden) IsCode ¶
func (o *ListProvidersUnderProjectForbidden) IsCode(code int) bool
IsCode returns true when this list providers under project forbidden response a status code equal to that given
func (*ListProvidersUnderProjectForbidden) IsRedirect ¶
func (o *ListProvidersUnderProjectForbidden) IsRedirect() bool
IsRedirect returns true when this list providers under project forbidden response has a 3xx status code
func (*ListProvidersUnderProjectForbidden) IsServerError ¶
func (o *ListProvidersUnderProjectForbidden) IsServerError() bool
IsServerError returns true when this list providers under project forbidden response has a 5xx status code
func (*ListProvidersUnderProjectForbidden) IsSuccess ¶
func (o *ListProvidersUnderProjectForbidden) IsSuccess() bool
IsSuccess returns true when this list providers under project forbidden response has a 2xx status code
func (*ListProvidersUnderProjectForbidden) String ¶
func (o *ListProvidersUnderProjectForbidden) String() string
type ListProvidersUnderProjectInternalServerError ¶
type ListProvidersUnderProjectInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ListProvidersUnderProjectInternalServerError) Error() string
func (*ListProvidersUnderProjectInternalServerError) GetPayload ¶
func (o *ListProvidersUnderProjectInternalServerError) GetPayload() *models.Errors
func (*ListProvidersUnderProjectInternalServerError) IsClientError ¶
func (o *ListProvidersUnderProjectInternalServerError) IsClientError() bool
IsClientError returns true when this list providers under project internal server error response has a 4xx status code
func (*ListProvidersUnderProjectInternalServerError) IsCode ¶
func (o *ListProvidersUnderProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this list providers under project internal server error response a status code equal to that given
func (*ListProvidersUnderProjectInternalServerError) IsRedirect ¶
func (o *ListProvidersUnderProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this list providers under project internal server error response has a 3xx status code
func (*ListProvidersUnderProjectInternalServerError) IsServerError ¶
func (o *ListProvidersUnderProjectInternalServerError) IsServerError() bool
IsServerError returns true when this list providers under project internal server error response has a 5xx status code
func (*ListProvidersUnderProjectInternalServerError) IsSuccess ¶
func (o *ListProvidersUnderProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this list providers under project internal server error response has a 2xx status code
func (*ListProvidersUnderProjectInternalServerError) String ¶
func (o *ListProvidersUnderProjectInternalServerError) String() string
type ListProvidersUnderProjectNotFound ¶
type ListProvidersUnderProjectNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ListProvidersUnderProjectNotFound) Error() string
func (*ListProvidersUnderProjectNotFound) GetPayload ¶
func (o *ListProvidersUnderProjectNotFound) GetPayload() *models.Errors
func (*ListProvidersUnderProjectNotFound) IsClientError ¶
func (o *ListProvidersUnderProjectNotFound) IsClientError() bool
IsClientError returns true when this list providers under project not found response has a 4xx status code
func (*ListProvidersUnderProjectNotFound) IsCode ¶
func (o *ListProvidersUnderProjectNotFound) IsCode(code int) bool
IsCode returns true when this list providers under project not found response a status code equal to that given
func (*ListProvidersUnderProjectNotFound) IsRedirect ¶
func (o *ListProvidersUnderProjectNotFound) IsRedirect() bool
IsRedirect returns true when this list providers under project not found response has a 3xx status code
func (*ListProvidersUnderProjectNotFound) IsServerError ¶
func (o *ListProvidersUnderProjectNotFound) IsServerError() bool
IsServerError returns true when this list providers under project not found response has a 5xx status code
func (*ListProvidersUnderProjectNotFound) IsSuccess ¶
func (o *ListProvidersUnderProjectNotFound) IsSuccess() bool
IsSuccess returns true when this list providers under project not found response has a 2xx status code
func (*ListProvidersUnderProjectNotFound) String ¶
func (o *ListProvidersUnderProjectNotFound) String() string
type ListProvidersUnderProjectOK ¶
type ListProvidersUnderProjectOK struct {
Payload []*models.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 (o *ListProvidersUnderProjectOK) Error() string
func (*ListProvidersUnderProjectOK) GetPayload ¶
func (o *ListProvidersUnderProjectOK) GetPayload() []*models.ProviderUnderProject
func (*ListProvidersUnderProjectOK) IsClientError ¶
func (o *ListProvidersUnderProjectOK) IsClientError() bool
IsClientError returns true when this list providers under project o k response has a 4xx status code
func (*ListProvidersUnderProjectOK) IsCode ¶
func (o *ListProvidersUnderProjectOK) IsCode(code int) bool
IsCode returns true when this list providers under project o k response a status code equal to that given
func (*ListProvidersUnderProjectOK) IsRedirect ¶
func (o *ListProvidersUnderProjectOK) IsRedirect() bool
IsRedirect returns true when this list providers under project o k response has a 3xx status code
func (*ListProvidersUnderProjectOK) IsServerError ¶
func (o *ListProvidersUnderProjectOK) IsServerError() bool
IsServerError returns true when this list providers under project o k response has a 5xx status code
func (*ListProvidersUnderProjectOK) IsSuccess ¶
func (o *ListProvidersUnderProjectOK) IsSuccess() bool
IsSuccess returns true when this list providers under project o k response has a 2xx status code
func (*ListProvidersUnderProjectOK) String ¶
func (o *ListProvidersUnderProjectOK) String() string
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 ¶
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 ¶
func (o *ListProvidersUnderProjectParams) WithContext(ctx context.Context) *ListProvidersUnderProjectParams
WithContext adds the context to the list providers under project params
func (*ListProvidersUnderProjectParams) WithDefaults ¶
func (o *ListProvidersUnderProjectParams) WithDefaults() *ListProvidersUnderProjectParams
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 ¶
func (o *ListProvidersUnderProjectParams) WithHTTPClient(client *http.Client) *ListProvidersUnderProjectParams
WithHTTPClient adds the HTTPClient to the list providers under project params
func (*ListProvidersUnderProjectParams) WithProjectName ¶
func (o *ListProvidersUnderProjectParams) WithProjectName(projectName string) *ListProvidersUnderProjectParams
WithProjectName adds the projectName to the list providers under project params
func (*ListProvidersUnderProjectParams) WithTimeout ¶
func (o *ListProvidersUnderProjectParams) WithTimeout(timeout time.Duration) *ListProvidersUnderProjectParams
WithTimeout adds the timeout to the list providers under project params
func (*ListProvidersUnderProjectParams) WithXRequestID ¶
func (o *ListProvidersUnderProjectParams) WithXRequestID(xRequestID *string) *ListProvidersUnderProjectParams
WithXRequestID adds the xRequestID to the list providers under project params
func (*ListProvidersUnderProjectParams) WriteToRequest ¶
func (o *ListProvidersUnderProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { string }XRequestID
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 (o *ListProvidersUnderProjectUnauthorized) Error() string
func (*ListProvidersUnderProjectUnauthorized) GetPayload ¶
func (o *ListProvidersUnderProjectUnauthorized) GetPayload() *models.Errors
func (*ListProvidersUnderProjectUnauthorized) IsClientError ¶
func (o *ListProvidersUnderProjectUnauthorized) IsClientError() bool
IsClientError returns true when this list providers under project unauthorized response has a 4xx status code
func (*ListProvidersUnderProjectUnauthorized) IsCode ¶
func (o *ListProvidersUnderProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this list providers under project unauthorized response a status code equal to that given
func (*ListProvidersUnderProjectUnauthorized) IsRedirect ¶
func (o *ListProvidersUnderProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this list providers under project unauthorized response has a 3xx status code
func (*ListProvidersUnderProjectUnauthorized) IsServerError ¶
func (o *ListProvidersUnderProjectUnauthorized) IsServerError() bool
IsServerError returns true when this list providers under project unauthorized response has a 5xx status code
func (*ListProvidersUnderProjectUnauthorized) IsSuccess ¶
func (o *ListProvidersUnderProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this list providers under project unauthorized response has a 2xx status code
func (*ListProvidersUnderProjectUnauthorized) String ¶
func (o *ListProvidersUnderProjectUnauthorized) String() string
type ListTasksBadRequest ¶
type ListTasksBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListTasksBadRequest) IsClientError ¶
func (o *ListTasksBadRequest) IsClientError() bool
IsClientError returns true when this list tasks bad request response has a 4xx status code
func (*ListTasksBadRequest) IsCode ¶
func (o *ListTasksBadRequest) IsCode(code int) bool
IsCode returns true when this list tasks bad request response a status code equal to that given
func (*ListTasksBadRequest) IsRedirect ¶
func (o *ListTasksBadRequest) IsRedirect() bool
IsRedirect returns true when this list tasks bad request response has a 3xx status code
func (*ListTasksBadRequest) IsServerError ¶
func (o *ListTasksBadRequest) IsServerError() bool
IsServerError returns true when this list tasks bad request response has a 5xx status code
func (*ListTasksBadRequest) IsSuccess ¶
func (o *ListTasksBadRequest) IsSuccess() bool
IsSuccess returns true when this list tasks bad request response has a 2xx status code
func (*ListTasksBadRequest) String ¶
func (o *ListTasksBadRequest) String() string
type ListTasksForbidden ¶
type ListTasksForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListTasksForbidden) IsClientError ¶
func (o *ListTasksForbidden) IsClientError() bool
IsClientError returns true when this list tasks forbidden response has a 4xx status code
func (*ListTasksForbidden) IsCode ¶
func (o *ListTasksForbidden) IsCode(code int) bool
IsCode returns true when this list tasks forbidden response a status code equal to that given
func (*ListTasksForbidden) IsRedirect ¶
func (o *ListTasksForbidden) IsRedirect() bool
IsRedirect returns true when this list tasks forbidden response has a 3xx status code
func (*ListTasksForbidden) IsServerError ¶
func (o *ListTasksForbidden) IsServerError() bool
IsServerError returns true when this list tasks forbidden response has a 5xx status code
func (*ListTasksForbidden) IsSuccess ¶
func (o *ListTasksForbidden) IsSuccess() bool
IsSuccess returns true when this list tasks forbidden response has a 2xx status code
func (*ListTasksForbidden) String ¶
func (o *ListTasksForbidden) String() string
type ListTasksInternalServerError ¶
type ListTasksInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ListTasksInternalServerError) Error() string
func (*ListTasksInternalServerError) GetPayload ¶
func (o *ListTasksInternalServerError) GetPayload() *models.Errors
func (*ListTasksInternalServerError) IsClientError ¶
func (o *ListTasksInternalServerError) IsClientError() bool
IsClientError returns true when this list tasks internal server error response has a 4xx status code
func (*ListTasksInternalServerError) IsCode ¶
func (o *ListTasksInternalServerError) IsCode(code int) bool
IsCode returns true when this list tasks internal server error response a status code equal to that given
func (*ListTasksInternalServerError) IsRedirect ¶
func (o *ListTasksInternalServerError) IsRedirect() bool
IsRedirect returns true when this list tasks internal server error response has a 3xx status code
func (*ListTasksInternalServerError) IsServerError ¶
func (o *ListTasksInternalServerError) IsServerError() bool
IsServerError returns true when this list tasks internal server error response has a 5xx status code
func (*ListTasksInternalServerError) IsSuccess ¶
func (o *ListTasksInternalServerError) IsSuccess() bool
IsSuccess returns true when this list tasks internal server error response has a 2xx status code
func (*ListTasksInternalServerError) String ¶
func (o *ListTasksInternalServerError) String() string
type ListTasksNotFound ¶
type ListTasksNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ListTasksNotFound) IsClientError ¶
func (o *ListTasksNotFound) IsClientError() bool
IsClientError returns true when this list tasks not found response has a 4xx status code
func (*ListTasksNotFound) IsCode ¶
func (o *ListTasksNotFound) IsCode(code int) bool
IsCode returns true when this list tasks not found response a status code equal to that given
func (*ListTasksNotFound) IsRedirect ¶
func (o *ListTasksNotFound) IsRedirect() bool
IsRedirect returns true when this list tasks not found response has a 3xx status code
func (*ListTasksNotFound) IsServerError ¶
func (o *ListTasksNotFound) IsServerError() bool
IsServerError returns true when this list tasks not found response has a 5xx status code
func (*ListTasksNotFound) IsSuccess ¶
func (o *ListTasksNotFound) IsSuccess() bool
IsSuccess returns true when this list tasks not found response has a 2xx status code
func (*ListTasksNotFound) String ¶
func (o *ListTasksNotFound) String() string
type ListTasksOK ¶
type ListTasksOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of tasks */ XTotalCount int64 Payload []*models.Task }
ListTasksOK 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() []*models.Task
func (*ListTasksOK) IsClientError ¶
func (o *ListTasksOK) IsClientError() bool
IsClientError returns true when this list tasks o k response has a 4xx status code
func (*ListTasksOK) IsCode ¶
func (o *ListTasksOK) IsCode(code int) bool
IsCode returns true when this list tasks o k response a status code equal to that given
func (*ListTasksOK) IsRedirect ¶
func (o *ListTasksOK) IsRedirect() bool
IsRedirect returns true when this list tasks o k response has a 3xx status code
func (*ListTasksOK) IsServerError ¶
func (o *ListTasksOK) IsServerError() bool
IsServerError returns true when this list tasks o k response has a 5xx status code
func (*ListTasksOK) IsSuccess ¶
func (o *ListTasksOK) IsSuccess() bool
IsSuccess returns true when this list tasks o k response has a 2xx status code
func (*ListTasksOK) String ¶
func (o *ListTasksOK) String() string
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 /* Sort. Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *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 ¶
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) SetSort ¶
func (o *ListTasksParams) SetSort(sort *string)
SetSort adds the sort 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 ¶
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) WithSort ¶
func (o *ListTasksParams) WithSort(sort *string) *ListTasksParams
WithSort adds the sort 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 { string }XRequestID
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() *models.Errors
func (*ListTasksUnauthorized) IsClientError ¶
func (o *ListTasksUnauthorized) IsClientError() bool
IsClientError returns true when this list tasks unauthorized response has a 4xx status code
func (*ListTasksUnauthorized) IsCode ¶
func (o *ListTasksUnauthorized) IsCode(code int) bool
IsCode returns true when this list tasks unauthorized response a status code equal to that given
func (*ListTasksUnauthorized) IsRedirect ¶
func (o *ListTasksUnauthorized) IsRedirect() bool
IsRedirect returns true when this list tasks unauthorized response has a 3xx status code
func (*ListTasksUnauthorized) IsServerError ¶
func (o *ListTasksUnauthorized) IsServerError() bool
IsServerError returns true when this list tasks unauthorized response has a 5xx status code
func (*ListTasksUnauthorized) IsSuccess ¶
func (o *ListTasksUnauthorized) IsSuccess() bool
IsSuccess returns true when this list tasks unauthorized response has a 2xx status code
func (*ListTasksUnauthorized) String ¶
func (o *ListTasksUnauthorized) String() string
type ManualPreheatBadRequest ¶
type ManualPreheatBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ManualPreheatBadRequest) IsClientError ¶
func (o *ManualPreheatBadRequest) IsClientError() bool
IsClientError returns true when this manual preheat bad request response has a 4xx status code
func (*ManualPreheatBadRequest) IsCode ¶
func (o *ManualPreheatBadRequest) IsCode(code int) bool
IsCode returns true when this manual preheat bad request response a status code equal to that given
func (*ManualPreheatBadRequest) IsRedirect ¶
func (o *ManualPreheatBadRequest) IsRedirect() bool
IsRedirect returns true when this manual preheat bad request response has a 3xx status code
func (*ManualPreheatBadRequest) IsServerError ¶
func (o *ManualPreheatBadRequest) IsServerError() bool
IsServerError returns true when this manual preheat bad request response has a 5xx status code
func (*ManualPreheatBadRequest) IsSuccess ¶
func (o *ManualPreheatBadRequest) IsSuccess() bool
IsSuccess returns true when this manual preheat bad request response has a 2xx status code
func (*ManualPreheatBadRequest) String ¶
func (o *ManualPreheatBadRequest) String() string
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
func (*ManualPreheatCreated) IsClientError ¶
func (o *ManualPreheatCreated) IsClientError() bool
IsClientError returns true when this manual preheat created response has a 4xx status code
func (*ManualPreheatCreated) IsCode ¶
func (o *ManualPreheatCreated) IsCode(code int) bool
IsCode returns true when this manual preheat created response a status code equal to that given
func (*ManualPreheatCreated) IsRedirect ¶
func (o *ManualPreheatCreated) IsRedirect() bool
IsRedirect returns true when this manual preheat created response has a 3xx status code
func (*ManualPreheatCreated) IsServerError ¶
func (o *ManualPreheatCreated) IsServerError() bool
IsServerError returns true when this manual preheat created response has a 5xx status code
func (*ManualPreheatCreated) IsSuccess ¶
func (o *ManualPreheatCreated) IsSuccess() bool
IsSuccess returns true when this manual preheat created response has a 2xx status code
func (*ManualPreheatCreated) String ¶
func (o *ManualPreheatCreated) String() string
type ManualPreheatForbidden ¶
type ManualPreheatForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ManualPreheatForbidden) IsClientError ¶
func (o *ManualPreheatForbidden) IsClientError() bool
IsClientError returns true when this manual preheat forbidden response has a 4xx status code
func (*ManualPreheatForbidden) IsCode ¶
func (o *ManualPreheatForbidden) IsCode(code int) bool
IsCode returns true when this manual preheat forbidden response a status code equal to that given
func (*ManualPreheatForbidden) IsRedirect ¶
func (o *ManualPreheatForbidden) IsRedirect() bool
IsRedirect returns true when this manual preheat forbidden response has a 3xx status code
func (*ManualPreheatForbidden) IsServerError ¶
func (o *ManualPreheatForbidden) IsServerError() bool
IsServerError returns true when this manual preheat forbidden response has a 5xx status code
func (*ManualPreheatForbidden) IsSuccess ¶
func (o *ManualPreheatForbidden) IsSuccess() bool
IsSuccess returns true when this manual preheat forbidden response has a 2xx status code
func (*ManualPreheatForbidden) String ¶
func (o *ManualPreheatForbidden) String() string
type ManualPreheatInternalServerError ¶
type ManualPreheatInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *ManualPreheatInternalServerError) Error() string
func (*ManualPreheatInternalServerError) GetPayload ¶
func (o *ManualPreheatInternalServerError) GetPayload() *models.Errors
func (*ManualPreheatInternalServerError) IsClientError ¶
func (o *ManualPreheatInternalServerError) IsClientError() bool
IsClientError returns true when this manual preheat internal server error response has a 4xx status code
func (*ManualPreheatInternalServerError) IsCode ¶
func (o *ManualPreheatInternalServerError) IsCode(code int) bool
IsCode returns true when this manual preheat internal server error response a status code equal to that given
func (*ManualPreheatInternalServerError) IsRedirect ¶
func (o *ManualPreheatInternalServerError) IsRedirect() bool
IsRedirect returns true when this manual preheat internal server error response has a 3xx status code
func (*ManualPreheatInternalServerError) IsServerError ¶
func (o *ManualPreheatInternalServerError) IsServerError() bool
IsServerError returns true when this manual preheat internal server error response has a 5xx status code
func (*ManualPreheatInternalServerError) IsSuccess ¶
func (o *ManualPreheatInternalServerError) IsSuccess() bool
IsSuccess returns true when this manual preheat internal server error response has a 2xx status code
func (*ManualPreheatInternalServerError) String ¶
func (o *ManualPreheatInternalServerError) String() string
type ManualPreheatNotFound ¶
type ManualPreheatNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*ManualPreheatNotFound) IsClientError ¶
func (o *ManualPreheatNotFound) IsClientError() bool
IsClientError returns true when this manual preheat not found response has a 4xx status code
func (*ManualPreheatNotFound) IsCode ¶
func (o *ManualPreheatNotFound) IsCode(code int) bool
IsCode returns true when this manual preheat not found response a status code equal to that given
func (*ManualPreheatNotFound) IsRedirect ¶
func (o *ManualPreheatNotFound) IsRedirect() bool
IsRedirect returns true when this manual preheat not found response has a 3xx status code
func (*ManualPreheatNotFound) IsServerError ¶
func (o *ManualPreheatNotFound) IsServerError() bool
IsServerError returns true when this manual preheat not found response has a 5xx status code
func (*ManualPreheatNotFound) IsSuccess ¶
func (o *ManualPreheatNotFound) IsSuccess() bool
IsSuccess returns true when this manual preheat not found response has a 2xx status code
func (*ManualPreheatNotFound) String ¶
func (o *ManualPreheatNotFound) String() string
type ManualPreheatParams ¶
type ManualPreheatParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Policy. The policy schema info */ Policy *models.PreheatPolicy /* PreheatPolicyName. Preheat Policy Name */ PreheatPolicyName string /* ProjectName. The name of the project */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ManualPreheatParams contains all the parameters to send to the API endpoint
for the manual preheat operation. Typically these are written to a http.Request.
func NewManualPreheatParams ¶
func NewManualPreheatParams() *ManualPreheatParams
NewManualPreheatParams creates a new ManualPreheatParams object, with the default 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 ¶
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 *models.PreheatPolicy)
SetPolicy adds the policy to the manual preheat params
func (*ManualPreheatParams) SetPreheatPolicyName ¶
func (o *ManualPreheatParams) SetPreheatPolicyName(preheatPolicyName string)
SetPreheatPolicyName adds the preheatPolicyName to the manual preheat params
func (*ManualPreheatParams) SetProjectName ¶
func (o *ManualPreheatParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the manual preheat params
func (*ManualPreheatParams) SetTimeout ¶
func (o *ManualPreheatParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the manual preheat params
func (*ManualPreheatParams) SetXRequestID ¶
func (o *ManualPreheatParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the manual preheat params
func (*ManualPreheatParams) WithContext ¶
func (o *ManualPreheatParams) WithContext(ctx context.Context) *ManualPreheatParams
WithContext adds the context to the manual preheat params
func (*ManualPreheatParams) WithDefaults ¶
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 ¶
func (o *ManualPreheatParams) WithPolicy(policy *models.PreheatPolicy) *ManualPreheatParams
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 { string }XRequestID
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() *models.Errors
func (*ManualPreheatUnauthorized) IsClientError ¶
func (o *ManualPreheatUnauthorized) IsClientError() bool
IsClientError returns true when this manual preheat unauthorized response has a 4xx status code
func (*ManualPreheatUnauthorized) IsCode ¶
func (o *ManualPreheatUnauthorized) IsCode(code int) bool
IsCode returns true when this manual preheat unauthorized response a status code equal to that given
func (*ManualPreheatUnauthorized) IsRedirect ¶
func (o *ManualPreheatUnauthorized) IsRedirect() bool
IsRedirect returns true when this manual preheat unauthorized response has a 3xx status code
func (*ManualPreheatUnauthorized) IsServerError ¶
func (o *ManualPreheatUnauthorized) IsServerError() bool
IsServerError returns true when this manual preheat unauthorized response has a 5xx status code
func (*ManualPreheatUnauthorized) IsSuccess ¶
func (o *ManualPreheatUnauthorized) IsSuccess() bool
IsSuccess returns true when this manual preheat unauthorized response has a 2xx status code
func (*ManualPreheatUnauthorized) String ¶
func (o *ManualPreheatUnauthorized) String() string
type PingInstancesBadRequest ¶
type PingInstancesBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*PingInstancesBadRequest) IsClientError ¶
func (o *PingInstancesBadRequest) IsClientError() bool
IsClientError returns true when this ping instances bad request response has a 4xx status code
func (*PingInstancesBadRequest) IsCode ¶
func (o *PingInstancesBadRequest) IsCode(code int) bool
IsCode returns true when this ping instances bad request response a status code equal to that given
func (*PingInstancesBadRequest) IsRedirect ¶
func (o *PingInstancesBadRequest) IsRedirect() bool
IsRedirect returns true when this ping instances bad request response has a 3xx status code
func (*PingInstancesBadRequest) IsServerError ¶
func (o *PingInstancesBadRequest) IsServerError() bool
IsServerError returns true when this ping instances bad request response has a 5xx status code
func (*PingInstancesBadRequest) IsSuccess ¶
func (o *PingInstancesBadRequest) IsSuccess() bool
IsSuccess returns true when this ping instances bad request response has a 2xx status code
func (*PingInstancesBadRequest) String ¶
func (o *PingInstancesBadRequest) String() string
type PingInstancesInternalServerError ¶
type PingInstancesInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *PingInstancesInternalServerError) Error() string
func (*PingInstancesInternalServerError) GetPayload ¶
func (o *PingInstancesInternalServerError) GetPayload() *models.Errors
func (*PingInstancesInternalServerError) IsClientError ¶
func (o *PingInstancesInternalServerError) IsClientError() bool
IsClientError returns true when this ping instances internal server error response has a 4xx status code
func (*PingInstancesInternalServerError) IsCode ¶
func (o *PingInstancesInternalServerError) IsCode(code int) bool
IsCode returns true when this ping instances internal server error response a status code equal to that given
func (*PingInstancesInternalServerError) IsRedirect ¶
func (o *PingInstancesInternalServerError) IsRedirect() bool
IsRedirect returns true when this ping instances internal server error response has a 3xx status code
func (*PingInstancesInternalServerError) IsServerError ¶
func (o *PingInstancesInternalServerError) IsServerError() bool
IsServerError returns true when this ping instances internal server error response has a 5xx status code
func (*PingInstancesInternalServerError) IsSuccess ¶
func (o *PingInstancesInternalServerError) IsSuccess() bool
IsSuccess returns true when this ping instances internal server error response has a 2xx status code
func (*PingInstancesInternalServerError) String ¶
func (o *PingInstancesInternalServerError) String() string
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
func (*PingInstancesNotFound) IsClientError ¶
func (o *PingInstancesNotFound) IsClientError() bool
IsClientError returns true when this ping instances not found response has a 4xx status code
func (*PingInstancesNotFound) IsCode ¶
func (o *PingInstancesNotFound) IsCode(code int) bool
IsCode returns true when this ping instances not found response a status code equal to that given
func (*PingInstancesNotFound) IsRedirect ¶
func (o *PingInstancesNotFound) IsRedirect() bool
IsRedirect returns true when this ping instances not found response has a 3xx status code
func (*PingInstancesNotFound) IsServerError ¶
func (o *PingInstancesNotFound) IsServerError() bool
IsServerError returns true when this ping instances not found response has a 5xx status code
func (*PingInstancesNotFound) IsSuccess ¶
func (o *PingInstancesNotFound) IsSuccess() bool
IsSuccess returns true when this ping instances not found response has a 2xx status code
func (*PingInstancesNotFound) String ¶
func (o *PingInstancesNotFound) String() 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
func (*PingInstancesOK) IsClientError ¶
func (o *PingInstancesOK) IsClientError() bool
IsClientError returns true when this ping instances o k response has a 4xx status code
func (*PingInstancesOK) IsCode ¶
func (o *PingInstancesOK) IsCode(code int) bool
IsCode returns true when this ping instances o k response a status code equal to that given
func (*PingInstancesOK) IsRedirect ¶
func (o *PingInstancesOK) IsRedirect() bool
IsRedirect returns true when this ping instances o k response has a 3xx status code
func (*PingInstancesOK) IsServerError ¶
func (o *PingInstancesOK) IsServerError() bool
IsServerError returns true when this ping instances o k response has a 5xx status code
func (*PingInstancesOK) IsSuccess ¶
func (o *PingInstancesOK) IsSuccess() bool
IsSuccess returns true when this ping instances o k response has a 2xx status code
func (*PingInstancesOK) String ¶
func (o *PingInstancesOK) String() string
type PingInstancesParams ¶
type PingInstancesParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Instance. The JSON object of instance. */ Instance *models.Instance Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PingInstancesParams contains all the parameters to send to the API endpoint
for the ping instances operation. Typically these are written to a http.Request.
func NewPingInstancesParams ¶
func NewPingInstancesParams() *PingInstancesParams
NewPingInstancesParams creates a new PingInstancesParams object, with the default 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 ¶
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 *models.Instance)
SetInstance adds the instance to the ping instances params
func (*PingInstancesParams) SetTimeout ¶
func (o *PingInstancesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ping instances params
func (*PingInstancesParams) SetXRequestID ¶
func (o *PingInstancesParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the ping instances params
func (*PingInstancesParams) WithContext ¶
func (o *PingInstancesParams) WithContext(ctx context.Context) *PingInstancesParams
WithContext adds the context to the ping instances params
func (*PingInstancesParams) WithDefaults ¶
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 *models.Instance) *PingInstancesParams
WithInstance adds the instance to the ping instances params
func (*PingInstancesParams) WithTimeout ¶
func (o *PingInstancesParams) WithTimeout(timeout time.Duration) *PingInstancesParams
WithTimeout adds the timeout to the ping instances params
func (*PingInstancesParams) WithXRequestID ¶
func (o *PingInstancesParams) WithXRequestID(xRequestID *string) *PingInstancesParams
WithXRequestID adds the xRequestID to the ping instances params
func (*PingInstancesParams) WriteToRequest ¶
func (o *PingInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PingInstancesReader ¶
type PingInstancesReader struct {
// contains filtered or unexported fields
}
PingInstancesReader is a Reader for the PingInstances structure.
func (*PingInstancesReader) ReadResponse ¶
func (o *PingInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PingInstancesUnauthorized ¶
type PingInstancesUnauthorized struct { string }XRequestID
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() *models.Errors
func (*PingInstancesUnauthorized) IsClientError ¶
func (o *PingInstancesUnauthorized) IsClientError() bool
IsClientError returns true when this ping instances unauthorized response has a 4xx status code
func (*PingInstancesUnauthorized) IsCode ¶
func (o *PingInstancesUnauthorized) IsCode(code int) bool
IsCode returns true when this ping instances unauthorized response a status code equal to that given
func (*PingInstancesUnauthorized) IsRedirect ¶
func (o *PingInstancesUnauthorized) IsRedirect() bool
IsRedirect returns true when this ping instances unauthorized response has a 3xx status code
func (*PingInstancesUnauthorized) IsServerError ¶
func (o *PingInstancesUnauthorized) IsServerError() bool
IsServerError returns true when this ping instances unauthorized response has a 5xx status code
func (*PingInstancesUnauthorized) IsSuccess ¶
func (o *PingInstancesUnauthorized) IsSuccess() bool
IsSuccess returns true when this ping instances unauthorized response has a 2xx status code
func (*PingInstancesUnauthorized) String ¶
func (o *PingInstancesUnauthorized) String() string
type StopExecutionBadRequest ¶
type StopExecutionBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*StopExecutionBadRequest) IsClientError ¶
func (o *StopExecutionBadRequest) IsClientError() bool
IsClientError returns true when this stop execution bad request response has a 4xx status code
func (*StopExecutionBadRequest) IsCode ¶
func (o *StopExecutionBadRequest) IsCode(code int) bool
IsCode returns true when this stop execution bad request response a status code equal to that given
func (*StopExecutionBadRequest) IsRedirect ¶
func (o *StopExecutionBadRequest) IsRedirect() bool
IsRedirect returns true when this stop execution bad request response has a 3xx status code
func (*StopExecutionBadRequest) IsServerError ¶
func (o *StopExecutionBadRequest) IsServerError() bool
IsServerError returns true when this stop execution bad request response has a 5xx status code
func (*StopExecutionBadRequest) IsSuccess ¶
func (o *StopExecutionBadRequest) IsSuccess() bool
IsSuccess returns true when this stop execution bad request response has a 2xx status code
func (*StopExecutionBadRequest) String ¶
func (o *StopExecutionBadRequest) String() string
type StopExecutionForbidden ¶
type StopExecutionForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*StopExecutionForbidden) IsClientError ¶
func (o *StopExecutionForbidden) IsClientError() bool
IsClientError returns true when this stop execution forbidden response has a 4xx status code
func (*StopExecutionForbidden) IsCode ¶
func (o *StopExecutionForbidden) IsCode(code int) bool
IsCode returns true when this stop execution forbidden response a status code equal to that given
func (*StopExecutionForbidden) IsRedirect ¶
func (o *StopExecutionForbidden) IsRedirect() bool
IsRedirect returns true when this stop execution forbidden response has a 3xx status code
func (*StopExecutionForbidden) IsServerError ¶
func (o *StopExecutionForbidden) IsServerError() bool
IsServerError returns true when this stop execution forbidden response has a 5xx status code
func (*StopExecutionForbidden) IsSuccess ¶
func (o *StopExecutionForbidden) IsSuccess() bool
IsSuccess returns true when this stop execution forbidden response has a 2xx status code
func (*StopExecutionForbidden) String ¶
func (o *StopExecutionForbidden) String() string
type StopExecutionInternalServerError ¶
type StopExecutionInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *StopExecutionInternalServerError) Error() string
func (*StopExecutionInternalServerError) GetPayload ¶
func (o *StopExecutionInternalServerError) GetPayload() *models.Errors
func (*StopExecutionInternalServerError) IsClientError ¶
func (o *StopExecutionInternalServerError) IsClientError() bool
IsClientError returns true when this stop execution internal server error response has a 4xx status code
func (*StopExecutionInternalServerError) IsCode ¶
func (o *StopExecutionInternalServerError) IsCode(code int) bool
IsCode returns true when this stop execution internal server error response a status code equal to that given
func (*StopExecutionInternalServerError) IsRedirect ¶
func (o *StopExecutionInternalServerError) IsRedirect() bool
IsRedirect returns true when this stop execution internal server error response has a 3xx status code
func (*StopExecutionInternalServerError) IsServerError ¶
func (o *StopExecutionInternalServerError) IsServerError() bool
IsServerError returns true when this stop execution internal server error response has a 5xx status code
func (*StopExecutionInternalServerError) IsSuccess ¶
func (o *StopExecutionInternalServerError) IsSuccess() bool
IsSuccess returns true when this stop execution internal server error response has a 2xx status code
func (*StopExecutionInternalServerError) String ¶
func (o *StopExecutionInternalServerError) String() string
type StopExecutionNotFound ¶
type StopExecutionNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*StopExecutionNotFound) IsClientError ¶
func (o *StopExecutionNotFound) IsClientError() bool
IsClientError returns true when this stop execution not found response has a 4xx status code
func (*StopExecutionNotFound) IsCode ¶
func (o *StopExecutionNotFound) IsCode(code int) bool
IsCode returns true when this stop execution not found response a status code equal to that given
func (*StopExecutionNotFound) IsRedirect ¶
func (o *StopExecutionNotFound) IsRedirect() bool
IsRedirect returns true when this stop execution not found response has a 3xx status code
func (*StopExecutionNotFound) IsServerError ¶
func (o *StopExecutionNotFound) IsServerError() bool
IsServerError returns true when this stop execution not found response has a 5xx status code
func (*StopExecutionNotFound) IsSuccess ¶
func (o *StopExecutionNotFound) IsSuccess() bool
IsSuccess returns true when this stop execution not found response has a 2xx status code
func (*StopExecutionNotFound) String ¶
func (o *StopExecutionNotFound) String() string
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
func (*StopExecutionOK) IsClientError ¶
func (o *StopExecutionOK) IsClientError() bool
IsClientError returns true when this stop execution o k response has a 4xx status code
func (*StopExecutionOK) IsCode ¶
func (o *StopExecutionOK) IsCode(code int) bool
IsCode returns true when this stop execution o k response a status code equal to that given
func (*StopExecutionOK) IsRedirect ¶
func (o *StopExecutionOK) IsRedirect() bool
IsRedirect returns true when this stop execution o k response has a 3xx status code
func (*StopExecutionOK) IsServerError ¶
func (o *StopExecutionOK) IsServerError() bool
IsServerError returns true when this stop execution o k response has a 5xx status code
func (*StopExecutionOK) IsSuccess ¶
func (o *StopExecutionOK) IsSuccess() bool
IsSuccess returns true when this stop execution o k response has a 2xx status code
func (*StopExecutionOK) String ¶
func (o *StopExecutionOK) String() string
type StopExecutionParams ¶
type StopExecutionParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Execution. The data of execution */ Execution *models.Execution /* ExecutionID. Execution ID */ ExecutionID int64 /* PreheatPolicyName. Preheat Policy Name */ PreheatPolicyName string /* ProjectName. The name of the project */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopExecutionParams contains all the parameters to send to the API endpoint
for the stop execution operation. Typically these are written to a http.Request.
func NewStopExecutionParams ¶
func NewStopExecutionParams() *StopExecutionParams
NewStopExecutionParams creates a new StopExecutionParams object, with the default 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 ¶
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 *models.Execution)
SetExecution adds the execution to the stop execution params
func (*StopExecutionParams) SetExecutionID ¶
func (o *StopExecutionParams) SetExecutionID(executionID int64)
SetExecutionID adds the executionId to the stop execution params
func (*StopExecutionParams) SetHTTPClient ¶
func (o *StopExecutionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop execution params
func (*StopExecutionParams) SetPreheatPolicyName ¶
func (o *StopExecutionParams) SetPreheatPolicyName(preheatPolicyName string)
SetPreheatPolicyName adds the preheatPolicyName to the stop execution params
func (*StopExecutionParams) SetProjectName ¶
func (o *StopExecutionParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the stop execution params
func (*StopExecutionParams) SetTimeout ¶
func (o *StopExecutionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop execution params
func (*StopExecutionParams) SetXRequestID ¶
func (o *StopExecutionParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the stop execution params
func (*StopExecutionParams) WithContext ¶
func (o *StopExecutionParams) WithContext(ctx context.Context) *StopExecutionParams
WithContext adds the context to the stop execution params
func (*StopExecutionParams) WithDefaults ¶
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 *models.Execution) *StopExecutionParams
WithExecution adds the execution to the stop execution params
func (*StopExecutionParams) WithExecutionID ¶
func (o *StopExecutionParams) WithExecutionID(executionID int64) *StopExecutionParams
WithExecutionID adds the executionID to the stop execution params
func (*StopExecutionParams) WithHTTPClient ¶
func (o *StopExecutionParams) WithHTTPClient(client *http.Client) *StopExecutionParams
WithHTTPClient adds the HTTPClient to the stop execution params
func (*StopExecutionParams) WithPreheatPolicyName ¶
func (o *StopExecutionParams) WithPreheatPolicyName(preheatPolicyName string) *StopExecutionParams
WithPreheatPolicyName adds the preheatPolicyName to the stop execution params
func (*StopExecutionParams) WithProjectName ¶
func (o *StopExecutionParams) WithProjectName(projectName string) *StopExecutionParams
WithProjectName adds the projectName to the stop execution params
func (*StopExecutionParams) WithTimeout ¶
func (o *StopExecutionParams) WithTimeout(timeout time.Duration) *StopExecutionParams
WithTimeout adds the timeout to the stop execution params
func (*StopExecutionParams) WithXRequestID ¶
func (o *StopExecutionParams) WithXRequestID(xRequestID *string) *StopExecutionParams
WithXRequestID adds the xRequestID to the stop execution params
func (*StopExecutionParams) WriteToRequest ¶
func (o *StopExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopExecutionReader ¶
type StopExecutionReader struct {
// contains filtered or unexported fields
}
StopExecutionReader is a Reader for the StopExecution structure.
func (*StopExecutionReader) ReadResponse ¶
func (o *StopExecutionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopExecutionUnauthorized ¶
type StopExecutionUnauthorized struct { string }XRequestID
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() *models.Errors
func (*StopExecutionUnauthorized) IsClientError ¶
func (o *StopExecutionUnauthorized) IsClientError() bool
IsClientError returns true when this stop execution unauthorized response has a 4xx status code
func (*StopExecutionUnauthorized) IsCode ¶
func (o *StopExecutionUnauthorized) IsCode(code int) bool
IsCode returns true when this stop execution unauthorized response a status code equal to that given
func (*StopExecutionUnauthorized) IsRedirect ¶
func (o *StopExecutionUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop execution unauthorized response has a 3xx status code
func (*StopExecutionUnauthorized) IsServerError ¶
func (o *StopExecutionUnauthorized) IsServerError() bool
IsServerError returns true when this stop execution unauthorized response has a 5xx status code
func (*StopExecutionUnauthorized) IsSuccess ¶
func (o *StopExecutionUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop execution unauthorized response has a 2xx status code
func (*StopExecutionUnauthorized) String ¶
func (o *StopExecutionUnauthorized) String() string
type UpdateInstanceBadRequest ¶
type UpdateInstanceBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*UpdateInstanceBadRequest) IsClientError ¶
func (o *UpdateInstanceBadRequest) IsClientError() bool
IsClientError returns true when this update instance bad request response has a 4xx status code
func (*UpdateInstanceBadRequest) IsCode ¶
func (o *UpdateInstanceBadRequest) IsCode(code int) bool
IsCode returns true when this update instance bad request response a status code equal to that given
func (*UpdateInstanceBadRequest) IsRedirect ¶
func (o *UpdateInstanceBadRequest) IsRedirect() bool
IsRedirect returns true when this update instance bad request response has a 3xx status code
func (*UpdateInstanceBadRequest) IsServerError ¶
func (o *UpdateInstanceBadRequest) IsServerError() bool
IsServerError returns true when this update instance bad request response has a 5xx status code
func (*UpdateInstanceBadRequest) IsSuccess ¶
func (o *UpdateInstanceBadRequest) IsSuccess() bool
IsSuccess returns true when this update instance bad request response has a 2xx status code
func (*UpdateInstanceBadRequest) String ¶
func (o *UpdateInstanceBadRequest) String() string
type UpdateInstanceForbidden ¶
type UpdateInstanceForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*UpdateInstanceForbidden) IsClientError ¶
func (o *UpdateInstanceForbidden) IsClientError() bool
IsClientError returns true when this update instance forbidden response has a 4xx status code
func (*UpdateInstanceForbidden) IsCode ¶
func (o *UpdateInstanceForbidden) IsCode(code int) bool
IsCode returns true when this update instance forbidden response a status code equal to that given
func (*UpdateInstanceForbidden) IsRedirect ¶
func (o *UpdateInstanceForbidden) IsRedirect() bool
IsRedirect returns true when this update instance forbidden response has a 3xx status code
func (*UpdateInstanceForbidden) IsServerError ¶
func (o *UpdateInstanceForbidden) IsServerError() bool
IsServerError returns true when this update instance forbidden response has a 5xx status code
func (*UpdateInstanceForbidden) IsSuccess ¶
func (o *UpdateInstanceForbidden) IsSuccess() bool
IsSuccess returns true when this update instance forbidden response has a 2xx status code
func (*UpdateInstanceForbidden) String ¶
func (o *UpdateInstanceForbidden) String() string
type UpdateInstanceInternalServerError ¶
type UpdateInstanceInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *UpdateInstanceInternalServerError) Error() string
func (*UpdateInstanceInternalServerError) GetPayload ¶
func (o *UpdateInstanceInternalServerError) GetPayload() *models.Errors
func (*UpdateInstanceInternalServerError) IsClientError ¶
func (o *UpdateInstanceInternalServerError) IsClientError() bool
IsClientError returns true when this update instance internal server error response has a 4xx status code
func (*UpdateInstanceInternalServerError) IsCode ¶
func (o *UpdateInstanceInternalServerError) IsCode(code int) bool
IsCode returns true when this update instance internal server error response a status code equal to that given
func (*UpdateInstanceInternalServerError) IsRedirect ¶
func (o *UpdateInstanceInternalServerError) IsRedirect() bool
IsRedirect returns true when this update instance internal server error response has a 3xx status code
func (*UpdateInstanceInternalServerError) IsServerError ¶
func (o *UpdateInstanceInternalServerError) IsServerError() bool
IsServerError returns true when this update instance internal server error response has a 5xx status code
func (*UpdateInstanceInternalServerError) IsSuccess ¶
func (o *UpdateInstanceInternalServerError) IsSuccess() bool
IsSuccess returns true when this update instance internal server error response has a 2xx status code
func (*UpdateInstanceInternalServerError) String ¶
func (o *UpdateInstanceInternalServerError) String() string
type UpdateInstanceNotFound ¶
type UpdateInstanceNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*UpdateInstanceNotFound) IsClientError ¶
func (o *UpdateInstanceNotFound) IsClientError() bool
IsClientError returns true when this update instance not found response has a 4xx status code
func (*UpdateInstanceNotFound) IsCode ¶
func (o *UpdateInstanceNotFound) IsCode(code int) bool
IsCode returns true when this update instance not found response a status code equal to that given
func (*UpdateInstanceNotFound) IsRedirect ¶
func (o *UpdateInstanceNotFound) IsRedirect() bool
IsRedirect returns true when this update instance not found response has a 3xx status code
func (*UpdateInstanceNotFound) IsServerError ¶
func (o *UpdateInstanceNotFound) IsServerError() bool
IsServerError returns true when this update instance not found response has a 5xx status code
func (*UpdateInstanceNotFound) IsSuccess ¶
func (o *UpdateInstanceNotFound) IsSuccess() bool
IsSuccess returns true when this update instance not found response has a 2xx status code
func (*UpdateInstanceNotFound) String ¶
func (o *UpdateInstanceNotFound) String() string
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
func (*UpdateInstanceOK) IsClientError ¶
func (o *UpdateInstanceOK) IsClientError() bool
IsClientError returns true when this update instance o k response has a 4xx status code
func (*UpdateInstanceOK) IsCode ¶
func (o *UpdateInstanceOK) IsCode(code int) bool
IsCode returns true when this update instance o k response a status code equal to that given
func (*UpdateInstanceOK) IsRedirect ¶
func (o *UpdateInstanceOK) IsRedirect() bool
IsRedirect returns true when this update instance o k response has a 3xx status code
func (*UpdateInstanceOK) IsServerError ¶
func (o *UpdateInstanceOK) IsServerError() bool
IsServerError returns true when this update instance o k response has a 5xx status code
func (*UpdateInstanceOK) IsSuccess ¶
func (o *UpdateInstanceOK) IsSuccess() bool
IsSuccess returns true when this update instance o k response has a 2xx status code
func (*UpdateInstanceOK) String ¶
func (o *UpdateInstanceOK) String() string
type UpdateInstanceParams ¶
type UpdateInstanceParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Instance. The instance to update */ Instance *models.Instance /* PreheatInstanceName. Instance Name */ PreheatInstanceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateInstanceParams contains all the parameters to send to the API endpoint
for the update instance operation. Typically these are written to a http.Request.
func NewUpdateInstanceParams ¶
func NewUpdateInstanceParams() *UpdateInstanceParams
NewUpdateInstanceParams creates a new UpdateInstanceParams object, with the default 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 ¶
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 *models.Instance)
SetInstance adds the instance to the update instance params
func (*UpdateInstanceParams) SetPreheatInstanceName ¶
func (o *UpdateInstanceParams) SetPreheatInstanceName(preheatInstanceName string)
SetPreheatInstanceName adds the preheatInstanceName to the update instance params
func (*UpdateInstanceParams) SetTimeout ¶
func (o *UpdateInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update instance params
func (*UpdateInstanceParams) SetXRequestID ¶
func (o *UpdateInstanceParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update instance params
func (*UpdateInstanceParams) WithContext ¶
func (o *UpdateInstanceParams) WithContext(ctx context.Context) *UpdateInstanceParams
WithContext adds the context to the update instance params
func (*UpdateInstanceParams) WithDefaults ¶
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 *models.Instance) *UpdateInstanceParams
WithInstance adds the instance to the update instance params
func (*UpdateInstanceParams) WithPreheatInstanceName ¶
func (o *UpdateInstanceParams) WithPreheatInstanceName(preheatInstanceName string) *UpdateInstanceParams
WithPreheatInstanceName adds the preheatInstanceName to the update instance params
func (*UpdateInstanceParams) WithTimeout ¶
func (o *UpdateInstanceParams) WithTimeout(timeout time.Duration) *UpdateInstanceParams
WithTimeout adds the timeout to the update instance params
func (*UpdateInstanceParams) WithXRequestID ¶
func (o *UpdateInstanceParams) WithXRequestID(xRequestID *string) *UpdateInstanceParams
WithXRequestID adds the xRequestID to the update instance params
func (*UpdateInstanceParams) WriteToRequest ¶
func (o *UpdateInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateInstanceReader ¶
type UpdateInstanceReader struct {
// contains filtered or unexported fields
}
UpdateInstanceReader is a Reader for the UpdateInstance structure.
func (*UpdateInstanceReader) ReadResponse ¶
func (o *UpdateInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateInstanceUnauthorized ¶
type UpdateInstanceUnauthorized struct { string }XRequestID
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 (o *UpdateInstanceUnauthorized) Error() string
func (*UpdateInstanceUnauthorized) GetPayload ¶
func (o *UpdateInstanceUnauthorized) GetPayload() *models.Errors
func (*UpdateInstanceUnauthorized) IsClientError ¶
func (o *UpdateInstanceUnauthorized) IsClientError() bool
IsClientError returns true when this update instance unauthorized response has a 4xx status code
func (*UpdateInstanceUnauthorized) IsCode ¶
func (o *UpdateInstanceUnauthorized) IsCode(code int) bool
IsCode returns true when this update instance unauthorized response a status code equal to that given
func (*UpdateInstanceUnauthorized) IsRedirect ¶
func (o *UpdateInstanceUnauthorized) IsRedirect() bool
IsRedirect returns true when this update instance unauthorized response has a 3xx status code
func (*UpdateInstanceUnauthorized) IsServerError ¶
func (o *UpdateInstanceUnauthorized) IsServerError() bool
IsServerError returns true when this update instance unauthorized response has a 5xx status code
func (*UpdateInstanceUnauthorized) IsSuccess ¶
func (o *UpdateInstanceUnauthorized) IsSuccess() bool
IsSuccess returns true when this update instance unauthorized response has a 2xx status code
func (*UpdateInstanceUnauthorized) String ¶
func (o *UpdateInstanceUnauthorized) String() string
type UpdatePolicyBadRequest ¶
type UpdatePolicyBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*UpdatePolicyBadRequest) IsClientError ¶
func (o *UpdatePolicyBadRequest) IsClientError() bool
IsClientError returns true when this update policy bad request response has a 4xx status code
func (*UpdatePolicyBadRequest) IsCode ¶
func (o *UpdatePolicyBadRequest) IsCode(code int) bool
IsCode returns true when this update policy bad request response a status code equal to that given
func (*UpdatePolicyBadRequest) IsRedirect ¶
func (o *UpdatePolicyBadRequest) IsRedirect() bool
IsRedirect returns true when this update policy bad request response has a 3xx status code
func (*UpdatePolicyBadRequest) IsServerError ¶
func (o *UpdatePolicyBadRequest) IsServerError() bool
IsServerError returns true when this update policy bad request response has a 5xx status code
func (*UpdatePolicyBadRequest) IsSuccess ¶
func (o *UpdatePolicyBadRequest) IsSuccess() bool
IsSuccess returns true when this update policy bad request response has a 2xx status code
func (*UpdatePolicyBadRequest) String ¶
func (o *UpdatePolicyBadRequest) String() string
type UpdatePolicyConflict ¶
type UpdatePolicyConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*UpdatePolicyConflict) IsClientError ¶
func (o *UpdatePolicyConflict) IsClientError() bool
IsClientError returns true when this update policy conflict response has a 4xx status code
func (*UpdatePolicyConflict) IsCode ¶
func (o *UpdatePolicyConflict) IsCode(code int) bool
IsCode returns true when this update policy conflict response a status code equal to that given
func (*UpdatePolicyConflict) IsRedirect ¶
func (o *UpdatePolicyConflict) IsRedirect() bool
IsRedirect returns true when this update policy conflict response has a 3xx status code
func (*UpdatePolicyConflict) IsServerError ¶
func (o *UpdatePolicyConflict) IsServerError() bool
IsServerError returns true when this update policy conflict response has a 5xx status code
func (*UpdatePolicyConflict) IsSuccess ¶
func (o *UpdatePolicyConflict) IsSuccess() bool
IsSuccess returns true when this update policy conflict response has a 2xx status code
func (*UpdatePolicyConflict) String ¶
func (o *UpdatePolicyConflict) String() string
type UpdatePolicyForbidden ¶
type UpdatePolicyForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*UpdatePolicyForbidden) IsClientError ¶
func (o *UpdatePolicyForbidden) IsClientError() bool
IsClientError returns true when this update policy forbidden response has a 4xx status code
func (*UpdatePolicyForbidden) IsCode ¶
func (o *UpdatePolicyForbidden) IsCode(code int) bool
IsCode returns true when this update policy forbidden response a status code equal to that given
func (*UpdatePolicyForbidden) IsRedirect ¶
func (o *UpdatePolicyForbidden) IsRedirect() bool
IsRedirect returns true when this update policy forbidden response has a 3xx status code
func (*UpdatePolicyForbidden) IsServerError ¶
func (o *UpdatePolicyForbidden) IsServerError() bool
IsServerError returns true when this update policy forbidden response has a 5xx status code
func (*UpdatePolicyForbidden) IsSuccess ¶
func (o *UpdatePolicyForbidden) IsSuccess() bool
IsSuccess returns true when this update policy forbidden response has a 2xx status code
func (*UpdatePolicyForbidden) String ¶
func (o *UpdatePolicyForbidden) String() string
type UpdatePolicyInternalServerError ¶
type UpdatePolicyInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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 (o *UpdatePolicyInternalServerError) Error() string
func (*UpdatePolicyInternalServerError) GetPayload ¶
func (o *UpdatePolicyInternalServerError) GetPayload() *models.Errors
func (*UpdatePolicyInternalServerError) IsClientError ¶
func (o *UpdatePolicyInternalServerError) IsClientError() bool
IsClientError returns true when this update policy internal server error response has a 4xx status code
func (*UpdatePolicyInternalServerError) IsCode ¶
func (o *UpdatePolicyInternalServerError) IsCode(code int) bool
IsCode returns true when this update policy internal server error response a status code equal to that given
func (*UpdatePolicyInternalServerError) IsRedirect ¶
func (o *UpdatePolicyInternalServerError) IsRedirect() bool
IsRedirect returns true when this update policy internal server error response has a 3xx status code
func (*UpdatePolicyInternalServerError) IsServerError ¶
func (o *UpdatePolicyInternalServerError) IsServerError() bool
IsServerError returns true when this update policy internal server error response has a 5xx status code
func (*UpdatePolicyInternalServerError) IsSuccess ¶
func (o *UpdatePolicyInternalServerError) IsSuccess() bool
IsSuccess returns true when this update policy internal server error response has a 2xx status code
func (*UpdatePolicyInternalServerError) String ¶
func (o *UpdatePolicyInternalServerError) String() string
type UpdatePolicyNotFound ¶
type UpdatePolicyNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.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() *models.Errors
func (*UpdatePolicyNotFound) IsClientError ¶
func (o *UpdatePolicyNotFound) IsClientError() bool
IsClientError returns true when this update policy not found response has a 4xx status code
func (*UpdatePolicyNotFound) IsCode ¶
func (o *UpdatePolicyNotFound) IsCode(code int) bool
IsCode returns true when this update policy not found response a status code equal to that given
func (*UpdatePolicyNotFound) IsRedirect ¶
func (o *UpdatePolicyNotFound) IsRedirect() bool
IsRedirect returns true when this update policy not found response has a 3xx status code
func (*UpdatePolicyNotFound) IsServerError ¶
func (o *UpdatePolicyNotFound) IsServerError() bool
IsServerError returns true when this update policy not found response has a 5xx status code
func (*UpdatePolicyNotFound) IsSuccess ¶
func (o *UpdatePolicyNotFound) IsSuccess() bool
IsSuccess returns true when this update policy not found response has a 2xx status code
func (*UpdatePolicyNotFound) String ¶
func (o *UpdatePolicyNotFound) String() string
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
func (*UpdatePolicyOK) IsClientError ¶
func (o *UpdatePolicyOK) IsClientError() bool
IsClientError returns true when this update policy o k response has a 4xx status code
func (*UpdatePolicyOK) IsCode ¶
func (o *UpdatePolicyOK) IsCode(code int) bool
IsCode returns true when this update policy o k response a status code equal to that given
func (*UpdatePolicyOK) IsRedirect ¶
func (o *UpdatePolicyOK) IsRedirect() bool
IsRedirect returns true when this update policy o k response has a 3xx status code
func (*UpdatePolicyOK) IsServerError ¶
func (o *UpdatePolicyOK) IsServerError() bool
IsServerError returns true when this update policy o k response has a 5xx status code
func (*UpdatePolicyOK) IsSuccess ¶
func (o *UpdatePolicyOK) IsSuccess() bool
IsSuccess returns true when this update policy o k response has a 2xx status code
func (*UpdatePolicyOK) String ¶
func (o *UpdatePolicyOK) String() string
type UpdatePolicyParams ¶
type UpdatePolicyParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Policy. The policy schema info */ Policy *models.PreheatPolicy /* PreheatPolicyName. Preheat Policy Name */ PreheatPolicyName string /* ProjectName. The name of the project */ ProjectName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePolicyParams contains all the parameters to send to the API endpoint
for the update policy operation. Typically these are written to a http.Request.
func NewUpdatePolicyParams ¶
func NewUpdatePolicyParams() *UpdatePolicyParams
NewUpdatePolicyParams creates a new UpdatePolicyParams object, with the default 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 ¶
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 *models.PreheatPolicy)
SetPolicy adds the policy to the update policy params
func (*UpdatePolicyParams) SetPreheatPolicyName ¶
func (o *UpdatePolicyParams) SetPreheatPolicyName(preheatPolicyName string)
SetPreheatPolicyName adds the preheatPolicyName to the update policy params
func (*UpdatePolicyParams) SetProjectName ¶
func (o *UpdatePolicyParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the update policy params
func (*UpdatePolicyParams) SetTimeout ¶
func (o *UpdatePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update policy params
func (*UpdatePolicyParams) SetXRequestID ¶
func (o *UpdatePolicyParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update policy params
func (*UpdatePolicyParams) WithContext ¶
func (o *UpdatePolicyParams) WithContext(ctx context.Context) *UpdatePolicyParams
WithContext adds the context to the update policy params
func (*UpdatePolicyParams) WithDefaults ¶
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 *models.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 { string }XRequestID
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() *models.Errors
func (*UpdatePolicyUnauthorized) IsClientError ¶
func (o *UpdatePolicyUnauthorized) IsClientError() bool
IsClientError returns true when this update policy unauthorized response has a 4xx status code
func (*UpdatePolicyUnauthorized) IsCode ¶
func (o *UpdatePolicyUnauthorized) IsCode(code int) bool
IsCode returns true when this update policy unauthorized response a status code equal to that given
func (*UpdatePolicyUnauthorized) IsRedirect ¶
func (o *UpdatePolicyUnauthorized) IsRedirect() bool
IsRedirect returns true when this update policy unauthorized response has a 3xx status code
func (*UpdatePolicyUnauthorized) IsServerError ¶
func (o *UpdatePolicyUnauthorized) IsServerError() bool
IsServerError returns true when this update policy unauthorized response has a 5xx status code
func (*UpdatePolicyUnauthorized) IsSuccess ¶
func (o *UpdatePolicyUnauthorized) IsSuccess() bool
IsSuccess returns true when this update policy unauthorized response has a 2xx status code
func (*UpdatePolicyUnauthorized) String ¶
func (o *UpdatePolicyUnauthorized) String() string
Source Files ¶
- create_instance_parameters.go
- create_instance_responses.go
- create_policy_parameters.go
- create_policy_responses.go
- delete_instance_parameters.go
- delete_instance_responses.go
- delete_policy_parameters.go
- delete_policy_responses.go
- get_execution_parameters.go
- get_execution_responses.go
- get_instance_parameters.go
- get_instance_responses.go
- get_policy_parameters.go
- get_policy_responses.go
- get_preheat_log_parameters.go
- get_preheat_log_responses.go
- list_executions_parameters.go
- list_executions_responses.go
- list_instances_parameters.go
- list_instances_responses.go
- list_policies_parameters.go
- list_policies_responses.go
- list_providers_parameters.go
- list_providers_responses.go
- list_providers_under_project_parameters.go
- list_providers_under_project_responses.go
- list_tasks_parameters.go
- list_tasks_responses.go
- manual_preheat_parameters.go
- manual_preheat_responses.go
- ping_instances_parameters.go
- ping_instances_responses.go
- preheat_client.go
- stop_execution_parameters.go
- stop_execution_responses.go
- update_instance_parameters.go
- update_instance_responses.go
- update_policy_parameters.go
- update_policy_responses.go