Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPrecheckTask(params *GetPrecheckTaskParams, opts ...ClientOption) (*GetPrecheckTaskOK, error)
- func (a *Client) PrecheckSystem(params *PrecheckSystemParams, opts ...ClientOption) (*PrecheckSystemOK, *PrecheckSystemAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetPrecheckTaskInternalServerError
- func (o *GetPrecheckTaskInternalServerError) Error() string
- func (o *GetPrecheckTaskInternalServerError) GetPayload() *models.Error
- func (o *GetPrecheckTaskInternalServerError) IsClientError() bool
- func (o *GetPrecheckTaskInternalServerError) IsCode(code int) bool
- func (o *GetPrecheckTaskInternalServerError) IsRedirect() bool
- func (o *GetPrecheckTaskInternalServerError) IsServerError() bool
- func (o *GetPrecheckTaskInternalServerError) IsSuccess() bool
- func (o *GetPrecheckTaskInternalServerError) String() string
- type GetPrecheckTaskNotFound
- func (o *GetPrecheckTaskNotFound) Error() string
- func (o *GetPrecheckTaskNotFound) GetPayload() *models.Error
- func (o *GetPrecheckTaskNotFound) IsClientError() bool
- func (o *GetPrecheckTaskNotFound) IsCode(code int) bool
- func (o *GetPrecheckTaskNotFound) IsRedirect() bool
- func (o *GetPrecheckTaskNotFound) IsServerError() bool
- func (o *GetPrecheckTaskNotFound) IsSuccess() bool
- func (o *GetPrecheckTaskNotFound) String() string
- type GetPrecheckTaskOK
- func (o *GetPrecheckTaskOK) Error() string
- func (o *GetPrecheckTaskOK) GetPayload() *models.Task
- func (o *GetPrecheckTaskOK) IsClientError() bool
- func (o *GetPrecheckTaskOK) IsCode(code int) bool
- func (o *GetPrecheckTaskOK) IsRedirect() bool
- func (o *GetPrecheckTaskOK) IsServerError() bool
- func (o *GetPrecheckTaskOK) IsSuccess() bool
- func (o *GetPrecheckTaskOK) String() string
- type GetPrecheckTaskParams
- func NewGetPrecheckTaskParams() *GetPrecheckTaskParams
- func NewGetPrecheckTaskParamsWithContext(ctx context.Context) *GetPrecheckTaskParams
- func NewGetPrecheckTaskParamsWithHTTPClient(client *http.Client) *GetPrecheckTaskParams
- func NewGetPrecheckTaskParamsWithTimeout(timeout time.Duration) *GetPrecheckTaskParams
- func (o *GetPrecheckTaskParams) SetContext(ctx context.Context)
- func (o *GetPrecheckTaskParams) SetDefaults()
- func (o *GetPrecheckTaskParams) SetHTTPClient(client *http.Client)
- func (o *GetPrecheckTaskParams) SetID(id string)
- func (o *GetPrecheckTaskParams) SetTimeout(timeout time.Duration)
- func (o *GetPrecheckTaskParams) WithContext(ctx context.Context) *GetPrecheckTaskParams
- func (o *GetPrecheckTaskParams) WithDefaults() *GetPrecheckTaskParams
- func (o *GetPrecheckTaskParams) WithHTTPClient(client *http.Client) *GetPrecheckTaskParams
- func (o *GetPrecheckTaskParams) WithID(id string) *GetPrecheckTaskParams
- func (o *GetPrecheckTaskParams) WithTimeout(timeout time.Duration) *GetPrecheckTaskParams
- func (o *GetPrecheckTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrecheckTaskReader
- type PrecheckSystemAccepted
- func (o *PrecheckSystemAccepted) Error() string
- func (o *PrecheckSystemAccepted) GetPayload() *models.Task
- func (o *PrecheckSystemAccepted) IsClientError() bool
- func (o *PrecheckSystemAccepted) IsCode(code int) bool
- func (o *PrecheckSystemAccepted) IsRedirect() bool
- func (o *PrecheckSystemAccepted) IsServerError() bool
- func (o *PrecheckSystemAccepted) IsSuccess() bool
- func (o *PrecheckSystemAccepted) String() string
- type PrecheckSystemBadRequest
- func (o *PrecheckSystemBadRequest) Error() string
- func (o *PrecheckSystemBadRequest) GetPayload() *models.Error
- func (o *PrecheckSystemBadRequest) IsClientError() bool
- func (o *PrecheckSystemBadRequest) IsCode(code int) bool
- func (o *PrecheckSystemBadRequest) IsRedirect() bool
- func (o *PrecheckSystemBadRequest) IsServerError() bool
- func (o *PrecheckSystemBadRequest) IsSuccess() bool
- func (o *PrecheckSystemBadRequest) String() string
- type PrecheckSystemInternalServerError
- func (o *PrecheckSystemInternalServerError) Error() string
- func (o *PrecheckSystemInternalServerError) GetPayload() *models.Error
- func (o *PrecheckSystemInternalServerError) IsClientError() bool
- func (o *PrecheckSystemInternalServerError) IsCode(code int) bool
- func (o *PrecheckSystemInternalServerError) IsRedirect() bool
- func (o *PrecheckSystemInternalServerError) IsServerError() bool
- func (o *PrecheckSystemInternalServerError) IsSuccess() bool
- func (o *PrecheckSystemInternalServerError) String() string
- type PrecheckSystemOK
- func (o *PrecheckSystemOK) Error() string
- func (o *PrecheckSystemOK) GetPayload() *models.Task
- func (o *PrecheckSystemOK) IsClientError() bool
- func (o *PrecheckSystemOK) IsCode(code int) bool
- func (o *PrecheckSystemOK) IsRedirect() bool
- func (o *PrecheckSystemOK) IsServerError() bool
- func (o *PrecheckSystemOK) IsSuccess() bool
- func (o *PrecheckSystemOK) String() string
- type PrecheckSystemParams
- func NewPrecheckSystemParams() *PrecheckSystemParams
- func NewPrecheckSystemParamsWithContext(ctx context.Context) *PrecheckSystemParams
- func NewPrecheckSystemParamsWithHTTPClient(client *http.Client) *PrecheckSystemParams
- func NewPrecheckSystemParamsWithTimeout(timeout time.Duration) *PrecheckSystemParams
- func (o *PrecheckSystemParams) SetContext(ctx context.Context)
- func (o *PrecheckSystemParams) SetDefaults()
- func (o *PrecheckSystemParams) SetHTTPClient(client *http.Client)
- func (o *PrecheckSystemParams) SetPrecheckSpec(precheckSpec *models.PrecheckSpec)
- func (o *PrecheckSystemParams) SetTimeout(timeout time.Duration)
- func (o *PrecheckSystemParams) WithContext(ctx context.Context) *PrecheckSystemParams
- func (o *PrecheckSystemParams) WithDefaults() *PrecheckSystemParams
- func (o *PrecheckSystemParams) WithHTTPClient(client *http.Client) *PrecheckSystemParams
- func (o *PrecheckSystemParams) WithPrecheckSpec(precheckSpec *models.PrecheckSpec) *PrecheckSystemParams
- func (o *PrecheckSystemParams) WithTimeout(timeout time.Duration) *PrecheckSystemParams
- func (o *PrecheckSystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PrecheckSystemReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for system prechecks API
func (*Client) GetPrecheckTask ¶ added in v0.1.1
func (a *Client) GetPrecheckTask(params *GetPrecheckTaskParams, opts ...ClientOption) (*GetPrecheckTaskOK, error)
GetPrecheckTask gets precheck task by ID
Monitor the progress of precheck task by the precheck task ID
func (*Client) PrecheckSystem ¶
func (a *Client) PrecheckSystem(params *PrecheckSystemParams, opts ...ClientOption) (*PrecheckSystemOK, *PrecheckSystemAccepted, error)
PrecheckSystem prechecks system
Perform precheck of resource(ex: Domain, Cluster). If only resource is specified, all resources/software components under it are included. If resource(Domain, Cluster etc) and specific resources/software components are provided, only those are included in precheck
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetPrecheckTask(params *GetPrecheckTaskParams, opts ...ClientOption) (*GetPrecheckTaskOK, error) PrecheckSystem(params *PrecheckSystemParams, opts ...ClientOption) (*PrecheckSystemOK, *PrecheckSystemAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new system prechecks API client.
type GetPrecheckTaskInternalServerError ¶ added in v0.1.1
GetPrecheckTaskInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetPrecheckTaskInternalServerError ¶ added in v0.1.1
func NewGetPrecheckTaskInternalServerError() *GetPrecheckTaskInternalServerError
NewGetPrecheckTaskInternalServerError creates a GetPrecheckTaskInternalServerError with default headers values
func (*GetPrecheckTaskInternalServerError) Error ¶ added in v0.1.1
func (o *GetPrecheckTaskInternalServerError) Error() string
func (*GetPrecheckTaskInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetPrecheckTaskInternalServerError) GetPayload() *models.Error
func (*GetPrecheckTaskInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetPrecheckTaskInternalServerError) IsClientError() bool
IsClientError returns true when this get precheck task internal server error response has a 4xx status code
func (*GetPrecheckTaskInternalServerError) IsCode ¶ added in v0.1.1
func (o *GetPrecheckTaskInternalServerError) IsCode(code int) bool
IsCode returns true when this get precheck task internal server error response a status code equal to that given
func (*GetPrecheckTaskInternalServerError) IsRedirect ¶ added in v0.1.1
func (o *GetPrecheckTaskInternalServerError) IsRedirect() bool
IsRedirect returns true when this get precheck task internal server error response has a 3xx status code
func (*GetPrecheckTaskInternalServerError) IsServerError ¶ added in v0.1.1
func (o *GetPrecheckTaskInternalServerError) IsServerError() bool
IsServerError returns true when this get precheck task internal server error response has a 5xx status code
func (*GetPrecheckTaskInternalServerError) IsSuccess ¶ added in v0.1.1
func (o *GetPrecheckTaskInternalServerError) IsSuccess() bool
IsSuccess returns true when this get precheck task internal server error response has a 2xx status code
func (*GetPrecheckTaskInternalServerError) String ¶ added in v0.1.1
func (o *GetPrecheckTaskInternalServerError) String() string
type GetPrecheckTaskNotFound ¶ added in v0.1.1
GetPrecheckTaskNotFound describes a response with status code 404, with default header values.
Precheck Task Not Found
func NewGetPrecheckTaskNotFound ¶ added in v0.1.1
func NewGetPrecheckTaskNotFound() *GetPrecheckTaskNotFound
NewGetPrecheckTaskNotFound creates a GetPrecheckTaskNotFound with default headers values
func (*GetPrecheckTaskNotFound) Error ¶ added in v0.1.1
func (o *GetPrecheckTaskNotFound) Error() string
func (*GetPrecheckTaskNotFound) GetPayload ¶ added in v0.1.1
func (o *GetPrecheckTaskNotFound) GetPayload() *models.Error
func (*GetPrecheckTaskNotFound) IsClientError ¶ added in v0.1.1
func (o *GetPrecheckTaskNotFound) IsClientError() bool
IsClientError returns true when this get precheck task not found response has a 4xx status code
func (*GetPrecheckTaskNotFound) IsCode ¶ added in v0.1.1
func (o *GetPrecheckTaskNotFound) IsCode(code int) bool
IsCode returns true when this get precheck task not found response a status code equal to that given
func (*GetPrecheckTaskNotFound) IsRedirect ¶ added in v0.1.1
func (o *GetPrecheckTaskNotFound) IsRedirect() bool
IsRedirect returns true when this get precheck task not found response has a 3xx status code
func (*GetPrecheckTaskNotFound) IsServerError ¶ added in v0.1.1
func (o *GetPrecheckTaskNotFound) IsServerError() bool
IsServerError returns true when this get precheck task not found response has a 5xx status code
func (*GetPrecheckTaskNotFound) IsSuccess ¶ added in v0.1.1
func (o *GetPrecheckTaskNotFound) IsSuccess() bool
IsSuccess returns true when this get precheck task not found response has a 2xx status code
func (*GetPrecheckTaskNotFound) String ¶ added in v0.1.1
func (o *GetPrecheckTaskNotFound) String() string
type GetPrecheckTaskOK ¶ added in v0.1.1
GetPrecheckTaskOK describes a response with status code 200, with default header values.
Ok
func NewGetPrecheckTaskOK ¶ added in v0.1.1
func NewGetPrecheckTaskOK() *GetPrecheckTaskOK
NewGetPrecheckTaskOK creates a GetPrecheckTaskOK with default headers values
func (*GetPrecheckTaskOK) Error ¶ added in v0.1.1
func (o *GetPrecheckTaskOK) Error() string
func (*GetPrecheckTaskOK) GetPayload ¶ added in v0.1.1
func (o *GetPrecheckTaskOK) GetPayload() *models.Task
func (*GetPrecheckTaskOK) IsClientError ¶ added in v0.1.1
func (o *GetPrecheckTaskOK) IsClientError() bool
IsClientError returns true when this get precheck task o k response has a 4xx status code
func (*GetPrecheckTaskOK) IsCode ¶ added in v0.1.1
func (o *GetPrecheckTaskOK) IsCode(code int) bool
IsCode returns true when this get precheck task o k response a status code equal to that given
func (*GetPrecheckTaskOK) IsRedirect ¶ added in v0.1.1
func (o *GetPrecheckTaskOK) IsRedirect() bool
IsRedirect returns true when this get precheck task o k response has a 3xx status code
func (*GetPrecheckTaskOK) IsServerError ¶ added in v0.1.1
func (o *GetPrecheckTaskOK) IsServerError() bool
IsServerError returns true when this get precheck task o k response has a 5xx status code
func (*GetPrecheckTaskOK) IsSuccess ¶ added in v0.1.1
func (o *GetPrecheckTaskOK) IsSuccess() bool
IsSuccess returns true when this get precheck task o k response has a 2xx status code
func (*GetPrecheckTaskOK) String ¶ added in v0.1.1
func (o *GetPrecheckTaskOK) String() string
type GetPrecheckTaskParams ¶ added in v0.1.1
type GetPrecheckTaskParams struct { /* ID. Precheck Task ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrecheckTaskParams contains all the parameters to send to the API endpoint
for the get precheck task operation. Typically these are written to a http.Request.
func NewGetPrecheckTaskParams ¶ added in v0.1.1
func NewGetPrecheckTaskParams() *GetPrecheckTaskParams
NewGetPrecheckTaskParams creates a new GetPrecheckTaskParams 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 NewGetPrecheckTaskParamsWithContext ¶ added in v0.1.1
func NewGetPrecheckTaskParamsWithContext(ctx context.Context) *GetPrecheckTaskParams
NewGetPrecheckTaskParamsWithContext creates a new GetPrecheckTaskParams object with the ability to set a context for a request.
func NewGetPrecheckTaskParamsWithHTTPClient ¶ added in v0.1.1
func NewGetPrecheckTaskParamsWithHTTPClient(client *http.Client) *GetPrecheckTaskParams
NewGetPrecheckTaskParamsWithHTTPClient creates a new GetPrecheckTaskParams object with the ability to set a custom HTTPClient for a request.
func NewGetPrecheckTaskParamsWithTimeout ¶ added in v0.1.1
func NewGetPrecheckTaskParamsWithTimeout(timeout time.Duration) *GetPrecheckTaskParams
NewGetPrecheckTaskParamsWithTimeout creates a new GetPrecheckTaskParams object with the ability to set a timeout on a request.
func (*GetPrecheckTaskParams) SetContext ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) SetContext(ctx context.Context)
SetContext adds the context to the get precheck task params
func (*GetPrecheckTaskParams) SetDefaults ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) SetDefaults()
SetDefaults hydrates default values in the get precheck task params (not the query body).
All values with no default are reset to their zero value.
func (*GetPrecheckTaskParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get precheck task params
func (*GetPrecheckTaskParams) SetID ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) SetID(id string)
SetID adds the id to the get precheck task params
func (*GetPrecheckTaskParams) SetTimeout ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get precheck task params
func (*GetPrecheckTaskParams) WithContext ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) WithContext(ctx context.Context) *GetPrecheckTaskParams
WithContext adds the context to the get precheck task params
func (*GetPrecheckTaskParams) WithDefaults ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) WithDefaults() *GetPrecheckTaskParams
WithDefaults hydrates default values in the get precheck task params (not the query body).
All values with no default are reset to their zero value.
func (*GetPrecheckTaskParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) WithHTTPClient(client *http.Client) *GetPrecheckTaskParams
WithHTTPClient adds the HTTPClient to the get precheck task params
func (*GetPrecheckTaskParams) WithID ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) WithID(id string) *GetPrecheckTaskParams
WithID adds the id to the get precheck task params
func (*GetPrecheckTaskParams) WithTimeout ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) WithTimeout(timeout time.Duration) *GetPrecheckTaskParams
WithTimeout adds the timeout to the get precheck task params
func (*GetPrecheckTaskParams) WriteToRequest ¶ added in v0.1.1
func (o *GetPrecheckTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrecheckTaskReader ¶ added in v0.1.1
type GetPrecheckTaskReader struct {
// contains filtered or unexported fields
}
GetPrecheckTaskReader is a Reader for the GetPrecheckTask structure.
func (*GetPrecheckTaskReader) ReadResponse ¶ added in v0.1.1
func (o *GetPrecheckTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PrecheckSystemAccepted ¶
PrecheckSystemAccepted describes a response with status code 202, with default header values.
Accepted
func NewPrecheckSystemAccepted ¶
func NewPrecheckSystemAccepted() *PrecheckSystemAccepted
NewPrecheckSystemAccepted creates a PrecheckSystemAccepted with default headers values
func (*PrecheckSystemAccepted) Error ¶
func (o *PrecheckSystemAccepted) Error() string
func (*PrecheckSystemAccepted) GetPayload ¶
func (o *PrecheckSystemAccepted) GetPayload() *models.Task
func (*PrecheckSystemAccepted) IsClientError ¶
func (o *PrecheckSystemAccepted) IsClientError() bool
IsClientError returns true when this precheck system accepted response has a 4xx status code
func (*PrecheckSystemAccepted) IsCode ¶
func (o *PrecheckSystemAccepted) IsCode(code int) bool
IsCode returns true when this precheck system accepted response a status code equal to that given
func (*PrecheckSystemAccepted) IsRedirect ¶
func (o *PrecheckSystemAccepted) IsRedirect() bool
IsRedirect returns true when this precheck system accepted response has a 3xx status code
func (*PrecheckSystemAccepted) IsServerError ¶
func (o *PrecheckSystemAccepted) IsServerError() bool
IsServerError returns true when this precheck system accepted response has a 5xx status code
func (*PrecheckSystemAccepted) IsSuccess ¶
func (o *PrecheckSystemAccepted) IsSuccess() bool
IsSuccess returns true when this precheck system accepted response has a 2xx status code
func (*PrecheckSystemAccepted) String ¶
func (o *PrecheckSystemAccepted) String() string
type PrecheckSystemBadRequest ¶
PrecheckSystemBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPrecheckSystemBadRequest ¶
func NewPrecheckSystemBadRequest() *PrecheckSystemBadRequest
NewPrecheckSystemBadRequest creates a PrecheckSystemBadRequest with default headers values
func (*PrecheckSystemBadRequest) Error ¶
func (o *PrecheckSystemBadRequest) Error() string
func (*PrecheckSystemBadRequest) GetPayload ¶
func (o *PrecheckSystemBadRequest) GetPayload() *models.Error
func (*PrecheckSystemBadRequest) IsClientError ¶
func (o *PrecheckSystemBadRequest) IsClientError() bool
IsClientError returns true when this precheck system bad request response has a 4xx status code
func (*PrecheckSystemBadRequest) IsCode ¶
func (o *PrecheckSystemBadRequest) IsCode(code int) bool
IsCode returns true when this precheck system bad request response a status code equal to that given
func (*PrecheckSystemBadRequest) IsRedirect ¶
func (o *PrecheckSystemBadRequest) IsRedirect() bool
IsRedirect returns true when this precheck system bad request response has a 3xx status code
func (*PrecheckSystemBadRequest) IsServerError ¶
func (o *PrecheckSystemBadRequest) IsServerError() bool
IsServerError returns true when this precheck system bad request response has a 5xx status code
func (*PrecheckSystemBadRequest) IsSuccess ¶
func (o *PrecheckSystemBadRequest) IsSuccess() bool
IsSuccess returns true when this precheck system bad request response has a 2xx status code
func (*PrecheckSystemBadRequest) String ¶
func (o *PrecheckSystemBadRequest) String() string
type PrecheckSystemInternalServerError ¶
PrecheckSystemInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPrecheckSystemInternalServerError ¶
func NewPrecheckSystemInternalServerError() *PrecheckSystemInternalServerError
NewPrecheckSystemInternalServerError creates a PrecheckSystemInternalServerError with default headers values
func (*PrecheckSystemInternalServerError) Error ¶
func (o *PrecheckSystemInternalServerError) Error() string
func (*PrecheckSystemInternalServerError) GetPayload ¶
func (o *PrecheckSystemInternalServerError) GetPayload() *models.Error
func (*PrecheckSystemInternalServerError) IsClientError ¶
func (o *PrecheckSystemInternalServerError) IsClientError() bool
IsClientError returns true when this precheck system internal server error response has a 4xx status code
func (*PrecheckSystemInternalServerError) IsCode ¶
func (o *PrecheckSystemInternalServerError) IsCode(code int) bool
IsCode returns true when this precheck system internal server error response a status code equal to that given
func (*PrecheckSystemInternalServerError) IsRedirect ¶
func (o *PrecheckSystemInternalServerError) IsRedirect() bool
IsRedirect returns true when this precheck system internal server error response has a 3xx status code
func (*PrecheckSystemInternalServerError) IsServerError ¶
func (o *PrecheckSystemInternalServerError) IsServerError() bool
IsServerError returns true when this precheck system internal server error response has a 5xx status code
func (*PrecheckSystemInternalServerError) IsSuccess ¶
func (o *PrecheckSystemInternalServerError) IsSuccess() bool
IsSuccess returns true when this precheck system internal server error response has a 2xx status code
func (*PrecheckSystemInternalServerError) String ¶
func (o *PrecheckSystemInternalServerError) String() string
type PrecheckSystemOK ¶
PrecheckSystemOK describes a response with status code 200, with default header values.
OK
func NewPrecheckSystemOK ¶
func NewPrecheckSystemOK() *PrecheckSystemOK
NewPrecheckSystemOK creates a PrecheckSystemOK with default headers values
func (*PrecheckSystemOK) Error ¶
func (o *PrecheckSystemOK) Error() string
func (*PrecheckSystemOK) GetPayload ¶
func (o *PrecheckSystemOK) GetPayload() *models.Task
func (*PrecheckSystemOK) IsClientError ¶
func (o *PrecheckSystemOK) IsClientError() bool
IsClientError returns true when this precheck system o k response has a 4xx status code
func (*PrecheckSystemOK) IsCode ¶
func (o *PrecheckSystemOK) IsCode(code int) bool
IsCode returns true when this precheck system o k response a status code equal to that given
func (*PrecheckSystemOK) IsRedirect ¶
func (o *PrecheckSystemOK) IsRedirect() bool
IsRedirect returns true when this precheck system o k response has a 3xx status code
func (*PrecheckSystemOK) IsServerError ¶
func (o *PrecheckSystemOK) IsServerError() bool
IsServerError returns true when this precheck system o k response has a 5xx status code
func (*PrecheckSystemOK) IsSuccess ¶
func (o *PrecheckSystemOK) IsSuccess() bool
IsSuccess returns true when this precheck system o k response has a 2xx status code
func (*PrecheckSystemOK) String ¶
func (o *PrecheckSystemOK) String() string
type PrecheckSystemParams ¶
type PrecheckSystemParams struct { /* PrecheckSpec. Precheck System Spec */ PrecheckSpec *models.PrecheckSpec Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PrecheckSystemParams contains all the parameters to send to the API endpoint
for the precheck system operation. Typically these are written to a http.Request.
func NewPrecheckSystemParams ¶
func NewPrecheckSystemParams() *PrecheckSystemParams
NewPrecheckSystemParams creates a new PrecheckSystemParams 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 NewPrecheckSystemParamsWithContext ¶
func NewPrecheckSystemParamsWithContext(ctx context.Context) *PrecheckSystemParams
NewPrecheckSystemParamsWithContext creates a new PrecheckSystemParams object with the ability to set a context for a request.
func NewPrecheckSystemParamsWithHTTPClient ¶
func NewPrecheckSystemParamsWithHTTPClient(client *http.Client) *PrecheckSystemParams
NewPrecheckSystemParamsWithHTTPClient creates a new PrecheckSystemParams object with the ability to set a custom HTTPClient for a request.
func NewPrecheckSystemParamsWithTimeout ¶
func NewPrecheckSystemParamsWithTimeout(timeout time.Duration) *PrecheckSystemParams
NewPrecheckSystemParamsWithTimeout creates a new PrecheckSystemParams object with the ability to set a timeout on a request.
func (*PrecheckSystemParams) SetContext ¶
func (o *PrecheckSystemParams) SetContext(ctx context.Context)
SetContext adds the context to the precheck system params
func (*PrecheckSystemParams) SetDefaults ¶
func (o *PrecheckSystemParams) SetDefaults()
SetDefaults hydrates default values in the precheck system params (not the query body).
All values with no default are reset to their zero value.
func (*PrecheckSystemParams) SetHTTPClient ¶
func (o *PrecheckSystemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the precheck system params
func (*PrecheckSystemParams) SetPrecheckSpec ¶
func (o *PrecheckSystemParams) SetPrecheckSpec(precheckSpec *models.PrecheckSpec)
SetPrecheckSpec adds the precheckSpec to the precheck system params
func (*PrecheckSystemParams) SetTimeout ¶
func (o *PrecheckSystemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the precheck system params
func (*PrecheckSystemParams) WithContext ¶
func (o *PrecheckSystemParams) WithContext(ctx context.Context) *PrecheckSystemParams
WithContext adds the context to the precheck system params
func (*PrecheckSystemParams) WithDefaults ¶
func (o *PrecheckSystemParams) WithDefaults() *PrecheckSystemParams
WithDefaults hydrates default values in the precheck system params (not the query body).
All values with no default are reset to their zero value.
func (*PrecheckSystemParams) WithHTTPClient ¶
func (o *PrecheckSystemParams) WithHTTPClient(client *http.Client) *PrecheckSystemParams
WithHTTPClient adds the HTTPClient to the precheck system params
func (*PrecheckSystemParams) WithPrecheckSpec ¶
func (o *PrecheckSystemParams) WithPrecheckSpec(precheckSpec *models.PrecheckSpec) *PrecheckSystemParams
WithPrecheckSpec adds the precheckSpec to the precheck system params
func (*PrecheckSystemParams) WithTimeout ¶
func (o *PrecheckSystemParams) WithTimeout(timeout time.Duration) *PrecheckSystemParams
WithTimeout adds the timeout to the precheck system params
func (*PrecheckSystemParams) WriteToRequest ¶
func (o *PrecheckSystemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PrecheckSystemReader ¶
type PrecheckSystemReader struct {
// contains filtered or unexported fields
}
PrecheckSystemReader is a Reader for the PrecheckSystem structure.
func (*PrecheckSystemReader) ReadResponse ¶
func (o *PrecheckSystemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.