Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetVMDisksBadRequest
- type GetVMDisksConnectionBadRequest
- type GetVMDisksConnectionInternalServerError
- type GetVMDisksConnectionNotFound
- type GetVMDisksConnectionOK
- type GetVMDisksConnectionParams
- func NewGetVMDisksConnectionParams() *GetVMDisksConnectionParams
- func NewGetVMDisksConnectionParamsWithContext(ctx context.Context) *GetVMDisksConnectionParams
- func NewGetVMDisksConnectionParamsWithHTTPClient(client *http.Client) *GetVMDisksConnectionParams
- func NewGetVMDisksConnectionParamsWithTimeout(timeout time.Duration) *GetVMDisksConnectionParams
- func (o *GetVMDisksConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMDisksConnectionParams) SetContext(ctx context.Context)
- func (o *GetVMDisksConnectionParams) SetDefaults()
- func (o *GetVMDisksConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVMDisksConnectionParams) SetRequestBody(requestBody *models.GetVMDisksConnectionRequestBody)
- func (o *GetVMDisksConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVMDisksConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMDisksConnectionParams
- func (o *GetVMDisksConnectionParams) WithContext(ctx context.Context) *GetVMDisksConnectionParams
- func (o *GetVMDisksConnectionParams) WithDefaults() *GetVMDisksConnectionParams
- func (o *GetVMDisksConnectionParams) WithHTTPClient(client *http.Client) *GetVMDisksConnectionParams
- func (o *GetVMDisksConnectionParams) WithRequestBody(requestBody *models.GetVMDisksConnectionRequestBody) *GetVMDisksConnectionParams
- func (o *GetVMDisksConnectionParams) WithTimeout(timeout time.Duration) *GetVMDisksConnectionParams
- func (o *GetVMDisksConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMDisksConnectionReader
- type GetVMDisksInternalServerError
- type GetVMDisksNotFound
- type GetVMDisksOK
- type GetVMDisksParams
- func (o *GetVMDisksParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVMDisksParams) SetContext(ctx context.Context)
- func (o *GetVMDisksParams) SetDefaults()
- func (o *GetVMDisksParams) SetHTTPClient(client *http.Client)
- func (o *GetVMDisksParams) SetRequestBody(requestBody *models.GetVMDisksRequestBody)
- func (o *GetVMDisksParams) SetTimeout(timeout time.Duration)
- func (o *GetVMDisksParams) WithContentLanguage(contentLanguage *string) *GetVMDisksParams
- func (o *GetVMDisksParams) WithContext(ctx context.Context) *GetVMDisksParams
- func (o *GetVMDisksParams) WithDefaults() *GetVMDisksParams
- func (o *GetVMDisksParams) WithHTTPClient(client *http.Client) *GetVMDisksParams
- func (o *GetVMDisksParams) WithRequestBody(requestBody *models.GetVMDisksRequestBody) *GetVMDisksParams
- func (o *GetVMDisksParams) WithTimeout(timeout time.Duration) *GetVMDisksParams
- func (o *GetVMDisksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMDisksReader
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 vm disk API
func (*Client) GetVMDisks ¶
func (a *Client) GetVMDisks(params *GetVMDisksParams, opts ...ClientOption) (*GetVMDisksOK, error)
GetVMDisks get Vm disks API
func (*Client) GetVMDisksConnection ¶
func (a *Client) GetVMDisksConnection(params *GetVMDisksConnectionParams, opts ...ClientOption) (*GetVMDisksConnectionOK, error)
GetVMDisksConnection get Vm disks connection API
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 { GetVMDisks(params *GetVMDisksParams, opts ...ClientOption) (*GetVMDisksOK, error) GetVMDisksConnection(params *GetVMDisksConnectionParams, opts ...ClientOption) (*GetVMDisksConnectionOK, 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 vm disk API client.
type GetVMDisksBadRequest ¶
GetVMDisksBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVMDisksBadRequest ¶
func NewGetVMDisksBadRequest() *GetVMDisksBadRequest
NewGetVMDisksBadRequest creates a GetVMDisksBadRequest with default headers values
func (*GetVMDisksBadRequest) Error ¶
func (o *GetVMDisksBadRequest) Error() string
func (*GetVMDisksBadRequest) GetPayload ¶
func (o *GetVMDisksBadRequest) GetPayload() *models.ErrorBody
type GetVMDisksConnectionBadRequest ¶
GetVMDisksConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVMDisksConnectionBadRequest ¶
func NewGetVMDisksConnectionBadRequest() *GetVMDisksConnectionBadRequest
NewGetVMDisksConnectionBadRequest creates a GetVMDisksConnectionBadRequest with default headers values
func (*GetVMDisksConnectionBadRequest) Error ¶
func (o *GetVMDisksConnectionBadRequest) Error() string
func (*GetVMDisksConnectionBadRequest) GetPayload ¶
func (o *GetVMDisksConnectionBadRequest) GetPayload() *models.ErrorBody
type GetVMDisksConnectionInternalServerError ¶
GetVMDisksConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVMDisksConnectionInternalServerError ¶
func NewGetVMDisksConnectionInternalServerError() *GetVMDisksConnectionInternalServerError
NewGetVMDisksConnectionInternalServerError creates a GetVMDisksConnectionInternalServerError with default headers values
func (*GetVMDisksConnectionInternalServerError) Error ¶
func (o *GetVMDisksConnectionInternalServerError) Error() string
func (*GetVMDisksConnectionInternalServerError) GetPayload ¶
func (o *GetVMDisksConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVMDisksConnectionNotFound ¶
GetVMDisksConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVMDisksConnectionNotFound ¶
func NewGetVMDisksConnectionNotFound() *GetVMDisksConnectionNotFound
NewGetVMDisksConnectionNotFound creates a GetVMDisksConnectionNotFound with default headers values
func (*GetVMDisksConnectionNotFound) Error ¶
func (o *GetVMDisksConnectionNotFound) Error() string
func (*GetVMDisksConnectionNotFound) GetPayload ¶
func (o *GetVMDisksConnectionNotFound) GetPayload() *models.ErrorBody
type GetVMDisksConnectionOK ¶
type GetVMDisksConnectionOK struct {
Payload *models.VMDiskConnection
}
GetVMDisksConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetVMDisksConnectionOK ¶
func NewGetVMDisksConnectionOK() *GetVMDisksConnectionOK
NewGetVMDisksConnectionOK creates a GetVMDisksConnectionOK with default headers values
func (*GetVMDisksConnectionOK) Error ¶
func (o *GetVMDisksConnectionOK) Error() string
func (*GetVMDisksConnectionOK) GetPayload ¶
func (o *GetVMDisksConnectionOK) GetPayload() *models.VMDiskConnection
type GetVMDisksConnectionParams ¶
type GetVMDisksConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMDisksConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMDisksConnectionParams contains all the parameters to send to the API endpoint
for the get Vm disks connection operation. Typically these are written to a http.Request.
func NewGetVMDisksConnectionParams ¶
func NewGetVMDisksConnectionParams() *GetVMDisksConnectionParams
NewGetVMDisksConnectionParams creates a new GetVMDisksConnectionParams 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 NewGetVMDisksConnectionParamsWithContext ¶
func NewGetVMDisksConnectionParamsWithContext(ctx context.Context) *GetVMDisksConnectionParams
NewGetVMDisksConnectionParamsWithContext creates a new GetVMDisksConnectionParams object with the ability to set a context for a request.
func NewGetVMDisksConnectionParamsWithHTTPClient ¶
func NewGetVMDisksConnectionParamsWithHTTPClient(client *http.Client) *GetVMDisksConnectionParams
NewGetVMDisksConnectionParamsWithHTTPClient creates a new GetVMDisksConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMDisksConnectionParamsWithTimeout ¶
func NewGetVMDisksConnectionParamsWithTimeout(timeout time.Duration) *GetVMDisksConnectionParams
NewGetVMDisksConnectionParamsWithTimeout creates a new GetVMDisksConnectionParams object with the ability to set a timeout on a request.
func (*GetVMDisksConnectionParams) SetContentLanguage ¶
func (o *GetVMDisksConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm disks connection params
func (*GetVMDisksConnectionParams) SetContext ¶
func (o *GetVMDisksConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm disks connection params
func (*GetVMDisksConnectionParams) SetDefaults ¶
func (o *GetVMDisksConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get Vm disks connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMDisksConnectionParams) SetHTTPClient ¶
func (o *GetVMDisksConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm disks connection params
func (*GetVMDisksConnectionParams) SetRequestBody ¶
func (o *GetVMDisksConnectionParams) SetRequestBody(requestBody *models.GetVMDisksConnectionRequestBody)
SetRequestBody adds the requestBody to the get Vm disks connection params
func (*GetVMDisksConnectionParams) SetTimeout ¶
func (o *GetVMDisksConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm disks connection params
func (*GetVMDisksConnectionParams) WithContentLanguage ¶
func (o *GetVMDisksConnectionParams) WithContentLanguage(contentLanguage *string) *GetVMDisksConnectionParams
WithContentLanguage adds the contentLanguage to the get Vm disks connection params
func (*GetVMDisksConnectionParams) WithContext ¶
func (o *GetVMDisksConnectionParams) WithContext(ctx context.Context) *GetVMDisksConnectionParams
WithContext adds the context to the get Vm disks connection params
func (*GetVMDisksConnectionParams) WithDefaults ¶
func (o *GetVMDisksConnectionParams) WithDefaults() *GetVMDisksConnectionParams
WithDefaults hydrates default values in the get Vm disks connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMDisksConnectionParams) WithHTTPClient ¶
func (o *GetVMDisksConnectionParams) WithHTTPClient(client *http.Client) *GetVMDisksConnectionParams
WithHTTPClient adds the HTTPClient to the get Vm disks connection params
func (*GetVMDisksConnectionParams) WithRequestBody ¶
func (o *GetVMDisksConnectionParams) WithRequestBody(requestBody *models.GetVMDisksConnectionRequestBody) *GetVMDisksConnectionParams
WithRequestBody adds the requestBody to the get Vm disks connection params
func (*GetVMDisksConnectionParams) WithTimeout ¶
func (o *GetVMDisksConnectionParams) WithTimeout(timeout time.Duration) *GetVMDisksConnectionParams
WithTimeout adds the timeout to the get Vm disks connection params
func (*GetVMDisksConnectionParams) WriteToRequest ¶
func (o *GetVMDisksConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMDisksConnectionReader ¶
type GetVMDisksConnectionReader struct {
// contains filtered or unexported fields
}
GetVMDisksConnectionReader is a Reader for the GetVMDisksConnection structure.
func (*GetVMDisksConnectionReader) ReadResponse ¶
func (o *GetVMDisksConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMDisksInternalServerError ¶
GetVMDisksInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVMDisksInternalServerError ¶
func NewGetVMDisksInternalServerError() *GetVMDisksInternalServerError
NewGetVMDisksInternalServerError creates a GetVMDisksInternalServerError with default headers values
func (*GetVMDisksInternalServerError) Error ¶
func (o *GetVMDisksInternalServerError) Error() string
func (*GetVMDisksInternalServerError) GetPayload ¶
func (o *GetVMDisksInternalServerError) GetPayload() *models.ErrorBody
type GetVMDisksNotFound ¶
GetVMDisksNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVMDisksNotFound ¶
func NewGetVMDisksNotFound() *GetVMDisksNotFound
NewGetVMDisksNotFound creates a GetVMDisksNotFound with default headers values
func (*GetVMDisksNotFound) Error ¶
func (o *GetVMDisksNotFound) Error() string
func (*GetVMDisksNotFound) GetPayload ¶
func (o *GetVMDisksNotFound) GetPayload() *models.ErrorBody
type GetVMDisksOK ¶
GetVMDisksOK describes a response with status code 200, with default header values.
Ok
func NewGetVMDisksOK ¶
func NewGetVMDisksOK() *GetVMDisksOK
NewGetVMDisksOK creates a GetVMDisksOK with default headers values
func (*GetVMDisksOK) Error ¶
func (o *GetVMDisksOK) Error() string
func (*GetVMDisksOK) GetPayload ¶
func (o *GetVMDisksOK) GetPayload() []*models.VMDisk
type GetVMDisksParams ¶
type GetVMDisksParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVMDisksRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMDisksParams contains all the parameters to send to the API endpoint
for the get Vm disks operation. Typically these are written to a http.Request.
func NewGetVMDisksParams ¶
func NewGetVMDisksParams() *GetVMDisksParams
NewGetVMDisksParams creates a new GetVMDisksParams 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 NewGetVMDisksParamsWithContext ¶
func NewGetVMDisksParamsWithContext(ctx context.Context) *GetVMDisksParams
NewGetVMDisksParamsWithContext creates a new GetVMDisksParams object with the ability to set a context for a request.
func NewGetVMDisksParamsWithHTTPClient ¶
func NewGetVMDisksParamsWithHTTPClient(client *http.Client) *GetVMDisksParams
NewGetVMDisksParamsWithHTTPClient creates a new GetVMDisksParams object with the ability to set a custom HTTPClient for a request.
func NewGetVMDisksParamsWithTimeout ¶
func NewGetVMDisksParamsWithTimeout(timeout time.Duration) *GetVMDisksParams
NewGetVMDisksParamsWithTimeout creates a new GetVMDisksParams object with the ability to set a timeout on a request.
func (*GetVMDisksParams) SetContentLanguage ¶
func (o *GetVMDisksParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get Vm disks params
func (*GetVMDisksParams) SetContext ¶
func (o *GetVMDisksParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm disks params
func (*GetVMDisksParams) SetDefaults ¶
func (o *GetVMDisksParams) SetDefaults()
SetDefaults hydrates default values in the get Vm disks params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMDisksParams) SetHTTPClient ¶
func (o *GetVMDisksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm disks params
func (*GetVMDisksParams) SetRequestBody ¶
func (o *GetVMDisksParams) SetRequestBody(requestBody *models.GetVMDisksRequestBody)
SetRequestBody adds the requestBody to the get Vm disks params
func (*GetVMDisksParams) SetTimeout ¶
func (o *GetVMDisksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm disks params
func (*GetVMDisksParams) WithContentLanguage ¶
func (o *GetVMDisksParams) WithContentLanguage(contentLanguage *string) *GetVMDisksParams
WithContentLanguage adds the contentLanguage to the get Vm disks params
func (*GetVMDisksParams) WithContext ¶
func (o *GetVMDisksParams) WithContext(ctx context.Context) *GetVMDisksParams
WithContext adds the context to the get Vm disks params
func (*GetVMDisksParams) WithDefaults ¶
func (o *GetVMDisksParams) WithDefaults() *GetVMDisksParams
WithDefaults hydrates default values in the get Vm disks params (not the query body).
All values with no default are reset to their zero value.
func (*GetVMDisksParams) WithHTTPClient ¶
func (o *GetVMDisksParams) WithHTTPClient(client *http.Client) *GetVMDisksParams
WithHTTPClient adds the HTTPClient to the get Vm disks params
func (*GetVMDisksParams) WithRequestBody ¶
func (o *GetVMDisksParams) WithRequestBody(requestBody *models.GetVMDisksRequestBody) *GetVMDisksParams
WithRequestBody adds the requestBody to the get Vm disks params
func (*GetVMDisksParams) WithTimeout ¶
func (o *GetVMDisksParams) WithTimeout(timeout time.Duration) *GetVMDisksParams
WithTimeout adds the timeout to the get Vm disks params
func (*GetVMDisksParams) WriteToRequest ¶
func (o *GetVMDisksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMDisksReader ¶
type GetVMDisksReader struct {
// contains filtered or unexported fields
}
GetVMDisksReader is a Reader for the GetVMDisks structure.
func (*GetVMDisksReader) ReadResponse ¶
func (o *GetVMDisksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.