Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateHost(params *CreateHostParams, opts ...ClientOption) (*CreateHostOK, error)
- func (a *Client) EnterMaintenanceMode(params *EnterMaintenanceModeParams, opts ...ClientOption) (*EnterMaintenanceModeOK, error)
- func (a *Client) EnterMaintenanceModePreCheck(params *EnterMaintenanceModePreCheckParams, opts ...ClientOption) (*EnterMaintenanceModePreCheckOK, error)
- func (a *Client) EnterMaintenanceModePrecheckResult(params *EnterMaintenanceModePrecheckResultParams, opts ...ClientOption) (*EnterMaintenanceModePrecheckResultOK, error)
- func (a *Client) ExitMaintenanceMode(params *ExitMaintenanceModeParams, opts ...ClientOption) (*ExitMaintenanceModeOK, error)
- func (a *Client) ExitMaintenanceModePrecheckResult(params *ExitMaintenanceModePrecheckResultParams, opts ...ClientOption) (*ExitMaintenanceModePrecheckResultOK, error)
- func (a *Client) GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error)
- func (a *Client) GetHostsConnection(params *GetHostsConnectionParams, opts ...ClientOption) (*GetHostsConnectionOK, error)
- func (a *Client) PowerOffHost(params *PowerOffHostParams, opts ...ClientOption) (*PowerOffHostOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TriggerDiskBlink(params *TriggerDiskBlinkParams, opts ...ClientOption) (*TriggerDiskBlinkOK, error)
- func (a *Client) UpdateHost(params *UpdateHostParams, opts ...ClientOption) (*UpdateHostOK, error)
- type ClientOption
- type ClientService
- type CreateHostBadRequest
- type CreateHostInternalServerError
- type CreateHostNotFound
- type CreateHostOK
- type CreateHostParams
- func (o *CreateHostParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateHostParams) SetContext(ctx context.Context)
- func (o *CreateHostParams) SetDefaults()
- func (o *CreateHostParams) SetHTTPClient(client *http.Client)
- func (o *CreateHostParams) SetRequestBody(requestBody []*models.HostCreationParams)
- func (o *CreateHostParams) SetTimeout(timeout time.Duration)
- func (o *CreateHostParams) WithContentLanguage(contentLanguage *string) *CreateHostParams
- func (o *CreateHostParams) WithContext(ctx context.Context) *CreateHostParams
- func (o *CreateHostParams) WithDefaults() *CreateHostParams
- func (o *CreateHostParams) WithHTTPClient(client *http.Client) *CreateHostParams
- func (o *CreateHostParams) WithRequestBody(requestBody []*models.HostCreationParams) *CreateHostParams
- func (o *CreateHostParams) WithTimeout(timeout time.Duration) *CreateHostParams
- func (o *CreateHostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHostReader
- type EnterMaintenanceModeBadRequest
- type EnterMaintenanceModeInternalServerError
- type EnterMaintenanceModeNotFound
- type EnterMaintenanceModeOK
- type EnterMaintenanceModeParams
- func NewEnterMaintenanceModeParams() *EnterMaintenanceModeParams
- func NewEnterMaintenanceModeParamsWithContext(ctx context.Context) *EnterMaintenanceModeParams
- func NewEnterMaintenanceModeParamsWithHTTPClient(client *http.Client) *EnterMaintenanceModeParams
- func NewEnterMaintenanceModeParamsWithTimeout(timeout time.Duration) *EnterMaintenanceModeParams
- func (o *EnterMaintenanceModeParams) SetContentLanguage(contentLanguage *string)
- func (o *EnterMaintenanceModeParams) SetContext(ctx context.Context)
- func (o *EnterMaintenanceModeParams) SetDefaults()
- func (o *EnterMaintenanceModeParams) SetHTTPClient(client *http.Client)
- func (o *EnterMaintenanceModeParams) SetRequestBody(requestBody *models.EnterMaintenanceModeParams)
- func (o *EnterMaintenanceModeParams) SetTimeout(timeout time.Duration)
- func (o *EnterMaintenanceModeParams) WithContentLanguage(contentLanguage *string) *EnterMaintenanceModeParams
- func (o *EnterMaintenanceModeParams) WithContext(ctx context.Context) *EnterMaintenanceModeParams
- func (o *EnterMaintenanceModeParams) WithDefaults() *EnterMaintenanceModeParams
- func (o *EnterMaintenanceModeParams) WithHTTPClient(client *http.Client) *EnterMaintenanceModeParams
- func (o *EnterMaintenanceModeParams) WithRequestBody(requestBody *models.EnterMaintenanceModeParams) *EnterMaintenanceModeParams
- func (o *EnterMaintenanceModeParams) WithTimeout(timeout time.Duration) *EnterMaintenanceModeParams
- func (o *EnterMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnterMaintenanceModePreCheckBadRequest
- type EnterMaintenanceModePreCheckInternalServerError
- type EnterMaintenanceModePreCheckNotFound
- type EnterMaintenanceModePreCheckOK
- type EnterMaintenanceModePreCheckParams
- func NewEnterMaintenanceModePreCheckParams() *EnterMaintenanceModePreCheckParams
- func NewEnterMaintenanceModePreCheckParamsWithContext(ctx context.Context) *EnterMaintenanceModePreCheckParams
- func NewEnterMaintenanceModePreCheckParamsWithHTTPClient(client *http.Client) *EnterMaintenanceModePreCheckParams
- func NewEnterMaintenanceModePreCheckParamsWithTimeout(timeout time.Duration) *EnterMaintenanceModePreCheckParams
- func (o *EnterMaintenanceModePreCheckParams) SetContentLanguage(contentLanguage *string)
- func (o *EnterMaintenanceModePreCheckParams) SetContext(ctx context.Context)
- func (o *EnterMaintenanceModePreCheckParams) SetDefaults()
- func (o *EnterMaintenanceModePreCheckParams) SetHTTPClient(client *http.Client)
- func (o *EnterMaintenanceModePreCheckParams) SetRequestBody(requestBody *models.EnterMaintenanceModeCheckParams)
- func (o *EnterMaintenanceModePreCheckParams) SetTimeout(timeout time.Duration)
- func (o *EnterMaintenanceModePreCheckParams) WithContentLanguage(contentLanguage *string) *EnterMaintenanceModePreCheckParams
- func (o *EnterMaintenanceModePreCheckParams) WithContext(ctx context.Context) *EnterMaintenanceModePreCheckParams
- func (o *EnterMaintenanceModePreCheckParams) WithDefaults() *EnterMaintenanceModePreCheckParams
- func (o *EnterMaintenanceModePreCheckParams) WithHTTPClient(client *http.Client) *EnterMaintenanceModePreCheckParams
- func (o *EnterMaintenanceModePreCheckParams) WithRequestBody(requestBody *models.EnterMaintenanceModeCheckParams) *EnterMaintenanceModePreCheckParams
- func (o *EnterMaintenanceModePreCheckParams) WithTimeout(timeout time.Duration) *EnterMaintenanceModePreCheckParams
- func (o *EnterMaintenanceModePreCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnterMaintenanceModePreCheckReader
- type EnterMaintenanceModePrecheckResultBadRequest
- type EnterMaintenanceModePrecheckResultInternalServerError
- type EnterMaintenanceModePrecheckResultNotFound
- type EnterMaintenanceModePrecheckResultOK
- type EnterMaintenanceModePrecheckResultParams
- func NewEnterMaintenanceModePrecheckResultParams() *EnterMaintenanceModePrecheckResultParams
- func NewEnterMaintenanceModePrecheckResultParamsWithContext(ctx context.Context) *EnterMaintenanceModePrecheckResultParams
- func NewEnterMaintenanceModePrecheckResultParamsWithHTTPClient(client *http.Client) *EnterMaintenanceModePrecheckResultParams
- func NewEnterMaintenanceModePrecheckResultParamsWithTimeout(timeout time.Duration) *EnterMaintenanceModePrecheckResultParams
- func (o *EnterMaintenanceModePrecheckResultParams) SetContentLanguage(contentLanguage *string)
- func (o *EnterMaintenanceModePrecheckResultParams) SetContext(ctx context.Context)
- func (o *EnterMaintenanceModePrecheckResultParams) SetDefaults()
- func (o *EnterMaintenanceModePrecheckResultParams) SetHTTPClient(client *http.Client)
- func (o *EnterMaintenanceModePrecheckResultParams) SetRequestBody(requestBody *models.EnterMaintenanceModeResultParams)
- func (o *EnterMaintenanceModePrecheckResultParams) SetTimeout(timeout time.Duration)
- func (o *EnterMaintenanceModePrecheckResultParams) WithContentLanguage(contentLanguage *string) *EnterMaintenanceModePrecheckResultParams
- func (o *EnterMaintenanceModePrecheckResultParams) WithContext(ctx context.Context) *EnterMaintenanceModePrecheckResultParams
- func (o *EnterMaintenanceModePrecheckResultParams) WithDefaults() *EnterMaintenanceModePrecheckResultParams
- func (o *EnterMaintenanceModePrecheckResultParams) WithHTTPClient(client *http.Client) *EnterMaintenanceModePrecheckResultParams
- func (o *EnterMaintenanceModePrecheckResultParams) WithRequestBody(requestBody *models.EnterMaintenanceModeResultParams) *EnterMaintenanceModePrecheckResultParams
- func (o *EnterMaintenanceModePrecheckResultParams) WithTimeout(timeout time.Duration) *EnterMaintenanceModePrecheckResultParams
- func (o *EnterMaintenanceModePrecheckResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnterMaintenanceModePrecheckResultReader
- type EnterMaintenanceModeReader
- type ExitMaintenanceModeBadRequest
- type ExitMaintenanceModeInternalServerError
- type ExitMaintenanceModeNotFound
- type ExitMaintenanceModeOK
- type ExitMaintenanceModeParams
- func NewExitMaintenanceModeParams() *ExitMaintenanceModeParams
- func NewExitMaintenanceModeParamsWithContext(ctx context.Context) *ExitMaintenanceModeParams
- func NewExitMaintenanceModeParamsWithHTTPClient(client *http.Client) *ExitMaintenanceModeParams
- func NewExitMaintenanceModeParamsWithTimeout(timeout time.Duration) *ExitMaintenanceModeParams
- func (o *ExitMaintenanceModeParams) SetContentLanguage(contentLanguage *string)
- func (o *ExitMaintenanceModeParams) SetContext(ctx context.Context)
- func (o *ExitMaintenanceModeParams) SetDefaults()
- func (o *ExitMaintenanceModeParams) SetHTTPClient(client *http.Client)
- func (o *ExitMaintenanceModeParams) SetRequestBody(requestBody *models.ExitMaintenanceModeParams)
- func (o *ExitMaintenanceModeParams) SetTimeout(timeout time.Duration)
- func (o *ExitMaintenanceModeParams) WithContentLanguage(contentLanguage *string) *ExitMaintenanceModeParams
- func (o *ExitMaintenanceModeParams) WithContext(ctx context.Context) *ExitMaintenanceModeParams
- func (o *ExitMaintenanceModeParams) WithDefaults() *ExitMaintenanceModeParams
- func (o *ExitMaintenanceModeParams) WithHTTPClient(client *http.Client) *ExitMaintenanceModeParams
- func (o *ExitMaintenanceModeParams) WithRequestBody(requestBody *models.ExitMaintenanceModeParams) *ExitMaintenanceModeParams
- func (o *ExitMaintenanceModeParams) WithTimeout(timeout time.Duration) *ExitMaintenanceModeParams
- func (o *ExitMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExitMaintenanceModePrecheckResultBadRequest
- type ExitMaintenanceModePrecheckResultInternalServerError
- type ExitMaintenanceModePrecheckResultNotFound
- type ExitMaintenanceModePrecheckResultOK
- type ExitMaintenanceModePrecheckResultParams
- func NewExitMaintenanceModePrecheckResultParams() *ExitMaintenanceModePrecheckResultParams
- func NewExitMaintenanceModePrecheckResultParamsWithContext(ctx context.Context) *ExitMaintenanceModePrecheckResultParams
- func NewExitMaintenanceModePrecheckResultParamsWithHTTPClient(client *http.Client) *ExitMaintenanceModePrecheckResultParams
- func NewExitMaintenanceModePrecheckResultParamsWithTimeout(timeout time.Duration) *ExitMaintenanceModePrecheckResultParams
- func (o *ExitMaintenanceModePrecheckResultParams) SetContentLanguage(contentLanguage *string)
- func (o *ExitMaintenanceModePrecheckResultParams) SetContext(ctx context.Context)
- func (o *ExitMaintenanceModePrecheckResultParams) SetDefaults()
- func (o *ExitMaintenanceModePrecheckResultParams) SetHTTPClient(client *http.Client)
- func (o *ExitMaintenanceModePrecheckResultParams) SetRequestBody(requestBody *models.ExitMaintenanceModeResultParams)
- func (o *ExitMaintenanceModePrecheckResultParams) SetTimeout(timeout time.Duration)
- func (o *ExitMaintenanceModePrecheckResultParams) WithContentLanguage(contentLanguage *string) *ExitMaintenanceModePrecheckResultParams
- func (o *ExitMaintenanceModePrecheckResultParams) WithContext(ctx context.Context) *ExitMaintenanceModePrecheckResultParams
- func (o *ExitMaintenanceModePrecheckResultParams) WithDefaults() *ExitMaintenanceModePrecheckResultParams
- func (o *ExitMaintenanceModePrecheckResultParams) WithHTTPClient(client *http.Client) *ExitMaintenanceModePrecheckResultParams
- func (o *ExitMaintenanceModePrecheckResultParams) WithRequestBody(requestBody *models.ExitMaintenanceModeResultParams) *ExitMaintenanceModePrecheckResultParams
- func (o *ExitMaintenanceModePrecheckResultParams) WithTimeout(timeout time.Duration) *ExitMaintenanceModePrecheckResultParams
- func (o *ExitMaintenanceModePrecheckResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExitMaintenanceModePrecheckResultReader
- type ExitMaintenanceModeReader
- type GetHostsBadRequest
- type GetHostsConnectionBadRequest
- type GetHostsConnectionInternalServerError
- type GetHostsConnectionNotFound
- type GetHostsConnectionOK
- type GetHostsConnectionParams
- func NewGetHostsConnectionParams() *GetHostsConnectionParams
- func NewGetHostsConnectionParamsWithContext(ctx context.Context) *GetHostsConnectionParams
- func NewGetHostsConnectionParamsWithHTTPClient(client *http.Client) *GetHostsConnectionParams
- func NewGetHostsConnectionParamsWithTimeout(timeout time.Duration) *GetHostsConnectionParams
- func (o *GetHostsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetHostsConnectionParams) SetContext(ctx context.Context)
- func (o *GetHostsConnectionParams) SetDefaults()
- func (o *GetHostsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetHostsConnectionParams) SetRequestBody(requestBody *models.GetHostsConnectionRequestBody)
- func (o *GetHostsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetHostsConnectionParams) WithContentLanguage(contentLanguage *string) *GetHostsConnectionParams
- func (o *GetHostsConnectionParams) WithContext(ctx context.Context) *GetHostsConnectionParams
- func (o *GetHostsConnectionParams) WithDefaults() *GetHostsConnectionParams
- func (o *GetHostsConnectionParams) WithHTTPClient(client *http.Client) *GetHostsConnectionParams
- func (o *GetHostsConnectionParams) WithRequestBody(requestBody *models.GetHostsConnectionRequestBody) *GetHostsConnectionParams
- func (o *GetHostsConnectionParams) WithTimeout(timeout time.Duration) *GetHostsConnectionParams
- func (o *GetHostsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHostsConnectionReader
- type GetHostsInternalServerError
- type GetHostsNotFound
- type GetHostsOK
- type GetHostsParams
- func (o *GetHostsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetHostsParams) SetContext(ctx context.Context)
- func (o *GetHostsParams) SetDefaults()
- func (o *GetHostsParams) SetHTTPClient(client *http.Client)
- func (o *GetHostsParams) SetRequestBody(requestBody *models.GetHostsRequestBody)
- func (o *GetHostsParams) SetTimeout(timeout time.Duration)
- func (o *GetHostsParams) WithContentLanguage(contentLanguage *string) *GetHostsParams
- func (o *GetHostsParams) WithContext(ctx context.Context) *GetHostsParams
- func (o *GetHostsParams) WithDefaults() *GetHostsParams
- func (o *GetHostsParams) WithHTTPClient(client *http.Client) *GetHostsParams
- func (o *GetHostsParams) WithRequestBody(requestBody *models.GetHostsRequestBody) *GetHostsParams
- func (o *GetHostsParams) WithTimeout(timeout time.Duration) *GetHostsParams
- func (o *GetHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHostsReader
- type PowerOffHostBadRequest
- type PowerOffHostInternalServerError
- type PowerOffHostNotFound
- type PowerOffHostOK
- type PowerOffHostParams
- func (o *PowerOffHostParams) SetContentLanguage(contentLanguage *string)
- func (o *PowerOffHostParams) SetContext(ctx context.Context)
- func (o *PowerOffHostParams) SetDefaults()
- func (o *PowerOffHostParams) SetHTTPClient(client *http.Client)
- func (o *PowerOffHostParams) SetRequestBody(requestBody *models.OperateHostPowerParams)
- func (o *PowerOffHostParams) SetTimeout(timeout time.Duration)
- func (o *PowerOffHostParams) WithContentLanguage(contentLanguage *string) *PowerOffHostParams
- func (o *PowerOffHostParams) WithContext(ctx context.Context) *PowerOffHostParams
- func (o *PowerOffHostParams) WithDefaults() *PowerOffHostParams
- func (o *PowerOffHostParams) WithHTTPClient(client *http.Client) *PowerOffHostParams
- func (o *PowerOffHostParams) WithRequestBody(requestBody *models.OperateHostPowerParams) *PowerOffHostParams
- func (o *PowerOffHostParams) WithTimeout(timeout time.Duration) *PowerOffHostParams
- func (o *PowerOffHostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PowerOffHostReader
- type TriggerDiskBlinkBadRequest
- type TriggerDiskBlinkInternalServerError
- type TriggerDiskBlinkNotFound
- type TriggerDiskBlinkOK
- type TriggerDiskBlinkParams
- func NewTriggerDiskBlinkParams() *TriggerDiskBlinkParams
- func NewTriggerDiskBlinkParamsWithContext(ctx context.Context) *TriggerDiskBlinkParams
- func NewTriggerDiskBlinkParamsWithHTTPClient(client *http.Client) *TriggerDiskBlinkParams
- func NewTriggerDiskBlinkParamsWithTimeout(timeout time.Duration) *TriggerDiskBlinkParams
- func (o *TriggerDiskBlinkParams) SetContentLanguage(contentLanguage *string)
- func (o *TriggerDiskBlinkParams) SetContext(ctx context.Context)
- func (o *TriggerDiskBlinkParams) SetDefaults()
- func (o *TriggerDiskBlinkParams) SetHTTPClient(client *http.Client)
- func (o *TriggerDiskBlinkParams) SetRequestBody(requestBody []*models.TriggerDiskBlinkParams)
- func (o *TriggerDiskBlinkParams) SetTimeout(timeout time.Duration)
- func (o *TriggerDiskBlinkParams) WithContentLanguage(contentLanguage *string) *TriggerDiskBlinkParams
- func (o *TriggerDiskBlinkParams) WithContext(ctx context.Context) *TriggerDiskBlinkParams
- func (o *TriggerDiskBlinkParams) WithDefaults() *TriggerDiskBlinkParams
- func (o *TriggerDiskBlinkParams) WithHTTPClient(client *http.Client) *TriggerDiskBlinkParams
- func (o *TriggerDiskBlinkParams) WithRequestBody(requestBody []*models.TriggerDiskBlinkParams) *TriggerDiskBlinkParams
- func (o *TriggerDiskBlinkParams) WithTimeout(timeout time.Duration) *TriggerDiskBlinkParams
- func (o *TriggerDiskBlinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TriggerDiskBlinkReader
- type UpdateHostBadRequest
- type UpdateHostInternalServerError
- type UpdateHostNotFound
- type UpdateHostOK
- type UpdateHostParams
- func (o *UpdateHostParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateHostParams) SetContext(ctx context.Context)
- func (o *UpdateHostParams) SetDefaults()
- func (o *UpdateHostParams) SetHTTPClient(client *http.Client)
- func (o *UpdateHostParams) SetRequestBody(requestBody *models.HostUpdationParams)
- func (o *UpdateHostParams) SetTimeout(timeout time.Duration)
- func (o *UpdateHostParams) WithContentLanguage(contentLanguage *string) *UpdateHostParams
- func (o *UpdateHostParams) WithContext(ctx context.Context) *UpdateHostParams
- func (o *UpdateHostParams) WithDefaults() *UpdateHostParams
- func (o *UpdateHostParams) WithHTTPClient(client *http.Client) *UpdateHostParams
- func (o *UpdateHostParams) WithRequestBody(requestBody *models.HostUpdationParams) *UpdateHostParams
- func (o *UpdateHostParams) WithTimeout(timeout time.Duration) *UpdateHostParams
- func (o *UpdateHostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateHostReader
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 host API
func (*Client) CreateHost ¶
func (a *Client) CreateHost(params *CreateHostParams, opts ...ClientOption) (*CreateHostOK, error)
CreateHost create host API
func (*Client) EnterMaintenanceMode ¶ added in v2.14.0
func (a *Client) EnterMaintenanceMode(params *EnterMaintenanceModeParams, opts ...ClientOption) (*EnterMaintenanceModeOK, error)
EnterMaintenanceMode enter maintenance mode API
func (*Client) EnterMaintenanceModePreCheck ¶ added in v2.14.0
func (a *Client) EnterMaintenanceModePreCheck(params *EnterMaintenanceModePreCheckParams, opts ...ClientOption) (*EnterMaintenanceModePreCheckOK, error)
EnterMaintenanceModePreCheck enter maintenance mode pre check API
func (*Client) EnterMaintenanceModePrecheckResult ¶ added in v2.14.0
func (a *Client) EnterMaintenanceModePrecheckResult(params *EnterMaintenanceModePrecheckResultParams, opts ...ClientOption) (*EnterMaintenanceModePrecheckResultOK, error)
EnterMaintenanceModePrecheckResult enter maintenance mode precheck result API
func (*Client) ExitMaintenanceMode ¶ added in v2.14.0
func (a *Client) ExitMaintenanceMode(params *ExitMaintenanceModeParams, opts ...ClientOption) (*ExitMaintenanceModeOK, error)
ExitMaintenanceMode exit maintenance mode API
func (*Client) ExitMaintenanceModePrecheckResult ¶ added in v2.14.0
func (a *Client) ExitMaintenanceModePrecheckResult(params *ExitMaintenanceModePrecheckResultParams, opts ...ClientOption) (*ExitMaintenanceModePrecheckResultOK, error)
ExitMaintenanceModePrecheckResult exit maintenance mode precheck result API
func (*Client) GetHosts ¶
func (a *Client) GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error)
GetHosts get hosts API
func (*Client) GetHostsConnection ¶
func (a *Client) GetHostsConnection(params *GetHostsConnectionParams, opts ...ClientOption) (*GetHostsConnectionOK, error)
GetHostsConnection get hosts connection API
func (*Client) PowerOffHost ¶ added in v2.14.0
func (a *Client) PowerOffHost(params *PowerOffHostParams, opts ...ClientOption) (*PowerOffHostOK, error)
PowerOffHost power off host API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TriggerDiskBlink ¶
func (a *Client) TriggerDiskBlink(params *TriggerDiskBlinkParams, opts ...ClientOption) (*TriggerDiskBlinkOK, error)
TriggerDiskBlink trigger disk blink API
func (*Client) UpdateHost ¶
func (a *Client) UpdateHost(params *UpdateHostParams, opts ...ClientOption) (*UpdateHostOK, error)
UpdateHost update host API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateHost(params *CreateHostParams, opts ...ClientOption) (*CreateHostOK, error) EnterMaintenanceMode(params *EnterMaintenanceModeParams, opts ...ClientOption) (*EnterMaintenanceModeOK, error) EnterMaintenanceModePreCheck(params *EnterMaintenanceModePreCheckParams, opts ...ClientOption) (*EnterMaintenanceModePreCheckOK, error) EnterMaintenanceModePrecheckResult(params *EnterMaintenanceModePrecheckResultParams, opts ...ClientOption) (*EnterMaintenanceModePrecheckResultOK, error) ExitMaintenanceMode(params *ExitMaintenanceModeParams, opts ...ClientOption) (*ExitMaintenanceModeOK, error) ExitMaintenanceModePrecheckResult(params *ExitMaintenanceModePrecheckResultParams, opts ...ClientOption) (*ExitMaintenanceModePrecheckResultOK, error) GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error) GetHostsConnection(params *GetHostsConnectionParams, opts ...ClientOption) (*GetHostsConnectionOK, error) PowerOffHost(params *PowerOffHostParams, opts ...ClientOption) (*PowerOffHostOK, error) TriggerDiskBlink(params *TriggerDiskBlinkParams, opts ...ClientOption) (*TriggerDiskBlinkOK, error) UpdateHost(params *UpdateHostParams, opts ...ClientOption) (*UpdateHostOK, 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 host API client.
type CreateHostBadRequest ¶
CreateHostBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateHostBadRequest ¶
func NewCreateHostBadRequest() *CreateHostBadRequest
NewCreateHostBadRequest creates a CreateHostBadRequest with default headers values
func (*CreateHostBadRequest) Error ¶
func (o *CreateHostBadRequest) Error() string
func (*CreateHostBadRequest) GetPayload ¶
func (o *CreateHostBadRequest) GetPayload() *models.ErrorBody
type CreateHostInternalServerError ¶
CreateHostInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateHostInternalServerError ¶
func NewCreateHostInternalServerError() *CreateHostInternalServerError
NewCreateHostInternalServerError creates a CreateHostInternalServerError with default headers values
func (*CreateHostInternalServerError) Error ¶
func (o *CreateHostInternalServerError) Error() string
func (*CreateHostInternalServerError) GetPayload ¶
func (o *CreateHostInternalServerError) GetPayload() *models.ErrorBody
type CreateHostNotFound ¶
CreateHostNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateHostNotFound ¶
func NewCreateHostNotFound() *CreateHostNotFound
NewCreateHostNotFound creates a CreateHostNotFound with default headers values
func (*CreateHostNotFound) Error ¶
func (o *CreateHostNotFound) Error() string
func (*CreateHostNotFound) GetPayload ¶
func (o *CreateHostNotFound) GetPayload() *models.ErrorBody
type CreateHostOK ¶
type CreateHostOK struct { XTowerRequestID string Payload []*models.WithTaskBatchHosts }
CreateHostOK describes a response with status code 200, with default header values.
CreateHostOK create host o k
func NewCreateHostOK ¶
func NewCreateHostOK() *CreateHostOK
NewCreateHostOK creates a CreateHostOK with default headers values
func (*CreateHostOK) Error ¶
func (o *CreateHostOK) Error() string
func (*CreateHostOK) GetPayload ¶
func (o *CreateHostOK) GetPayload() []*models.WithTaskBatchHosts
type CreateHostParams ¶
type CreateHostParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.HostCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateHostParams contains all the parameters to send to the API endpoint
for the create host operation. Typically these are written to a http.Request.
func NewCreateHostParams ¶
func NewCreateHostParams() *CreateHostParams
NewCreateHostParams creates a new CreateHostParams 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 NewCreateHostParamsWithContext ¶
func NewCreateHostParamsWithContext(ctx context.Context) *CreateHostParams
NewCreateHostParamsWithContext creates a new CreateHostParams object with the ability to set a context for a request.
func NewCreateHostParamsWithHTTPClient ¶
func NewCreateHostParamsWithHTTPClient(client *http.Client) *CreateHostParams
NewCreateHostParamsWithHTTPClient creates a new CreateHostParams object with the ability to set a custom HTTPClient for a request.
func NewCreateHostParamsWithTimeout ¶
func NewCreateHostParamsWithTimeout(timeout time.Duration) *CreateHostParams
NewCreateHostParamsWithTimeout creates a new CreateHostParams object with the ability to set a timeout on a request.
func (*CreateHostParams) SetContentLanguage ¶
func (o *CreateHostParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create host params
func (*CreateHostParams) SetContext ¶
func (o *CreateHostParams) SetContext(ctx context.Context)
SetContext adds the context to the create host params
func (*CreateHostParams) SetDefaults ¶
func (o *CreateHostParams) SetDefaults()
SetDefaults hydrates default values in the create host params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHostParams) SetHTTPClient ¶
func (o *CreateHostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create host params
func (*CreateHostParams) SetRequestBody ¶
func (o *CreateHostParams) SetRequestBody(requestBody []*models.HostCreationParams)
SetRequestBody adds the requestBody to the create host params
func (*CreateHostParams) SetTimeout ¶
func (o *CreateHostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create host params
func (*CreateHostParams) WithContentLanguage ¶
func (o *CreateHostParams) WithContentLanguage(contentLanguage *string) *CreateHostParams
WithContentLanguage adds the contentLanguage to the create host params
func (*CreateHostParams) WithContext ¶
func (o *CreateHostParams) WithContext(ctx context.Context) *CreateHostParams
WithContext adds the context to the create host params
func (*CreateHostParams) WithDefaults ¶
func (o *CreateHostParams) WithDefaults() *CreateHostParams
WithDefaults hydrates default values in the create host params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHostParams) WithHTTPClient ¶
func (o *CreateHostParams) WithHTTPClient(client *http.Client) *CreateHostParams
WithHTTPClient adds the HTTPClient to the create host params
func (*CreateHostParams) WithRequestBody ¶
func (o *CreateHostParams) WithRequestBody(requestBody []*models.HostCreationParams) *CreateHostParams
WithRequestBody adds the requestBody to the create host params
func (*CreateHostParams) WithTimeout ¶
func (o *CreateHostParams) WithTimeout(timeout time.Duration) *CreateHostParams
WithTimeout adds the timeout to the create host params
func (*CreateHostParams) WriteToRequest ¶
func (o *CreateHostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHostReader ¶
type CreateHostReader struct {
// contains filtered or unexported fields
}
CreateHostReader is a Reader for the CreateHost structure.
func (*CreateHostReader) ReadResponse ¶
func (o *CreateHostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnterMaintenanceModeBadRequest ¶ added in v2.14.0
EnterMaintenanceModeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewEnterMaintenanceModeBadRequest ¶ added in v2.14.0
func NewEnterMaintenanceModeBadRequest() *EnterMaintenanceModeBadRequest
NewEnterMaintenanceModeBadRequest creates a EnterMaintenanceModeBadRequest with default headers values
func (*EnterMaintenanceModeBadRequest) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModeBadRequest) Error() string
func (*EnterMaintenanceModeBadRequest) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModeBadRequest) GetPayload() *models.ErrorBody
type EnterMaintenanceModeInternalServerError ¶ added in v2.14.0
type EnterMaintenanceModeInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
EnterMaintenanceModeInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEnterMaintenanceModeInternalServerError ¶ added in v2.14.0
func NewEnterMaintenanceModeInternalServerError() *EnterMaintenanceModeInternalServerError
NewEnterMaintenanceModeInternalServerError creates a EnterMaintenanceModeInternalServerError with default headers values
func (*EnterMaintenanceModeInternalServerError) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModeInternalServerError) Error() string
func (*EnterMaintenanceModeInternalServerError) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModeInternalServerError) GetPayload() *models.ErrorBody
type EnterMaintenanceModeNotFound ¶ added in v2.14.0
EnterMaintenanceModeNotFound describes a response with status code 404, with default header values.
Not found
func NewEnterMaintenanceModeNotFound ¶ added in v2.14.0
func NewEnterMaintenanceModeNotFound() *EnterMaintenanceModeNotFound
NewEnterMaintenanceModeNotFound creates a EnterMaintenanceModeNotFound with default headers values
func (*EnterMaintenanceModeNotFound) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModeNotFound) Error() string
func (*EnterMaintenanceModeNotFound) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModeNotFound) GetPayload() *models.ErrorBody
type EnterMaintenanceModeOK ¶ added in v2.14.0
type EnterMaintenanceModeOK struct { XTowerRequestID string Payload *models.WithTaskHost }
EnterMaintenanceModeOK describes a response with status code 200, with default header values.
EnterMaintenanceModeOK enter maintenance mode o k
func NewEnterMaintenanceModeOK ¶ added in v2.14.0
func NewEnterMaintenanceModeOK() *EnterMaintenanceModeOK
NewEnterMaintenanceModeOK creates a EnterMaintenanceModeOK with default headers values
func (*EnterMaintenanceModeOK) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModeOK) Error() string
func (*EnterMaintenanceModeOK) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModeOK) GetPayload() *models.WithTaskHost
type EnterMaintenanceModeParams ¶ added in v2.14.0
type EnterMaintenanceModeParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.EnterMaintenanceModeParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnterMaintenanceModeParams contains all the parameters to send to the API endpoint
for the enter maintenance mode operation. Typically these are written to a http.Request.
func NewEnterMaintenanceModeParams ¶ added in v2.14.0
func NewEnterMaintenanceModeParams() *EnterMaintenanceModeParams
NewEnterMaintenanceModeParams creates a new EnterMaintenanceModeParams 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 NewEnterMaintenanceModeParamsWithContext ¶ added in v2.14.0
func NewEnterMaintenanceModeParamsWithContext(ctx context.Context) *EnterMaintenanceModeParams
NewEnterMaintenanceModeParamsWithContext creates a new EnterMaintenanceModeParams object with the ability to set a context for a request.
func NewEnterMaintenanceModeParamsWithHTTPClient ¶ added in v2.14.0
func NewEnterMaintenanceModeParamsWithHTTPClient(client *http.Client) *EnterMaintenanceModeParams
NewEnterMaintenanceModeParamsWithHTTPClient creates a new EnterMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.
func NewEnterMaintenanceModeParamsWithTimeout ¶ added in v2.14.0
func NewEnterMaintenanceModeParamsWithTimeout(timeout time.Duration) *EnterMaintenanceModeParams
NewEnterMaintenanceModeParamsWithTimeout creates a new EnterMaintenanceModeParams object with the ability to set a timeout on a request.
func (*EnterMaintenanceModeParams) SetContentLanguage ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the enter maintenance mode params
func (*EnterMaintenanceModeParams) SetContext ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) SetContext(ctx context.Context)
SetContext adds the context to the enter maintenance mode params
func (*EnterMaintenanceModeParams) SetDefaults ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) SetDefaults()
SetDefaults hydrates default values in the enter maintenance mode params (not the query body).
All values with no default are reset to their zero value.
func (*EnterMaintenanceModeParams) SetHTTPClient ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enter maintenance mode params
func (*EnterMaintenanceModeParams) SetRequestBody ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) SetRequestBody(requestBody *models.EnterMaintenanceModeParams)
SetRequestBody adds the requestBody to the enter maintenance mode params
func (*EnterMaintenanceModeParams) SetTimeout ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enter maintenance mode params
func (*EnterMaintenanceModeParams) WithContentLanguage ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) WithContentLanguage(contentLanguage *string) *EnterMaintenanceModeParams
WithContentLanguage adds the contentLanguage to the enter maintenance mode params
func (*EnterMaintenanceModeParams) WithContext ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) WithContext(ctx context.Context) *EnterMaintenanceModeParams
WithContext adds the context to the enter maintenance mode params
func (*EnterMaintenanceModeParams) WithDefaults ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) WithDefaults() *EnterMaintenanceModeParams
WithDefaults hydrates default values in the enter maintenance mode params (not the query body).
All values with no default are reset to their zero value.
func (*EnterMaintenanceModeParams) WithHTTPClient ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) WithHTTPClient(client *http.Client) *EnterMaintenanceModeParams
WithHTTPClient adds the HTTPClient to the enter maintenance mode params
func (*EnterMaintenanceModeParams) WithRequestBody ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) WithRequestBody(requestBody *models.EnterMaintenanceModeParams) *EnterMaintenanceModeParams
WithRequestBody adds the requestBody to the enter maintenance mode params
func (*EnterMaintenanceModeParams) WithTimeout ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) WithTimeout(timeout time.Duration) *EnterMaintenanceModeParams
WithTimeout adds the timeout to the enter maintenance mode params
func (*EnterMaintenanceModeParams) WriteToRequest ¶ added in v2.14.0
func (o *EnterMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnterMaintenanceModePreCheckBadRequest ¶ added in v2.14.0
type EnterMaintenanceModePreCheckBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
EnterMaintenanceModePreCheckBadRequest describes a response with status code 400, with default header values.
Bad request
func NewEnterMaintenanceModePreCheckBadRequest ¶ added in v2.14.0
func NewEnterMaintenanceModePreCheckBadRequest() *EnterMaintenanceModePreCheckBadRequest
NewEnterMaintenanceModePreCheckBadRequest creates a EnterMaintenanceModePreCheckBadRequest with default headers values
func (*EnterMaintenanceModePreCheckBadRequest) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckBadRequest) Error() string
func (*EnterMaintenanceModePreCheckBadRequest) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckBadRequest) GetPayload() *models.ErrorBody
type EnterMaintenanceModePreCheckInternalServerError ¶ added in v2.14.0
type EnterMaintenanceModePreCheckInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
EnterMaintenanceModePreCheckInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEnterMaintenanceModePreCheckInternalServerError ¶ added in v2.14.0
func NewEnterMaintenanceModePreCheckInternalServerError() *EnterMaintenanceModePreCheckInternalServerError
NewEnterMaintenanceModePreCheckInternalServerError creates a EnterMaintenanceModePreCheckInternalServerError with default headers values
func (*EnterMaintenanceModePreCheckInternalServerError) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckInternalServerError) Error() string
func (*EnterMaintenanceModePreCheckInternalServerError) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckInternalServerError) GetPayload() *models.ErrorBody
type EnterMaintenanceModePreCheckNotFound ¶ added in v2.14.0
type EnterMaintenanceModePreCheckNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
EnterMaintenanceModePreCheckNotFound describes a response with status code 404, with default header values.
Not found
func NewEnterMaintenanceModePreCheckNotFound ¶ added in v2.14.0
func NewEnterMaintenanceModePreCheckNotFound() *EnterMaintenanceModePreCheckNotFound
NewEnterMaintenanceModePreCheckNotFound creates a EnterMaintenanceModePreCheckNotFound with default headers values
func (*EnterMaintenanceModePreCheckNotFound) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckNotFound) Error() string
func (*EnterMaintenanceModePreCheckNotFound) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckNotFound) GetPayload() *models.ErrorBody
type EnterMaintenanceModePreCheckOK ¶ added in v2.14.0
type EnterMaintenanceModePreCheckOK struct { XTowerRequestID string Payload *models.EnterMaintenanceModeCheckResult }
EnterMaintenanceModePreCheckOK describes a response with status code 200, with default header values.
EnterMaintenanceModePreCheckOK enter maintenance mode pre check o k
func NewEnterMaintenanceModePreCheckOK ¶ added in v2.14.0
func NewEnterMaintenanceModePreCheckOK() *EnterMaintenanceModePreCheckOK
NewEnterMaintenanceModePreCheckOK creates a EnterMaintenanceModePreCheckOK with default headers values
func (*EnterMaintenanceModePreCheckOK) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckOK) Error() string
func (*EnterMaintenanceModePreCheckOK) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckOK) GetPayload() *models.EnterMaintenanceModeCheckResult
type EnterMaintenanceModePreCheckParams ¶ added in v2.14.0
type EnterMaintenanceModePreCheckParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.EnterMaintenanceModeCheckParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnterMaintenanceModePreCheckParams contains all the parameters to send to the API endpoint
for the enter maintenance mode pre check operation. Typically these are written to a http.Request.
func NewEnterMaintenanceModePreCheckParams ¶ added in v2.14.0
func NewEnterMaintenanceModePreCheckParams() *EnterMaintenanceModePreCheckParams
NewEnterMaintenanceModePreCheckParams creates a new EnterMaintenanceModePreCheckParams 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 NewEnterMaintenanceModePreCheckParamsWithContext ¶ added in v2.14.0
func NewEnterMaintenanceModePreCheckParamsWithContext(ctx context.Context) *EnterMaintenanceModePreCheckParams
NewEnterMaintenanceModePreCheckParamsWithContext creates a new EnterMaintenanceModePreCheckParams object with the ability to set a context for a request.
func NewEnterMaintenanceModePreCheckParamsWithHTTPClient ¶ added in v2.14.0
func NewEnterMaintenanceModePreCheckParamsWithHTTPClient(client *http.Client) *EnterMaintenanceModePreCheckParams
NewEnterMaintenanceModePreCheckParamsWithHTTPClient creates a new EnterMaintenanceModePreCheckParams object with the ability to set a custom HTTPClient for a request.
func NewEnterMaintenanceModePreCheckParamsWithTimeout ¶ added in v2.14.0
func NewEnterMaintenanceModePreCheckParamsWithTimeout(timeout time.Duration) *EnterMaintenanceModePreCheckParams
NewEnterMaintenanceModePreCheckParamsWithTimeout creates a new EnterMaintenanceModePreCheckParams object with the ability to set a timeout on a request.
func (*EnterMaintenanceModePreCheckParams) SetContentLanguage ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) SetContext ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) SetDefaults ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) SetDefaults()
SetDefaults hydrates default values in the enter maintenance mode pre check params (not the query body).
All values with no default are reset to their zero value.
func (*EnterMaintenanceModePreCheckParams) SetHTTPClient ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) SetRequestBody ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) SetRequestBody(requestBody *models.EnterMaintenanceModeCheckParams)
SetRequestBody adds the requestBody to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) SetTimeout ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) WithContentLanguage ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) WithContentLanguage(contentLanguage *string) *EnterMaintenanceModePreCheckParams
WithContentLanguage adds the contentLanguage to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) WithContext ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) WithContext(ctx context.Context) *EnterMaintenanceModePreCheckParams
WithContext adds the context to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) WithDefaults ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) WithDefaults() *EnterMaintenanceModePreCheckParams
WithDefaults hydrates default values in the enter maintenance mode pre check params (not the query body).
All values with no default are reset to their zero value.
func (*EnterMaintenanceModePreCheckParams) WithHTTPClient ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) WithHTTPClient(client *http.Client) *EnterMaintenanceModePreCheckParams
WithHTTPClient adds the HTTPClient to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) WithRequestBody ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) WithRequestBody(requestBody *models.EnterMaintenanceModeCheckParams) *EnterMaintenanceModePreCheckParams
WithRequestBody adds the requestBody to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) WithTimeout ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) WithTimeout(timeout time.Duration) *EnterMaintenanceModePreCheckParams
WithTimeout adds the timeout to the enter maintenance mode pre check params
func (*EnterMaintenanceModePreCheckParams) WriteToRequest ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnterMaintenanceModePreCheckReader ¶ added in v2.14.0
type EnterMaintenanceModePreCheckReader struct {
// contains filtered or unexported fields
}
EnterMaintenanceModePreCheckReader is a Reader for the EnterMaintenanceModePreCheck structure.
func (*EnterMaintenanceModePreCheckReader) ReadResponse ¶ added in v2.14.0
func (o *EnterMaintenanceModePreCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnterMaintenanceModePrecheckResultBadRequest ¶ added in v2.14.0
type EnterMaintenanceModePrecheckResultBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
EnterMaintenanceModePrecheckResultBadRequest describes a response with status code 400, with default header values.
Bad request
func NewEnterMaintenanceModePrecheckResultBadRequest ¶ added in v2.14.0
func NewEnterMaintenanceModePrecheckResultBadRequest() *EnterMaintenanceModePrecheckResultBadRequest
NewEnterMaintenanceModePrecheckResultBadRequest creates a EnterMaintenanceModePrecheckResultBadRequest with default headers values
func (*EnterMaintenanceModePrecheckResultBadRequest) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultBadRequest) Error() string
func (*EnterMaintenanceModePrecheckResultBadRequest) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultBadRequest) GetPayload() *models.ErrorBody
type EnterMaintenanceModePrecheckResultInternalServerError ¶ added in v2.14.0
type EnterMaintenanceModePrecheckResultInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
EnterMaintenanceModePrecheckResultInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEnterMaintenanceModePrecheckResultInternalServerError ¶ added in v2.14.0
func NewEnterMaintenanceModePrecheckResultInternalServerError() *EnterMaintenanceModePrecheckResultInternalServerError
NewEnterMaintenanceModePrecheckResultInternalServerError creates a EnterMaintenanceModePrecheckResultInternalServerError with default headers values
func (*EnterMaintenanceModePrecheckResultInternalServerError) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultInternalServerError) Error() string
func (*EnterMaintenanceModePrecheckResultInternalServerError) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultInternalServerError) GetPayload() *models.ErrorBody
type EnterMaintenanceModePrecheckResultNotFound ¶ added in v2.14.0
type EnterMaintenanceModePrecheckResultNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
EnterMaintenanceModePrecheckResultNotFound describes a response with status code 404, with default header values.
Not found
func NewEnterMaintenanceModePrecheckResultNotFound ¶ added in v2.14.0
func NewEnterMaintenanceModePrecheckResultNotFound() *EnterMaintenanceModePrecheckResultNotFound
NewEnterMaintenanceModePrecheckResultNotFound creates a EnterMaintenanceModePrecheckResultNotFound with default headers values
func (*EnterMaintenanceModePrecheckResultNotFound) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultNotFound) Error() string
func (*EnterMaintenanceModePrecheckResultNotFound) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultNotFound) GetPayload() *models.ErrorBody
type EnterMaintenanceModePrecheckResultOK ¶ added in v2.14.0
type EnterMaintenanceModePrecheckResultOK struct { XTowerRequestID string Payload *models.EnterMaintenanceModeResult }
EnterMaintenanceModePrecheckResultOK describes a response with status code 200, with default header values.
EnterMaintenanceModePrecheckResultOK enter maintenance mode precheck result o k
func NewEnterMaintenanceModePrecheckResultOK ¶ added in v2.14.0
func NewEnterMaintenanceModePrecheckResultOK() *EnterMaintenanceModePrecheckResultOK
NewEnterMaintenanceModePrecheckResultOK creates a EnterMaintenanceModePrecheckResultOK with default headers values
func (*EnterMaintenanceModePrecheckResultOK) Error ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultOK) Error() string
func (*EnterMaintenanceModePrecheckResultOK) GetPayload ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultOK) GetPayload() *models.EnterMaintenanceModeResult
type EnterMaintenanceModePrecheckResultParams ¶ added in v2.14.0
type EnterMaintenanceModePrecheckResultParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.EnterMaintenanceModeResultParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnterMaintenanceModePrecheckResultParams contains all the parameters to send to the API endpoint
for the enter maintenance mode precheck result operation. Typically these are written to a http.Request.
func NewEnterMaintenanceModePrecheckResultParams ¶ added in v2.14.0
func NewEnterMaintenanceModePrecheckResultParams() *EnterMaintenanceModePrecheckResultParams
NewEnterMaintenanceModePrecheckResultParams creates a new EnterMaintenanceModePrecheckResultParams 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 NewEnterMaintenanceModePrecheckResultParamsWithContext ¶ added in v2.14.0
func NewEnterMaintenanceModePrecheckResultParamsWithContext(ctx context.Context) *EnterMaintenanceModePrecheckResultParams
NewEnterMaintenanceModePrecheckResultParamsWithContext creates a new EnterMaintenanceModePrecheckResultParams object with the ability to set a context for a request.
func NewEnterMaintenanceModePrecheckResultParamsWithHTTPClient ¶ added in v2.14.0
func NewEnterMaintenanceModePrecheckResultParamsWithHTTPClient(client *http.Client) *EnterMaintenanceModePrecheckResultParams
NewEnterMaintenanceModePrecheckResultParamsWithHTTPClient creates a new EnterMaintenanceModePrecheckResultParams object with the ability to set a custom HTTPClient for a request.
func NewEnterMaintenanceModePrecheckResultParamsWithTimeout ¶ added in v2.14.0
func NewEnterMaintenanceModePrecheckResultParamsWithTimeout(timeout time.Duration) *EnterMaintenanceModePrecheckResultParams
NewEnterMaintenanceModePrecheckResultParamsWithTimeout creates a new EnterMaintenanceModePrecheckResultParams object with the ability to set a timeout on a request.
func (*EnterMaintenanceModePrecheckResultParams) SetContentLanguage ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) SetContext ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) SetContext(ctx context.Context)
SetContext adds the context to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) SetDefaults ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) SetDefaults()
SetDefaults hydrates default values in the enter maintenance mode precheck result params (not the query body).
All values with no default are reset to their zero value.
func (*EnterMaintenanceModePrecheckResultParams) SetHTTPClient ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) SetRequestBody ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) SetRequestBody(requestBody *models.EnterMaintenanceModeResultParams)
SetRequestBody adds the requestBody to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) SetTimeout ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) WithContentLanguage ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) WithContentLanguage(contentLanguage *string) *EnterMaintenanceModePrecheckResultParams
WithContentLanguage adds the contentLanguage to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) WithContext ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) WithContext(ctx context.Context) *EnterMaintenanceModePrecheckResultParams
WithContext adds the context to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) WithDefaults ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) WithDefaults() *EnterMaintenanceModePrecheckResultParams
WithDefaults hydrates default values in the enter maintenance mode precheck result params (not the query body).
All values with no default are reset to their zero value.
func (*EnterMaintenanceModePrecheckResultParams) WithHTTPClient ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) WithHTTPClient(client *http.Client) *EnterMaintenanceModePrecheckResultParams
WithHTTPClient adds the HTTPClient to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) WithRequestBody ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) WithRequestBody(requestBody *models.EnterMaintenanceModeResultParams) *EnterMaintenanceModePrecheckResultParams
WithRequestBody adds the requestBody to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) WithTimeout ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) WithTimeout(timeout time.Duration) *EnterMaintenanceModePrecheckResultParams
WithTimeout adds the timeout to the enter maintenance mode precheck result params
func (*EnterMaintenanceModePrecheckResultParams) WriteToRequest ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnterMaintenanceModePrecheckResultReader ¶ added in v2.14.0
type EnterMaintenanceModePrecheckResultReader struct {
// contains filtered or unexported fields
}
EnterMaintenanceModePrecheckResultReader is a Reader for the EnterMaintenanceModePrecheckResult structure.
func (*EnterMaintenanceModePrecheckResultReader) ReadResponse ¶ added in v2.14.0
func (o *EnterMaintenanceModePrecheckResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnterMaintenanceModeReader ¶ added in v2.14.0
type EnterMaintenanceModeReader struct {
// contains filtered or unexported fields
}
EnterMaintenanceModeReader is a Reader for the EnterMaintenanceMode structure.
func (*EnterMaintenanceModeReader) ReadResponse ¶ added in v2.14.0
func (o *EnterMaintenanceModeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExitMaintenanceModeBadRequest ¶ added in v2.14.0
ExitMaintenanceModeBadRequest describes a response with status code 400, with default header values.
Bad request
func NewExitMaintenanceModeBadRequest ¶ added in v2.14.0
func NewExitMaintenanceModeBadRequest() *ExitMaintenanceModeBadRequest
NewExitMaintenanceModeBadRequest creates a ExitMaintenanceModeBadRequest with default headers values
func (*ExitMaintenanceModeBadRequest) Error ¶ added in v2.14.0
func (o *ExitMaintenanceModeBadRequest) Error() string
func (*ExitMaintenanceModeBadRequest) GetPayload ¶ added in v2.14.0
func (o *ExitMaintenanceModeBadRequest) GetPayload() *models.ErrorBody
type ExitMaintenanceModeInternalServerError ¶ added in v2.14.0
type ExitMaintenanceModeInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
ExitMaintenanceModeInternalServerError describes a response with status code 500, with default header values.
Server error
func NewExitMaintenanceModeInternalServerError ¶ added in v2.14.0
func NewExitMaintenanceModeInternalServerError() *ExitMaintenanceModeInternalServerError
NewExitMaintenanceModeInternalServerError creates a ExitMaintenanceModeInternalServerError with default headers values
func (*ExitMaintenanceModeInternalServerError) Error ¶ added in v2.14.0
func (o *ExitMaintenanceModeInternalServerError) Error() string
func (*ExitMaintenanceModeInternalServerError) GetPayload ¶ added in v2.14.0
func (o *ExitMaintenanceModeInternalServerError) GetPayload() *models.ErrorBody
type ExitMaintenanceModeNotFound ¶ added in v2.14.0
ExitMaintenanceModeNotFound describes a response with status code 404, with default header values.
Not found
func NewExitMaintenanceModeNotFound ¶ added in v2.14.0
func NewExitMaintenanceModeNotFound() *ExitMaintenanceModeNotFound
NewExitMaintenanceModeNotFound creates a ExitMaintenanceModeNotFound with default headers values
func (*ExitMaintenanceModeNotFound) Error ¶ added in v2.14.0
func (o *ExitMaintenanceModeNotFound) Error() string
func (*ExitMaintenanceModeNotFound) GetPayload ¶ added in v2.14.0
func (o *ExitMaintenanceModeNotFound) GetPayload() *models.ErrorBody
type ExitMaintenanceModeOK ¶ added in v2.14.0
type ExitMaintenanceModeOK struct { XTowerRequestID string Payload *models.WithTaskHost }
ExitMaintenanceModeOK describes a response with status code 200, with default header values.
ExitMaintenanceModeOK exit maintenance mode o k
func NewExitMaintenanceModeOK ¶ added in v2.14.0
func NewExitMaintenanceModeOK() *ExitMaintenanceModeOK
NewExitMaintenanceModeOK creates a ExitMaintenanceModeOK with default headers values
func (*ExitMaintenanceModeOK) Error ¶ added in v2.14.0
func (o *ExitMaintenanceModeOK) Error() string
func (*ExitMaintenanceModeOK) GetPayload ¶ added in v2.14.0
func (o *ExitMaintenanceModeOK) GetPayload() *models.WithTaskHost
type ExitMaintenanceModeParams ¶ added in v2.14.0
type ExitMaintenanceModeParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ExitMaintenanceModeParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExitMaintenanceModeParams contains all the parameters to send to the API endpoint
for the exit maintenance mode operation. Typically these are written to a http.Request.
func NewExitMaintenanceModeParams ¶ added in v2.14.0
func NewExitMaintenanceModeParams() *ExitMaintenanceModeParams
NewExitMaintenanceModeParams creates a new ExitMaintenanceModeParams 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 NewExitMaintenanceModeParamsWithContext ¶ added in v2.14.0
func NewExitMaintenanceModeParamsWithContext(ctx context.Context) *ExitMaintenanceModeParams
NewExitMaintenanceModeParamsWithContext creates a new ExitMaintenanceModeParams object with the ability to set a context for a request.
func NewExitMaintenanceModeParamsWithHTTPClient ¶ added in v2.14.0
func NewExitMaintenanceModeParamsWithHTTPClient(client *http.Client) *ExitMaintenanceModeParams
NewExitMaintenanceModeParamsWithHTTPClient creates a new ExitMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.
func NewExitMaintenanceModeParamsWithTimeout ¶ added in v2.14.0
func NewExitMaintenanceModeParamsWithTimeout(timeout time.Duration) *ExitMaintenanceModeParams
NewExitMaintenanceModeParamsWithTimeout creates a new ExitMaintenanceModeParams object with the ability to set a timeout on a request.
func (*ExitMaintenanceModeParams) SetContentLanguage ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the exit maintenance mode params
func (*ExitMaintenanceModeParams) SetContext ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) SetContext(ctx context.Context)
SetContext adds the context to the exit maintenance mode params
func (*ExitMaintenanceModeParams) SetDefaults ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) SetDefaults()
SetDefaults hydrates default values in the exit maintenance mode params (not the query body).
All values with no default are reset to their zero value.
func (*ExitMaintenanceModeParams) SetHTTPClient ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the exit maintenance mode params
func (*ExitMaintenanceModeParams) SetRequestBody ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) SetRequestBody(requestBody *models.ExitMaintenanceModeParams)
SetRequestBody adds the requestBody to the exit maintenance mode params
func (*ExitMaintenanceModeParams) SetTimeout ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the exit maintenance mode params
func (*ExitMaintenanceModeParams) WithContentLanguage ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) WithContentLanguage(contentLanguage *string) *ExitMaintenanceModeParams
WithContentLanguage adds the contentLanguage to the exit maintenance mode params
func (*ExitMaintenanceModeParams) WithContext ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) WithContext(ctx context.Context) *ExitMaintenanceModeParams
WithContext adds the context to the exit maintenance mode params
func (*ExitMaintenanceModeParams) WithDefaults ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) WithDefaults() *ExitMaintenanceModeParams
WithDefaults hydrates default values in the exit maintenance mode params (not the query body).
All values with no default are reset to their zero value.
func (*ExitMaintenanceModeParams) WithHTTPClient ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) WithHTTPClient(client *http.Client) *ExitMaintenanceModeParams
WithHTTPClient adds the HTTPClient to the exit maintenance mode params
func (*ExitMaintenanceModeParams) WithRequestBody ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) WithRequestBody(requestBody *models.ExitMaintenanceModeParams) *ExitMaintenanceModeParams
WithRequestBody adds the requestBody to the exit maintenance mode params
func (*ExitMaintenanceModeParams) WithTimeout ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) WithTimeout(timeout time.Duration) *ExitMaintenanceModeParams
WithTimeout adds the timeout to the exit maintenance mode params
func (*ExitMaintenanceModeParams) WriteToRequest ¶ added in v2.14.0
func (o *ExitMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExitMaintenanceModePrecheckResultBadRequest ¶ added in v2.14.0
type ExitMaintenanceModePrecheckResultBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
ExitMaintenanceModePrecheckResultBadRequest describes a response with status code 400, with default header values.
Bad request
func NewExitMaintenanceModePrecheckResultBadRequest ¶ added in v2.14.0
func NewExitMaintenanceModePrecheckResultBadRequest() *ExitMaintenanceModePrecheckResultBadRequest
NewExitMaintenanceModePrecheckResultBadRequest creates a ExitMaintenanceModePrecheckResultBadRequest with default headers values
func (*ExitMaintenanceModePrecheckResultBadRequest) Error ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultBadRequest) Error() string
func (*ExitMaintenanceModePrecheckResultBadRequest) GetPayload ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultBadRequest) GetPayload() *models.ErrorBody
type ExitMaintenanceModePrecheckResultInternalServerError ¶ added in v2.14.0
type ExitMaintenanceModePrecheckResultInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
ExitMaintenanceModePrecheckResultInternalServerError describes a response with status code 500, with default header values.
Server error
func NewExitMaintenanceModePrecheckResultInternalServerError ¶ added in v2.14.0
func NewExitMaintenanceModePrecheckResultInternalServerError() *ExitMaintenanceModePrecheckResultInternalServerError
NewExitMaintenanceModePrecheckResultInternalServerError creates a ExitMaintenanceModePrecheckResultInternalServerError with default headers values
func (*ExitMaintenanceModePrecheckResultInternalServerError) Error ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultInternalServerError) Error() string
func (*ExitMaintenanceModePrecheckResultInternalServerError) GetPayload ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultInternalServerError) GetPayload() *models.ErrorBody
type ExitMaintenanceModePrecheckResultNotFound ¶ added in v2.14.0
type ExitMaintenanceModePrecheckResultNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
ExitMaintenanceModePrecheckResultNotFound describes a response with status code 404, with default header values.
Not found
func NewExitMaintenanceModePrecheckResultNotFound ¶ added in v2.14.0
func NewExitMaintenanceModePrecheckResultNotFound() *ExitMaintenanceModePrecheckResultNotFound
NewExitMaintenanceModePrecheckResultNotFound creates a ExitMaintenanceModePrecheckResultNotFound with default headers values
func (*ExitMaintenanceModePrecheckResultNotFound) Error ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultNotFound) Error() string
func (*ExitMaintenanceModePrecheckResultNotFound) GetPayload ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultNotFound) GetPayload() *models.ErrorBody
type ExitMaintenanceModePrecheckResultOK ¶ added in v2.14.0
type ExitMaintenanceModePrecheckResultOK struct { XTowerRequestID string Payload *models.ExitMaintenanceModeResult }
ExitMaintenanceModePrecheckResultOK describes a response with status code 200, with default header values.
ExitMaintenanceModePrecheckResultOK exit maintenance mode precheck result o k
func NewExitMaintenanceModePrecheckResultOK ¶ added in v2.14.0
func NewExitMaintenanceModePrecheckResultOK() *ExitMaintenanceModePrecheckResultOK
NewExitMaintenanceModePrecheckResultOK creates a ExitMaintenanceModePrecheckResultOK with default headers values
func (*ExitMaintenanceModePrecheckResultOK) Error ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultOK) Error() string
func (*ExitMaintenanceModePrecheckResultOK) GetPayload ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultOK) GetPayload() *models.ExitMaintenanceModeResult
type ExitMaintenanceModePrecheckResultParams ¶ added in v2.14.0
type ExitMaintenanceModePrecheckResultParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ExitMaintenanceModeResultParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExitMaintenanceModePrecheckResultParams contains all the parameters to send to the API endpoint
for the exit maintenance mode precheck result operation. Typically these are written to a http.Request.
func NewExitMaintenanceModePrecheckResultParams ¶ added in v2.14.0
func NewExitMaintenanceModePrecheckResultParams() *ExitMaintenanceModePrecheckResultParams
NewExitMaintenanceModePrecheckResultParams creates a new ExitMaintenanceModePrecheckResultParams 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 NewExitMaintenanceModePrecheckResultParamsWithContext ¶ added in v2.14.0
func NewExitMaintenanceModePrecheckResultParamsWithContext(ctx context.Context) *ExitMaintenanceModePrecheckResultParams
NewExitMaintenanceModePrecheckResultParamsWithContext creates a new ExitMaintenanceModePrecheckResultParams object with the ability to set a context for a request.
func NewExitMaintenanceModePrecheckResultParamsWithHTTPClient ¶ added in v2.14.0
func NewExitMaintenanceModePrecheckResultParamsWithHTTPClient(client *http.Client) *ExitMaintenanceModePrecheckResultParams
NewExitMaintenanceModePrecheckResultParamsWithHTTPClient creates a new ExitMaintenanceModePrecheckResultParams object with the ability to set a custom HTTPClient for a request.
func NewExitMaintenanceModePrecheckResultParamsWithTimeout ¶ added in v2.14.0
func NewExitMaintenanceModePrecheckResultParamsWithTimeout(timeout time.Duration) *ExitMaintenanceModePrecheckResultParams
NewExitMaintenanceModePrecheckResultParamsWithTimeout creates a new ExitMaintenanceModePrecheckResultParams object with the ability to set a timeout on a request.
func (*ExitMaintenanceModePrecheckResultParams) SetContentLanguage ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) SetContext ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) SetContext(ctx context.Context)
SetContext adds the context to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) SetDefaults ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) SetDefaults()
SetDefaults hydrates default values in the exit maintenance mode precheck result params (not the query body).
All values with no default are reset to their zero value.
func (*ExitMaintenanceModePrecheckResultParams) SetHTTPClient ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) SetRequestBody ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) SetRequestBody(requestBody *models.ExitMaintenanceModeResultParams)
SetRequestBody adds the requestBody to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) SetTimeout ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) WithContentLanguage ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) WithContentLanguage(contentLanguage *string) *ExitMaintenanceModePrecheckResultParams
WithContentLanguage adds the contentLanguage to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) WithContext ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) WithContext(ctx context.Context) *ExitMaintenanceModePrecheckResultParams
WithContext adds the context to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) WithDefaults ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) WithDefaults() *ExitMaintenanceModePrecheckResultParams
WithDefaults hydrates default values in the exit maintenance mode precheck result params (not the query body).
All values with no default are reset to their zero value.
func (*ExitMaintenanceModePrecheckResultParams) WithHTTPClient ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) WithHTTPClient(client *http.Client) *ExitMaintenanceModePrecheckResultParams
WithHTTPClient adds the HTTPClient to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) WithRequestBody ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) WithRequestBody(requestBody *models.ExitMaintenanceModeResultParams) *ExitMaintenanceModePrecheckResultParams
WithRequestBody adds the requestBody to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) WithTimeout ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) WithTimeout(timeout time.Duration) *ExitMaintenanceModePrecheckResultParams
WithTimeout adds the timeout to the exit maintenance mode precheck result params
func (*ExitMaintenanceModePrecheckResultParams) WriteToRequest ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExitMaintenanceModePrecheckResultReader ¶ added in v2.14.0
type ExitMaintenanceModePrecheckResultReader struct {
// contains filtered or unexported fields
}
ExitMaintenanceModePrecheckResultReader is a Reader for the ExitMaintenanceModePrecheckResult structure.
func (*ExitMaintenanceModePrecheckResultReader) ReadResponse ¶ added in v2.14.0
func (o *ExitMaintenanceModePrecheckResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExitMaintenanceModeReader ¶ added in v2.14.0
type ExitMaintenanceModeReader struct {
// contains filtered or unexported fields
}
ExitMaintenanceModeReader is a Reader for the ExitMaintenanceMode structure.
func (*ExitMaintenanceModeReader) ReadResponse ¶ added in v2.14.0
func (o *ExitMaintenanceModeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHostsBadRequest ¶
GetHostsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetHostsBadRequest ¶
func NewGetHostsBadRequest() *GetHostsBadRequest
NewGetHostsBadRequest creates a GetHostsBadRequest with default headers values
func (*GetHostsBadRequest) Error ¶
func (o *GetHostsBadRequest) Error() string
func (*GetHostsBadRequest) GetPayload ¶
func (o *GetHostsBadRequest) GetPayload() *models.ErrorBody
type GetHostsConnectionBadRequest ¶
GetHostsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetHostsConnectionBadRequest ¶
func NewGetHostsConnectionBadRequest() *GetHostsConnectionBadRequest
NewGetHostsConnectionBadRequest creates a GetHostsConnectionBadRequest with default headers values
func (*GetHostsConnectionBadRequest) Error ¶
func (o *GetHostsConnectionBadRequest) Error() string
func (*GetHostsConnectionBadRequest) GetPayload ¶
func (o *GetHostsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetHostsConnectionInternalServerError ¶
type GetHostsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetHostsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetHostsConnectionInternalServerError ¶
func NewGetHostsConnectionInternalServerError() *GetHostsConnectionInternalServerError
NewGetHostsConnectionInternalServerError creates a GetHostsConnectionInternalServerError with default headers values
func (*GetHostsConnectionInternalServerError) Error ¶
func (o *GetHostsConnectionInternalServerError) Error() string
func (*GetHostsConnectionInternalServerError) GetPayload ¶
func (o *GetHostsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetHostsConnectionNotFound ¶
GetHostsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetHostsConnectionNotFound ¶
func NewGetHostsConnectionNotFound() *GetHostsConnectionNotFound
NewGetHostsConnectionNotFound creates a GetHostsConnectionNotFound with default headers values
func (*GetHostsConnectionNotFound) Error ¶
func (o *GetHostsConnectionNotFound) Error() string
func (*GetHostsConnectionNotFound) GetPayload ¶
func (o *GetHostsConnectionNotFound) GetPayload() *models.ErrorBody
type GetHostsConnectionOK ¶
type GetHostsConnectionOK struct { XTowerRequestID string Payload *models.HostConnection }
GetHostsConnectionOK describes a response with status code 200, with default header values.
GetHostsConnectionOK get hosts connection o k
func NewGetHostsConnectionOK ¶
func NewGetHostsConnectionOK() *GetHostsConnectionOK
NewGetHostsConnectionOK creates a GetHostsConnectionOK with default headers values
func (*GetHostsConnectionOK) Error ¶
func (o *GetHostsConnectionOK) Error() string
func (*GetHostsConnectionOK) GetPayload ¶
func (o *GetHostsConnectionOK) GetPayload() *models.HostConnection
type GetHostsConnectionParams ¶
type GetHostsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetHostsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHostsConnectionParams contains all the parameters to send to the API endpoint
for the get hosts connection operation. Typically these are written to a http.Request.
func NewGetHostsConnectionParams ¶
func NewGetHostsConnectionParams() *GetHostsConnectionParams
NewGetHostsConnectionParams creates a new GetHostsConnectionParams 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 NewGetHostsConnectionParamsWithContext ¶
func NewGetHostsConnectionParamsWithContext(ctx context.Context) *GetHostsConnectionParams
NewGetHostsConnectionParamsWithContext creates a new GetHostsConnectionParams object with the ability to set a context for a request.
func NewGetHostsConnectionParamsWithHTTPClient ¶
func NewGetHostsConnectionParamsWithHTTPClient(client *http.Client) *GetHostsConnectionParams
NewGetHostsConnectionParamsWithHTTPClient creates a new GetHostsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetHostsConnectionParamsWithTimeout ¶
func NewGetHostsConnectionParamsWithTimeout(timeout time.Duration) *GetHostsConnectionParams
NewGetHostsConnectionParamsWithTimeout creates a new GetHostsConnectionParams object with the ability to set a timeout on a request.
func (*GetHostsConnectionParams) SetContentLanguage ¶
func (o *GetHostsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get hosts connection params
func (*GetHostsConnectionParams) SetContext ¶
func (o *GetHostsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get hosts connection params
func (*GetHostsConnectionParams) SetDefaults ¶
func (o *GetHostsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get hosts connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetHostsConnectionParams) SetHTTPClient ¶
func (o *GetHostsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get hosts connection params
func (*GetHostsConnectionParams) SetRequestBody ¶
func (o *GetHostsConnectionParams) SetRequestBody(requestBody *models.GetHostsConnectionRequestBody)
SetRequestBody adds the requestBody to the get hosts connection params
func (*GetHostsConnectionParams) SetTimeout ¶
func (o *GetHostsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get hosts connection params
func (*GetHostsConnectionParams) WithContentLanguage ¶
func (o *GetHostsConnectionParams) WithContentLanguage(contentLanguage *string) *GetHostsConnectionParams
WithContentLanguage adds the contentLanguage to the get hosts connection params
func (*GetHostsConnectionParams) WithContext ¶
func (o *GetHostsConnectionParams) WithContext(ctx context.Context) *GetHostsConnectionParams
WithContext adds the context to the get hosts connection params
func (*GetHostsConnectionParams) WithDefaults ¶
func (o *GetHostsConnectionParams) WithDefaults() *GetHostsConnectionParams
WithDefaults hydrates default values in the get hosts connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetHostsConnectionParams) WithHTTPClient ¶
func (o *GetHostsConnectionParams) WithHTTPClient(client *http.Client) *GetHostsConnectionParams
WithHTTPClient adds the HTTPClient to the get hosts connection params
func (*GetHostsConnectionParams) WithRequestBody ¶
func (o *GetHostsConnectionParams) WithRequestBody(requestBody *models.GetHostsConnectionRequestBody) *GetHostsConnectionParams
WithRequestBody adds the requestBody to the get hosts connection params
func (*GetHostsConnectionParams) WithTimeout ¶
func (o *GetHostsConnectionParams) WithTimeout(timeout time.Duration) *GetHostsConnectionParams
WithTimeout adds the timeout to the get hosts connection params
func (*GetHostsConnectionParams) WriteToRequest ¶
func (o *GetHostsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHostsConnectionReader ¶
type GetHostsConnectionReader struct {
// contains filtered or unexported fields
}
GetHostsConnectionReader is a Reader for the GetHostsConnection structure.
func (*GetHostsConnectionReader) ReadResponse ¶
func (o *GetHostsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHostsInternalServerError ¶
GetHostsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetHostsInternalServerError ¶
func NewGetHostsInternalServerError() *GetHostsInternalServerError
NewGetHostsInternalServerError creates a GetHostsInternalServerError with default headers values
func (*GetHostsInternalServerError) Error ¶
func (o *GetHostsInternalServerError) Error() string
func (*GetHostsInternalServerError) GetPayload ¶
func (o *GetHostsInternalServerError) GetPayload() *models.ErrorBody
type GetHostsNotFound ¶
GetHostsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetHostsNotFound ¶
func NewGetHostsNotFound() *GetHostsNotFound
NewGetHostsNotFound creates a GetHostsNotFound with default headers values
func (*GetHostsNotFound) Error ¶
func (o *GetHostsNotFound) Error() string
func (*GetHostsNotFound) GetPayload ¶
func (o *GetHostsNotFound) GetPayload() *models.ErrorBody
type GetHostsOK ¶
GetHostsOK describes a response with status code 200, with default header values.
GetHostsOK get hosts o k
func NewGetHostsOK ¶
func NewGetHostsOK() *GetHostsOK
NewGetHostsOK creates a GetHostsOK with default headers values
func (*GetHostsOK) Error ¶
func (o *GetHostsOK) Error() string
func (*GetHostsOK) GetPayload ¶
func (o *GetHostsOK) GetPayload() []*models.Host
type GetHostsParams ¶
type GetHostsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetHostsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHostsParams contains all the parameters to send to the API endpoint
for the get hosts operation. Typically these are written to a http.Request.
func NewGetHostsParams ¶
func NewGetHostsParams() *GetHostsParams
NewGetHostsParams creates a new GetHostsParams 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 NewGetHostsParamsWithContext ¶
func NewGetHostsParamsWithContext(ctx context.Context) *GetHostsParams
NewGetHostsParamsWithContext creates a new GetHostsParams object with the ability to set a context for a request.
func NewGetHostsParamsWithHTTPClient ¶
func NewGetHostsParamsWithHTTPClient(client *http.Client) *GetHostsParams
NewGetHostsParamsWithHTTPClient creates a new GetHostsParams object with the ability to set a custom HTTPClient for a request.
func NewGetHostsParamsWithTimeout ¶
func NewGetHostsParamsWithTimeout(timeout time.Duration) *GetHostsParams
NewGetHostsParamsWithTimeout creates a new GetHostsParams object with the ability to set a timeout on a request.
func (*GetHostsParams) SetContentLanguage ¶
func (o *GetHostsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get hosts params
func (*GetHostsParams) SetContext ¶
func (o *GetHostsParams) SetContext(ctx context.Context)
SetContext adds the context to the get hosts params
func (*GetHostsParams) SetDefaults ¶
func (o *GetHostsParams) SetDefaults()
SetDefaults hydrates default values in the get hosts params (not the query body).
All values with no default are reset to their zero value.
func (*GetHostsParams) SetHTTPClient ¶
func (o *GetHostsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get hosts params
func (*GetHostsParams) SetRequestBody ¶
func (o *GetHostsParams) SetRequestBody(requestBody *models.GetHostsRequestBody)
SetRequestBody adds the requestBody to the get hosts params
func (*GetHostsParams) SetTimeout ¶
func (o *GetHostsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get hosts params
func (*GetHostsParams) WithContentLanguage ¶
func (o *GetHostsParams) WithContentLanguage(contentLanguage *string) *GetHostsParams
WithContentLanguage adds the contentLanguage to the get hosts params
func (*GetHostsParams) WithContext ¶
func (o *GetHostsParams) WithContext(ctx context.Context) *GetHostsParams
WithContext adds the context to the get hosts params
func (*GetHostsParams) WithDefaults ¶
func (o *GetHostsParams) WithDefaults() *GetHostsParams
WithDefaults hydrates default values in the get hosts params (not the query body).
All values with no default are reset to their zero value.
func (*GetHostsParams) WithHTTPClient ¶
func (o *GetHostsParams) WithHTTPClient(client *http.Client) *GetHostsParams
WithHTTPClient adds the HTTPClient to the get hosts params
func (*GetHostsParams) WithRequestBody ¶
func (o *GetHostsParams) WithRequestBody(requestBody *models.GetHostsRequestBody) *GetHostsParams
WithRequestBody adds the requestBody to the get hosts params
func (*GetHostsParams) WithTimeout ¶
func (o *GetHostsParams) WithTimeout(timeout time.Duration) *GetHostsParams
WithTimeout adds the timeout to the get hosts params
func (*GetHostsParams) WriteToRequest ¶
func (o *GetHostsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHostsReader ¶
type GetHostsReader struct {
// contains filtered or unexported fields
}
GetHostsReader is a Reader for the GetHosts structure.
func (*GetHostsReader) ReadResponse ¶
func (o *GetHostsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PowerOffHostBadRequest ¶ added in v2.14.0
PowerOffHostBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPowerOffHostBadRequest ¶ added in v2.14.0
func NewPowerOffHostBadRequest() *PowerOffHostBadRequest
NewPowerOffHostBadRequest creates a PowerOffHostBadRequest with default headers values
func (*PowerOffHostBadRequest) Error ¶ added in v2.14.0
func (o *PowerOffHostBadRequest) Error() string
func (*PowerOffHostBadRequest) GetPayload ¶ added in v2.14.0
func (o *PowerOffHostBadRequest) GetPayload() *models.ErrorBody
type PowerOffHostInternalServerError ¶ added in v2.14.0
PowerOffHostInternalServerError describes a response with status code 500, with default header values.
Server error
func NewPowerOffHostInternalServerError ¶ added in v2.14.0
func NewPowerOffHostInternalServerError() *PowerOffHostInternalServerError
NewPowerOffHostInternalServerError creates a PowerOffHostInternalServerError with default headers values
func (*PowerOffHostInternalServerError) Error ¶ added in v2.14.0
func (o *PowerOffHostInternalServerError) Error() string
func (*PowerOffHostInternalServerError) GetPayload ¶ added in v2.14.0
func (o *PowerOffHostInternalServerError) GetPayload() *models.ErrorBody
type PowerOffHostNotFound ¶ added in v2.14.0
PowerOffHostNotFound describes a response with status code 404, with default header values.
Not found
func NewPowerOffHostNotFound ¶ added in v2.14.0
func NewPowerOffHostNotFound() *PowerOffHostNotFound
NewPowerOffHostNotFound creates a PowerOffHostNotFound with default headers values
func (*PowerOffHostNotFound) Error ¶ added in v2.14.0
func (o *PowerOffHostNotFound) Error() string
func (*PowerOffHostNotFound) GetPayload ¶ added in v2.14.0
func (o *PowerOffHostNotFound) GetPayload() *models.ErrorBody
type PowerOffHostOK ¶ added in v2.14.0
type PowerOffHostOK struct { XTowerRequestID string Payload *models.WithTaskHost }
PowerOffHostOK describes a response with status code 200, with default header values.
PowerOffHostOK power off host o k
func NewPowerOffHostOK ¶ added in v2.14.0
func NewPowerOffHostOK() *PowerOffHostOK
NewPowerOffHostOK creates a PowerOffHostOK with default headers values
func (*PowerOffHostOK) Error ¶ added in v2.14.0
func (o *PowerOffHostOK) Error() string
func (*PowerOffHostOK) GetPayload ¶ added in v2.14.0
func (o *PowerOffHostOK) GetPayload() *models.WithTaskHost
type PowerOffHostParams ¶ added in v2.14.0
type PowerOffHostParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.OperateHostPowerParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PowerOffHostParams contains all the parameters to send to the API endpoint
for the power off host operation. Typically these are written to a http.Request.
func NewPowerOffHostParams ¶ added in v2.14.0
func NewPowerOffHostParams() *PowerOffHostParams
NewPowerOffHostParams creates a new PowerOffHostParams 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 NewPowerOffHostParamsWithContext ¶ added in v2.14.0
func NewPowerOffHostParamsWithContext(ctx context.Context) *PowerOffHostParams
NewPowerOffHostParamsWithContext creates a new PowerOffHostParams object with the ability to set a context for a request.
func NewPowerOffHostParamsWithHTTPClient ¶ added in v2.14.0
func NewPowerOffHostParamsWithHTTPClient(client *http.Client) *PowerOffHostParams
NewPowerOffHostParamsWithHTTPClient creates a new PowerOffHostParams object with the ability to set a custom HTTPClient for a request.
func NewPowerOffHostParamsWithTimeout ¶ added in v2.14.0
func NewPowerOffHostParamsWithTimeout(timeout time.Duration) *PowerOffHostParams
NewPowerOffHostParamsWithTimeout creates a new PowerOffHostParams object with the ability to set a timeout on a request.
func (*PowerOffHostParams) SetContentLanguage ¶ added in v2.14.0
func (o *PowerOffHostParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the power off host params
func (*PowerOffHostParams) SetContext ¶ added in v2.14.0
func (o *PowerOffHostParams) SetContext(ctx context.Context)
SetContext adds the context to the power off host params
func (*PowerOffHostParams) SetDefaults ¶ added in v2.14.0
func (o *PowerOffHostParams) SetDefaults()
SetDefaults hydrates default values in the power off host params (not the query body).
All values with no default are reset to their zero value.
func (*PowerOffHostParams) SetHTTPClient ¶ added in v2.14.0
func (o *PowerOffHostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the power off host params
func (*PowerOffHostParams) SetRequestBody ¶ added in v2.14.0
func (o *PowerOffHostParams) SetRequestBody(requestBody *models.OperateHostPowerParams)
SetRequestBody adds the requestBody to the power off host params
func (*PowerOffHostParams) SetTimeout ¶ added in v2.14.0
func (o *PowerOffHostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the power off host params
func (*PowerOffHostParams) WithContentLanguage ¶ added in v2.14.0
func (o *PowerOffHostParams) WithContentLanguage(contentLanguage *string) *PowerOffHostParams
WithContentLanguage adds the contentLanguage to the power off host params
func (*PowerOffHostParams) WithContext ¶ added in v2.14.0
func (o *PowerOffHostParams) WithContext(ctx context.Context) *PowerOffHostParams
WithContext adds the context to the power off host params
func (*PowerOffHostParams) WithDefaults ¶ added in v2.14.0
func (o *PowerOffHostParams) WithDefaults() *PowerOffHostParams
WithDefaults hydrates default values in the power off host params (not the query body).
All values with no default are reset to their zero value.
func (*PowerOffHostParams) WithHTTPClient ¶ added in v2.14.0
func (o *PowerOffHostParams) WithHTTPClient(client *http.Client) *PowerOffHostParams
WithHTTPClient adds the HTTPClient to the power off host params
func (*PowerOffHostParams) WithRequestBody ¶ added in v2.14.0
func (o *PowerOffHostParams) WithRequestBody(requestBody *models.OperateHostPowerParams) *PowerOffHostParams
WithRequestBody adds the requestBody to the power off host params
func (*PowerOffHostParams) WithTimeout ¶ added in v2.14.0
func (o *PowerOffHostParams) WithTimeout(timeout time.Duration) *PowerOffHostParams
WithTimeout adds the timeout to the power off host params
func (*PowerOffHostParams) WriteToRequest ¶ added in v2.14.0
func (o *PowerOffHostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PowerOffHostReader ¶ added in v2.14.0
type PowerOffHostReader struct {
// contains filtered or unexported fields
}
PowerOffHostReader is a Reader for the PowerOffHost structure.
func (*PowerOffHostReader) ReadResponse ¶ added in v2.14.0
func (o *PowerOffHostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TriggerDiskBlinkBadRequest ¶
TriggerDiskBlinkBadRequest describes a response with status code 400, with default header values.
Bad request
func NewTriggerDiskBlinkBadRequest ¶
func NewTriggerDiskBlinkBadRequest() *TriggerDiskBlinkBadRequest
NewTriggerDiskBlinkBadRequest creates a TriggerDiskBlinkBadRequest with default headers values
func (*TriggerDiskBlinkBadRequest) Error ¶
func (o *TriggerDiskBlinkBadRequest) Error() string
func (*TriggerDiskBlinkBadRequest) GetPayload ¶
func (o *TriggerDiskBlinkBadRequest) GetPayload() *models.ErrorBody
type TriggerDiskBlinkInternalServerError ¶
type TriggerDiskBlinkInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
TriggerDiskBlinkInternalServerError describes a response with status code 500, with default header values.
Server error
func NewTriggerDiskBlinkInternalServerError ¶
func NewTriggerDiskBlinkInternalServerError() *TriggerDiskBlinkInternalServerError
NewTriggerDiskBlinkInternalServerError creates a TriggerDiskBlinkInternalServerError with default headers values
func (*TriggerDiskBlinkInternalServerError) Error ¶
func (o *TriggerDiskBlinkInternalServerError) Error() string
func (*TriggerDiskBlinkInternalServerError) GetPayload ¶
func (o *TriggerDiskBlinkInternalServerError) GetPayload() *models.ErrorBody
type TriggerDiskBlinkNotFound ¶
TriggerDiskBlinkNotFound describes a response with status code 404, with default header values.
Not found
func NewTriggerDiskBlinkNotFound ¶
func NewTriggerDiskBlinkNotFound() *TriggerDiskBlinkNotFound
NewTriggerDiskBlinkNotFound creates a TriggerDiskBlinkNotFound with default headers values
func (*TriggerDiskBlinkNotFound) Error ¶
func (o *TriggerDiskBlinkNotFound) Error() string
func (*TriggerDiskBlinkNotFound) GetPayload ¶
func (o *TriggerDiskBlinkNotFound) GetPayload() *models.ErrorBody
type TriggerDiskBlinkOK ¶
type TriggerDiskBlinkOK struct { XTowerRequestID string Payload []*models.WithTaskHost }
TriggerDiskBlinkOK describes a response with status code 200, with default header values.
TriggerDiskBlinkOK trigger disk blink o k
func NewTriggerDiskBlinkOK ¶
func NewTriggerDiskBlinkOK() *TriggerDiskBlinkOK
NewTriggerDiskBlinkOK creates a TriggerDiskBlinkOK with default headers values
func (*TriggerDiskBlinkOK) Error ¶
func (o *TriggerDiskBlinkOK) Error() string
func (*TriggerDiskBlinkOK) GetPayload ¶
func (o *TriggerDiskBlinkOK) GetPayload() []*models.WithTaskHost
type TriggerDiskBlinkParams ¶
type TriggerDiskBlinkParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.TriggerDiskBlinkParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TriggerDiskBlinkParams contains all the parameters to send to the API endpoint
for the trigger disk blink operation. Typically these are written to a http.Request.
func NewTriggerDiskBlinkParams ¶
func NewTriggerDiskBlinkParams() *TriggerDiskBlinkParams
NewTriggerDiskBlinkParams creates a new TriggerDiskBlinkParams 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 NewTriggerDiskBlinkParamsWithContext ¶
func NewTriggerDiskBlinkParamsWithContext(ctx context.Context) *TriggerDiskBlinkParams
NewTriggerDiskBlinkParamsWithContext creates a new TriggerDiskBlinkParams object with the ability to set a context for a request.
func NewTriggerDiskBlinkParamsWithHTTPClient ¶
func NewTriggerDiskBlinkParamsWithHTTPClient(client *http.Client) *TriggerDiskBlinkParams
NewTriggerDiskBlinkParamsWithHTTPClient creates a new TriggerDiskBlinkParams object with the ability to set a custom HTTPClient for a request.
func NewTriggerDiskBlinkParamsWithTimeout ¶
func NewTriggerDiskBlinkParamsWithTimeout(timeout time.Duration) *TriggerDiskBlinkParams
NewTriggerDiskBlinkParamsWithTimeout creates a new TriggerDiskBlinkParams object with the ability to set a timeout on a request.
func (*TriggerDiskBlinkParams) SetContentLanguage ¶
func (o *TriggerDiskBlinkParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the trigger disk blink params
func (*TriggerDiskBlinkParams) SetContext ¶
func (o *TriggerDiskBlinkParams) SetContext(ctx context.Context)
SetContext adds the context to the trigger disk blink params
func (*TriggerDiskBlinkParams) SetDefaults ¶
func (o *TriggerDiskBlinkParams) SetDefaults()
SetDefaults hydrates default values in the trigger disk blink params (not the query body).
All values with no default are reset to their zero value.
func (*TriggerDiskBlinkParams) SetHTTPClient ¶
func (o *TriggerDiskBlinkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the trigger disk blink params
func (*TriggerDiskBlinkParams) SetRequestBody ¶
func (o *TriggerDiskBlinkParams) SetRequestBody(requestBody []*models.TriggerDiskBlinkParams)
SetRequestBody adds the requestBody to the trigger disk blink params
func (*TriggerDiskBlinkParams) SetTimeout ¶
func (o *TriggerDiskBlinkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the trigger disk blink params
func (*TriggerDiskBlinkParams) WithContentLanguage ¶
func (o *TriggerDiskBlinkParams) WithContentLanguage(contentLanguage *string) *TriggerDiskBlinkParams
WithContentLanguage adds the contentLanguage to the trigger disk blink params
func (*TriggerDiskBlinkParams) WithContext ¶
func (o *TriggerDiskBlinkParams) WithContext(ctx context.Context) *TriggerDiskBlinkParams
WithContext adds the context to the trigger disk blink params
func (*TriggerDiskBlinkParams) WithDefaults ¶
func (o *TriggerDiskBlinkParams) WithDefaults() *TriggerDiskBlinkParams
WithDefaults hydrates default values in the trigger disk blink params (not the query body).
All values with no default are reset to their zero value.
func (*TriggerDiskBlinkParams) WithHTTPClient ¶
func (o *TriggerDiskBlinkParams) WithHTTPClient(client *http.Client) *TriggerDiskBlinkParams
WithHTTPClient adds the HTTPClient to the trigger disk blink params
func (*TriggerDiskBlinkParams) WithRequestBody ¶
func (o *TriggerDiskBlinkParams) WithRequestBody(requestBody []*models.TriggerDiskBlinkParams) *TriggerDiskBlinkParams
WithRequestBody adds the requestBody to the trigger disk blink params
func (*TriggerDiskBlinkParams) WithTimeout ¶
func (o *TriggerDiskBlinkParams) WithTimeout(timeout time.Duration) *TriggerDiskBlinkParams
WithTimeout adds the timeout to the trigger disk blink params
func (*TriggerDiskBlinkParams) WriteToRequest ¶
func (o *TriggerDiskBlinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TriggerDiskBlinkReader ¶
type TriggerDiskBlinkReader struct {
// contains filtered or unexported fields
}
TriggerDiskBlinkReader is a Reader for the TriggerDiskBlink structure.
func (*TriggerDiskBlinkReader) ReadResponse ¶
func (o *TriggerDiskBlinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateHostBadRequest ¶
UpdateHostBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateHostBadRequest ¶
func NewUpdateHostBadRequest() *UpdateHostBadRequest
NewUpdateHostBadRequest creates a UpdateHostBadRequest with default headers values
func (*UpdateHostBadRequest) Error ¶
func (o *UpdateHostBadRequest) Error() string
func (*UpdateHostBadRequest) GetPayload ¶
func (o *UpdateHostBadRequest) GetPayload() *models.ErrorBody
type UpdateHostInternalServerError ¶
UpdateHostInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateHostInternalServerError ¶
func NewUpdateHostInternalServerError() *UpdateHostInternalServerError
NewUpdateHostInternalServerError creates a UpdateHostInternalServerError with default headers values
func (*UpdateHostInternalServerError) Error ¶
func (o *UpdateHostInternalServerError) Error() string
func (*UpdateHostInternalServerError) GetPayload ¶
func (o *UpdateHostInternalServerError) GetPayload() *models.ErrorBody
type UpdateHostNotFound ¶
UpdateHostNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateHostNotFound ¶
func NewUpdateHostNotFound() *UpdateHostNotFound
NewUpdateHostNotFound creates a UpdateHostNotFound with default headers values
func (*UpdateHostNotFound) Error ¶
func (o *UpdateHostNotFound) Error() string
func (*UpdateHostNotFound) GetPayload ¶
func (o *UpdateHostNotFound) GetPayload() *models.ErrorBody
type UpdateHostOK ¶
type UpdateHostOK struct { XTowerRequestID string Payload []*models.WithTaskHost }
UpdateHostOK describes a response with status code 200, with default header values.
UpdateHostOK update host o k
func NewUpdateHostOK ¶
func NewUpdateHostOK() *UpdateHostOK
NewUpdateHostOK creates a UpdateHostOK with default headers values
func (*UpdateHostOK) Error ¶
func (o *UpdateHostOK) Error() string
func (*UpdateHostOK) GetPayload ¶
func (o *UpdateHostOK) GetPayload() []*models.WithTaskHost
type UpdateHostParams ¶
type UpdateHostParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.HostUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateHostParams contains all the parameters to send to the API endpoint
for the update host operation. Typically these are written to a http.Request.
func NewUpdateHostParams ¶
func NewUpdateHostParams() *UpdateHostParams
NewUpdateHostParams creates a new UpdateHostParams 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 NewUpdateHostParamsWithContext ¶
func NewUpdateHostParamsWithContext(ctx context.Context) *UpdateHostParams
NewUpdateHostParamsWithContext creates a new UpdateHostParams object with the ability to set a context for a request.
func NewUpdateHostParamsWithHTTPClient ¶
func NewUpdateHostParamsWithHTTPClient(client *http.Client) *UpdateHostParams
NewUpdateHostParamsWithHTTPClient creates a new UpdateHostParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateHostParamsWithTimeout ¶
func NewUpdateHostParamsWithTimeout(timeout time.Duration) *UpdateHostParams
NewUpdateHostParamsWithTimeout creates a new UpdateHostParams object with the ability to set a timeout on a request.
func (*UpdateHostParams) SetContentLanguage ¶
func (o *UpdateHostParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update host params
func (*UpdateHostParams) SetContext ¶
func (o *UpdateHostParams) SetContext(ctx context.Context)
SetContext adds the context to the update host params
func (*UpdateHostParams) SetDefaults ¶
func (o *UpdateHostParams) SetDefaults()
SetDefaults hydrates default values in the update host params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateHostParams) SetHTTPClient ¶
func (o *UpdateHostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update host params
func (*UpdateHostParams) SetRequestBody ¶
func (o *UpdateHostParams) SetRequestBody(requestBody *models.HostUpdationParams)
SetRequestBody adds the requestBody to the update host params
func (*UpdateHostParams) SetTimeout ¶
func (o *UpdateHostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update host params
func (*UpdateHostParams) WithContentLanguage ¶
func (o *UpdateHostParams) WithContentLanguage(contentLanguage *string) *UpdateHostParams
WithContentLanguage adds the contentLanguage to the update host params
func (*UpdateHostParams) WithContext ¶
func (o *UpdateHostParams) WithContext(ctx context.Context) *UpdateHostParams
WithContext adds the context to the update host params
func (*UpdateHostParams) WithDefaults ¶
func (o *UpdateHostParams) WithDefaults() *UpdateHostParams
WithDefaults hydrates default values in the update host params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateHostParams) WithHTTPClient ¶
func (o *UpdateHostParams) WithHTTPClient(client *http.Client) *UpdateHostParams
WithHTTPClient adds the HTTPClient to the update host params
func (*UpdateHostParams) WithRequestBody ¶
func (o *UpdateHostParams) WithRequestBody(requestBody *models.HostUpdationParams) *UpdateHostParams
WithRequestBody adds the requestBody to the update host params
func (*UpdateHostParams) WithTimeout ¶
func (o *UpdateHostParams) WithTimeout(timeout time.Duration) *UpdateHostParams
WithTimeout adds the timeout to the update host params
func (*UpdateHostParams) WriteToRequest ¶
func (o *UpdateHostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateHostReader ¶
type UpdateHostReader struct {
// contains filtered or unexported fields
}
UpdateHostReader is a Reader for the UpdateHost structure.
func (*UpdateHostReader) ReadResponse ¶
func (o *UpdateHostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_host_parameters.go
- create_host_responses.go
- enter_maintenance_mode_parameters.go
- enter_maintenance_mode_pre_check_parameters.go
- enter_maintenance_mode_pre_check_responses.go
- enter_maintenance_mode_precheck_result_parameters.go
- enter_maintenance_mode_precheck_result_responses.go
- enter_maintenance_mode_responses.go
- exit_maintenance_mode_parameters.go
- exit_maintenance_mode_precheck_result_parameters.go
- exit_maintenance_mode_precheck_result_responses.go
- exit_maintenance_mode_responses.go
- get_hosts_connection_parameters.go
- get_hosts_connection_responses.go
- get_hosts_parameters.go
- get_hosts_responses.go
- host_client.go
- power_off_host_parameters.go
- power_off_host_responses.go
- trigger_disk_blink_parameters.go
- trigger_disk_blink_responses.go
- update_host_parameters.go
- update_host_responses.go