Documentation
¶
Index ¶
- type Client
- func (a *Client) GetSysteminfo(params *GetSysteminfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSysteminfoOK, error)
- func (a *Client) GetSysteminfoGetcert(params *GetSysteminfoGetcertParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSysteminfoGetcertOK, error)
- func (a *Client) GetSysteminfoVolumes(params *GetSysteminfoVolumesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSysteminfoVolumesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetSysteminfoGetcertInternalServerError
- type GetSysteminfoGetcertNotFound
- type GetSysteminfoGetcertOK
- type GetSysteminfoGetcertParams
- func NewGetSysteminfoGetcertParams() *GetSysteminfoGetcertParams
- func NewGetSysteminfoGetcertParamsWithContext(ctx context.Context) *GetSysteminfoGetcertParams
- func NewGetSysteminfoGetcertParamsWithHTTPClient(client *http.Client) *GetSysteminfoGetcertParams
- func NewGetSysteminfoGetcertParamsWithTimeout(timeout time.Duration) *GetSysteminfoGetcertParams
- func (o *GetSysteminfoGetcertParams) SetContext(ctx context.Context)
- func (o *GetSysteminfoGetcertParams) SetDefaults()
- func (o *GetSysteminfoGetcertParams) SetHTTPClient(client *http.Client)
- func (o *GetSysteminfoGetcertParams) SetTimeout(timeout time.Duration)
- func (o *GetSysteminfoGetcertParams) WithContext(ctx context.Context) *GetSysteminfoGetcertParams
- func (o *GetSysteminfoGetcertParams) WithDefaults() *GetSysteminfoGetcertParams
- func (o *GetSysteminfoGetcertParams) WithHTTPClient(client *http.Client) *GetSysteminfoGetcertParams
- func (o *GetSysteminfoGetcertParams) WithTimeout(timeout time.Duration) *GetSysteminfoGetcertParams
- func (o *GetSysteminfoGetcertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSysteminfoGetcertReader
- type GetSysteminfoInternalServerError
- type GetSysteminfoOK
- type GetSysteminfoParams
- func (o *GetSysteminfoParams) SetContext(ctx context.Context)
- func (o *GetSysteminfoParams) SetDefaults()
- func (o *GetSysteminfoParams) SetHTTPClient(client *http.Client)
- func (o *GetSysteminfoParams) SetTimeout(timeout time.Duration)
- func (o *GetSysteminfoParams) WithContext(ctx context.Context) *GetSysteminfoParams
- func (o *GetSysteminfoParams) WithDefaults() *GetSysteminfoParams
- func (o *GetSysteminfoParams) WithHTTPClient(client *http.Client) *GetSysteminfoParams
- func (o *GetSysteminfoParams) WithTimeout(timeout time.Duration) *GetSysteminfoParams
- func (o *GetSysteminfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSysteminfoReader
- type GetSysteminfoVolumesForbidden
- type GetSysteminfoVolumesInternalServerError
- type GetSysteminfoVolumesNotFound
- type GetSysteminfoVolumesOK
- type GetSysteminfoVolumesParams
- func NewGetSysteminfoVolumesParams() *GetSysteminfoVolumesParams
- func NewGetSysteminfoVolumesParamsWithContext(ctx context.Context) *GetSysteminfoVolumesParams
- func NewGetSysteminfoVolumesParamsWithHTTPClient(client *http.Client) *GetSysteminfoVolumesParams
- func NewGetSysteminfoVolumesParamsWithTimeout(timeout time.Duration) *GetSysteminfoVolumesParams
- func (o *GetSysteminfoVolumesParams) SetContext(ctx context.Context)
- func (o *GetSysteminfoVolumesParams) SetDefaults()
- func (o *GetSysteminfoVolumesParams) SetHTTPClient(client *http.Client)
- func (o *GetSysteminfoVolumesParams) SetTimeout(timeout time.Duration)
- func (o *GetSysteminfoVolumesParams) WithContext(ctx context.Context) *GetSysteminfoVolumesParams
- func (o *GetSysteminfoVolumesParams) WithDefaults() *GetSysteminfoVolumesParams
- func (o *GetSysteminfoVolumesParams) WithHTTPClient(client *http.Client) *GetSysteminfoVolumesParams
- func (o *GetSysteminfoVolumesParams) WithTimeout(timeout time.Duration) *GetSysteminfoVolumesParams
- func (o *GetSysteminfoVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSysteminfoVolumesReader
- type GetSysteminfoVolumesUnauthorized
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 systeminfo API
func (*Client) GetSysteminfo ¶
func (a *Client) GetSysteminfo(params *GetSysteminfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoOK, error)
GetSysteminfo gets general system info
This API is for retrieving general system info, this can be called by anonymous request. Some attributes will be omitted in the response when this API is called by anonymous request.
func (*Client) GetSysteminfoGetcert ¶
func (a *Client) GetSysteminfoGetcert(params *GetSysteminfoGetcertParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*GetSysteminfoGetcertOK, error)
GetSysteminfoGetcert gets default root certificate
This endpoint is for downloading a default root certificate.
func (*Client) GetSysteminfoVolumes ¶
func (a *Client) GetSysteminfoVolumes(params *GetSysteminfoVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoVolumesOK, error)
GetSysteminfoVolumes gets system volume info total free size
This endpoint is for retrieving system volume info that only provides for admin user. Note that the response only reflects the storage status of local disk.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetSysteminfo(params *GetSysteminfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoOK, error) GetSysteminfoGetcert(params *GetSysteminfoGetcertParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*GetSysteminfoGetcertOK, error) GetSysteminfoVolumes(params *GetSysteminfoVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSysteminfoVolumesOK, 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 systeminfo API client.
type GetSysteminfoGetcertInternalServerError ¶
type GetSysteminfoGetcertInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetSysteminfoGetcertInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSysteminfoGetcertInternalServerError ¶
func NewGetSysteminfoGetcertInternalServerError() *GetSysteminfoGetcertInternalServerError
NewGetSysteminfoGetcertInternalServerError creates a GetSysteminfoGetcertInternalServerError with default headers values
func (*GetSysteminfoGetcertInternalServerError) Error ¶
func (o *GetSysteminfoGetcertInternalServerError) Error() string
func (*GetSysteminfoGetcertInternalServerError) GetPayload ¶
func (o *GetSysteminfoGetcertInternalServerError) GetPayload() *model.Errors
type GetSysteminfoGetcertNotFound ¶
type GetSysteminfoGetcertNotFound struct { }
GetSysteminfoGetcertNotFound describes a response with status code 404, with default header values.
Not found the default root certificate.
func NewGetSysteminfoGetcertNotFound ¶
func NewGetSysteminfoGetcertNotFound() *GetSysteminfoGetcertNotFound
NewGetSysteminfoGetcertNotFound creates a GetSysteminfoGetcertNotFound with default headers values
func (*GetSysteminfoGetcertNotFound) Error ¶
func (o *GetSysteminfoGetcertNotFound) Error() string
type GetSysteminfoGetcertOK ¶
type GetSysteminfoGetcertOK struct { /* To set the filename of the downloaded file. */ ContentDisposition string Payload io.Writer }
GetSysteminfoGetcertOK describes a response with status code 200, with default header values.
Get default root certificate successfully.
func NewGetSysteminfoGetcertOK ¶
func NewGetSysteminfoGetcertOK(writer io.Writer) *GetSysteminfoGetcertOK
NewGetSysteminfoGetcertOK creates a GetSysteminfoGetcertOK with default headers values
func (*GetSysteminfoGetcertOK) Error ¶
func (o *GetSysteminfoGetcertOK) Error() string
func (*GetSysteminfoGetcertOK) GetPayload ¶
func (o *GetSysteminfoGetcertOK) GetPayload() io.Writer
type GetSysteminfoGetcertParams ¶
type GetSysteminfoGetcertParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSysteminfoGetcertParams contains all the parameters to send to the API endpoint
for the get systeminfo getcert operation. Typically these are written to a http.Request.
func NewGetSysteminfoGetcertParams ¶
func NewGetSysteminfoGetcertParams() *GetSysteminfoGetcertParams
NewGetSysteminfoGetcertParams creates a new GetSysteminfoGetcertParams 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 NewGetSysteminfoGetcertParamsWithContext ¶
func NewGetSysteminfoGetcertParamsWithContext(ctx context.Context) *GetSysteminfoGetcertParams
NewGetSysteminfoGetcertParamsWithContext creates a new GetSysteminfoGetcertParams object with the ability to set a context for a request.
func NewGetSysteminfoGetcertParamsWithHTTPClient ¶
func NewGetSysteminfoGetcertParamsWithHTTPClient(client *http.Client) *GetSysteminfoGetcertParams
NewGetSysteminfoGetcertParamsWithHTTPClient creates a new GetSysteminfoGetcertParams object with the ability to set a custom HTTPClient for a request.
func NewGetSysteminfoGetcertParamsWithTimeout ¶
func NewGetSysteminfoGetcertParamsWithTimeout(timeout time.Duration) *GetSysteminfoGetcertParams
NewGetSysteminfoGetcertParamsWithTimeout creates a new GetSysteminfoGetcertParams object with the ability to set a timeout on a request.
func (*GetSysteminfoGetcertParams) SetContext ¶
func (o *GetSysteminfoGetcertParams) SetContext(ctx context.Context)
SetContext adds the context to the get systeminfo getcert params
func (*GetSysteminfoGetcertParams) SetDefaults ¶
func (o *GetSysteminfoGetcertParams) SetDefaults()
SetDefaults hydrates default values in the get systeminfo getcert params (not the query body).
All values with no default are reset to their zero value.
func (*GetSysteminfoGetcertParams) SetHTTPClient ¶
func (o *GetSysteminfoGetcertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get systeminfo getcert params
func (*GetSysteminfoGetcertParams) SetTimeout ¶
func (o *GetSysteminfoGetcertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get systeminfo getcert params
func (*GetSysteminfoGetcertParams) WithContext ¶
func (o *GetSysteminfoGetcertParams) WithContext(ctx context.Context) *GetSysteminfoGetcertParams
WithContext adds the context to the get systeminfo getcert params
func (*GetSysteminfoGetcertParams) WithDefaults ¶
func (o *GetSysteminfoGetcertParams) WithDefaults() *GetSysteminfoGetcertParams
WithDefaults hydrates default values in the get systeminfo getcert params (not the query body).
All values with no default are reset to their zero value.
func (*GetSysteminfoGetcertParams) WithHTTPClient ¶
func (o *GetSysteminfoGetcertParams) WithHTTPClient(client *http.Client) *GetSysteminfoGetcertParams
WithHTTPClient adds the HTTPClient to the get systeminfo getcert params
func (*GetSysteminfoGetcertParams) WithTimeout ¶
func (o *GetSysteminfoGetcertParams) WithTimeout(timeout time.Duration) *GetSysteminfoGetcertParams
WithTimeout adds the timeout to the get systeminfo getcert params
func (*GetSysteminfoGetcertParams) WriteToRequest ¶
func (o *GetSysteminfoGetcertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSysteminfoGetcertReader ¶
type GetSysteminfoGetcertReader struct {
// contains filtered or unexported fields
}
GetSysteminfoGetcertReader is a Reader for the GetSysteminfoGetcert structure.
func (*GetSysteminfoGetcertReader) ReadResponse ¶
func (o *GetSysteminfoGetcertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSysteminfoInternalServerError ¶
type GetSysteminfoInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetSysteminfoInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSysteminfoInternalServerError ¶
func NewGetSysteminfoInternalServerError() *GetSysteminfoInternalServerError
NewGetSysteminfoInternalServerError creates a GetSysteminfoInternalServerError with default headers values
func (*GetSysteminfoInternalServerError) Error ¶
func (o *GetSysteminfoInternalServerError) Error() string
func (*GetSysteminfoInternalServerError) GetPayload ¶
func (o *GetSysteminfoInternalServerError) GetPayload() *model.Errors
type GetSysteminfoOK ¶
type GetSysteminfoOK struct {
Payload *model.GeneralInfo
}
GetSysteminfoOK describes a response with status code 200, with default header values.
Get general info successfully.
func NewGetSysteminfoOK ¶
func NewGetSysteminfoOK() *GetSysteminfoOK
NewGetSysteminfoOK creates a GetSysteminfoOK with default headers values
func (*GetSysteminfoOK) Error ¶
func (o *GetSysteminfoOK) Error() string
func (*GetSysteminfoOK) GetPayload ¶
func (o *GetSysteminfoOK) GetPayload() *model.GeneralInfo
type GetSysteminfoParams ¶
type GetSysteminfoParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSysteminfoParams contains all the parameters to send to the API endpoint
for the get systeminfo operation. Typically these are written to a http.Request.
func NewGetSysteminfoParams ¶
func NewGetSysteminfoParams() *GetSysteminfoParams
NewGetSysteminfoParams creates a new GetSysteminfoParams 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 NewGetSysteminfoParamsWithContext ¶
func NewGetSysteminfoParamsWithContext(ctx context.Context) *GetSysteminfoParams
NewGetSysteminfoParamsWithContext creates a new GetSysteminfoParams object with the ability to set a context for a request.
func NewGetSysteminfoParamsWithHTTPClient ¶
func NewGetSysteminfoParamsWithHTTPClient(client *http.Client) *GetSysteminfoParams
NewGetSysteminfoParamsWithHTTPClient creates a new GetSysteminfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetSysteminfoParamsWithTimeout ¶
func NewGetSysteminfoParamsWithTimeout(timeout time.Duration) *GetSysteminfoParams
NewGetSysteminfoParamsWithTimeout creates a new GetSysteminfoParams object with the ability to set a timeout on a request.
func (*GetSysteminfoParams) SetContext ¶
func (o *GetSysteminfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get systeminfo params
func (*GetSysteminfoParams) SetDefaults ¶
func (o *GetSysteminfoParams) SetDefaults()
SetDefaults hydrates default values in the get systeminfo params (not the query body).
All values with no default are reset to their zero value.
func (*GetSysteminfoParams) SetHTTPClient ¶
func (o *GetSysteminfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get systeminfo params
func (*GetSysteminfoParams) SetTimeout ¶
func (o *GetSysteminfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get systeminfo params
func (*GetSysteminfoParams) WithContext ¶
func (o *GetSysteminfoParams) WithContext(ctx context.Context) *GetSysteminfoParams
WithContext adds the context to the get systeminfo params
func (*GetSysteminfoParams) WithDefaults ¶
func (o *GetSysteminfoParams) WithDefaults() *GetSysteminfoParams
WithDefaults hydrates default values in the get systeminfo params (not the query body).
All values with no default are reset to their zero value.
func (*GetSysteminfoParams) WithHTTPClient ¶
func (o *GetSysteminfoParams) WithHTTPClient(client *http.Client) *GetSysteminfoParams
WithHTTPClient adds the HTTPClient to the get systeminfo params
func (*GetSysteminfoParams) WithTimeout ¶
func (o *GetSysteminfoParams) WithTimeout(timeout time.Duration) *GetSysteminfoParams
WithTimeout adds the timeout to the get systeminfo params
func (*GetSysteminfoParams) WriteToRequest ¶
func (o *GetSysteminfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSysteminfoReader ¶
type GetSysteminfoReader struct {
// contains filtered or unexported fields
}
GetSysteminfoReader is a Reader for the GetSysteminfo structure.
func (*GetSysteminfoReader) ReadResponse ¶
func (o *GetSysteminfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSysteminfoVolumesForbidden ¶
type GetSysteminfoVolumesForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetSysteminfoVolumesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetSysteminfoVolumesForbidden ¶
func NewGetSysteminfoVolumesForbidden() *GetSysteminfoVolumesForbidden
NewGetSysteminfoVolumesForbidden creates a GetSysteminfoVolumesForbidden with default headers values
func (*GetSysteminfoVolumesForbidden) Error ¶
func (o *GetSysteminfoVolumesForbidden) Error() string
func (*GetSysteminfoVolumesForbidden) GetPayload ¶
func (o *GetSysteminfoVolumesForbidden) GetPayload() *model.Errors
type GetSysteminfoVolumesInternalServerError ¶
type GetSysteminfoVolumesInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetSysteminfoVolumesInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSysteminfoVolumesInternalServerError ¶
func NewGetSysteminfoVolumesInternalServerError() *GetSysteminfoVolumesInternalServerError
NewGetSysteminfoVolumesInternalServerError creates a GetSysteminfoVolumesInternalServerError with default headers values
func (*GetSysteminfoVolumesInternalServerError) Error ¶
func (o *GetSysteminfoVolumesInternalServerError) Error() string
func (*GetSysteminfoVolumesInternalServerError) GetPayload ¶
func (o *GetSysteminfoVolumesInternalServerError) GetPayload() *model.Errors
type GetSysteminfoVolumesNotFound ¶
type GetSysteminfoVolumesNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetSysteminfoVolumesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSysteminfoVolumesNotFound ¶
func NewGetSysteminfoVolumesNotFound() *GetSysteminfoVolumesNotFound
NewGetSysteminfoVolumesNotFound creates a GetSysteminfoVolumesNotFound with default headers values
func (*GetSysteminfoVolumesNotFound) Error ¶
func (o *GetSysteminfoVolumesNotFound) Error() string
func (*GetSysteminfoVolumesNotFound) GetPayload ¶
func (o *GetSysteminfoVolumesNotFound) GetPayload() *model.Errors
type GetSysteminfoVolumesOK ¶
type GetSysteminfoVolumesOK struct {
Payload *model.SystemInfo
}
GetSysteminfoVolumesOK describes a response with status code 200, with default header values.
Get system volumes successfully.
func NewGetSysteminfoVolumesOK ¶
func NewGetSysteminfoVolumesOK() *GetSysteminfoVolumesOK
NewGetSysteminfoVolumesOK creates a GetSysteminfoVolumesOK with default headers values
func (*GetSysteminfoVolumesOK) Error ¶
func (o *GetSysteminfoVolumesOK) Error() string
func (*GetSysteminfoVolumesOK) GetPayload ¶
func (o *GetSysteminfoVolumesOK) GetPayload() *model.SystemInfo
type GetSysteminfoVolumesParams ¶
type GetSysteminfoVolumesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSysteminfoVolumesParams contains all the parameters to send to the API endpoint
for the get systeminfo volumes operation. Typically these are written to a http.Request.
func NewGetSysteminfoVolumesParams ¶
func NewGetSysteminfoVolumesParams() *GetSysteminfoVolumesParams
NewGetSysteminfoVolumesParams creates a new GetSysteminfoVolumesParams 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 NewGetSysteminfoVolumesParamsWithContext ¶
func NewGetSysteminfoVolumesParamsWithContext(ctx context.Context) *GetSysteminfoVolumesParams
NewGetSysteminfoVolumesParamsWithContext creates a new GetSysteminfoVolumesParams object with the ability to set a context for a request.
func NewGetSysteminfoVolumesParamsWithHTTPClient ¶
func NewGetSysteminfoVolumesParamsWithHTTPClient(client *http.Client) *GetSysteminfoVolumesParams
NewGetSysteminfoVolumesParamsWithHTTPClient creates a new GetSysteminfoVolumesParams object with the ability to set a custom HTTPClient for a request.
func NewGetSysteminfoVolumesParamsWithTimeout ¶
func NewGetSysteminfoVolumesParamsWithTimeout(timeout time.Duration) *GetSysteminfoVolumesParams
NewGetSysteminfoVolumesParamsWithTimeout creates a new GetSysteminfoVolumesParams object with the ability to set a timeout on a request.
func (*GetSysteminfoVolumesParams) SetContext ¶
func (o *GetSysteminfoVolumesParams) SetContext(ctx context.Context)
SetContext adds the context to the get systeminfo volumes params
func (*GetSysteminfoVolumesParams) SetDefaults ¶
func (o *GetSysteminfoVolumesParams) SetDefaults()
SetDefaults hydrates default values in the get systeminfo volumes params (not the query body).
All values with no default are reset to their zero value.
func (*GetSysteminfoVolumesParams) SetHTTPClient ¶
func (o *GetSysteminfoVolumesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get systeminfo volumes params
func (*GetSysteminfoVolumesParams) SetTimeout ¶
func (o *GetSysteminfoVolumesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get systeminfo volumes params
func (*GetSysteminfoVolumesParams) WithContext ¶
func (o *GetSysteminfoVolumesParams) WithContext(ctx context.Context) *GetSysteminfoVolumesParams
WithContext adds the context to the get systeminfo volumes params
func (*GetSysteminfoVolumesParams) WithDefaults ¶
func (o *GetSysteminfoVolumesParams) WithDefaults() *GetSysteminfoVolumesParams
WithDefaults hydrates default values in the get systeminfo volumes params (not the query body).
All values with no default are reset to their zero value.
func (*GetSysteminfoVolumesParams) WithHTTPClient ¶
func (o *GetSysteminfoVolumesParams) WithHTTPClient(client *http.Client) *GetSysteminfoVolumesParams
WithHTTPClient adds the HTTPClient to the get systeminfo volumes params
func (*GetSysteminfoVolumesParams) WithTimeout ¶
func (o *GetSysteminfoVolumesParams) WithTimeout(timeout time.Duration) *GetSysteminfoVolumesParams
WithTimeout adds the timeout to the get systeminfo volumes params
func (*GetSysteminfoVolumesParams) WriteToRequest ¶
func (o *GetSysteminfoVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSysteminfoVolumesReader ¶
type GetSysteminfoVolumesReader struct {
// contains filtered or unexported fields
}
GetSysteminfoVolumesReader is a Reader for the GetSysteminfoVolumes structure.
func (*GetSysteminfoVolumesReader) ReadResponse ¶
func (o *GetSysteminfoVolumesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSysteminfoVolumesUnauthorized ¶
type GetSysteminfoVolumesUnauthorized struct { string }XRequestID
GetSysteminfoVolumesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetSysteminfoVolumesUnauthorized ¶
func NewGetSysteminfoVolumesUnauthorized() *GetSysteminfoVolumesUnauthorized
NewGetSysteminfoVolumesUnauthorized creates a GetSysteminfoVolumesUnauthorized with default headers values
func (*GetSysteminfoVolumesUnauthorized) Error ¶
func (o *GetSysteminfoVolumesUnauthorized) Error() string
func (*GetSysteminfoVolumesUnauthorized) GetPayload ¶
func (o *GetSysteminfoVolumesUnauthorized) GetPayload() *model.Errors