Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSyncAction(params *CreateSyncActionParams) (*CreateSyncActionNoContent, error)
- func (a *Client) DescribeInstance(params *DescribeInstanceParams) (*DescribeInstanceOK, error)
- func (a *Client) GetMachineConfiguration(params *GetMachineConfigurationParams) (*GetMachineConfigurationOK, error)
- func (a *Client) GetMmds(params *GetMmdsParams) (*GetMmdsOK, error)
- func (a *Client) PatchGuestDriveByID(params *PatchGuestDriveByIDParams) (*PatchGuestDriveByIDNoContent, error)
- func (a *Client) PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams) (*PatchGuestNetworkInterfaceByIDNoContent, error)
- func (a *Client) PatchMachineConfiguration(params *PatchMachineConfigurationParams) (*PatchMachineConfigurationNoContent, error)
- func (a *Client) PatchMmds(params *PatchMmdsParams) (*PatchMmdsNoContent, error)
- func (a *Client) PutGuestBootSource(params *PutGuestBootSourceParams) (*PutGuestBootSourceNoContent, error)
- func (a *Client) PutGuestDriveByID(params *PutGuestDriveByIDParams) (*PutGuestDriveByIDNoContent, error)
- func (a *Client) PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams) (*PutGuestNetworkInterfaceByIDNoContent, error)
- func (a *Client) PutGuestVsock(params *PutGuestVsockParams) (*PutGuestVsockNoContent, error)
- func (a *Client) PutLogger(params *PutLoggerParams) (*PutLoggerNoContent, error)
- func (a *Client) PutMachineConfiguration(params *PutMachineConfigurationParams) (*PutMachineConfigurationNoContent, error)
- func (a *Client) PutMmds(params *PutMmdsParams) (*PutMmdsNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateSyncActionBadRequest
- type CreateSyncActionDefault
- type CreateSyncActionNoContent
- type CreateSyncActionParams
- func NewCreateSyncActionParams() *CreateSyncActionParams
- func NewCreateSyncActionParamsWithContext(ctx context.Context) *CreateSyncActionParams
- func NewCreateSyncActionParamsWithHTTPClient(client *http.Client) *CreateSyncActionParams
- func NewCreateSyncActionParamsWithTimeout(timeout time.Duration) *CreateSyncActionParams
- func (o *CreateSyncActionParams) SetContext(ctx context.Context)
- func (o *CreateSyncActionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSyncActionParams) SetInfo(info *models.InstanceActionInfo)
- func (o *CreateSyncActionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSyncActionParams) WithContext(ctx context.Context) *CreateSyncActionParams
- func (o *CreateSyncActionParams) WithHTTPClient(client *http.Client) *CreateSyncActionParams
- func (o *CreateSyncActionParams) WithInfo(info *models.InstanceActionInfo) *CreateSyncActionParams
- func (o *CreateSyncActionParams) WithTimeout(timeout time.Duration) *CreateSyncActionParams
- func (o *CreateSyncActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSyncActionReader
- type DescribeInstanceDefault
- type DescribeInstanceOK
- type DescribeInstanceParams
- func NewDescribeInstanceParams() *DescribeInstanceParams
- func NewDescribeInstanceParamsWithContext(ctx context.Context) *DescribeInstanceParams
- func NewDescribeInstanceParamsWithHTTPClient(client *http.Client) *DescribeInstanceParams
- func NewDescribeInstanceParamsWithTimeout(timeout time.Duration) *DescribeInstanceParams
- func (o *DescribeInstanceParams) SetContext(ctx context.Context)
- func (o *DescribeInstanceParams) SetHTTPClient(client *http.Client)
- func (o *DescribeInstanceParams) SetTimeout(timeout time.Duration)
- func (o *DescribeInstanceParams) WithContext(ctx context.Context) *DescribeInstanceParams
- func (o *DescribeInstanceParams) WithHTTPClient(client *http.Client) *DescribeInstanceParams
- func (o *DescribeInstanceParams) WithTimeout(timeout time.Duration) *DescribeInstanceParams
- func (o *DescribeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeInstanceReader
- type GetMachineConfigurationDefault
- type GetMachineConfigurationOK
- type GetMachineConfigurationParams
- func NewGetMachineConfigurationParams() *GetMachineConfigurationParams
- func NewGetMachineConfigurationParamsWithContext(ctx context.Context) *GetMachineConfigurationParams
- func NewGetMachineConfigurationParamsWithHTTPClient(client *http.Client) *GetMachineConfigurationParams
- func NewGetMachineConfigurationParamsWithTimeout(timeout time.Duration) *GetMachineConfigurationParams
- func (o *GetMachineConfigurationParams) SetContext(ctx context.Context)
- func (o *GetMachineConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineConfigurationParams) WithContext(ctx context.Context) *GetMachineConfigurationParams
- func (o *GetMachineConfigurationParams) WithHTTPClient(client *http.Client) *GetMachineConfigurationParams
- func (o *GetMachineConfigurationParams) WithTimeout(timeout time.Duration) *GetMachineConfigurationParams
- func (o *GetMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineConfigurationReader
- type GetMmdsBadRequest
- type GetMmdsDefault
- type GetMmdsOK
- type GetMmdsParams
- func (o *GetMmdsParams) SetContext(ctx context.Context)
- func (o *GetMmdsParams) SetHTTPClient(client *http.Client)
- func (o *GetMmdsParams) SetTimeout(timeout time.Duration)
- func (o *GetMmdsParams) WithContext(ctx context.Context) *GetMmdsParams
- func (o *GetMmdsParams) WithHTTPClient(client *http.Client) *GetMmdsParams
- func (o *GetMmdsParams) WithTimeout(timeout time.Duration) *GetMmdsParams
- func (o *GetMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMmdsReader
- type PatchGuestDriveByIDBadRequest
- type PatchGuestDriveByIDDefault
- type PatchGuestDriveByIDNoContent
- type PatchGuestDriveByIDParams
- func NewPatchGuestDriveByIDParams() *PatchGuestDriveByIDParams
- func NewPatchGuestDriveByIDParamsWithContext(ctx context.Context) *PatchGuestDriveByIDParams
- func NewPatchGuestDriveByIDParamsWithHTTPClient(client *http.Client) *PatchGuestDriveByIDParams
- func NewPatchGuestDriveByIDParamsWithTimeout(timeout time.Duration) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) SetBody(body *models.PartialDrive)
- func (o *PatchGuestDriveByIDParams) SetContext(ctx context.Context)
- func (o *PatchGuestDriveByIDParams) SetDriveID(driveID string)
- func (o *PatchGuestDriveByIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchGuestDriveByIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchGuestDriveByIDParams) WithBody(body *models.PartialDrive) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WithContext(ctx context.Context) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WithDriveID(driveID string) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WithHTTPClient(client *http.Client) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WithTimeout(timeout time.Duration) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchGuestDriveByIDReader
- type PatchGuestNetworkInterfaceByIDBadRequest
- type PatchGuestNetworkInterfaceByIDDefault
- type PatchGuestNetworkInterfaceByIDNoContent
- type PatchGuestNetworkInterfaceByIDParams
- func NewPatchGuestNetworkInterfaceByIDParams() *PatchGuestNetworkInterfaceByIDParams
- func NewPatchGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PatchGuestNetworkInterfaceByIDParams
- func NewPatchGuestNetworkInterfaceByIDParamsWithHTTPClient(client *http.Client) *PatchGuestNetworkInterfaceByIDParams
- func NewPatchGuestNetworkInterfaceByIDParamsWithTimeout(timeout time.Duration) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) SetBody(body *models.PartialNetworkInterface)
- func (o *PatchGuestNetworkInterfaceByIDParams) SetContext(ctx context.Context)
- func (o *PatchGuestNetworkInterfaceByIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)
- func (o *PatchGuestNetworkInterfaceByIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchGuestNetworkInterfaceByIDParams) WithBody(body *models.PartialNetworkInterface) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WithContext(ctx context.Context) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WithHTTPClient(client *http.Client) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WithIfaceID(ifaceID string) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WithTimeout(timeout time.Duration) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchGuestNetworkInterfaceByIDReader
- type PatchMachineConfigurationBadRequest
- type PatchMachineConfigurationDefault
- type PatchMachineConfigurationNoContent
- type PatchMachineConfigurationParams
- func NewPatchMachineConfigurationParams() *PatchMachineConfigurationParams
- func NewPatchMachineConfigurationParamsWithContext(ctx context.Context) *PatchMachineConfigurationParams
- func NewPatchMachineConfigurationParamsWithHTTPClient(client *http.Client) *PatchMachineConfigurationParams
- func NewPatchMachineConfigurationParamsWithTimeout(timeout time.Duration) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) SetBody(body *models.MachineConfiguration)
- func (o *PatchMachineConfigurationParams) SetContext(ctx context.Context)
- func (o *PatchMachineConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *PatchMachineConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *PatchMachineConfigurationParams) WithBody(body *models.MachineConfiguration) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) WithContext(ctx context.Context) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) WithHTTPClient(client *http.Client) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) WithTimeout(timeout time.Duration) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchMachineConfigurationReader
- type PatchMmdsBadRequest
- type PatchMmdsDefault
- type PatchMmdsNoContent
- type PatchMmdsParams
- func (o *PatchMmdsParams) SetBody(body interface{})
- func (o *PatchMmdsParams) SetContext(ctx context.Context)
- func (o *PatchMmdsParams) SetHTTPClient(client *http.Client)
- func (o *PatchMmdsParams) SetTimeout(timeout time.Duration)
- func (o *PatchMmdsParams) WithBody(body interface{}) *PatchMmdsParams
- func (o *PatchMmdsParams) WithContext(ctx context.Context) *PatchMmdsParams
- func (o *PatchMmdsParams) WithHTTPClient(client *http.Client) *PatchMmdsParams
- func (o *PatchMmdsParams) WithTimeout(timeout time.Duration) *PatchMmdsParams
- func (o *PatchMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchMmdsReader
- type PutGuestBootSourceBadRequest
- type PutGuestBootSourceDefault
- type PutGuestBootSourceNoContent
- type PutGuestBootSourceParams
- func NewPutGuestBootSourceParams() *PutGuestBootSourceParams
- func NewPutGuestBootSourceParamsWithContext(ctx context.Context) *PutGuestBootSourceParams
- func NewPutGuestBootSourceParamsWithHTTPClient(client *http.Client) *PutGuestBootSourceParams
- func NewPutGuestBootSourceParamsWithTimeout(timeout time.Duration) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) SetBody(body *models.BootSource)
- func (o *PutGuestBootSourceParams) SetContext(ctx context.Context)
- func (o *PutGuestBootSourceParams) SetHTTPClient(client *http.Client)
- func (o *PutGuestBootSourceParams) SetTimeout(timeout time.Duration)
- func (o *PutGuestBootSourceParams) WithBody(body *models.BootSource) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) WithContext(ctx context.Context) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) WithHTTPClient(client *http.Client) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) WithTimeout(timeout time.Duration) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGuestBootSourceReader
- type PutGuestDriveByIDBadRequest
- type PutGuestDriveByIDDefault
- type PutGuestDriveByIDNoContent
- type PutGuestDriveByIDParams
- func NewPutGuestDriveByIDParams() *PutGuestDriveByIDParams
- func NewPutGuestDriveByIDParamsWithContext(ctx context.Context) *PutGuestDriveByIDParams
- func NewPutGuestDriveByIDParamsWithHTTPClient(client *http.Client) *PutGuestDriveByIDParams
- func NewPutGuestDriveByIDParamsWithTimeout(timeout time.Duration) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) SetBody(body *models.Drive)
- func (o *PutGuestDriveByIDParams) SetContext(ctx context.Context)
- func (o *PutGuestDriveByIDParams) SetDriveID(driveID string)
- func (o *PutGuestDriveByIDParams) SetHTTPClient(client *http.Client)
- func (o *PutGuestDriveByIDParams) SetTimeout(timeout time.Duration)
- func (o *PutGuestDriveByIDParams) WithBody(body *models.Drive) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WithContext(ctx context.Context) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WithDriveID(driveID string) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WithHTTPClient(client *http.Client) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WithTimeout(timeout time.Duration) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGuestDriveByIDReader
- type PutGuestNetworkInterfaceByIDBadRequest
- type PutGuestNetworkInterfaceByIDDefault
- type PutGuestNetworkInterfaceByIDNoContent
- type PutGuestNetworkInterfaceByIDParams
- func NewPutGuestNetworkInterfaceByIDParams() *PutGuestNetworkInterfaceByIDParams
- func NewPutGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PutGuestNetworkInterfaceByIDParams
- func NewPutGuestNetworkInterfaceByIDParamsWithHTTPClient(client *http.Client) *PutGuestNetworkInterfaceByIDParams
- func NewPutGuestNetworkInterfaceByIDParamsWithTimeout(timeout time.Duration) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) SetBody(body *models.NetworkInterface)
- func (o *PutGuestNetworkInterfaceByIDParams) SetContext(ctx context.Context)
- func (o *PutGuestNetworkInterfaceByIDParams) SetHTTPClient(client *http.Client)
- func (o *PutGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)
- func (o *PutGuestNetworkInterfaceByIDParams) SetTimeout(timeout time.Duration)
- func (o *PutGuestNetworkInterfaceByIDParams) WithBody(body *models.NetworkInterface) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WithContext(ctx context.Context) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WithHTTPClient(client *http.Client) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WithIfaceID(ifaceID string) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WithTimeout(timeout time.Duration) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGuestNetworkInterfaceByIDReader
- type PutGuestVsockBadRequest
- type PutGuestVsockDefault
- type PutGuestVsockNoContent
- type PutGuestVsockParams
- func (o *PutGuestVsockParams) SetBody(body *models.Vsock)
- func (o *PutGuestVsockParams) SetContext(ctx context.Context)
- func (o *PutGuestVsockParams) SetHTTPClient(client *http.Client)
- func (o *PutGuestVsockParams) SetTimeout(timeout time.Duration)
- func (o *PutGuestVsockParams) WithBody(body *models.Vsock) *PutGuestVsockParams
- func (o *PutGuestVsockParams) WithContext(ctx context.Context) *PutGuestVsockParams
- func (o *PutGuestVsockParams) WithHTTPClient(client *http.Client) *PutGuestVsockParams
- func (o *PutGuestVsockParams) WithTimeout(timeout time.Duration) *PutGuestVsockParams
- func (o *PutGuestVsockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGuestVsockReader
- type PutLoggerBadRequest
- type PutLoggerDefault
- type PutLoggerNoContent
- type PutLoggerParams
- func (o *PutLoggerParams) SetBody(body *models.Logger)
- func (o *PutLoggerParams) SetContext(ctx context.Context)
- func (o *PutLoggerParams) SetHTTPClient(client *http.Client)
- func (o *PutLoggerParams) SetTimeout(timeout time.Duration)
- func (o *PutLoggerParams) WithBody(body *models.Logger) *PutLoggerParams
- func (o *PutLoggerParams) WithContext(ctx context.Context) *PutLoggerParams
- func (o *PutLoggerParams) WithHTTPClient(client *http.Client) *PutLoggerParams
- func (o *PutLoggerParams) WithTimeout(timeout time.Duration) *PutLoggerParams
- func (o *PutLoggerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutLoggerReader
- type PutMachineConfigurationBadRequest
- type PutMachineConfigurationDefault
- type PutMachineConfigurationNoContent
- type PutMachineConfigurationParams
- func NewPutMachineConfigurationParams() *PutMachineConfigurationParams
- func NewPutMachineConfigurationParamsWithContext(ctx context.Context) *PutMachineConfigurationParams
- func NewPutMachineConfigurationParamsWithHTTPClient(client *http.Client) *PutMachineConfigurationParams
- func NewPutMachineConfigurationParamsWithTimeout(timeout time.Duration) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) SetBody(body *models.MachineConfiguration)
- func (o *PutMachineConfigurationParams) SetContext(ctx context.Context)
- func (o *PutMachineConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *PutMachineConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *PutMachineConfigurationParams) WithBody(body *models.MachineConfiguration) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) WithContext(ctx context.Context) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) WithHTTPClient(client *http.Client) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) WithTimeout(timeout time.Duration) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutMachineConfigurationReader
- type PutMmdsBadRequest
- type PutMmdsDefault
- type PutMmdsNoContent
- type PutMmdsParams
- func (o *PutMmdsParams) SetBody(body interface{})
- func (o *PutMmdsParams) SetContext(ctx context.Context)
- func (o *PutMmdsParams) SetHTTPClient(client *http.Client)
- func (o *PutMmdsParams) SetTimeout(timeout time.Duration)
- func (o *PutMmdsParams) WithBody(body interface{}) *PutMmdsParams
- func (o *PutMmdsParams) WithContext(ctx context.Context) *PutMmdsParams
- func (o *PutMmdsParams) WithHTTPClient(client *http.Client) *PutMmdsParams
- func (o *PutMmdsParams) WithTimeout(timeout time.Duration) *PutMmdsParams
- func (o *PutMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutMmdsReader
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 operations API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new operations API client.
func (*Client) CreateSyncAction ¶
func (a *Client) CreateSyncAction(params *CreateSyncActionParams) (*CreateSyncActionNoContent, error)
CreateSyncAction creates a synchronous action
func (*Client) DescribeInstance ¶
func (a *Client) DescribeInstance(params *DescribeInstanceParams) (*DescribeInstanceOK, error)
DescribeInstance returns general information about an instance
func (*Client) GetMachineConfiguration ¶
func (a *Client) GetMachineConfiguration(params *GetMachineConfigurationParams) (*GetMachineConfigurationOK, error)
GetMachineConfiguration gets the machine configuration of the VM
Gets the machine configuration of the VM. When called before the PUT operation, it will return the default values for the vCPU count (=1), memory size (=128 MiB). By default Hyperthreading is disabled and there is no CPU Template.
func (*Client) GetMmds ¶
func (a *Client) GetMmds(params *GetMmdsParams) (*GetMmdsOK, error)
GetMmds gets the m m d s data store
func (*Client) PatchGuestDriveByID ¶
func (a *Client) PatchGuestDriveByID(params *PatchGuestDriveByIDParams) (*PatchGuestDriveByIDNoContent, error)
PatchGuestDriveByID updates the properties of a drive
Updates the properties of the drive with the ID specified by drive_id path parameter. Will fail if update is not possible.
func (*Client) PatchGuestNetworkInterfaceByID ¶
func (a *Client) PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams) (*PatchGuestNetworkInterfaceByIDNoContent, error)
PatchGuestNetworkInterfaceByID updates the rate limiters applied to a network interface
Updates the rate limiters applied to a network interface.
func (*Client) PatchMachineConfiguration ¶
func (a *Client) PatchMachineConfiguration(params *PatchMachineConfigurationParams) (*PatchMachineConfigurationNoContent, error)
PatchMachineConfiguration partiallies updates the machine configuration of the VM
Partially updates the Virtual Machine Configuration with the specified input. If any of the parameters has an incorrect value, the whole update fails.
func (*Client) PatchMmds ¶
func (a *Client) PatchMmds(params *PatchMmdsParams) (*PatchMmdsNoContent, error)
PatchMmds updates the m m d s data store
func (*Client) PutGuestBootSource ¶
func (a *Client) PutGuestBootSource(params *PutGuestBootSourceParams) (*PutGuestBootSourceNoContent, error)
PutGuestBootSource creates or updates the boot source
Creates new boot source if one does not already exist, otherwise updates it. Will fail if update is not possible. Note that the only currently supported boot source is LocalImage.
func (*Client) PutGuestDriveByID ¶
func (a *Client) PutGuestDriveByID(params *PutGuestDriveByIDParams) (*PutGuestDriveByIDNoContent, error)
PutGuestDriveByID creates or updates a drive
Creates new drive with ID specified by drive_id path parameter. If a drive with the specified ID already exists, updates its state based on new input. Will fail if update is not possible.
func (*Client) PutGuestNetworkInterfaceByID ¶
func (a *Client) PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams) (*PutGuestNetworkInterfaceByIDNoContent, error)
PutGuestNetworkInterfaceByID creates a network interface
Creates new network interface with ID specified by iface_id path parameter.
func (*Client) PutGuestVsock ¶
func (a *Client) PutGuestVsock(params *PutGuestVsockParams) (*PutGuestVsockNoContent, error)
PutGuestVsock creates updates a vsock device
The first call creates the device with the configuration specified in body. Subsequent calls will update the device configuration. May fail if update is not possible.
func (*Client) PutLogger ¶
func (a *Client) PutLogger(params *PutLoggerParams) (*PutLoggerNoContent, error)
PutLogger initializes the logger by specifying two named pipes i e for the logs and metrics output
func (*Client) PutMachineConfiguration ¶
func (a *Client) PutMachineConfiguration(params *PutMachineConfigurationParams) (*PutMachineConfigurationNoContent, error)
PutMachineConfiguration updates the machine configuration of the VM
Updates the Virtual Machine Configuration with the specified input. Firecracker starts with default values for vCPU count (=1) and memory size (=128 MiB). With Hyperthreading enabled, the vCPU count is restricted to be 1 or an even number, otherwise there are no restrictions regarding the vCPU count. If any of the parameters has an incorrect value, the whole update fails.
func (*Client) PutMmds ¶
func (a *Client) PutMmds(params *PutMmdsParams) (*PutMmdsNoContent, error)
PutMmds creates a m m d s microvm metadata service data store
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateSyncActionBadRequest ¶
CreateSyncActionBadRequest handles this case with default header values.
The action cannot be executed due to bad input
func NewCreateSyncActionBadRequest ¶
func NewCreateSyncActionBadRequest() *CreateSyncActionBadRequest
NewCreateSyncActionBadRequest creates a CreateSyncActionBadRequest with default headers values
func (*CreateSyncActionBadRequest) Error ¶
func (o *CreateSyncActionBadRequest) Error() string
type CreateSyncActionDefault ¶
type CreateSyncActionDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateSyncActionDefault handles this case with default header values.
Internal Server Error
func NewCreateSyncActionDefault ¶
func NewCreateSyncActionDefault(code int) *CreateSyncActionDefault
NewCreateSyncActionDefault creates a CreateSyncActionDefault with default headers values
func (*CreateSyncActionDefault) Code ¶
func (o *CreateSyncActionDefault) Code() int
Code gets the status code for the create sync action default response
func (*CreateSyncActionDefault) Error ¶
func (o *CreateSyncActionDefault) Error() string
type CreateSyncActionNoContent ¶
type CreateSyncActionNoContent struct { }
CreateSyncActionNoContent handles this case with default header values.
The update was successful
func NewCreateSyncActionNoContent ¶
func NewCreateSyncActionNoContent() *CreateSyncActionNoContent
NewCreateSyncActionNoContent creates a CreateSyncActionNoContent with default headers values
func (*CreateSyncActionNoContent) Error ¶
func (o *CreateSyncActionNoContent) Error() string
type CreateSyncActionParams ¶
type CreateSyncActionParams struct { /*Info*/ Info *models.InstanceActionInfo Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSyncActionParams contains all the parameters to send to the API endpoint for the create sync action operation typically these are written to a http.Request
func NewCreateSyncActionParams ¶
func NewCreateSyncActionParams() *CreateSyncActionParams
NewCreateSyncActionParams creates a new CreateSyncActionParams object with the default values initialized.
func NewCreateSyncActionParamsWithContext ¶
func NewCreateSyncActionParamsWithContext(ctx context.Context) *CreateSyncActionParams
NewCreateSyncActionParamsWithContext creates a new CreateSyncActionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSyncActionParamsWithHTTPClient ¶
func NewCreateSyncActionParamsWithHTTPClient(client *http.Client) *CreateSyncActionParams
NewCreateSyncActionParamsWithHTTPClient creates a new CreateSyncActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSyncActionParamsWithTimeout ¶
func NewCreateSyncActionParamsWithTimeout(timeout time.Duration) *CreateSyncActionParams
NewCreateSyncActionParamsWithTimeout creates a new CreateSyncActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSyncActionParams) SetContext ¶
func (o *CreateSyncActionParams) SetContext(ctx context.Context)
SetContext adds the context to the create sync action params
func (*CreateSyncActionParams) SetHTTPClient ¶
func (o *CreateSyncActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create sync action params
func (*CreateSyncActionParams) SetInfo ¶
func (o *CreateSyncActionParams) SetInfo(info *models.InstanceActionInfo)
SetInfo adds the info to the create sync action params
func (*CreateSyncActionParams) SetTimeout ¶
func (o *CreateSyncActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create sync action params
func (*CreateSyncActionParams) WithContext ¶
func (o *CreateSyncActionParams) WithContext(ctx context.Context) *CreateSyncActionParams
WithContext adds the context to the create sync action params
func (*CreateSyncActionParams) WithHTTPClient ¶
func (o *CreateSyncActionParams) WithHTTPClient(client *http.Client) *CreateSyncActionParams
WithHTTPClient adds the HTTPClient to the create sync action params
func (*CreateSyncActionParams) WithInfo ¶
func (o *CreateSyncActionParams) WithInfo(info *models.InstanceActionInfo) *CreateSyncActionParams
WithInfo adds the info to the create sync action params
func (*CreateSyncActionParams) WithTimeout ¶
func (o *CreateSyncActionParams) WithTimeout(timeout time.Duration) *CreateSyncActionParams
WithTimeout adds the timeout to the create sync action params
func (*CreateSyncActionParams) WriteToRequest ¶
func (o *CreateSyncActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSyncActionReader ¶
type CreateSyncActionReader struct {
// contains filtered or unexported fields
}
CreateSyncActionReader is a Reader for the CreateSyncAction structure.
func (*CreateSyncActionReader) ReadResponse ¶
func (o *CreateSyncActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeInstanceDefault ¶
type DescribeInstanceDefault struct { Payload *models.Error // contains filtered or unexported fields }
DescribeInstanceDefault handles this case with default header values.
Internal Server Error
func NewDescribeInstanceDefault ¶
func NewDescribeInstanceDefault(code int) *DescribeInstanceDefault
NewDescribeInstanceDefault creates a DescribeInstanceDefault with default headers values
func (*DescribeInstanceDefault) Code ¶
func (o *DescribeInstanceDefault) Code() int
Code gets the status code for the describe instance default response
func (*DescribeInstanceDefault) Error ¶
func (o *DescribeInstanceDefault) Error() string
type DescribeInstanceOK ¶
type DescribeInstanceOK struct {
Payload *models.InstanceInfo
}
DescribeInstanceOK handles this case with default header values.
The instance information
func NewDescribeInstanceOK ¶
func NewDescribeInstanceOK() *DescribeInstanceOK
NewDescribeInstanceOK creates a DescribeInstanceOK with default headers values
func (*DescribeInstanceOK) Error ¶
func (o *DescribeInstanceOK) Error() string
type DescribeInstanceParams ¶
type DescribeInstanceParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribeInstanceParams contains all the parameters to send to the API endpoint for the describe instance operation typically these are written to a http.Request
func NewDescribeInstanceParams ¶
func NewDescribeInstanceParams() *DescribeInstanceParams
NewDescribeInstanceParams creates a new DescribeInstanceParams object with the default values initialized.
func NewDescribeInstanceParamsWithContext ¶
func NewDescribeInstanceParamsWithContext(ctx context.Context) *DescribeInstanceParams
NewDescribeInstanceParamsWithContext creates a new DescribeInstanceParams object with the default values initialized, and the ability to set a context for a request
func NewDescribeInstanceParamsWithHTTPClient ¶
func NewDescribeInstanceParamsWithHTTPClient(client *http.Client) *DescribeInstanceParams
NewDescribeInstanceParamsWithHTTPClient creates a new DescribeInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDescribeInstanceParamsWithTimeout ¶
func NewDescribeInstanceParamsWithTimeout(timeout time.Duration) *DescribeInstanceParams
NewDescribeInstanceParamsWithTimeout creates a new DescribeInstanceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DescribeInstanceParams) SetContext ¶
func (o *DescribeInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the describe instance params
func (*DescribeInstanceParams) SetHTTPClient ¶
func (o *DescribeInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe instance params
func (*DescribeInstanceParams) SetTimeout ¶
func (o *DescribeInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe instance params
func (*DescribeInstanceParams) WithContext ¶
func (o *DescribeInstanceParams) WithContext(ctx context.Context) *DescribeInstanceParams
WithContext adds the context to the describe instance params
func (*DescribeInstanceParams) WithHTTPClient ¶
func (o *DescribeInstanceParams) WithHTTPClient(client *http.Client) *DescribeInstanceParams
WithHTTPClient adds the HTTPClient to the describe instance params
func (*DescribeInstanceParams) WithTimeout ¶
func (o *DescribeInstanceParams) WithTimeout(timeout time.Duration) *DescribeInstanceParams
WithTimeout adds the timeout to the describe instance params
func (*DescribeInstanceParams) WriteToRequest ¶
func (o *DescribeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeInstanceReader ¶
type DescribeInstanceReader struct {
// contains filtered or unexported fields
}
DescribeInstanceReader is a Reader for the DescribeInstance structure.
func (*DescribeInstanceReader) ReadResponse ¶
func (o *DescribeInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMachineConfigurationDefault ¶
type GetMachineConfigurationDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetMachineConfigurationDefault handles this case with default header values.
Internal server error
func NewGetMachineConfigurationDefault ¶
func NewGetMachineConfigurationDefault(code int) *GetMachineConfigurationDefault
NewGetMachineConfigurationDefault creates a GetMachineConfigurationDefault with default headers values
func (*GetMachineConfigurationDefault) Code ¶
func (o *GetMachineConfigurationDefault) Code() int
Code gets the status code for the get machine configuration default response
func (*GetMachineConfigurationDefault) Error ¶
func (o *GetMachineConfigurationDefault) Error() string
type GetMachineConfigurationOK ¶
type GetMachineConfigurationOK struct {
Payload *models.MachineConfiguration
}
GetMachineConfigurationOK handles this case with default header values.
OK
func NewGetMachineConfigurationOK ¶
func NewGetMachineConfigurationOK() *GetMachineConfigurationOK
NewGetMachineConfigurationOK creates a GetMachineConfigurationOK with default headers values
func (*GetMachineConfigurationOK) Error ¶
func (o *GetMachineConfigurationOK) Error() string
type GetMachineConfigurationParams ¶
type GetMachineConfigurationParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMachineConfigurationParams contains all the parameters to send to the API endpoint for the get machine configuration operation typically these are written to a http.Request
func NewGetMachineConfigurationParams ¶
func NewGetMachineConfigurationParams() *GetMachineConfigurationParams
NewGetMachineConfigurationParams creates a new GetMachineConfigurationParams object with the default values initialized.
func NewGetMachineConfigurationParamsWithContext ¶
func NewGetMachineConfigurationParamsWithContext(ctx context.Context) *GetMachineConfigurationParams
NewGetMachineConfigurationParamsWithContext creates a new GetMachineConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewGetMachineConfigurationParamsWithHTTPClient ¶
func NewGetMachineConfigurationParamsWithHTTPClient(client *http.Client) *GetMachineConfigurationParams
NewGetMachineConfigurationParamsWithHTTPClient creates a new GetMachineConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMachineConfigurationParamsWithTimeout ¶
func NewGetMachineConfigurationParamsWithTimeout(timeout time.Duration) *GetMachineConfigurationParams
NewGetMachineConfigurationParamsWithTimeout creates a new GetMachineConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMachineConfigurationParams) SetContext ¶
func (o *GetMachineConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the get machine configuration params
func (*GetMachineConfigurationParams) SetHTTPClient ¶
func (o *GetMachineConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine configuration params
func (*GetMachineConfigurationParams) SetTimeout ¶
func (o *GetMachineConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine configuration params
func (*GetMachineConfigurationParams) WithContext ¶
func (o *GetMachineConfigurationParams) WithContext(ctx context.Context) *GetMachineConfigurationParams
WithContext adds the context to the get machine configuration params
func (*GetMachineConfigurationParams) WithHTTPClient ¶
func (o *GetMachineConfigurationParams) WithHTTPClient(client *http.Client) *GetMachineConfigurationParams
WithHTTPClient adds the HTTPClient to the get machine configuration params
func (*GetMachineConfigurationParams) WithTimeout ¶
func (o *GetMachineConfigurationParams) WithTimeout(timeout time.Duration) *GetMachineConfigurationParams
WithTimeout adds the timeout to the get machine configuration params
func (*GetMachineConfigurationParams) WriteToRequest ¶
func (o *GetMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineConfigurationReader ¶
type GetMachineConfigurationReader struct {
// contains filtered or unexported fields
}
GetMachineConfigurationReader is a Reader for the GetMachineConfiguration structure.
func (*GetMachineConfigurationReader) ReadResponse ¶
func (o *GetMachineConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMmdsBadRequest ¶
GetMmdsBadRequest handles this case with default header values.
Cannot get the MMDS data store due to bad input.
func NewGetMmdsBadRequest ¶
func NewGetMmdsBadRequest() *GetMmdsBadRequest
NewGetMmdsBadRequest creates a GetMmdsBadRequest with default headers values
func (*GetMmdsBadRequest) Error ¶
func (o *GetMmdsBadRequest) Error() string
type GetMmdsDefault ¶
GetMmdsDefault handles this case with default header values.
Internal server error
func NewGetMmdsDefault ¶
func NewGetMmdsDefault(code int) *GetMmdsDefault
NewGetMmdsDefault creates a GetMmdsDefault with default headers values
func (*GetMmdsDefault) Code ¶
func (o *GetMmdsDefault) Code() int
Code gets the status code for the get mmds default response
func (*GetMmdsDefault) Error ¶
func (o *GetMmdsDefault) Error() string
type GetMmdsOK ¶
type GetMmdsOK struct {
Payload interface{}
}
GetMmdsOK handles this case with default header values.
The MMDS data store JSON.
func NewGetMmdsOK ¶
func NewGetMmdsOK() *GetMmdsOK
NewGetMmdsOK creates a GetMmdsOK with default headers values
type GetMmdsParams ¶
type GetMmdsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMmdsParams contains all the parameters to send to the API endpoint for the get mmds operation typically these are written to a http.Request
func NewGetMmdsParams ¶
func NewGetMmdsParams() *GetMmdsParams
NewGetMmdsParams creates a new GetMmdsParams object with the default values initialized.
func NewGetMmdsParamsWithContext ¶
func NewGetMmdsParamsWithContext(ctx context.Context) *GetMmdsParams
NewGetMmdsParamsWithContext creates a new GetMmdsParams object with the default values initialized, and the ability to set a context for a request
func NewGetMmdsParamsWithHTTPClient ¶
func NewGetMmdsParamsWithHTTPClient(client *http.Client) *GetMmdsParams
NewGetMmdsParamsWithHTTPClient creates a new GetMmdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMmdsParamsWithTimeout ¶
func NewGetMmdsParamsWithTimeout(timeout time.Duration) *GetMmdsParams
NewGetMmdsParamsWithTimeout creates a new GetMmdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMmdsParams) SetContext ¶
func (o *GetMmdsParams) SetContext(ctx context.Context)
SetContext adds the context to the get mmds params
func (*GetMmdsParams) SetHTTPClient ¶
func (o *GetMmdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get mmds params
func (*GetMmdsParams) SetTimeout ¶
func (o *GetMmdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get mmds params
func (*GetMmdsParams) WithContext ¶
func (o *GetMmdsParams) WithContext(ctx context.Context) *GetMmdsParams
WithContext adds the context to the get mmds params
func (*GetMmdsParams) WithHTTPClient ¶
func (o *GetMmdsParams) WithHTTPClient(client *http.Client) *GetMmdsParams
WithHTTPClient adds the HTTPClient to the get mmds params
func (*GetMmdsParams) WithTimeout ¶
func (o *GetMmdsParams) WithTimeout(timeout time.Duration) *GetMmdsParams
WithTimeout adds the timeout to the get mmds params
func (*GetMmdsParams) WriteToRequest ¶
func (o *GetMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMmdsReader ¶
type GetMmdsReader struct {
// contains filtered or unexported fields
}
GetMmdsReader is a Reader for the GetMmds structure.
func (*GetMmdsReader) ReadResponse ¶
func (o *GetMmdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchGuestDriveByIDBadRequest ¶
PatchGuestDriveByIDBadRequest handles this case with default header values.
Drive cannot be updated due to bad input
func NewPatchGuestDriveByIDBadRequest ¶
func NewPatchGuestDriveByIDBadRequest() *PatchGuestDriveByIDBadRequest
NewPatchGuestDriveByIDBadRequest creates a PatchGuestDriveByIDBadRequest with default headers values
func (*PatchGuestDriveByIDBadRequest) Error ¶
func (o *PatchGuestDriveByIDBadRequest) Error() string
type PatchGuestDriveByIDDefault ¶
type PatchGuestDriveByIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PatchGuestDriveByIDDefault handles this case with default header values.
Internal server error.
func NewPatchGuestDriveByIDDefault ¶
func NewPatchGuestDriveByIDDefault(code int) *PatchGuestDriveByIDDefault
NewPatchGuestDriveByIDDefault creates a PatchGuestDriveByIDDefault with default headers values
func (*PatchGuestDriveByIDDefault) Code ¶
func (o *PatchGuestDriveByIDDefault) Code() int
Code gets the status code for the patch guest drive by ID default response
func (*PatchGuestDriveByIDDefault) Error ¶
func (o *PatchGuestDriveByIDDefault) Error() string
type PatchGuestDriveByIDNoContent ¶
type PatchGuestDriveByIDNoContent struct { }
PatchGuestDriveByIDNoContent handles this case with default header values.
Drive updated
func NewPatchGuestDriveByIDNoContent ¶
func NewPatchGuestDriveByIDNoContent() *PatchGuestDriveByIDNoContent
NewPatchGuestDriveByIDNoContent creates a PatchGuestDriveByIDNoContent with default headers values
func (*PatchGuestDriveByIDNoContent) Error ¶
func (o *PatchGuestDriveByIDNoContent) Error() string
type PatchGuestDriveByIDParams ¶
type PatchGuestDriveByIDParams struct { /*Body Guest drive properties */ Body *models.PartialDrive /*DriveID The id of the guest drive */ DriveID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchGuestDriveByIDParams contains all the parameters to send to the API endpoint for the patch guest drive by ID operation typically these are written to a http.Request
func NewPatchGuestDriveByIDParams ¶
func NewPatchGuestDriveByIDParams() *PatchGuestDriveByIDParams
NewPatchGuestDriveByIDParams creates a new PatchGuestDriveByIDParams object with the default values initialized.
func NewPatchGuestDriveByIDParamsWithContext ¶
func NewPatchGuestDriveByIDParamsWithContext(ctx context.Context) *PatchGuestDriveByIDParams
NewPatchGuestDriveByIDParamsWithContext creates a new PatchGuestDriveByIDParams object with the default values initialized, and the ability to set a context for a request
func NewPatchGuestDriveByIDParamsWithHTTPClient ¶
func NewPatchGuestDriveByIDParamsWithHTTPClient(client *http.Client) *PatchGuestDriveByIDParams
NewPatchGuestDriveByIDParamsWithHTTPClient creates a new PatchGuestDriveByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchGuestDriveByIDParamsWithTimeout ¶
func NewPatchGuestDriveByIDParamsWithTimeout(timeout time.Duration) *PatchGuestDriveByIDParams
NewPatchGuestDriveByIDParamsWithTimeout creates a new PatchGuestDriveByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchGuestDriveByIDParams) SetBody ¶
func (o *PatchGuestDriveByIDParams) SetBody(body *models.PartialDrive)
SetBody adds the body to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) SetContext ¶
func (o *PatchGuestDriveByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) SetDriveID ¶
func (o *PatchGuestDriveByIDParams) SetDriveID(driveID string)
SetDriveID adds the driveId to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) SetHTTPClient ¶
func (o *PatchGuestDriveByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) SetTimeout ¶
func (o *PatchGuestDriveByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithBody ¶
func (o *PatchGuestDriveByIDParams) WithBody(body *models.PartialDrive) *PatchGuestDriveByIDParams
WithBody adds the body to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithContext ¶
func (o *PatchGuestDriveByIDParams) WithContext(ctx context.Context) *PatchGuestDriveByIDParams
WithContext adds the context to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithDriveID ¶
func (o *PatchGuestDriveByIDParams) WithDriveID(driveID string) *PatchGuestDriveByIDParams
WithDriveID adds the driveID to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithHTTPClient ¶
func (o *PatchGuestDriveByIDParams) WithHTTPClient(client *http.Client) *PatchGuestDriveByIDParams
WithHTTPClient adds the HTTPClient to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithTimeout ¶
func (o *PatchGuestDriveByIDParams) WithTimeout(timeout time.Duration) *PatchGuestDriveByIDParams
WithTimeout adds the timeout to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WriteToRequest ¶
func (o *PatchGuestDriveByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchGuestDriveByIDReader ¶
type PatchGuestDriveByIDReader struct {
// contains filtered or unexported fields
}
PatchGuestDriveByIDReader is a Reader for the PatchGuestDriveByID structure.
func (*PatchGuestDriveByIDReader) ReadResponse ¶
func (o *PatchGuestDriveByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchGuestNetworkInterfaceByIDBadRequest ¶
PatchGuestNetworkInterfaceByIDBadRequest handles this case with default header values.
Network interface cannot be updated due to bad input
func NewPatchGuestNetworkInterfaceByIDBadRequest ¶
func NewPatchGuestNetworkInterfaceByIDBadRequest() *PatchGuestNetworkInterfaceByIDBadRequest
NewPatchGuestNetworkInterfaceByIDBadRequest creates a PatchGuestNetworkInterfaceByIDBadRequest with default headers values
func (*PatchGuestNetworkInterfaceByIDBadRequest) Error ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) Error() string
type PatchGuestNetworkInterfaceByIDDefault ¶
type PatchGuestNetworkInterfaceByIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PatchGuestNetworkInterfaceByIDDefault handles this case with default header values.
Internal server error
func NewPatchGuestNetworkInterfaceByIDDefault ¶
func NewPatchGuestNetworkInterfaceByIDDefault(code int) *PatchGuestNetworkInterfaceByIDDefault
NewPatchGuestNetworkInterfaceByIDDefault creates a PatchGuestNetworkInterfaceByIDDefault with default headers values
func (*PatchGuestNetworkInterfaceByIDDefault) Code ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) Code() int
Code gets the status code for the patch guest network interface by ID default response
func (*PatchGuestNetworkInterfaceByIDDefault) Error ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) Error() string
type PatchGuestNetworkInterfaceByIDNoContent ¶
type PatchGuestNetworkInterfaceByIDNoContent struct { }
PatchGuestNetworkInterfaceByIDNoContent handles this case with default header values.
Network interface updated
func NewPatchGuestNetworkInterfaceByIDNoContent ¶
func NewPatchGuestNetworkInterfaceByIDNoContent() *PatchGuestNetworkInterfaceByIDNoContent
NewPatchGuestNetworkInterfaceByIDNoContent creates a PatchGuestNetworkInterfaceByIDNoContent with default headers values
func (*PatchGuestNetworkInterfaceByIDNoContent) Error ¶
func (o *PatchGuestNetworkInterfaceByIDNoContent) Error() string
type PatchGuestNetworkInterfaceByIDParams ¶
type PatchGuestNetworkInterfaceByIDParams struct { /*Body A subset of the guest network interface properties */ Body *models.PartialNetworkInterface /*IfaceID The id of the guest network interface */ IfaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchGuestNetworkInterfaceByIDParams contains all the parameters to send to the API endpoint for the patch guest network interface by ID operation typically these are written to a http.Request
func NewPatchGuestNetworkInterfaceByIDParams ¶
func NewPatchGuestNetworkInterfaceByIDParams() *PatchGuestNetworkInterfaceByIDParams
NewPatchGuestNetworkInterfaceByIDParams creates a new PatchGuestNetworkInterfaceByIDParams object with the default values initialized.
func NewPatchGuestNetworkInterfaceByIDParamsWithContext ¶
func NewPatchGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PatchGuestNetworkInterfaceByIDParams
NewPatchGuestNetworkInterfaceByIDParamsWithContext creates a new PatchGuestNetworkInterfaceByIDParams object with the default values initialized, and the ability to set a context for a request
func NewPatchGuestNetworkInterfaceByIDParamsWithHTTPClient ¶
func NewPatchGuestNetworkInterfaceByIDParamsWithHTTPClient(client *http.Client) *PatchGuestNetworkInterfaceByIDParams
NewPatchGuestNetworkInterfaceByIDParamsWithHTTPClient creates a new PatchGuestNetworkInterfaceByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchGuestNetworkInterfaceByIDParamsWithTimeout ¶
func NewPatchGuestNetworkInterfaceByIDParamsWithTimeout(timeout time.Duration) *PatchGuestNetworkInterfaceByIDParams
NewPatchGuestNetworkInterfaceByIDParamsWithTimeout creates a new PatchGuestNetworkInterfaceByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchGuestNetworkInterfaceByIDParams) SetBody ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetBody(body *models.PartialNetworkInterface)
SetBody adds the body to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) SetContext ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) SetHTTPClient ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) SetIfaceID ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)
SetIfaceID adds the ifaceId to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) SetTimeout ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithBody ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithBody(body *models.PartialNetworkInterface) *PatchGuestNetworkInterfaceByIDParams
WithBody adds the body to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithContext ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithContext(ctx context.Context) *PatchGuestNetworkInterfaceByIDParams
WithContext adds the context to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithHTTPClient ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithHTTPClient(client *http.Client) *PatchGuestNetworkInterfaceByIDParams
WithHTTPClient adds the HTTPClient to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithIfaceID ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithIfaceID(ifaceID string) *PatchGuestNetworkInterfaceByIDParams
WithIfaceID adds the ifaceID to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithTimeout ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithTimeout(timeout time.Duration) *PatchGuestNetworkInterfaceByIDParams
WithTimeout adds the timeout to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WriteToRequest ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchGuestNetworkInterfaceByIDReader ¶
type PatchGuestNetworkInterfaceByIDReader struct {
// contains filtered or unexported fields
}
PatchGuestNetworkInterfaceByIDReader is a Reader for the PatchGuestNetworkInterfaceByID structure.
func (*PatchGuestNetworkInterfaceByIDReader) ReadResponse ¶
func (o *PatchGuestNetworkInterfaceByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchMachineConfigurationBadRequest ¶
PatchMachineConfigurationBadRequest handles this case with default header values.
Machine Configuration cannot be updated due to bad input
func NewPatchMachineConfigurationBadRequest ¶
func NewPatchMachineConfigurationBadRequest() *PatchMachineConfigurationBadRequest
NewPatchMachineConfigurationBadRequest creates a PatchMachineConfigurationBadRequest with default headers values
func (*PatchMachineConfigurationBadRequest) Error ¶
func (o *PatchMachineConfigurationBadRequest) Error() string
type PatchMachineConfigurationDefault ¶
type PatchMachineConfigurationDefault struct { Payload *models.Error // contains filtered or unexported fields }
PatchMachineConfigurationDefault handles this case with default header values.
Internal server error
func NewPatchMachineConfigurationDefault ¶
func NewPatchMachineConfigurationDefault(code int) *PatchMachineConfigurationDefault
NewPatchMachineConfigurationDefault creates a PatchMachineConfigurationDefault with default headers values
func (*PatchMachineConfigurationDefault) Code ¶
func (o *PatchMachineConfigurationDefault) Code() int
Code gets the status code for the patch machine configuration default response
func (*PatchMachineConfigurationDefault) Error ¶
func (o *PatchMachineConfigurationDefault) Error() string
type PatchMachineConfigurationNoContent ¶
type PatchMachineConfigurationNoContent struct { }
PatchMachineConfigurationNoContent handles this case with default header values.
Machine Configuration created/updated
func NewPatchMachineConfigurationNoContent ¶
func NewPatchMachineConfigurationNoContent() *PatchMachineConfigurationNoContent
NewPatchMachineConfigurationNoContent creates a PatchMachineConfigurationNoContent with default headers values
func (*PatchMachineConfigurationNoContent) Error ¶
func (o *PatchMachineConfigurationNoContent) Error() string
type PatchMachineConfigurationParams ¶
type PatchMachineConfigurationParams struct { /*Body A subset of Machine Configuration Parameters */ Body *models.MachineConfiguration Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchMachineConfigurationParams contains all the parameters to send to the API endpoint for the patch machine configuration operation typically these are written to a http.Request
func NewPatchMachineConfigurationParams ¶
func NewPatchMachineConfigurationParams() *PatchMachineConfigurationParams
NewPatchMachineConfigurationParams creates a new PatchMachineConfigurationParams object with the default values initialized.
func NewPatchMachineConfigurationParamsWithContext ¶
func NewPatchMachineConfigurationParamsWithContext(ctx context.Context) *PatchMachineConfigurationParams
NewPatchMachineConfigurationParamsWithContext creates a new PatchMachineConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewPatchMachineConfigurationParamsWithHTTPClient ¶
func NewPatchMachineConfigurationParamsWithHTTPClient(client *http.Client) *PatchMachineConfigurationParams
NewPatchMachineConfigurationParamsWithHTTPClient creates a new PatchMachineConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchMachineConfigurationParamsWithTimeout ¶
func NewPatchMachineConfigurationParamsWithTimeout(timeout time.Duration) *PatchMachineConfigurationParams
NewPatchMachineConfigurationParamsWithTimeout creates a new PatchMachineConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchMachineConfigurationParams) SetBody ¶
func (o *PatchMachineConfigurationParams) SetBody(body *models.MachineConfiguration)
SetBody adds the body to the patch machine configuration params
func (*PatchMachineConfigurationParams) SetContext ¶
func (o *PatchMachineConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the patch machine configuration params
func (*PatchMachineConfigurationParams) SetHTTPClient ¶
func (o *PatchMachineConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch machine configuration params
func (*PatchMachineConfigurationParams) SetTimeout ¶
func (o *PatchMachineConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch machine configuration params
func (*PatchMachineConfigurationParams) WithBody ¶
func (o *PatchMachineConfigurationParams) WithBody(body *models.MachineConfiguration) *PatchMachineConfigurationParams
WithBody adds the body to the patch machine configuration params
func (*PatchMachineConfigurationParams) WithContext ¶
func (o *PatchMachineConfigurationParams) WithContext(ctx context.Context) *PatchMachineConfigurationParams
WithContext adds the context to the patch machine configuration params
func (*PatchMachineConfigurationParams) WithHTTPClient ¶
func (o *PatchMachineConfigurationParams) WithHTTPClient(client *http.Client) *PatchMachineConfigurationParams
WithHTTPClient adds the HTTPClient to the patch machine configuration params
func (*PatchMachineConfigurationParams) WithTimeout ¶
func (o *PatchMachineConfigurationParams) WithTimeout(timeout time.Duration) *PatchMachineConfigurationParams
WithTimeout adds the timeout to the patch machine configuration params
func (*PatchMachineConfigurationParams) WriteToRequest ¶
func (o *PatchMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchMachineConfigurationReader ¶
type PatchMachineConfigurationReader struct {
// contains filtered or unexported fields
}
PatchMachineConfigurationReader is a Reader for the PatchMachineConfiguration structure.
func (*PatchMachineConfigurationReader) ReadResponse ¶
func (o *PatchMachineConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchMmdsBadRequest ¶
PatchMmdsBadRequest handles this case with default header values.
MMDS data store cannot be updated due to bad input.
func NewPatchMmdsBadRequest ¶
func NewPatchMmdsBadRequest() *PatchMmdsBadRequest
NewPatchMmdsBadRequest creates a PatchMmdsBadRequest with default headers values
func (*PatchMmdsBadRequest) Error ¶
func (o *PatchMmdsBadRequest) Error() string
type PatchMmdsDefault ¶
PatchMmdsDefault handles this case with default header values.
Internal server error
func NewPatchMmdsDefault ¶
func NewPatchMmdsDefault(code int) *PatchMmdsDefault
NewPatchMmdsDefault creates a PatchMmdsDefault with default headers values
func (*PatchMmdsDefault) Code ¶
func (o *PatchMmdsDefault) Code() int
Code gets the status code for the patch mmds default response
func (*PatchMmdsDefault) Error ¶
func (o *PatchMmdsDefault) Error() string
type PatchMmdsNoContent ¶
type PatchMmdsNoContent struct { }
PatchMmdsNoContent handles this case with default header values.
MMDS data store updated.
func NewPatchMmdsNoContent ¶
func NewPatchMmdsNoContent() *PatchMmdsNoContent
NewPatchMmdsNoContent creates a PatchMmdsNoContent with default headers values
func (*PatchMmdsNoContent) Error ¶
func (o *PatchMmdsNoContent) Error() string
type PatchMmdsParams ¶
type PatchMmdsParams struct { /*Body The MMDS data store patch JSON. */ Body interface{} Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchMmdsParams contains all the parameters to send to the API endpoint for the patch mmds operation typically these are written to a http.Request
func NewPatchMmdsParams ¶
func NewPatchMmdsParams() *PatchMmdsParams
NewPatchMmdsParams creates a new PatchMmdsParams object with the default values initialized.
func NewPatchMmdsParamsWithContext ¶
func NewPatchMmdsParamsWithContext(ctx context.Context) *PatchMmdsParams
NewPatchMmdsParamsWithContext creates a new PatchMmdsParams object with the default values initialized, and the ability to set a context for a request
func NewPatchMmdsParamsWithHTTPClient ¶
func NewPatchMmdsParamsWithHTTPClient(client *http.Client) *PatchMmdsParams
NewPatchMmdsParamsWithHTTPClient creates a new PatchMmdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchMmdsParamsWithTimeout ¶
func NewPatchMmdsParamsWithTimeout(timeout time.Duration) *PatchMmdsParams
NewPatchMmdsParamsWithTimeout creates a new PatchMmdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchMmdsParams) SetBody ¶
func (o *PatchMmdsParams) SetBody(body interface{})
SetBody adds the body to the patch mmds params
func (*PatchMmdsParams) SetContext ¶
func (o *PatchMmdsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch mmds params
func (*PatchMmdsParams) SetHTTPClient ¶
func (o *PatchMmdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch mmds params
func (*PatchMmdsParams) SetTimeout ¶
func (o *PatchMmdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch mmds params
func (*PatchMmdsParams) WithBody ¶
func (o *PatchMmdsParams) WithBody(body interface{}) *PatchMmdsParams
WithBody adds the body to the patch mmds params
func (*PatchMmdsParams) WithContext ¶
func (o *PatchMmdsParams) WithContext(ctx context.Context) *PatchMmdsParams
WithContext adds the context to the patch mmds params
func (*PatchMmdsParams) WithHTTPClient ¶
func (o *PatchMmdsParams) WithHTTPClient(client *http.Client) *PatchMmdsParams
WithHTTPClient adds the HTTPClient to the patch mmds params
func (*PatchMmdsParams) WithTimeout ¶
func (o *PatchMmdsParams) WithTimeout(timeout time.Duration) *PatchMmdsParams
WithTimeout adds the timeout to the patch mmds params
func (*PatchMmdsParams) WriteToRequest ¶
func (o *PatchMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchMmdsReader ¶
type PatchMmdsReader struct {
// contains filtered or unexported fields
}
PatchMmdsReader is a Reader for the PatchMmds structure.
func (*PatchMmdsReader) ReadResponse ¶
func (o *PatchMmdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGuestBootSourceBadRequest ¶
PutGuestBootSourceBadRequest handles this case with default header values.
Boot source cannot be created due to bad input
func NewPutGuestBootSourceBadRequest ¶
func NewPutGuestBootSourceBadRequest() *PutGuestBootSourceBadRequest
NewPutGuestBootSourceBadRequest creates a PutGuestBootSourceBadRequest with default headers values
func (*PutGuestBootSourceBadRequest) Error ¶
func (o *PutGuestBootSourceBadRequest) Error() string
type PutGuestBootSourceDefault ¶
type PutGuestBootSourceDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutGuestBootSourceDefault handles this case with default header values.
Internal server error
func NewPutGuestBootSourceDefault ¶
func NewPutGuestBootSourceDefault(code int) *PutGuestBootSourceDefault
NewPutGuestBootSourceDefault creates a PutGuestBootSourceDefault with default headers values
func (*PutGuestBootSourceDefault) Code ¶
func (o *PutGuestBootSourceDefault) Code() int
Code gets the status code for the put guest boot source default response
func (*PutGuestBootSourceDefault) Error ¶
func (o *PutGuestBootSourceDefault) Error() string
type PutGuestBootSourceNoContent ¶
type PutGuestBootSourceNoContent struct { }
PutGuestBootSourceNoContent handles this case with default header values.
Boot source created/updated
func NewPutGuestBootSourceNoContent ¶
func NewPutGuestBootSourceNoContent() *PutGuestBootSourceNoContent
NewPutGuestBootSourceNoContent creates a PutGuestBootSourceNoContent with default headers values
func (*PutGuestBootSourceNoContent) Error ¶
func (o *PutGuestBootSourceNoContent) Error() string
type PutGuestBootSourceParams ¶
type PutGuestBootSourceParams struct { /*Body Guest boot source properties */ Body *models.BootSource Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutGuestBootSourceParams contains all the parameters to send to the API endpoint for the put guest boot source operation typically these are written to a http.Request
func NewPutGuestBootSourceParams ¶
func NewPutGuestBootSourceParams() *PutGuestBootSourceParams
NewPutGuestBootSourceParams creates a new PutGuestBootSourceParams object with the default values initialized.
func NewPutGuestBootSourceParamsWithContext ¶
func NewPutGuestBootSourceParamsWithContext(ctx context.Context) *PutGuestBootSourceParams
NewPutGuestBootSourceParamsWithContext creates a new PutGuestBootSourceParams object with the default values initialized, and the ability to set a context for a request
func NewPutGuestBootSourceParamsWithHTTPClient ¶
func NewPutGuestBootSourceParamsWithHTTPClient(client *http.Client) *PutGuestBootSourceParams
NewPutGuestBootSourceParamsWithHTTPClient creates a new PutGuestBootSourceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutGuestBootSourceParamsWithTimeout ¶
func NewPutGuestBootSourceParamsWithTimeout(timeout time.Duration) *PutGuestBootSourceParams
NewPutGuestBootSourceParamsWithTimeout creates a new PutGuestBootSourceParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutGuestBootSourceParams) SetBody ¶
func (o *PutGuestBootSourceParams) SetBody(body *models.BootSource)
SetBody adds the body to the put guest boot source params
func (*PutGuestBootSourceParams) SetContext ¶
func (o *PutGuestBootSourceParams) SetContext(ctx context.Context)
SetContext adds the context to the put guest boot source params
func (*PutGuestBootSourceParams) SetHTTPClient ¶
func (o *PutGuestBootSourceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put guest boot source params
func (*PutGuestBootSourceParams) SetTimeout ¶
func (o *PutGuestBootSourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put guest boot source params
func (*PutGuestBootSourceParams) WithBody ¶
func (o *PutGuestBootSourceParams) WithBody(body *models.BootSource) *PutGuestBootSourceParams
WithBody adds the body to the put guest boot source params
func (*PutGuestBootSourceParams) WithContext ¶
func (o *PutGuestBootSourceParams) WithContext(ctx context.Context) *PutGuestBootSourceParams
WithContext adds the context to the put guest boot source params
func (*PutGuestBootSourceParams) WithHTTPClient ¶
func (o *PutGuestBootSourceParams) WithHTTPClient(client *http.Client) *PutGuestBootSourceParams
WithHTTPClient adds the HTTPClient to the put guest boot source params
func (*PutGuestBootSourceParams) WithTimeout ¶
func (o *PutGuestBootSourceParams) WithTimeout(timeout time.Duration) *PutGuestBootSourceParams
WithTimeout adds the timeout to the put guest boot source params
func (*PutGuestBootSourceParams) WriteToRequest ¶
func (o *PutGuestBootSourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGuestBootSourceReader ¶
type PutGuestBootSourceReader struct {
// contains filtered or unexported fields
}
PutGuestBootSourceReader is a Reader for the PutGuestBootSource structure.
func (*PutGuestBootSourceReader) ReadResponse ¶
func (o *PutGuestBootSourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGuestDriveByIDBadRequest ¶
PutGuestDriveByIDBadRequest handles this case with default header values.
Drive cannot be created/updated due to bad input
func NewPutGuestDriveByIDBadRequest ¶
func NewPutGuestDriveByIDBadRequest() *PutGuestDriveByIDBadRequest
NewPutGuestDriveByIDBadRequest creates a PutGuestDriveByIDBadRequest with default headers values
func (*PutGuestDriveByIDBadRequest) Error ¶
func (o *PutGuestDriveByIDBadRequest) Error() string
type PutGuestDriveByIDDefault ¶
type PutGuestDriveByIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutGuestDriveByIDDefault handles this case with default header values.
Internal server error.
func NewPutGuestDriveByIDDefault ¶
func NewPutGuestDriveByIDDefault(code int) *PutGuestDriveByIDDefault
NewPutGuestDriveByIDDefault creates a PutGuestDriveByIDDefault with default headers values
func (*PutGuestDriveByIDDefault) Code ¶
func (o *PutGuestDriveByIDDefault) Code() int
Code gets the status code for the put guest drive by ID default response
func (*PutGuestDriveByIDDefault) Error ¶
func (o *PutGuestDriveByIDDefault) Error() string
type PutGuestDriveByIDNoContent ¶
type PutGuestDriveByIDNoContent struct { }
PutGuestDriveByIDNoContent handles this case with default header values.
Drive created/updated
func NewPutGuestDriveByIDNoContent ¶
func NewPutGuestDriveByIDNoContent() *PutGuestDriveByIDNoContent
NewPutGuestDriveByIDNoContent creates a PutGuestDriveByIDNoContent with default headers values
func (*PutGuestDriveByIDNoContent) Error ¶
func (o *PutGuestDriveByIDNoContent) Error() string
type PutGuestDriveByIDParams ¶
type PutGuestDriveByIDParams struct { /*Body Guest drive properties */ Body *models.Drive /*DriveID The id of the guest drive */ DriveID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutGuestDriveByIDParams contains all the parameters to send to the API endpoint for the put guest drive by ID operation typically these are written to a http.Request
func NewPutGuestDriveByIDParams ¶
func NewPutGuestDriveByIDParams() *PutGuestDriveByIDParams
NewPutGuestDriveByIDParams creates a new PutGuestDriveByIDParams object with the default values initialized.
func NewPutGuestDriveByIDParamsWithContext ¶
func NewPutGuestDriveByIDParamsWithContext(ctx context.Context) *PutGuestDriveByIDParams
NewPutGuestDriveByIDParamsWithContext creates a new PutGuestDriveByIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutGuestDriveByIDParamsWithHTTPClient ¶
func NewPutGuestDriveByIDParamsWithHTTPClient(client *http.Client) *PutGuestDriveByIDParams
NewPutGuestDriveByIDParamsWithHTTPClient creates a new PutGuestDriveByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutGuestDriveByIDParamsWithTimeout ¶
func NewPutGuestDriveByIDParamsWithTimeout(timeout time.Duration) *PutGuestDriveByIDParams
NewPutGuestDriveByIDParamsWithTimeout creates a new PutGuestDriveByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutGuestDriveByIDParams) SetBody ¶
func (o *PutGuestDriveByIDParams) SetBody(body *models.Drive)
SetBody adds the body to the put guest drive by ID params
func (*PutGuestDriveByIDParams) SetContext ¶
func (o *PutGuestDriveByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put guest drive by ID params
func (*PutGuestDriveByIDParams) SetDriveID ¶
func (o *PutGuestDriveByIDParams) SetDriveID(driveID string)
SetDriveID adds the driveId to the put guest drive by ID params
func (*PutGuestDriveByIDParams) SetHTTPClient ¶
func (o *PutGuestDriveByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put guest drive by ID params
func (*PutGuestDriveByIDParams) SetTimeout ¶
func (o *PutGuestDriveByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithBody ¶
func (o *PutGuestDriveByIDParams) WithBody(body *models.Drive) *PutGuestDriveByIDParams
WithBody adds the body to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithContext ¶
func (o *PutGuestDriveByIDParams) WithContext(ctx context.Context) *PutGuestDriveByIDParams
WithContext adds the context to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithDriveID ¶
func (o *PutGuestDriveByIDParams) WithDriveID(driveID string) *PutGuestDriveByIDParams
WithDriveID adds the driveID to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithHTTPClient ¶
func (o *PutGuestDriveByIDParams) WithHTTPClient(client *http.Client) *PutGuestDriveByIDParams
WithHTTPClient adds the HTTPClient to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithTimeout ¶
func (o *PutGuestDriveByIDParams) WithTimeout(timeout time.Duration) *PutGuestDriveByIDParams
WithTimeout adds the timeout to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WriteToRequest ¶
func (o *PutGuestDriveByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGuestDriveByIDReader ¶
type PutGuestDriveByIDReader struct {
// contains filtered or unexported fields
}
PutGuestDriveByIDReader is a Reader for the PutGuestDriveByID structure.
func (*PutGuestDriveByIDReader) ReadResponse ¶
func (o *PutGuestDriveByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGuestNetworkInterfaceByIDBadRequest ¶
PutGuestNetworkInterfaceByIDBadRequest handles this case with default header values.
Network interface cannot be created due to bad input
func NewPutGuestNetworkInterfaceByIDBadRequest ¶
func NewPutGuestNetworkInterfaceByIDBadRequest() *PutGuestNetworkInterfaceByIDBadRequest
NewPutGuestNetworkInterfaceByIDBadRequest creates a PutGuestNetworkInterfaceByIDBadRequest with default headers values
func (*PutGuestNetworkInterfaceByIDBadRequest) Error ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) Error() string
type PutGuestNetworkInterfaceByIDDefault ¶
type PutGuestNetworkInterfaceByIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutGuestNetworkInterfaceByIDDefault handles this case with default header values.
Internal server error
func NewPutGuestNetworkInterfaceByIDDefault ¶
func NewPutGuestNetworkInterfaceByIDDefault(code int) *PutGuestNetworkInterfaceByIDDefault
NewPutGuestNetworkInterfaceByIDDefault creates a PutGuestNetworkInterfaceByIDDefault with default headers values
func (*PutGuestNetworkInterfaceByIDDefault) Code ¶
func (o *PutGuestNetworkInterfaceByIDDefault) Code() int
Code gets the status code for the put guest network interface by ID default response
func (*PutGuestNetworkInterfaceByIDDefault) Error ¶
func (o *PutGuestNetworkInterfaceByIDDefault) Error() string
type PutGuestNetworkInterfaceByIDNoContent ¶
type PutGuestNetworkInterfaceByIDNoContent struct { }
PutGuestNetworkInterfaceByIDNoContent handles this case with default header values.
Network interface created/updated
func NewPutGuestNetworkInterfaceByIDNoContent ¶
func NewPutGuestNetworkInterfaceByIDNoContent() *PutGuestNetworkInterfaceByIDNoContent
NewPutGuestNetworkInterfaceByIDNoContent creates a PutGuestNetworkInterfaceByIDNoContent with default headers values
func (*PutGuestNetworkInterfaceByIDNoContent) Error ¶
func (o *PutGuestNetworkInterfaceByIDNoContent) Error() string
type PutGuestNetworkInterfaceByIDParams ¶
type PutGuestNetworkInterfaceByIDParams struct { /*Body Guest network interface properties */ Body *models.NetworkInterface /*IfaceID The id of the guest network interface */ IfaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutGuestNetworkInterfaceByIDParams contains all the parameters to send to the API endpoint for the put guest network interface by ID operation typically these are written to a http.Request
func NewPutGuestNetworkInterfaceByIDParams ¶
func NewPutGuestNetworkInterfaceByIDParams() *PutGuestNetworkInterfaceByIDParams
NewPutGuestNetworkInterfaceByIDParams creates a new PutGuestNetworkInterfaceByIDParams object with the default values initialized.
func NewPutGuestNetworkInterfaceByIDParamsWithContext ¶
func NewPutGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PutGuestNetworkInterfaceByIDParams
NewPutGuestNetworkInterfaceByIDParamsWithContext creates a new PutGuestNetworkInterfaceByIDParams object with the default values initialized, and the ability to set a context for a request
func NewPutGuestNetworkInterfaceByIDParamsWithHTTPClient ¶
func NewPutGuestNetworkInterfaceByIDParamsWithHTTPClient(client *http.Client) *PutGuestNetworkInterfaceByIDParams
NewPutGuestNetworkInterfaceByIDParamsWithHTTPClient creates a new PutGuestNetworkInterfaceByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutGuestNetworkInterfaceByIDParamsWithTimeout ¶
func NewPutGuestNetworkInterfaceByIDParamsWithTimeout(timeout time.Duration) *PutGuestNetworkInterfaceByIDParams
NewPutGuestNetworkInterfaceByIDParamsWithTimeout creates a new PutGuestNetworkInterfaceByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutGuestNetworkInterfaceByIDParams) SetBody ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetBody(body *models.NetworkInterface)
SetBody adds the body to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) SetContext ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) SetHTTPClient ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) SetIfaceID ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)
SetIfaceID adds the ifaceId to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) SetTimeout ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithBody ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithBody(body *models.NetworkInterface) *PutGuestNetworkInterfaceByIDParams
WithBody adds the body to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithContext ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithContext(ctx context.Context) *PutGuestNetworkInterfaceByIDParams
WithContext adds the context to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithHTTPClient ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithHTTPClient(client *http.Client) *PutGuestNetworkInterfaceByIDParams
WithHTTPClient adds the HTTPClient to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithIfaceID ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithIfaceID(ifaceID string) *PutGuestNetworkInterfaceByIDParams
WithIfaceID adds the ifaceID to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithTimeout ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithTimeout(timeout time.Duration) *PutGuestNetworkInterfaceByIDParams
WithTimeout adds the timeout to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WriteToRequest ¶
func (o *PutGuestNetworkInterfaceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGuestNetworkInterfaceByIDReader ¶
type PutGuestNetworkInterfaceByIDReader struct {
// contains filtered or unexported fields
}
PutGuestNetworkInterfaceByIDReader is a Reader for the PutGuestNetworkInterfaceByID structure.
func (*PutGuestNetworkInterfaceByIDReader) ReadResponse ¶
func (o *PutGuestNetworkInterfaceByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGuestVsockBadRequest ¶
PutGuestVsockBadRequest handles this case with default header values.
Vsock cannot be created due to bad input
func NewPutGuestVsockBadRequest ¶
func NewPutGuestVsockBadRequest() *PutGuestVsockBadRequest
NewPutGuestVsockBadRequest creates a PutGuestVsockBadRequest with default headers values
func (*PutGuestVsockBadRequest) Error ¶
func (o *PutGuestVsockBadRequest) Error() string
type PutGuestVsockDefault ¶
type PutGuestVsockDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutGuestVsockDefault handles this case with default header values.
Internal server error
func NewPutGuestVsockDefault ¶
func NewPutGuestVsockDefault(code int) *PutGuestVsockDefault
NewPutGuestVsockDefault creates a PutGuestVsockDefault with default headers values
func (*PutGuestVsockDefault) Code ¶
func (o *PutGuestVsockDefault) Code() int
Code gets the status code for the put guest vsock default response
func (*PutGuestVsockDefault) Error ¶
func (o *PutGuestVsockDefault) Error() string
type PutGuestVsockNoContent ¶
type PutGuestVsockNoContent struct { }
PutGuestVsockNoContent handles this case with default header values.
Vsock created/updated
func NewPutGuestVsockNoContent ¶
func NewPutGuestVsockNoContent() *PutGuestVsockNoContent
NewPutGuestVsockNoContent creates a PutGuestVsockNoContent with default headers values
func (*PutGuestVsockNoContent) Error ¶
func (o *PutGuestVsockNoContent) Error() string
type PutGuestVsockParams ¶
type PutGuestVsockParams struct { /*Body Guest vsock properties */ Body *models.Vsock Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutGuestVsockParams contains all the parameters to send to the API endpoint for the put guest vsock operation typically these are written to a http.Request
func NewPutGuestVsockParams ¶
func NewPutGuestVsockParams() *PutGuestVsockParams
NewPutGuestVsockParams creates a new PutGuestVsockParams object with the default values initialized.
func NewPutGuestVsockParamsWithContext ¶
func NewPutGuestVsockParamsWithContext(ctx context.Context) *PutGuestVsockParams
NewPutGuestVsockParamsWithContext creates a new PutGuestVsockParams object with the default values initialized, and the ability to set a context for a request
func NewPutGuestVsockParamsWithHTTPClient ¶
func NewPutGuestVsockParamsWithHTTPClient(client *http.Client) *PutGuestVsockParams
NewPutGuestVsockParamsWithHTTPClient creates a new PutGuestVsockParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutGuestVsockParamsWithTimeout ¶
func NewPutGuestVsockParamsWithTimeout(timeout time.Duration) *PutGuestVsockParams
NewPutGuestVsockParamsWithTimeout creates a new PutGuestVsockParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutGuestVsockParams) SetBody ¶
func (o *PutGuestVsockParams) SetBody(body *models.Vsock)
SetBody adds the body to the put guest vsock params
func (*PutGuestVsockParams) SetContext ¶
func (o *PutGuestVsockParams) SetContext(ctx context.Context)
SetContext adds the context to the put guest vsock params
func (*PutGuestVsockParams) SetHTTPClient ¶
func (o *PutGuestVsockParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put guest vsock params
func (*PutGuestVsockParams) SetTimeout ¶
func (o *PutGuestVsockParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put guest vsock params
func (*PutGuestVsockParams) WithBody ¶
func (o *PutGuestVsockParams) WithBody(body *models.Vsock) *PutGuestVsockParams
WithBody adds the body to the put guest vsock params
func (*PutGuestVsockParams) WithContext ¶
func (o *PutGuestVsockParams) WithContext(ctx context.Context) *PutGuestVsockParams
WithContext adds the context to the put guest vsock params
func (*PutGuestVsockParams) WithHTTPClient ¶
func (o *PutGuestVsockParams) WithHTTPClient(client *http.Client) *PutGuestVsockParams
WithHTTPClient adds the HTTPClient to the put guest vsock params
func (*PutGuestVsockParams) WithTimeout ¶
func (o *PutGuestVsockParams) WithTimeout(timeout time.Duration) *PutGuestVsockParams
WithTimeout adds the timeout to the put guest vsock params
func (*PutGuestVsockParams) WriteToRequest ¶
func (o *PutGuestVsockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGuestVsockReader ¶
type PutGuestVsockReader struct {
// contains filtered or unexported fields
}
PutGuestVsockReader is a Reader for the PutGuestVsock structure.
func (*PutGuestVsockReader) ReadResponse ¶
func (o *PutGuestVsockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutLoggerBadRequest ¶
PutLoggerBadRequest handles this case with default header values.
Logger cannot be initialized due to bad input.
func NewPutLoggerBadRequest ¶
func NewPutLoggerBadRequest() *PutLoggerBadRequest
NewPutLoggerBadRequest creates a PutLoggerBadRequest with default headers values
func (*PutLoggerBadRequest) Error ¶
func (o *PutLoggerBadRequest) Error() string
type PutLoggerDefault ¶
PutLoggerDefault handles this case with default header values.
Internal server error.
func NewPutLoggerDefault ¶
func NewPutLoggerDefault(code int) *PutLoggerDefault
NewPutLoggerDefault creates a PutLoggerDefault with default headers values
func (*PutLoggerDefault) Code ¶
func (o *PutLoggerDefault) Code() int
Code gets the status code for the put logger default response
func (*PutLoggerDefault) Error ¶
func (o *PutLoggerDefault) Error() string
type PutLoggerNoContent ¶
type PutLoggerNoContent struct { }
PutLoggerNoContent handles this case with default header values.
Logger created.
func NewPutLoggerNoContent ¶
func NewPutLoggerNoContent() *PutLoggerNoContent
NewPutLoggerNoContent creates a PutLoggerNoContent with default headers values
func (*PutLoggerNoContent) Error ¶
func (o *PutLoggerNoContent) Error() string
type PutLoggerParams ¶
type PutLoggerParams struct { /*Body Logging system description */ Body *models.Logger Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutLoggerParams contains all the parameters to send to the API endpoint for the put logger operation typically these are written to a http.Request
func NewPutLoggerParams ¶
func NewPutLoggerParams() *PutLoggerParams
NewPutLoggerParams creates a new PutLoggerParams object with the default values initialized.
func NewPutLoggerParamsWithContext ¶
func NewPutLoggerParamsWithContext(ctx context.Context) *PutLoggerParams
NewPutLoggerParamsWithContext creates a new PutLoggerParams object with the default values initialized, and the ability to set a context for a request
func NewPutLoggerParamsWithHTTPClient ¶
func NewPutLoggerParamsWithHTTPClient(client *http.Client) *PutLoggerParams
NewPutLoggerParamsWithHTTPClient creates a new PutLoggerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutLoggerParamsWithTimeout ¶
func NewPutLoggerParamsWithTimeout(timeout time.Duration) *PutLoggerParams
NewPutLoggerParamsWithTimeout creates a new PutLoggerParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutLoggerParams) SetBody ¶
func (o *PutLoggerParams) SetBody(body *models.Logger)
SetBody adds the body to the put logger params
func (*PutLoggerParams) SetContext ¶
func (o *PutLoggerParams) SetContext(ctx context.Context)
SetContext adds the context to the put logger params
func (*PutLoggerParams) SetHTTPClient ¶
func (o *PutLoggerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put logger params
func (*PutLoggerParams) SetTimeout ¶
func (o *PutLoggerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put logger params
func (*PutLoggerParams) WithBody ¶
func (o *PutLoggerParams) WithBody(body *models.Logger) *PutLoggerParams
WithBody adds the body to the put logger params
func (*PutLoggerParams) WithContext ¶
func (o *PutLoggerParams) WithContext(ctx context.Context) *PutLoggerParams
WithContext adds the context to the put logger params
func (*PutLoggerParams) WithHTTPClient ¶
func (o *PutLoggerParams) WithHTTPClient(client *http.Client) *PutLoggerParams
WithHTTPClient adds the HTTPClient to the put logger params
func (*PutLoggerParams) WithTimeout ¶
func (o *PutLoggerParams) WithTimeout(timeout time.Duration) *PutLoggerParams
WithTimeout adds the timeout to the put logger params
func (*PutLoggerParams) WriteToRequest ¶
func (o *PutLoggerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutLoggerReader ¶
type PutLoggerReader struct {
// contains filtered or unexported fields
}
PutLoggerReader is a Reader for the PutLogger structure.
func (*PutLoggerReader) ReadResponse ¶
func (o *PutLoggerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutMachineConfigurationBadRequest ¶
PutMachineConfigurationBadRequest handles this case with default header values.
Machine Configuration cannot be updated due to bad input
func NewPutMachineConfigurationBadRequest ¶
func NewPutMachineConfigurationBadRequest() *PutMachineConfigurationBadRequest
NewPutMachineConfigurationBadRequest creates a PutMachineConfigurationBadRequest with default headers values
func (*PutMachineConfigurationBadRequest) Error ¶
func (o *PutMachineConfigurationBadRequest) Error() string
type PutMachineConfigurationDefault ¶
type PutMachineConfigurationDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutMachineConfigurationDefault handles this case with default header values.
Internal server error
func NewPutMachineConfigurationDefault ¶
func NewPutMachineConfigurationDefault(code int) *PutMachineConfigurationDefault
NewPutMachineConfigurationDefault creates a PutMachineConfigurationDefault with default headers values
func (*PutMachineConfigurationDefault) Code ¶
func (o *PutMachineConfigurationDefault) Code() int
Code gets the status code for the put machine configuration default response
func (*PutMachineConfigurationDefault) Error ¶
func (o *PutMachineConfigurationDefault) Error() string
type PutMachineConfigurationNoContent ¶
type PutMachineConfigurationNoContent struct { }
PutMachineConfigurationNoContent handles this case with default header values.
Machine Configuration created/updated
func NewPutMachineConfigurationNoContent ¶
func NewPutMachineConfigurationNoContent() *PutMachineConfigurationNoContent
NewPutMachineConfigurationNoContent creates a PutMachineConfigurationNoContent with default headers values
func (*PutMachineConfigurationNoContent) Error ¶
func (o *PutMachineConfigurationNoContent) Error() string
type PutMachineConfigurationParams ¶
type PutMachineConfigurationParams struct { /*Body Machine Configuration Parameters */ Body *models.MachineConfiguration Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutMachineConfigurationParams contains all the parameters to send to the API endpoint for the put machine configuration operation typically these are written to a http.Request
func NewPutMachineConfigurationParams ¶
func NewPutMachineConfigurationParams() *PutMachineConfigurationParams
NewPutMachineConfigurationParams creates a new PutMachineConfigurationParams object with the default values initialized.
func NewPutMachineConfigurationParamsWithContext ¶
func NewPutMachineConfigurationParamsWithContext(ctx context.Context) *PutMachineConfigurationParams
NewPutMachineConfigurationParamsWithContext creates a new PutMachineConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewPutMachineConfigurationParamsWithHTTPClient ¶
func NewPutMachineConfigurationParamsWithHTTPClient(client *http.Client) *PutMachineConfigurationParams
NewPutMachineConfigurationParamsWithHTTPClient creates a new PutMachineConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutMachineConfigurationParamsWithTimeout ¶
func NewPutMachineConfigurationParamsWithTimeout(timeout time.Duration) *PutMachineConfigurationParams
NewPutMachineConfigurationParamsWithTimeout creates a new PutMachineConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutMachineConfigurationParams) SetBody ¶
func (o *PutMachineConfigurationParams) SetBody(body *models.MachineConfiguration)
SetBody adds the body to the put machine configuration params
func (*PutMachineConfigurationParams) SetContext ¶
func (o *PutMachineConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the put machine configuration params
func (*PutMachineConfigurationParams) SetHTTPClient ¶
func (o *PutMachineConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put machine configuration params
func (*PutMachineConfigurationParams) SetTimeout ¶
func (o *PutMachineConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put machine configuration params
func (*PutMachineConfigurationParams) WithBody ¶
func (o *PutMachineConfigurationParams) WithBody(body *models.MachineConfiguration) *PutMachineConfigurationParams
WithBody adds the body to the put machine configuration params
func (*PutMachineConfigurationParams) WithContext ¶
func (o *PutMachineConfigurationParams) WithContext(ctx context.Context) *PutMachineConfigurationParams
WithContext adds the context to the put machine configuration params
func (*PutMachineConfigurationParams) WithHTTPClient ¶
func (o *PutMachineConfigurationParams) WithHTTPClient(client *http.Client) *PutMachineConfigurationParams
WithHTTPClient adds the HTTPClient to the put machine configuration params
func (*PutMachineConfigurationParams) WithTimeout ¶
func (o *PutMachineConfigurationParams) WithTimeout(timeout time.Duration) *PutMachineConfigurationParams
WithTimeout adds the timeout to the put machine configuration params
func (*PutMachineConfigurationParams) WriteToRequest ¶
func (o *PutMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutMachineConfigurationReader ¶
type PutMachineConfigurationReader struct {
// contains filtered or unexported fields
}
PutMachineConfigurationReader is a Reader for the PutMachineConfiguration structure.
func (*PutMachineConfigurationReader) ReadResponse ¶
func (o *PutMachineConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutMmdsBadRequest ¶
PutMmdsBadRequest handles this case with default header values.
MMDS data store cannot be created due to bad input.
func NewPutMmdsBadRequest ¶
func NewPutMmdsBadRequest() *PutMmdsBadRequest
NewPutMmdsBadRequest creates a PutMmdsBadRequest with default headers values
func (*PutMmdsBadRequest) Error ¶
func (o *PutMmdsBadRequest) Error() string
type PutMmdsDefault ¶
PutMmdsDefault handles this case with default header values.
Internal server error
func NewPutMmdsDefault ¶
func NewPutMmdsDefault(code int) *PutMmdsDefault
NewPutMmdsDefault creates a PutMmdsDefault with default headers values
func (*PutMmdsDefault) Code ¶
func (o *PutMmdsDefault) Code() int
Code gets the status code for the put mmds default response
func (*PutMmdsDefault) Error ¶
func (o *PutMmdsDefault) Error() string
type PutMmdsNoContent ¶
type PutMmdsNoContent struct { }
PutMmdsNoContent handles this case with default header values.
MMDS data store created/updated.
func NewPutMmdsNoContent ¶
func NewPutMmdsNoContent() *PutMmdsNoContent
NewPutMmdsNoContent creates a PutMmdsNoContent with default headers values
func (*PutMmdsNoContent) Error ¶
func (o *PutMmdsNoContent) Error() string
type PutMmdsParams ¶
type PutMmdsParams struct { /*Body The MMDS data store as JSON. */ Body interface{} Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutMmdsParams contains all the parameters to send to the API endpoint for the put mmds operation typically these are written to a http.Request
func NewPutMmdsParams ¶
func NewPutMmdsParams() *PutMmdsParams
NewPutMmdsParams creates a new PutMmdsParams object with the default values initialized.
func NewPutMmdsParamsWithContext ¶
func NewPutMmdsParamsWithContext(ctx context.Context) *PutMmdsParams
NewPutMmdsParamsWithContext creates a new PutMmdsParams object with the default values initialized, and the ability to set a context for a request
func NewPutMmdsParamsWithHTTPClient ¶
func NewPutMmdsParamsWithHTTPClient(client *http.Client) *PutMmdsParams
NewPutMmdsParamsWithHTTPClient creates a new PutMmdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutMmdsParamsWithTimeout ¶
func NewPutMmdsParamsWithTimeout(timeout time.Duration) *PutMmdsParams
NewPutMmdsParamsWithTimeout creates a new PutMmdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutMmdsParams) SetBody ¶
func (o *PutMmdsParams) SetBody(body interface{})
SetBody adds the body to the put mmds params
func (*PutMmdsParams) SetContext ¶
func (o *PutMmdsParams) SetContext(ctx context.Context)
SetContext adds the context to the put mmds params
func (*PutMmdsParams) SetHTTPClient ¶
func (o *PutMmdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put mmds params
func (*PutMmdsParams) SetTimeout ¶
func (o *PutMmdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put mmds params
func (*PutMmdsParams) WithBody ¶
func (o *PutMmdsParams) WithBody(body interface{}) *PutMmdsParams
WithBody adds the body to the put mmds params
func (*PutMmdsParams) WithContext ¶
func (o *PutMmdsParams) WithContext(ctx context.Context) *PutMmdsParams
WithContext adds the context to the put mmds params
func (*PutMmdsParams) WithHTTPClient ¶
func (o *PutMmdsParams) WithHTTPClient(client *http.Client) *PutMmdsParams
WithHTTPClient adds the HTTPClient to the put mmds params
func (*PutMmdsParams) WithTimeout ¶
func (o *PutMmdsParams) WithTimeout(timeout time.Duration) *PutMmdsParams
WithTimeout adds the timeout to the put mmds params
func (*PutMmdsParams) WriteToRequest ¶
func (o *PutMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutMmdsReader ¶
type PutMmdsReader struct {
// contains filtered or unexported fields
}
PutMmdsReader is a Reader for the PutMmds structure.
func (*PutMmdsReader) ReadResponse ¶
func (o *PutMmdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_sync_action_parameters.go
- create_sync_action_responses.go
- describe_instance_parameters.go
- describe_instance_responses.go
- get_machine_configuration_parameters.go
- get_machine_configuration_responses.go
- get_mmds_parameters.go
- get_mmds_responses.go
- operations_client.go
- patch_guest_drive_by_id_parameters.go
- patch_guest_drive_by_id_responses.go
- patch_guest_network_interface_by_id_parameters.go
- patch_guest_network_interface_by_id_responses.go
- patch_machine_configuration_parameters.go
- patch_machine_configuration_responses.go
- patch_mmds_parameters.go
- patch_mmds_responses.go
- put_guest_boot_source_parameters.go
- put_guest_boot_source_responses.go
- put_guest_drive_by_id_parameters.go
- put_guest_drive_by_id_responses.go
- put_guest_network_interface_by_id_parameters.go
- put_guest_network_interface_by_id_responses.go
- put_guest_vsock_parameters.go
- put_guest_vsock_responses.go
- put_logger_parameters.go
- put_logger_responses.go
- put_machine_configuration_parameters.go
- put_machine_configuration_responses.go
- put_mmds_parameters.go
- put_mmds_responses.go