operations

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

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 NewClient

func NewClient(transport runtime.ClientTransport, formats strfmt.Registry) *Client

NewClient will return a new client with the given transport and formats

func (*Client) CreateSnapshot added in v1.0.0

func (a *Client) CreateSnapshot(params *CreateSnapshotParams) (*CreateSnapshotNoContent, error)

CreateSnapshot creates a full or diff snapshot post boot only

Creates a snapshot of the microVM state. The microVM should be in the `Paused` state.

func (*Client) CreateSyncAction

func (a *Client) CreateSyncAction(params *CreateSyncActionParams) (*CreateSyncActionNoContent, error)

CreateSyncAction creates a synchronous action

func (*Client) DescribeBalloonConfig added in v1.0.0

func (a *Client) DescribeBalloonConfig(params *DescribeBalloonConfigParams) (*DescribeBalloonConfigOK, error)

DescribeBalloonConfig returns the current balloon device configuration

func (*Client) DescribeBalloonStats added in v1.0.0

func (a *Client) DescribeBalloonStats(params *DescribeBalloonStatsParams) (*DescribeBalloonStatsOK, error)

DescribeBalloonStats returns the latest balloon device statistics only if enabled pre boot

func (*Client) DescribeInstance

func (a *Client) DescribeInstance(params *DescribeInstanceParams) (*DescribeInstanceOK, error)

DescribeInstance returns general information about an instance

func (*Client) GetExportVMConfig added in v1.0.0

func (a *Client) GetExportVMConfig(params *GetExportVMConfigParams) (*GetExportVMConfigOK, error)

GetExportVMConfig gets the full VM configuration

Gets configuration for all VM resources.

func (*Client) GetFirecrackerVersion added in v1.0.0

func (a *Client) GetFirecrackerVersion(params *GetFirecrackerVersionParams) (*GetFirecrackerVersionOK, error)

GetFirecrackerVersion gets the firecracker version

func (*Client) GetMachineConfiguration added in v0.17.0

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 SMT 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) LoadSnapshot added in v1.0.0

func (a *Client) LoadSnapshot(params *LoadSnapshotParams) (*LoadSnapshotNoContent, error)

LoadSnapshot loads a snapshot pre boot only

Loads the microVM state from a snapshot. Only accepted on a fresh Firecracker process (before configuring any resource other than the Logger and Metrics).

func (*Client) PatchBalloon added in v1.0.0

func (a *Client) PatchBalloon(params *PatchBalloonParams) (*PatchBalloonNoContent, error)

PatchBalloon updates a balloon device

Updates an existing balloon device, before or after machine startup. Will fail if update is not possible.

func (*Client) PatchBalloonStatsInterval added in v1.0.0

func (a *Client) PatchBalloonStatsInterval(params *PatchBalloonStatsIntervalParams) (*PatchBalloonStatsIntervalNoContent, error)

PatchBalloonStatsInterval updates a balloon device statistics polling interval

Updates an existing balloon device statistics interval, before or after machine startup. Will fail if update is not possible.

func (*Client) PatchGuestDriveByID

func (a *Client) PatchGuestDriveByID(params *PatchGuestDriveByIDParams) (*PatchGuestDriveByIDNoContent, error)

PatchGuestDriveByID updates the properties of a drive post boot only

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 post boot only

Updates the rate limiters applied to a network interface.

func (*Client) PatchMachineConfiguration added in v0.17.0

func (a *Client) PatchMachineConfiguration(params *PatchMachineConfigurationParams) (*PatchMachineConfigurationNoContent, error)

PatchMachineConfiguration partiallies updates the machine configuration of the VM pre boot only

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) PatchVM added in v1.0.0

func (a *Client) PatchVM(params *PatchVMParams) (*PatchVMNoContent, error)

PatchVM updates the micro VM state

Sets the desired state (Paused or Resumed) for the microVM.

func (*Client) PutBalloon added in v1.0.0

func (a *Client) PutBalloon(params *PutBalloonParams) (*PutBalloonNoContent, error)

PutBalloon creates or updates a balloon device

Creates a new balloon device if one does not already exist, otherwise updates it, before machine startup. This will fail after machine startup. Will fail if update is not possible.

func (*Client) PutGuestBootSource

func (a *Client) PutGuestBootSource(params *PutGuestBootSourceParams) (*PutGuestBootSourceNoContent, error)

PutGuestBootSource creates or updates the boot source pre boot only

Creates new boot source if one does not already exist, otherwise updates it. Will fail if update is not possible.

func (*Client) PutGuestDriveByID

func (a *Client) PutGuestDriveByID(params *PutGuestDriveByIDParams) (*PutGuestDriveByIDNoContent, error)

PutGuestDriveByID creates or updates a drive pre boot only

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 pre boot only

Creates new network interface with ID specified by iface_id path parameter.

func (*Client) PutGuestVsock added in v0.19.0

func (a *Client) PutGuestVsock(params *PutGuestVsockParams) (*PutGuestVsockNoContent, error)

PutGuestVsock creates updates a vsock device pre boot only

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 a named pipe or a file for the logs output

func (*Client) PutMachineConfiguration

func (a *Client) PutMachineConfiguration(params *PutMachineConfigurationParams) (*PutMachineConfigurationNoContent, error)

PutMachineConfiguration updates the machine configuration of the VM pre boot only

Updates the Virtual Machine Configuration with the specified input. Firecracker starts with default values for vCPU count (=1) and memory size (=128 MiB). With SMT 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) PutMetrics added in v0.22.0

func (a *Client) PutMetrics(params *PutMetricsParams) (*PutMetricsNoContent, error)

PutMetrics initializes the metrics system by specifying a named pipe or a file for the metrics output

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) PutMmdsConfig added in v0.22.0

func (a *Client) PutMmdsConfig(params *PutMmdsConfigParams) (*PutMmdsConfigNoContent, error)

PutMmdsConfig sets m m d s configuration pre boot only

Configures MMDS version, IPv4 address used by the MMDS network stack and interfaces that allow MMDS requests.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientIface

type ClientIface interface {
	CreateSnapshot(params *CreateSnapshotParams) (*CreateSnapshotNoContent, error)
	CreateSyncAction(params *CreateSyncActionParams) (*CreateSyncActionNoContent, error)
	DescribeBalloonConfig(params *DescribeBalloonConfigParams) (*DescribeBalloonConfigOK, error)
	DescribeBalloonStats(params *DescribeBalloonStatsParams) (*DescribeBalloonStatsOK, error)
	DescribeInstance(params *DescribeInstanceParams) (*DescribeInstanceOK, error)
	GetExportVMConfig(params *GetExportVMConfigParams) (*GetExportVMConfigOK, error)
	GetFirecrackerVersion(params *GetFirecrackerVersionParams) (*GetFirecrackerVersionOK, error)
	GetMachineConfiguration(params *GetMachineConfigurationParams) (*GetMachineConfigurationOK, error)
	GetMmds(params *GetMmdsParams) (*GetMmdsOK, error)
	LoadSnapshot(params *LoadSnapshotParams) (*LoadSnapshotNoContent, error)
	PatchBalloon(params *PatchBalloonParams) (*PatchBalloonNoContent, error)
	PatchBalloonStatsInterval(params *PatchBalloonStatsIntervalParams) (*PatchBalloonStatsIntervalNoContent, error)
	PatchGuestDriveByID(params *PatchGuestDriveByIDParams) (*PatchGuestDriveByIDNoContent, error)
	PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams) (*PatchGuestNetworkInterfaceByIDNoContent, error)
	PatchMachineConfiguration(params *PatchMachineConfigurationParams) (*PatchMachineConfigurationNoContent, error)
	PatchMmds(params *PatchMmdsParams) (*PatchMmdsNoContent, error)
	PatchVM(params *PatchVMParams) (*PatchVMNoContent, error)
	PutBalloon(params *PutBalloonParams) (*PutBalloonNoContent, error)
	PutGuestBootSource(params *PutGuestBootSourceParams) (*PutGuestBootSourceNoContent, error)
	PutGuestDriveByID(params *PutGuestDriveByIDParams) (*PutGuestDriveByIDNoContent, error)
	PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams) (*PutGuestNetworkInterfaceByIDNoContent, error)
	PutGuestVsock(params *PutGuestVsockParams) (*PutGuestVsockNoContent, error)
	PutLogger(params *PutLoggerParams) (*PutLoggerNoContent, error)
	PutMachineConfiguration(params *PutMachineConfigurationParams) (*PutMachineConfigurationNoContent, error)
	PutMetrics(params *PutMetricsParams) (*PutMetricsNoContent, error)
	PutMmds(params *PutMmdsParams) (*PutMmdsNoContent, error)
	PutMmdsConfig(params *PutMmdsConfigParams) (*PutMmdsConfigNoContent, error)
}

ClientIface is an interface that can be used to mock out a Firecracker agent for testing purposes.

type CreateSnapshotBadRequest added in v1.0.0

type CreateSnapshotBadRequest struct {
	Payload *models.Error
}

CreateSnapshotBadRequest handles this case with default header values.

Snapshot cannot be created due to bad input

func NewCreateSnapshotBadRequest added in v1.0.0

func NewCreateSnapshotBadRequest() *CreateSnapshotBadRequest

NewCreateSnapshotBadRequest creates a CreateSnapshotBadRequest with default headers values

func (*CreateSnapshotBadRequest) Error added in v1.0.0

func (o *CreateSnapshotBadRequest) Error() string

func (*CreateSnapshotBadRequest) GetPayload added in v1.0.0

func (o *CreateSnapshotBadRequest) GetPayload() *models.Error

type CreateSnapshotDefault added in v1.0.0

type CreateSnapshotDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CreateSnapshotDefault handles this case with default header values.

Internal server error

func NewCreateSnapshotDefault added in v1.0.0

func NewCreateSnapshotDefault(code int) *CreateSnapshotDefault

NewCreateSnapshotDefault creates a CreateSnapshotDefault with default headers values

func (*CreateSnapshotDefault) Code added in v1.0.0

func (o *CreateSnapshotDefault) Code() int

Code gets the status code for the create snapshot default response

func (*CreateSnapshotDefault) Error added in v1.0.0

func (o *CreateSnapshotDefault) Error() string

func (*CreateSnapshotDefault) GetPayload added in v1.0.0

func (o *CreateSnapshotDefault) GetPayload() *models.Error

type CreateSnapshotNoContent added in v1.0.0

type CreateSnapshotNoContent struct {
}

CreateSnapshotNoContent handles this case with default header values.

Snapshot created

func NewCreateSnapshotNoContent added in v1.0.0

func NewCreateSnapshotNoContent() *CreateSnapshotNoContent

NewCreateSnapshotNoContent creates a CreateSnapshotNoContent with default headers values

func (*CreateSnapshotNoContent) Error added in v1.0.0

func (o *CreateSnapshotNoContent) Error() string

type CreateSnapshotParams added in v1.0.0

type CreateSnapshotParams struct {

	/*Body
	  The configuration used for creating a snaphot.

	*/
	Body *models.SnapshotCreateParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateSnapshotParams contains all the parameters to send to the API endpoint for the create snapshot operation typically these are written to a http.Request

func NewCreateSnapshotParams added in v1.0.0

func NewCreateSnapshotParams() *CreateSnapshotParams

NewCreateSnapshotParams creates a new CreateSnapshotParams object with the default values initialized.

func NewCreateSnapshotParamsWithContext added in v1.0.0

func NewCreateSnapshotParamsWithContext(ctx context.Context) *CreateSnapshotParams

NewCreateSnapshotParamsWithContext creates a new CreateSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewCreateSnapshotParamsWithHTTPClient added in v1.0.0

func NewCreateSnapshotParamsWithHTTPClient(client *http.Client) *CreateSnapshotParams

NewCreateSnapshotParamsWithHTTPClient creates a new CreateSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateSnapshotParamsWithTimeout added in v1.0.0

func NewCreateSnapshotParamsWithTimeout(timeout time.Duration) *CreateSnapshotParams

NewCreateSnapshotParamsWithTimeout creates a new CreateSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateSnapshotParams) SetBody added in v1.0.0

SetBody adds the body to the create snapshot params

func (*CreateSnapshotParams) SetContext added in v1.0.0

func (o *CreateSnapshotParams) SetContext(ctx context.Context)

SetContext adds the context to the create snapshot params

func (*CreateSnapshotParams) SetHTTPClient added in v1.0.0

func (o *CreateSnapshotParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create snapshot params

func (*CreateSnapshotParams) SetTimeout added in v1.0.0

func (o *CreateSnapshotParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create snapshot params

func (*CreateSnapshotParams) WithBody added in v1.0.0

WithBody adds the body to the create snapshot params

func (*CreateSnapshotParams) WithContext added in v1.0.0

WithContext adds the context to the create snapshot params

func (*CreateSnapshotParams) WithHTTPClient added in v1.0.0

func (o *CreateSnapshotParams) WithHTTPClient(client *http.Client) *CreateSnapshotParams

WithHTTPClient adds the HTTPClient to the create snapshot params

func (*CreateSnapshotParams) WithTimeout added in v1.0.0

func (o *CreateSnapshotParams) WithTimeout(timeout time.Duration) *CreateSnapshotParams

WithTimeout adds the timeout to the create snapshot params

func (*CreateSnapshotParams) WriteToRequest added in v1.0.0

func (o *CreateSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateSnapshotReader added in v1.0.0

type CreateSnapshotReader struct {
	// contains filtered or unexported fields
}

CreateSnapshotReader is a Reader for the CreateSnapshot structure.

func (*CreateSnapshotReader) ReadResponse added in v1.0.0

func (o *CreateSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateSyncActionBadRequest

type CreateSyncActionBadRequest struct {
	Payload *models.Error
}

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 (*CreateSyncActionBadRequest) GetPayload added in v0.19.0

func (o *CreateSyncActionBadRequest) GetPayload() *models.Error

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

func (*CreateSyncActionDefault) GetPayload added in v0.19.0

func (o *CreateSyncActionDefault) GetPayload() *models.Error

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

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

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

WithInfo adds the info to the create sync action params

func (*CreateSyncActionParams) WithTimeout

WithTimeout adds the timeout to the create sync action params

func (*CreateSyncActionParams) WriteToRequest

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 DescribeBalloonConfigBadRequest added in v1.0.0

type DescribeBalloonConfigBadRequest struct {
	Payload *models.Error
}

DescribeBalloonConfigBadRequest handles this case with default header values.

Balloon device not configured.

func NewDescribeBalloonConfigBadRequest added in v1.0.0

func NewDescribeBalloonConfigBadRequest() *DescribeBalloonConfigBadRequest

NewDescribeBalloonConfigBadRequest creates a DescribeBalloonConfigBadRequest with default headers values

func (*DescribeBalloonConfigBadRequest) Error added in v1.0.0

func (*DescribeBalloonConfigBadRequest) GetPayload added in v1.0.0

func (o *DescribeBalloonConfigBadRequest) GetPayload() *models.Error

type DescribeBalloonConfigDefault added in v1.0.0

type DescribeBalloonConfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DescribeBalloonConfigDefault handles this case with default header values.

Internal Server Error

func NewDescribeBalloonConfigDefault added in v1.0.0

func NewDescribeBalloonConfigDefault(code int) *DescribeBalloonConfigDefault

NewDescribeBalloonConfigDefault creates a DescribeBalloonConfigDefault with default headers values

func (*DescribeBalloonConfigDefault) Code added in v1.0.0

Code gets the status code for the describe balloon config default response

func (*DescribeBalloonConfigDefault) Error added in v1.0.0

func (*DescribeBalloonConfigDefault) GetPayload added in v1.0.0

func (o *DescribeBalloonConfigDefault) GetPayload() *models.Error

type DescribeBalloonConfigOK added in v1.0.0

type DescribeBalloonConfigOK struct {
	Payload *models.Balloon
}

DescribeBalloonConfigOK handles this case with default header values.

The balloon device configuration

func NewDescribeBalloonConfigOK added in v1.0.0

func NewDescribeBalloonConfigOK() *DescribeBalloonConfigOK

NewDescribeBalloonConfigOK creates a DescribeBalloonConfigOK with default headers values

func (*DescribeBalloonConfigOK) Error added in v1.0.0

func (o *DescribeBalloonConfigOK) Error() string

func (*DescribeBalloonConfigOK) GetPayload added in v1.0.0

func (o *DescribeBalloonConfigOK) GetPayload() *models.Balloon

type DescribeBalloonConfigParams added in v1.0.0

type DescribeBalloonConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeBalloonConfigParams contains all the parameters to send to the API endpoint for the describe balloon config operation typically these are written to a http.Request

func NewDescribeBalloonConfigParams added in v1.0.0

func NewDescribeBalloonConfigParams() *DescribeBalloonConfigParams

NewDescribeBalloonConfigParams creates a new DescribeBalloonConfigParams object with the default values initialized.

func NewDescribeBalloonConfigParamsWithContext added in v1.0.0

func NewDescribeBalloonConfigParamsWithContext(ctx context.Context) *DescribeBalloonConfigParams

NewDescribeBalloonConfigParamsWithContext creates a new DescribeBalloonConfigParams object with the default values initialized, and the ability to set a context for a request

func NewDescribeBalloonConfigParamsWithHTTPClient added in v1.0.0

func NewDescribeBalloonConfigParamsWithHTTPClient(client *http.Client) *DescribeBalloonConfigParams

NewDescribeBalloonConfigParamsWithHTTPClient creates a new DescribeBalloonConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDescribeBalloonConfigParamsWithTimeout added in v1.0.0

func NewDescribeBalloonConfigParamsWithTimeout(timeout time.Duration) *DescribeBalloonConfigParams

NewDescribeBalloonConfigParamsWithTimeout creates a new DescribeBalloonConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*DescribeBalloonConfigParams) SetContext added in v1.0.0

func (o *DescribeBalloonConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the describe balloon config params

func (*DescribeBalloonConfigParams) SetHTTPClient added in v1.0.0

func (o *DescribeBalloonConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the describe balloon config params

func (*DescribeBalloonConfigParams) SetTimeout added in v1.0.0

func (o *DescribeBalloonConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the describe balloon config params

func (*DescribeBalloonConfigParams) WithContext added in v1.0.0

WithContext adds the context to the describe balloon config params

func (*DescribeBalloonConfigParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the describe balloon config params

func (*DescribeBalloonConfigParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the describe balloon config params

func (*DescribeBalloonConfigParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type DescribeBalloonConfigReader added in v1.0.0

type DescribeBalloonConfigReader struct {
	// contains filtered or unexported fields
}

DescribeBalloonConfigReader is a Reader for the DescribeBalloonConfig structure.

func (*DescribeBalloonConfigReader) ReadResponse added in v1.0.0

func (o *DescribeBalloonConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DescribeBalloonStatsBadRequest added in v1.0.0

type DescribeBalloonStatsBadRequest struct {
	Payload *models.Error
}

DescribeBalloonStatsBadRequest handles this case with default header values.

The balloon device statistics were not enabled when the device was configured.

func NewDescribeBalloonStatsBadRequest added in v1.0.0

func NewDescribeBalloonStatsBadRequest() *DescribeBalloonStatsBadRequest

NewDescribeBalloonStatsBadRequest creates a DescribeBalloonStatsBadRequest with default headers values

func (*DescribeBalloonStatsBadRequest) Error added in v1.0.0

func (*DescribeBalloonStatsBadRequest) GetPayload added in v1.0.0

func (o *DescribeBalloonStatsBadRequest) GetPayload() *models.Error

type DescribeBalloonStatsDefault added in v1.0.0

type DescribeBalloonStatsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DescribeBalloonStatsDefault handles this case with default header values.

Internal Server Error

func NewDescribeBalloonStatsDefault added in v1.0.0

func NewDescribeBalloonStatsDefault(code int) *DescribeBalloonStatsDefault

NewDescribeBalloonStatsDefault creates a DescribeBalloonStatsDefault with default headers values

func (*DescribeBalloonStatsDefault) Code added in v1.0.0

func (o *DescribeBalloonStatsDefault) Code() int

Code gets the status code for the describe balloon stats default response

func (*DescribeBalloonStatsDefault) Error added in v1.0.0

func (*DescribeBalloonStatsDefault) GetPayload added in v1.0.0

func (o *DescribeBalloonStatsDefault) GetPayload() *models.Error

type DescribeBalloonStatsOK added in v1.0.0

type DescribeBalloonStatsOK struct {
	Payload *models.BalloonStats
}

DescribeBalloonStatsOK handles this case with default header values.

The balloon device statistics

func NewDescribeBalloonStatsOK added in v1.0.0

func NewDescribeBalloonStatsOK() *DescribeBalloonStatsOK

NewDescribeBalloonStatsOK creates a DescribeBalloonStatsOK with default headers values

func (*DescribeBalloonStatsOK) Error added in v1.0.0

func (o *DescribeBalloonStatsOK) Error() string

func (*DescribeBalloonStatsOK) GetPayload added in v1.0.0

func (o *DescribeBalloonStatsOK) GetPayload() *models.BalloonStats

type DescribeBalloonStatsParams added in v1.0.0

type DescribeBalloonStatsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeBalloonStatsParams contains all the parameters to send to the API endpoint for the describe balloon stats operation typically these are written to a http.Request

func NewDescribeBalloonStatsParams added in v1.0.0

func NewDescribeBalloonStatsParams() *DescribeBalloonStatsParams

NewDescribeBalloonStatsParams creates a new DescribeBalloonStatsParams object with the default values initialized.

func NewDescribeBalloonStatsParamsWithContext added in v1.0.0

func NewDescribeBalloonStatsParamsWithContext(ctx context.Context) *DescribeBalloonStatsParams

NewDescribeBalloonStatsParamsWithContext creates a new DescribeBalloonStatsParams object with the default values initialized, and the ability to set a context for a request

func NewDescribeBalloonStatsParamsWithHTTPClient added in v1.0.0

func NewDescribeBalloonStatsParamsWithHTTPClient(client *http.Client) *DescribeBalloonStatsParams

NewDescribeBalloonStatsParamsWithHTTPClient creates a new DescribeBalloonStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDescribeBalloonStatsParamsWithTimeout added in v1.0.0

func NewDescribeBalloonStatsParamsWithTimeout(timeout time.Duration) *DescribeBalloonStatsParams

NewDescribeBalloonStatsParamsWithTimeout creates a new DescribeBalloonStatsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DescribeBalloonStatsParams) SetContext added in v1.0.0

func (o *DescribeBalloonStatsParams) SetContext(ctx context.Context)

SetContext adds the context to the describe balloon stats params

func (*DescribeBalloonStatsParams) SetHTTPClient added in v1.0.0

func (o *DescribeBalloonStatsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the describe balloon stats params

func (*DescribeBalloonStatsParams) SetTimeout added in v1.0.0

func (o *DescribeBalloonStatsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the describe balloon stats params

func (*DescribeBalloonStatsParams) WithContext added in v1.0.0

WithContext adds the context to the describe balloon stats params

func (*DescribeBalloonStatsParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the describe balloon stats params

func (*DescribeBalloonStatsParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the describe balloon stats params

func (*DescribeBalloonStatsParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type DescribeBalloonStatsReader added in v1.0.0

type DescribeBalloonStatsReader struct {
	// contains filtered or unexported fields
}

DescribeBalloonStatsReader is a Reader for the DescribeBalloonStats structure.

func (*DescribeBalloonStatsReader) ReadResponse added in v1.0.0

func (o *DescribeBalloonStatsReader) 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

func (*DescribeInstanceDefault) GetPayload added in v0.19.0

func (o *DescribeInstanceDefault) GetPayload() *models.Error

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

func (*DescribeInstanceOK) GetPayload added in v0.19.0

func (o *DescribeInstanceOK) GetPayload() *models.InstanceInfo

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

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

WithTimeout adds the timeout to the describe instance params

func (*DescribeInstanceParams) WriteToRequest

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 GetExportVMConfigDefault added in v1.0.0

type GetExportVMConfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetExportVMConfigDefault handles this case with default header values.

Internal server error

func NewGetExportVMConfigDefault added in v1.0.0

func NewGetExportVMConfigDefault(code int) *GetExportVMConfigDefault

NewGetExportVMConfigDefault creates a GetExportVMConfigDefault with default headers values

func (*GetExportVMConfigDefault) Code added in v1.0.0

func (o *GetExportVMConfigDefault) Code() int

Code gets the status code for the get export Vm config default response

func (*GetExportVMConfigDefault) Error added in v1.0.0

func (o *GetExportVMConfigDefault) Error() string

func (*GetExportVMConfigDefault) GetPayload added in v1.0.0

func (o *GetExportVMConfigDefault) GetPayload() *models.Error

type GetExportVMConfigOK added in v1.0.0

type GetExportVMConfigOK struct {
	Payload *models.FullVMConfiguration
}

GetExportVMConfigOK handles this case with default header values.

OK

func NewGetExportVMConfigOK added in v1.0.0

func NewGetExportVMConfigOK() *GetExportVMConfigOK

NewGetExportVMConfigOK creates a GetExportVMConfigOK with default headers values

func (*GetExportVMConfigOK) Error added in v1.0.0

func (o *GetExportVMConfigOK) Error() string

func (*GetExportVMConfigOK) GetPayload added in v1.0.0

type GetExportVMConfigParams added in v1.0.0

type GetExportVMConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetExportVMConfigParams contains all the parameters to send to the API endpoint for the get export Vm config operation typically these are written to a http.Request

func NewGetExportVMConfigParams added in v1.0.0

func NewGetExportVMConfigParams() *GetExportVMConfigParams

NewGetExportVMConfigParams creates a new GetExportVMConfigParams object with the default values initialized.

func NewGetExportVMConfigParamsWithContext added in v1.0.0

func NewGetExportVMConfigParamsWithContext(ctx context.Context) *GetExportVMConfigParams

NewGetExportVMConfigParamsWithContext creates a new GetExportVMConfigParams object with the default values initialized, and the ability to set a context for a request

func NewGetExportVMConfigParamsWithHTTPClient added in v1.0.0

func NewGetExportVMConfigParamsWithHTTPClient(client *http.Client) *GetExportVMConfigParams

NewGetExportVMConfigParamsWithHTTPClient creates a new GetExportVMConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetExportVMConfigParamsWithTimeout added in v1.0.0

func NewGetExportVMConfigParamsWithTimeout(timeout time.Duration) *GetExportVMConfigParams

NewGetExportVMConfigParamsWithTimeout creates a new GetExportVMConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetExportVMConfigParams) SetContext added in v1.0.0

func (o *GetExportVMConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the get export Vm config params

func (*GetExportVMConfigParams) SetHTTPClient added in v1.0.0

func (o *GetExportVMConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get export Vm config params

func (*GetExportVMConfigParams) SetTimeout added in v1.0.0

func (o *GetExportVMConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get export Vm config params

func (*GetExportVMConfigParams) WithContext added in v1.0.0

WithContext adds the context to the get export Vm config params

func (*GetExportVMConfigParams) WithHTTPClient added in v1.0.0

func (o *GetExportVMConfigParams) WithHTTPClient(client *http.Client) *GetExportVMConfigParams

WithHTTPClient adds the HTTPClient to the get export Vm config params

func (*GetExportVMConfigParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the get export Vm config params

func (*GetExportVMConfigParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type GetExportVMConfigReader added in v1.0.0

type GetExportVMConfigReader struct {
	// contains filtered or unexported fields
}

GetExportVMConfigReader is a Reader for the GetExportVMConfig structure.

func (*GetExportVMConfigReader) ReadResponse added in v1.0.0

func (o *GetExportVMConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetFirecrackerVersionDefault added in v1.0.0

type GetFirecrackerVersionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetFirecrackerVersionDefault handles this case with default header values.

Internal server error

func NewGetFirecrackerVersionDefault added in v1.0.0

func NewGetFirecrackerVersionDefault(code int) *GetFirecrackerVersionDefault

NewGetFirecrackerVersionDefault creates a GetFirecrackerVersionDefault with default headers values

func (*GetFirecrackerVersionDefault) Code added in v1.0.0

Code gets the status code for the get firecracker version default response

func (*GetFirecrackerVersionDefault) Error added in v1.0.0

func (*GetFirecrackerVersionDefault) GetPayload added in v1.0.0

func (o *GetFirecrackerVersionDefault) GetPayload() *models.Error

type GetFirecrackerVersionOK added in v1.0.0

type GetFirecrackerVersionOK struct {
	Payload *models.FirecrackerVersion
}

GetFirecrackerVersionOK handles this case with default header values.

OK

func NewGetFirecrackerVersionOK added in v1.0.0

func NewGetFirecrackerVersionOK() *GetFirecrackerVersionOK

NewGetFirecrackerVersionOK creates a GetFirecrackerVersionOK with default headers values

func (*GetFirecrackerVersionOK) Error added in v1.0.0

func (o *GetFirecrackerVersionOK) Error() string

func (*GetFirecrackerVersionOK) GetPayload added in v1.0.0

type GetFirecrackerVersionParams added in v1.0.0

type GetFirecrackerVersionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetFirecrackerVersionParams contains all the parameters to send to the API endpoint for the get firecracker version operation typically these are written to a http.Request

func NewGetFirecrackerVersionParams added in v1.0.0

func NewGetFirecrackerVersionParams() *GetFirecrackerVersionParams

NewGetFirecrackerVersionParams creates a new GetFirecrackerVersionParams object with the default values initialized.

func NewGetFirecrackerVersionParamsWithContext added in v1.0.0

func NewGetFirecrackerVersionParamsWithContext(ctx context.Context) *GetFirecrackerVersionParams

NewGetFirecrackerVersionParamsWithContext creates a new GetFirecrackerVersionParams object with the default values initialized, and the ability to set a context for a request

func NewGetFirecrackerVersionParamsWithHTTPClient added in v1.0.0

func NewGetFirecrackerVersionParamsWithHTTPClient(client *http.Client) *GetFirecrackerVersionParams

NewGetFirecrackerVersionParamsWithHTTPClient creates a new GetFirecrackerVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetFirecrackerVersionParamsWithTimeout added in v1.0.0

func NewGetFirecrackerVersionParamsWithTimeout(timeout time.Duration) *GetFirecrackerVersionParams

NewGetFirecrackerVersionParamsWithTimeout creates a new GetFirecrackerVersionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetFirecrackerVersionParams) SetContext added in v1.0.0

func (o *GetFirecrackerVersionParams) SetContext(ctx context.Context)

SetContext adds the context to the get firecracker version params

func (*GetFirecrackerVersionParams) SetHTTPClient added in v1.0.0

func (o *GetFirecrackerVersionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get firecracker version params

func (*GetFirecrackerVersionParams) SetTimeout added in v1.0.0

func (o *GetFirecrackerVersionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get firecracker version params

func (*GetFirecrackerVersionParams) WithContext added in v1.0.0

WithContext adds the context to the get firecracker version params

func (*GetFirecrackerVersionParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the get firecracker version params

func (*GetFirecrackerVersionParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the get firecracker version params

func (*GetFirecrackerVersionParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type GetFirecrackerVersionReader added in v1.0.0

type GetFirecrackerVersionReader struct {
	// contains filtered or unexported fields
}

GetFirecrackerVersionReader is a Reader for the GetFirecrackerVersion structure.

func (*GetFirecrackerVersionReader) ReadResponse added in v1.0.0

func (o *GetFirecrackerVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMachineConfigurationDefault added in v0.17.0

type GetMachineConfigurationDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetMachineConfigurationDefault handles this case with default header values.

Internal server error

func NewGetMachineConfigurationDefault added in v0.17.0

func NewGetMachineConfigurationDefault(code int) *GetMachineConfigurationDefault

NewGetMachineConfigurationDefault creates a GetMachineConfigurationDefault with default headers values

func (*GetMachineConfigurationDefault) Code added in v0.17.0

Code gets the status code for the get machine configuration default response

func (*GetMachineConfigurationDefault) Error added in v0.17.0

func (*GetMachineConfigurationDefault) GetPayload added in v0.19.0

func (o *GetMachineConfigurationDefault) GetPayload() *models.Error

type GetMachineConfigurationOK added in v0.17.0

type GetMachineConfigurationOK struct {
	Payload *models.MachineConfiguration
}

GetMachineConfigurationOK handles this case with default header values.

OK

func NewGetMachineConfigurationOK added in v0.17.0

func NewGetMachineConfigurationOK() *GetMachineConfigurationOK

NewGetMachineConfigurationOK creates a GetMachineConfigurationOK with default headers values

func (*GetMachineConfigurationOK) Error added in v0.17.0

func (o *GetMachineConfigurationOK) Error() string

func (*GetMachineConfigurationOK) GetPayload added in v0.19.0

type GetMachineConfigurationParams added in v0.17.0

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 added in v0.17.0

func NewGetMachineConfigurationParams() *GetMachineConfigurationParams

NewGetMachineConfigurationParams creates a new GetMachineConfigurationParams object with the default values initialized.

func NewGetMachineConfigurationParamsWithContext added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

func (o *GetMachineConfigurationParams) SetContext(ctx context.Context)

SetContext adds the context to the get machine configuration params

func (*GetMachineConfigurationParams) SetHTTPClient added in v0.17.0

func (o *GetMachineConfigurationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get machine configuration params

func (*GetMachineConfigurationParams) SetTimeout added in v0.17.0

func (o *GetMachineConfigurationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get machine configuration params

func (*GetMachineConfigurationParams) WithContext added in v0.17.0

WithContext adds the context to the get machine configuration params

func (*GetMachineConfigurationParams) WithHTTPClient added in v0.17.0

WithHTTPClient adds the HTTPClient to the get machine configuration params

func (*GetMachineConfigurationParams) WithTimeout added in v0.17.0

WithTimeout adds the timeout to the get machine configuration params

func (*GetMachineConfigurationParams) WriteToRequest added in v0.17.0

WriteToRequest writes these params to a swagger request

type GetMachineConfigurationReader added in v0.17.0

type GetMachineConfigurationReader struct {
	// contains filtered or unexported fields
}

GetMachineConfigurationReader is a Reader for the GetMachineConfiguration structure.

func (*GetMachineConfigurationReader) ReadResponse added in v0.17.0

func (o *GetMachineConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMmdsDefault

type GetMmdsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

func (*GetMmdsDefault) GetPayload added in v0.19.0

func (o *GetMmdsDefault) GetPayload() *models.Error

type GetMmdsNotFound added in v0.22.0

type GetMmdsNotFound struct {
	Payload *models.Error
}

GetMmdsNotFound handles this case with default header values.

The MMDS data store content can not be found.

func NewGetMmdsNotFound added in v0.22.0

func NewGetMmdsNotFound() *GetMmdsNotFound

NewGetMmdsNotFound creates a GetMmdsNotFound with default headers values

func (*GetMmdsNotFound) Error added in v0.22.0

func (o *GetMmdsNotFound) Error() string

func (*GetMmdsNotFound) GetPayload added in v0.22.0

func (o *GetMmdsNotFound) GetPayload() *models.Error

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

func (*GetMmdsOK) Error

func (o *GetMmdsOK) Error() string

func (*GetMmdsOK) GetPayload added in v0.19.0

func (o *GetMmdsOK) GetPayload() interface{}

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 LoadSnapshotBadRequest added in v1.0.0

type LoadSnapshotBadRequest struct {
	Payload *models.Error
}

LoadSnapshotBadRequest handles this case with default header values.

Snapshot cannot be loaded due to bad input

func NewLoadSnapshotBadRequest added in v1.0.0

func NewLoadSnapshotBadRequest() *LoadSnapshotBadRequest

NewLoadSnapshotBadRequest creates a LoadSnapshotBadRequest with default headers values

func (*LoadSnapshotBadRequest) Error added in v1.0.0

func (o *LoadSnapshotBadRequest) Error() string

func (*LoadSnapshotBadRequest) GetPayload added in v1.0.0

func (o *LoadSnapshotBadRequest) GetPayload() *models.Error

type LoadSnapshotDefault added in v1.0.0

type LoadSnapshotDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

LoadSnapshotDefault handles this case with default header values.

Internal server error

func NewLoadSnapshotDefault added in v1.0.0

func NewLoadSnapshotDefault(code int) *LoadSnapshotDefault

NewLoadSnapshotDefault creates a LoadSnapshotDefault with default headers values

func (*LoadSnapshotDefault) Code added in v1.0.0

func (o *LoadSnapshotDefault) Code() int

Code gets the status code for the load snapshot default response

func (*LoadSnapshotDefault) Error added in v1.0.0

func (o *LoadSnapshotDefault) Error() string

func (*LoadSnapshotDefault) GetPayload added in v1.0.0

func (o *LoadSnapshotDefault) GetPayload() *models.Error

type LoadSnapshotNoContent added in v1.0.0

type LoadSnapshotNoContent struct {
}

LoadSnapshotNoContent handles this case with default header values.

Snapshot loaded

func NewLoadSnapshotNoContent added in v1.0.0

func NewLoadSnapshotNoContent() *LoadSnapshotNoContent

NewLoadSnapshotNoContent creates a LoadSnapshotNoContent with default headers values

func (*LoadSnapshotNoContent) Error added in v1.0.0

func (o *LoadSnapshotNoContent) Error() string

type LoadSnapshotParams added in v1.0.0

type LoadSnapshotParams struct {

	/*Body
	  The configuration used for loading a snaphot.

	*/
	Body *models.SnapshotLoadParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

LoadSnapshotParams contains all the parameters to send to the API endpoint for the load snapshot operation typically these are written to a http.Request

func NewLoadSnapshotParams added in v1.0.0

func NewLoadSnapshotParams() *LoadSnapshotParams

NewLoadSnapshotParams creates a new LoadSnapshotParams object with the default values initialized.

func NewLoadSnapshotParamsWithContext added in v1.0.0

func NewLoadSnapshotParamsWithContext(ctx context.Context) *LoadSnapshotParams

NewLoadSnapshotParamsWithContext creates a new LoadSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewLoadSnapshotParamsWithHTTPClient added in v1.0.0

func NewLoadSnapshotParamsWithHTTPClient(client *http.Client) *LoadSnapshotParams

NewLoadSnapshotParamsWithHTTPClient creates a new LoadSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewLoadSnapshotParamsWithTimeout added in v1.0.0

func NewLoadSnapshotParamsWithTimeout(timeout time.Duration) *LoadSnapshotParams

NewLoadSnapshotParamsWithTimeout creates a new LoadSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*LoadSnapshotParams) SetBody added in v1.0.0

func (o *LoadSnapshotParams) SetBody(body *models.SnapshotLoadParams)

SetBody adds the body to the load snapshot params

func (*LoadSnapshotParams) SetContext added in v1.0.0

func (o *LoadSnapshotParams) SetContext(ctx context.Context)

SetContext adds the context to the load snapshot params

func (*LoadSnapshotParams) SetHTTPClient added in v1.0.0

func (o *LoadSnapshotParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the load snapshot params

func (*LoadSnapshotParams) SetTimeout added in v1.0.0

func (o *LoadSnapshotParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the load snapshot params

func (*LoadSnapshotParams) WithBody added in v1.0.0

WithBody adds the body to the load snapshot params

func (*LoadSnapshotParams) WithContext added in v1.0.0

WithContext adds the context to the load snapshot params

func (*LoadSnapshotParams) WithHTTPClient added in v1.0.0

func (o *LoadSnapshotParams) WithHTTPClient(client *http.Client) *LoadSnapshotParams

WithHTTPClient adds the HTTPClient to the load snapshot params

func (*LoadSnapshotParams) WithTimeout added in v1.0.0

func (o *LoadSnapshotParams) WithTimeout(timeout time.Duration) *LoadSnapshotParams

WithTimeout adds the timeout to the load snapshot params

func (*LoadSnapshotParams) WriteToRequest added in v1.0.0

func (o *LoadSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LoadSnapshotReader added in v1.0.0

type LoadSnapshotReader struct {
	// contains filtered or unexported fields
}

LoadSnapshotReader is a Reader for the LoadSnapshot structure.

func (*LoadSnapshotReader) ReadResponse added in v1.0.0

func (o *LoadSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchBalloonBadRequest added in v1.0.0

type PatchBalloonBadRequest struct {
	Payload *models.Error
}

PatchBalloonBadRequest handles this case with default header values.

Balloon device cannot be updated due to bad input

func NewPatchBalloonBadRequest added in v1.0.0

func NewPatchBalloonBadRequest() *PatchBalloonBadRequest

NewPatchBalloonBadRequest creates a PatchBalloonBadRequest with default headers values

func (*PatchBalloonBadRequest) Error added in v1.0.0

func (o *PatchBalloonBadRequest) Error() string

func (*PatchBalloonBadRequest) GetPayload added in v1.0.0

func (o *PatchBalloonBadRequest) GetPayload() *models.Error

type PatchBalloonDefault added in v1.0.0

type PatchBalloonDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchBalloonDefault handles this case with default header values.

Internal server error

func NewPatchBalloonDefault added in v1.0.0

func NewPatchBalloonDefault(code int) *PatchBalloonDefault

NewPatchBalloonDefault creates a PatchBalloonDefault with default headers values

func (*PatchBalloonDefault) Code added in v1.0.0

func (o *PatchBalloonDefault) Code() int

Code gets the status code for the patch balloon default response

func (*PatchBalloonDefault) Error added in v1.0.0

func (o *PatchBalloonDefault) Error() string

func (*PatchBalloonDefault) GetPayload added in v1.0.0

func (o *PatchBalloonDefault) GetPayload() *models.Error

type PatchBalloonNoContent added in v1.0.0

type PatchBalloonNoContent struct {
}

PatchBalloonNoContent handles this case with default header values.

Balloon device updated

func NewPatchBalloonNoContent added in v1.0.0

func NewPatchBalloonNoContent() *PatchBalloonNoContent

NewPatchBalloonNoContent creates a PatchBalloonNoContent with default headers values

func (*PatchBalloonNoContent) Error added in v1.0.0

func (o *PatchBalloonNoContent) Error() string

type PatchBalloonParams added in v1.0.0

type PatchBalloonParams struct {

	/*Body
	  Balloon properties

	*/
	Body *models.BalloonUpdate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchBalloonParams contains all the parameters to send to the API endpoint for the patch balloon operation typically these are written to a http.Request

func NewPatchBalloonParams added in v1.0.0

func NewPatchBalloonParams() *PatchBalloonParams

NewPatchBalloonParams creates a new PatchBalloonParams object with the default values initialized.

func NewPatchBalloonParamsWithContext added in v1.0.0

func NewPatchBalloonParamsWithContext(ctx context.Context) *PatchBalloonParams

NewPatchBalloonParamsWithContext creates a new PatchBalloonParams object with the default values initialized, and the ability to set a context for a request

func NewPatchBalloonParamsWithHTTPClient added in v1.0.0

func NewPatchBalloonParamsWithHTTPClient(client *http.Client) *PatchBalloonParams

NewPatchBalloonParamsWithHTTPClient creates a new PatchBalloonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchBalloonParamsWithTimeout added in v1.0.0

func NewPatchBalloonParamsWithTimeout(timeout time.Duration) *PatchBalloonParams

NewPatchBalloonParamsWithTimeout creates a new PatchBalloonParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchBalloonParams) SetBody added in v1.0.0

func (o *PatchBalloonParams) SetBody(body *models.BalloonUpdate)

SetBody adds the body to the patch balloon params

func (*PatchBalloonParams) SetContext added in v1.0.0

func (o *PatchBalloonParams) SetContext(ctx context.Context)

SetContext adds the context to the patch balloon params

func (*PatchBalloonParams) SetHTTPClient added in v1.0.0

func (o *PatchBalloonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch balloon params

func (*PatchBalloonParams) SetTimeout added in v1.0.0

func (o *PatchBalloonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch balloon params

func (*PatchBalloonParams) WithBody added in v1.0.0

WithBody adds the body to the patch balloon params

func (*PatchBalloonParams) WithContext added in v1.0.0

WithContext adds the context to the patch balloon params

func (*PatchBalloonParams) WithHTTPClient added in v1.0.0

func (o *PatchBalloonParams) WithHTTPClient(client *http.Client) *PatchBalloonParams

WithHTTPClient adds the HTTPClient to the patch balloon params

func (*PatchBalloonParams) WithTimeout added in v1.0.0

func (o *PatchBalloonParams) WithTimeout(timeout time.Duration) *PatchBalloonParams

WithTimeout adds the timeout to the patch balloon params

func (*PatchBalloonParams) WriteToRequest added in v1.0.0

func (o *PatchBalloonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchBalloonReader added in v1.0.0

type PatchBalloonReader struct {
	// contains filtered or unexported fields
}

PatchBalloonReader is a Reader for the PatchBalloon structure.

func (*PatchBalloonReader) ReadResponse added in v1.0.0

func (o *PatchBalloonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchBalloonStatsIntervalBadRequest added in v1.0.0

type PatchBalloonStatsIntervalBadRequest struct {
	Payload *models.Error
}

PatchBalloonStatsIntervalBadRequest handles this case with default header values.

Balloon statistics interval cannot be updated due to bad input

func NewPatchBalloonStatsIntervalBadRequest added in v1.0.0

func NewPatchBalloonStatsIntervalBadRequest() *PatchBalloonStatsIntervalBadRequest

NewPatchBalloonStatsIntervalBadRequest creates a PatchBalloonStatsIntervalBadRequest with default headers values

func (*PatchBalloonStatsIntervalBadRequest) Error added in v1.0.0

func (*PatchBalloonStatsIntervalBadRequest) GetPayload added in v1.0.0

type PatchBalloonStatsIntervalDefault added in v1.0.0

type PatchBalloonStatsIntervalDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchBalloonStatsIntervalDefault handles this case with default header values.

Internal server error

func NewPatchBalloonStatsIntervalDefault added in v1.0.0

func NewPatchBalloonStatsIntervalDefault(code int) *PatchBalloonStatsIntervalDefault

NewPatchBalloonStatsIntervalDefault creates a PatchBalloonStatsIntervalDefault with default headers values

func (*PatchBalloonStatsIntervalDefault) Code added in v1.0.0

Code gets the status code for the patch balloon stats interval default response

func (*PatchBalloonStatsIntervalDefault) Error added in v1.0.0

func (*PatchBalloonStatsIntervalDefault) GetPayload added in v1.0.0

type PatchBalloonStatsIntervalNoContent added in v1.0.0

type PatchBalloonStatsIntervalNoContent struct {
}

PatchBalloonStatsIntervalNoContent handles this case with default header values.

Balloon statistics interval updated

func NewPatchBalloonStatsIntervalNoContent added in v1.0.0

func NewPatchBalloonStatsIntervalNoContent() *PatchBalloonStatsIntervalNoContent

NewPatchBalloonStatsIntervalNoContent creates a PatchBalloonStatsIntervalNoContent with default headers values

func (*PatchBalloonStatsIntervalNoContent) Error added in v1.0.0

type PatchBalloonStatsIntervalParams added in v1.0.0

type PatchBalloonStatsIntervalParams struct {

	/*Body
	  Balloon properties

	*/
	Body *models.BalloonStatsUpdate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchBalloonStatsIntervalParams contains all the parameters to send to the API endpoint for the patch balloon stats interval operation typically these are written to a http.Request

func NewPatchBalloonStatsIntervalParams added in v1.0.0

func NewPatchBalloonStatsIntervalParams() *PatchBalloonStatsIntervalParams

NewPatchBalloonStatsIntervalParams creates a new PatchBalloonStatsIntervalParams object with the default values initialized.

func NewPatchBalloonStatsIntervalParamsWithContext added in v1.0.0

func NewPatchBalloonStatsIntervalParamsWithContext(ctx context.Context) *PatchBalloonStatsIntervalParams

NewPatchBalloonStatsIntervalParamsWithContext creates a new PatchBalloonStatsIntervalParams object with the default values initialized, and the ability to set a context for a request

func NewPatchBalloonStatsIntervalParamsWithHTTPClient added in v1.0.0

func NewPatchBalloonStatsIntervalParamsWithHTTPClient(client *http.Client) *PatchBalloonStatsIntervalParams

NewPatchBalloonStatsIntervalParamsWithHTTPClient creates a new PatchBalloonStatsIntervalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchBalloonStatsIntervalParamsWithTimeout added in v1.0.0

func NewPatchBalloonStatsIntervalParamsWithTimeout(timeout time.Duration) *PatchBalloonStatsIntervalParams

NewPatchBalloonStatsIntervalParamsWithTimeout creates a new PatchBalloonStatsIntervalParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchBalloonStatsIntervalParams) SetBody added in v1.0.0

SetBody adds the body to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) SetContext added in v1.0.0

func (o *PatchBalloonStatsIntervalParams) SetContext(ctx context.Context)

SetContext adds the context to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) SetHTTPClient added in v1.0.0

func (o *PatchBalloonStatsIntervalParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) SetTimeout added in v1.0.0

func (o *PatchBalloonStatsIntervalParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WithBody added in v1.0.0

WithBody adds the body to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WithContext added in v1.0.0

WithContext adds the context to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type PatchBalloonStatsIntervalReader added in v1.0.0

type PatchBalloonStatsIntervalReader struct {
	// contains filtered or unexported fields
}

PatchBalloonStatsIntervalReader is a Reader for the PatchBalloonStatsInterval structure.

func (*PatchBalloonStatsIntervalReader) ReadResponse added in v1.0.0

func (o *PatchBalloonStatsIntervalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchGuestDriveByIDBadRequest

type PatchGuestDriveByIDBadRequest struct {
	Payload *models.Error
}

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 (*PatchGuestDriveByIDBadRequest) GetPayload added in v0.19.0

func (o *PatchGuestDriveByIDBadRequest) GetPayload() *models.Error

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 (*PatchGuestDriveByIDDefault) GetPayload added in v0.19.0

func (o *PatchGuestDriveByIDDefault) GetPayload() *models.Error

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

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

WithBody adds the body to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) WithContext

WithContext adds the context to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) WithDriveID

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

WithTimeout adds the timeout to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) WriteToRequest

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

type PatchGuestNetworkInterfaceByIDBadRequest struct {
	Payload *models.Error
}

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 (*PatchGuestNetworkInterfaceByIDBadRequest) GetPayload added in v0.19.0

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

Code gets the status code for the patch guest network interface by ID default response

func (*PatchGuestNetworkInterfaceByIDDefault) Error

func (*PatchGuestNetworkInterfaceByIDDefault) GetPayload added in v0.19.0

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

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

SetBody adds the body to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) SetContext

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

WithBody adds the body to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WithContext

WithContext adds the context to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WithIfaceID

WithIfaceID adds the ifaceID to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WithTimeout

WithTimeout adds the timeout to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WriteToRequest

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 added in v0.17.0

type PatchMachineConfigurationBadRequest struct {
	Payload *models.Error
}

PatchMachineConfigurationBadRequest handles this case with default header values.

Machine Configuration cannot be updated due to bad input

func NewPatchMachineConfigurationBadRequest added in v0.17.0

func NewPatchMachineConfigurationBadRequest() *PatchMachineConfigurationBadRequest

NewPatchMachineConfigurationBadRequest creates a PatchMachineConfigurationBadRequest with default headers values

func (*PatchMachineConfigurationBadRequest) Error added in v0.17.0

func (*PatchMachineConfigurationBadRequest) GetPayload added in v0.19.0

type PatchMachineConfigurationDefault added in v0.17.0

type PatchMachineConfigurationDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchMachineConfigurationDefault handles this case with default header values.

Internal server error

func NewPatchMachineConfigurationDefault added in v0.17.0

func NewPatchMachineConfigurationDefault(code int) *PatchMachineConfigurationDefault

NewPatchMachineConfigurationDefault creates a PatchMachineConfigurationDefault with default headers values

func (*PatchMachineConfigurationDefault) Code added in v0.17.0

Code gets the status code for the patch machine configuration default response

func (*PatchMachineConfigurationDefault) Error added in v0.17.0

func (*PatchMachineConfigurationDefault) GetPayload added in v0.19.0

type PatchMachineConfigurationNoContent added in v0.17.0

type PatchMachineConfigurationNoContent struct {
}

PatchMachineConfigurationNoContent handles this case with default header values.

Machine Configuration created/updated

func NewPatchMachineConfigurationNoContent added in v0.17.0

func NewPatchMachineConfigurationNoContent() *PatchMachineConfigurationNoContent

NewPatchMachineConfigurationNoContent creates a PatchMachineConfigurationNoContent with default headers values

func (*PatchMachineConfigurationNoContent) Error added in v0.17.0

type PatchMachineConfigurationParams added in v0.17.0

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 added in v0.17.0

func NewPatchMachineConfigurationParams() *PatchMachineConfigurationParams

NewPatchMachineConfigurationParams creates a new PatchMachineConfigurationParams object with the default values initialized.

func NewPatchMachineConfigurationParamsWithContext added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

SetBody adds the body to the patch machine configuration params

func (*PatchMachineConfigurationParams) SetContext added in v0.17.0

func (o *PatchMachineConfigurationParams) SetContext(ctx context.Context)

SetContext adds the context to the patch machine configuration params

func (*PatchMachineConfigurationParams) SetHTTPClient added in v0.17.0

func (o *PatchMachineConfigurationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch machine configuration params

func (*PatchMachineConfigurationParams) SetTimeout added in v0.17.0

func (o *PatchMachineConfigurationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithBody added in v0.17.0

WithBody adds the body to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithContext added in v0.17.0

WithContext adds the context to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithHTTPClient added in v0.17.0

WithHTTPClient adds the HTTPClient to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithTimeout added in v0.17.0

WithTimeout adds the timeout to the patch machine configuration params

func (*PatchMachineConfigurationParams) WriteToRequest added in v0.17.0

WriteToRequest writes these params to a swagger request

type PatchMachineConfigurationReader added in v0.17.0

type PatchMachineConfigurationReader struct {
	// contains filtered or unexported fields
}

PatchMachineConfigurationReader is a Reader for the PatchMachineConfiguration structure.

func (*PatchMachineConfigurationReader) ReadResponse added in v0.17.0

func (o *PatchMachineConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchMmdsBadRequest

type PatchMmdsBadRequest struct {
	Payload *models.Error
}

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

func (*PatchMmdsBadRequest) GetPayload added in v0.19.0

func (o *PatchMmdsBadRequest) GetPayload() *models.Error

type PatchMmdsDefault

type PatchMmdsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

func (*PatchMmdsDefault) GetPayload added in v0.19.0

func (o *PatchMmdsDefault) GetPayload() *models.Error

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 models.MmdsContentsObject

	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 models.MmdsContentsObject)

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

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 PatchVMBadRequest added in v1.0.0

type PatchVMBadRequest struct {
	Payload *models.Error
}

PatchVMBadRequest handles this case with default header values.

Vm state cannot be updated due to bad input

func NewPatchVMBadRequest added in v1.0.0

func NewPatchVMBadRequest() *PatchVMBadRequest

NewPatchVMBadRequest creates a PatchVMBadRequest with default headers values

func (*PatchVMBadRequest) Error added in v1.0.0

func (o *PatchVMBadRequest) Error() string

func (*PatchVMBadRequest) GetPayload added in v1.0.0

func (o *PatchVMBadRequest) GetPayload() *models.Error

type PatchVMDefault added in v1.0.0

type PatchVMDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchVMDefault handles this case with default header values.

Internal server error

func NewPatchVMDefault added in v1.0.0

func NewPatchVMDefault(code int) *PatchVMDefault

NewPatchVMDefault creates a PatchVMDefault with default headers values

func (*PatchVMDefault) Code added in v1.0.0

func (o *PatchVMDefault) Code() int

Code gets the status code for the patch Vm default response

func (*PatchVMDefault) Error added in v1.0.0

func (o *PatchVMDefault) Error() string

func (*PatchVMDefault) GetPayload added in v1.0.0

func (o *PatchVMDefault) GetPayload() *models.Error

type PatchVMNoContent added in v1.0.0

type PatchVMNoContent struct {
}

PatchVMNoContent handles this case with default header values.

Vm state updated

func NewPatchVMNoContent added in v1.0.0

func NewPatchVMNoContent() *PatchVMNoContent

NewPatchVMNoContent creates a PatchVMNoContent with default headers values

func (*PatchVMNoContent) Error added in v1.0.0

func (o *PatchVMNoContent) Error() string

type PatchVMParams added in v1.0.0

type PatchVMParams struct {

	/*Body
	  The microVM state

	*/
	Body *models.VM

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchVMParams contains all the parameters to send to the API endpoint for the patch Vm operation typically these are written to a http.Request

func NewPatchVMParams added in v1.0.0

func NewPatchVMParams() *PatchVMParams

NewPatchVMParams creates a new PatchVMParams object with the default values initialized.

func NewPatchVMParamsWithContext added in v1.0.0

func NewPatchVMParamsWithContext(ctx context.Context) *PatchVMParams

NewPatchVMParamsWithContext creates a new PatchVMParams object with the default values initialized, and the ability to set a context for a request

func NewPatchVMParamsWithHTTPClient added in v1.0.0

func NewPatchVMParamsWithHTTPClient(client *http.Client) *PatchVMParams

NewPatchVMParamsWithHTTPClient creates a new PatchVMParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchVMParamsWithTimeout added in v1.0.0

func NewPatchVMParamsWithTimeout(timeout time.Duration) *PatchVMParams

NewPatchVMParamsWithTimeout creates a new PatchVMParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchVMParams) SetBody added in v1.0.0

func (o *PatchVMParams) SetBody(body *models.VM)

SetBody adds the body to the patch Vm params

func (*PatchVMParams) SetContext added in v1.0.0

func (o *PatchVMParams) SetContext(ctx context.Context)

SetContext adds the context to the patch Vm params

func (*PatchVMParams) SetHTTPClient added in v1.0.0

func (o *PatchVMParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch Vm params

func (*PatchVMParams) SetTimeout added in v1.0.0

func (o *PatchVMParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch Vm params

func (*PatchVMParams) WithBody added in v1.0.0

func (o *PatchVMParams) WithBody(body *models.VM) *PatchVMParams

WithBody adds the body to the patch Vm params

func (*PatchVMParams) WithContext added in v1.0.0

func (o *PatchVMParams) WithContext(ctx context.Context) *PatchVMParams

WithContext adds the context to the patch Vm params

func (*PatchVMParams) WithHTTPClient added in v1.0.0

func (o *PatchVMParams) WithHTTPClient(client *http.Client) *PatchVMParams

WithHTTPClient adds the HTTPClient to the patch Vm params

func (*PatchVMParams) WithTimeout added in v1.0.0

func (o *PatchVMParams) WithTimeout(timeout time.Duration) *PatchVMParams

WithTimeout adds the timeout to the patch Vm params

func (*PatchVMParams) WriteToRequest added in v1.0.0

func (o *PatchVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchVMReader added in v1.0.0

type PatchVMReader struct {
	// contains filtered or unexported fields
}

PatchVMReader is a Reader for the PatchVM structure.

func (*PatchVMReader) ReadResponse added in v1.0.0

func (o *PatchVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutBalloonBadRequest added in v1.0.0

type PutBalloonBadRequest struct {
	Payload *models.Error
}

PutBalloonBadRequest handles this case with default header values.

Balloon device cannot be created/updated due to bad input

func NewPutBalloonBadRequest added in v1.0.0

func NewPutBalloonBadRequest() *PutBalloonBadRequest

NewPutBalloonBadRequest creates a PutBalloonBadRequest with default headers values

func (*PutBalloonBadRequest) Error added in v1.0.0

func (o *PutBalloonBadRequest) Error() string

func (*PutBalloonBadRequest) GetPayload added in v1.0.0

func (o *PutBalloonBadRequest) GetPayload() *models.Error

type PutBalloonDefault added in v1.0.0

type PutBalloonDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutBalloonDefault handles this case with default header values.

Internal server error

func NewPutBalloonDefault added in v1.0.0

func NewPutBalloonDefault(code int) *PutBalloonDefault

NewPutBalloonDefault creates a PutBalloonDefault with default headers values

func (*PutBalloonDefault) Code added in v1.0.0

func (o *PutBalloonDefault) Code() int

Code gets the status code for the put balloon default response

func (*PutBalloonDefault) Error added in v1.0.0

func (o *PutBalloonDefault) Error() string

func (*PutBalloonDefault) GetPayload added in v1.0.0

func (o *PutBalloonDefault) GetPayload() *models.Error

type PutBalloonNoContent added in v1.0.0

type PutBalloonNoContent struct {
}

PutBalloonNoContent handles this case with default header values.

Balloon device created/updated

func NewPutBalloonNoContent added in v1.0.0

func NewPutBalloonNoContent() *PutBalloonNoContent

NewPutBalloonNoContent creates a PutBalloonNoContent with default headers values

func (*PutBalloonNoContent) Error added in v1.0.0

func (o *PutBalloonNoContent) Error() string

type PutBalloonParams added in v1.0.0

type PutBalloonParams struct {

	/*Body
	  Balloon properties

	*/
	Body *models.Balloon

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutBalloonParams contains all the parameters to send to the API endpoint for the put balloon operation typically these are written to a http.Request

func NewPutBalloonParams added in v1.0.0

func NewPutBalloonParams() *PutBalloonParams

NewPutBalloonParams creates a new PutBalloonParams object with the default values initialized.

func NewPutBalloonParamsWithContext added in v1.0.0

func NewPutBalloonParamsWithContext(ctx context.Context) *PutBalloonParams

NewPutBalloonParamsWithContext creates a new PutBalloonParams object with the default values initialized, and the ability to set a context for a request

func NewPutBalloonParamsWithHTTPClient added in v1.0.0

func NewPutBalloonParamsWithHTTPClient(client *http.Client) *PutBalloonParams

NewPutBalloonParamsWithHTTPClient creates a new PutBalloonParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutBalloonParamsWithTimeout added in v1.0.0

func NewPutBalloonParamsWithTimeout(timeout time.Duration) *PutBalloonParams

NewPutBalloonParamsWithTimeout creates a new PutBalloonParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutBalloonParams) SetBody added in v1.0.0

func (o *PutBalloonParams) SetBody(body *models.Balloon)

SetBody adds the body to the put balloon params

func (*PutBalloonParams) SetContext added in v1.0.0

func (o *PutBalloonParams) SetContext(ctx context.Context)

SetContext adds the context to the put balloon params

func (*PutBalloonParams) SetHTTPClient added in v1.0.0

func (o *PutBalloonParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put balloon params

func (*PutBalloonParams) SetTimeout added in v1.0.0

func (o *PutBalloonParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put balloon params

func (*PutBalloonParams) WithBody added in v1.0.0

func (o *PutBalloonParams) WithBody(body *models.Balloon) *PutBalloonParams

WithBody adds the body to the put balloon params

func (*PutBalloonParams) WithContext added in v1.0.0

func (o *PutBalloonParams) WithContext(ctx context.Context) *PutBalloonParams

WithContext adds the context to the put balloon params

func (*PutBalloonParams) WithHTTPClient added in v1.0.0

func (o *PutBalloonParams) WithHTTPClient(client *http.Client) *PutBalloonParams

WithHTTPClient adds the HTTPClient to the put balloon params

func (*PutBalloonParams) WithTimeout added in v1.0.0

func (o *PutBalloonParams) WithTimeout(timeout time.Duration) *PutBalloonParams

WithTimeout adds the timeout to the put balloon params

func (*PutBalloonParams) WriteToRequest added in v1.0.0

func (o *PutBalloonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutBalloonReader added in v1.0.0

type PutBalloonReader struct {
	// contains filtered or unexported fields
}

PutBalloonReader is a Reader for the PutBalloon structure.

func (*PutBalloonReader) ReadResponse added in v1.0.0

func (o *PutBalloonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutGuestBootSourceBadRequest

type PutGuestBootSourceBadRequest struct {
	Payload *models.Error
}

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 (*PutGuestBootSourceBadRequest) GetPayload added in v0.19.0

func (o *PutGuestBootSourceBadRequest) GetPayload() *models.Error

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

func (*PutGuestBootSourceDefault) GetPayload added in v0.19.0

func (o *PutGuestBootSourceDefault) GetPayload() *models.Error

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

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

WithBody adds the body to the put guest boot source params

func (*PutGuestBootSourceParams) WithContext

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

WithTimeout adds the timeout to the put guest boot source params

func (*PutGuestBootSourceParams) WriteToRequest

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

type PutGuestDriveByIDBadRequest struct {
	Payload *models.Error
}

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 (*PutGuestDriveByIDBadRequest) GetPayload added in v0.19.0

func (o *PutGuestDriveByIDBadRequest) GetPayload() *models.Error

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

func (*PutGuestDriveByIDDefault) GetPayload added in v0.19.0

func (o *PutGuestDriveByIDDefault) GetPayload() *models.Error

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

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

WithBody adds the body to the put guest drive by ID params

func (*PutGuestDriveByIDParams) WithContext

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

WithTimeout adds the timeout to the put guest drive by ID params

func (*PutGuestDriveByIDParams) WriteToRequest

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

type PutGuestNetworkInterfaceByIDBadRequest struct {
	Payload *models.Error
}

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 (*PutGuestNetworkInterfaceByIDBadRequest) GetPayload added in v0.19.0

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

Code gets the status code for the put guest network interface by ID default response

func (*PutGuestNetworkInterfaceByIDDefault) Error

func (*PutGuestNetworkInterfaceByIDDefault) GetPayload added in v0.19.0

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

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

SetBody adds the body to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) SetContext

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

WithBody adds the body to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WithContext

WithContext adds the context to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WithIfaceID

WithIfaceID adds the ifaceID to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WithTimeout

WithTimeout adds the timeout to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WriteToRequest

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 added in v0.19.0

type PutGuestVsockBadRequest struct {
	Payload *models.Error
}

PutGuestVsockBadRequest handles this case with default header values.

Vsock cannot be created due to bad input

func NewPutGuestVsockBadRequest added in v0.19.0

func NewPutGuestVsockBadRequest() *PutGuestVsockBadRequest

NewPutGuestVsockBadRequest creates a PutGuestVsockBadRequest with default headers values

func (*PutGuestVsockBadRequest) Error added in v0.19.0

func (o *PutGuestVsockBadRequest) Error() string

func (*PutGuestVsockBadRequest) GetPayload added in v0.19.0

func (o *PutGuestVsockBadRequest) GetPayload() *models.Error

type PutGuestVsockDefault added in v0.19.0

type PutGuestVsockDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutGuestVsockDefault handles this case with default header values.

Internal server error

func NewPutGuestVsockDefault added in v0.19.0

func NewPutGuestVsockDefault(code int) *PutGuestVsockDefault

NewPutGuestVsockDefault creates a PutGuestVsockDefault with default headers values

func (*PutGuestVsockDefault) Code added in v0.19.0

func (o *PutGuestVsockDefault) Code() int

Code gets the status code for the put guest vsock default response

func (*PutGuestVsockDefault) Error added in v0.19.0

func (o *PutGuestVsockDefault) Error() string

func (*PutGuestVsockDefault) GetPayload added in v0.19.0

func (o *PutGuestVsockDefault) GetPayload() *models.Error

type PutGuestVsockNoContent added in v0.19.0

type PutGuestVsockNoContent struct {
}

PutGuestVsockNoContent handles this case with default header values.

Vsock created/updated

func NewPutGuestVsockNoContent added in v0.19.0

func NewPutGuestVsockNoContent() *PutGuestVsockNoContent

NewPutGuestVsockNoContent creates a PutGuestVsockNoContent with default headers values

func (*PutGuestVsockNoContent) Error added in v0.19.0

func (o *PutGuestVsockNoContent) Error() string

type PutGuestVsockParams added in v0.19.0

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 added in v0.19.0

func NewPutGuestVsockParams() *PutGuestVsockParams

NewPutGuestVsockParams creates a new PutGuestVsockParams object with the default values initialized.

func NewPutGuestVsockParamsWithContext added in v0.19.0

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 added in v0.19.0

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 added in v0.19.0

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 added in v0.19.0

func (o *PutGuestVsockParams) SetBody(body *models.Vsock)

SetBody adds the body to the put guest vsock params

func (*PutGuestVsockParams) SetContext added in v0.19.0

func (o *PutGuestVsockParams) SetContext(ctx context.Context)

SetContext adds the context to the put guest vsock params

func (*PutGuestVsockParams) SetHTTPClient added in v0.19.0

func (o *PutGuestVsockParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put guest vsock params

func (*PutGuestVsockParams) SetTimeout added in v0.19.0

func (o *PutGuestVsockParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put guest vsock params

func (*PutGuestVsockParams) WithBody added in v0.19.0

WithBody adds the body to the put guest vsock params

func (*PutGuestVsockParams) WithContext added in v0.19.0

WithContext adds the context to the put guest vsock params

func (*PutGuestVsockParams) WithHTTPClient added in v0.19.0

func (o *PutGuestVsockParams) WithHTTPClient(client *http.Client) *PutGuestVsockParams

WithHTTPClient adds the HTTPClient to the put guest vsock params

func (*PutGuestVsockParams) WithTimeout added in v0.19.0

func (o *PutGuestVsockParams) WithTimeout(timeout time.Duration) *PutGuestVsockParams

WithTimeout adds the timeout to the put guest vsock params

func (*PutGuestVsockParams) WriteToRequest added in v0.19.0

func (o *PutGuestVsockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutGuestVsockReader added in v0.19.0

type PutGuestVsockReader struct {
	// contains filtered or unexported fields
}

PutGuestVsockReader is a Reader for the PutGuestVsock structure.

func (*PutGuestVsockReader) ReadResponse added in v0.19.0

func (o *PutGuestVsockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutLoggerBadRequest

type PutLoggerBadRequest struct {
	Payload *models.Error
}

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

func (*PutLoggerBadRequest) GetPayload added in v0.19.0

func (o *PutLoggerBadRequest) GetPayload() *models.Error

type PutLoggerDefault

type PutLoggerDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

func (*PutLoggerDefault) GetPayload added in v0.19.0

func (o *PutLoggerDefault) GetPayload() *models.Error

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

type PutMachineConfigurationBadRequest struct {
	Payload *models.Error
}

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 (*PutMachineConfigurationBadRequest) GetPayload added in v0.19.0

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

Code gets the status code for the put machine configuration default response

func (*PutMachineConfigurationDefault) Error

func (*PutMachineConfigurationDefault) GetPayload added in v0.19.0

func (o *PutMachineConfigurationDefault) GetPayload() *models.Error

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

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

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

WithBody adds the body to the put machine configuration params

func (*PutMachineConfigurationParams) WithContext

WithContext adds the context to the put machine configuration params

func (*PutMachineConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put machine configuration params

func (*PutMachineConfigurationParams) WithTimeout

WithTimeout adds the timeout to the put machine configuration params

func (*PutMachineConfigurationParams) WriteToRequest

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 PutMetricsBadRequest added in v0.22.0

type PutMetricsBadRequest struct {
	Payload *models.Error
}

PutMetricsBadRequest handles this case with default header values.

Metrics system cannot be initialized due to bad input.

func NewPutMetricsBadRequest added in v0.22.0

func NewPutMetricsBadRequest() *PutMetricsBadRequest

NewPutMetricsBadRequest creates a PutMetricsBadRequest with default headers values

func (*PutMetricsBadRequest) Error added in v0.22.0

func (o *PutMetricsBadRequest) Error() string

func (*PutMetricsBadRequest) GetPayload added in v0.22.0

func (o *PutMetricsBadRequest) GetPayload() *models.Error

type PutMetricsDefault added in v0.22.0

type PutMetricsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutMetricsDefault handles this case with default header values.

Internal server error.

func NewPutMetricsDefault added in v0.22.0

func NewPutMetricsDefault(code int) *PutMetricsDefault

NewPutMetricsDefault creates a PutMetricsDefault with default headers values

func (*PutMetricsDefault) Code added in v0.22.0

func (o *PutMetricsDefault) Code() int

Code gets the status code for the put metrics default response

func (*PutMetricsDefault) Error added in v0.22.0

func (o *PutMetricsDefault) Error() string

func (*PutMetricsDefault) GetPayload added in v0.22.0

func (o *PutMetricsDefault) GetPayload() *models.Error

type PutMetricsNoContent added in v0.22.0

type PutMetricsNoContent struct {
}

PutMetricsNoContent handles this case with default header values.

Metrics system created.

func NewPutMetricsNoContent added in v0.22.0

func NewPutMetricsNoContent() *PutMetricsNoContent

NewPutMetricsNoContent creates a PutMetricsNoContent with default headers values

func (*PutMetricsNoContent) Error added in v0.22.0

func (o *PutMetricsNoContent) Error() string

type PutMetricsParams added in v0.22.0

type PutMetricsParams struct {

	/*Body
	  Metrics system description

	*/
	Body *models.Metrics

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutMetricsParams contains all the parameters to send to the API endpoint for the put metrics operation typically these are written to a http.Request

func NewPutMetricsParams added in v0.22.0

func NewPutMetricsParams() *PutMetricsParams

NewPutMetricsParams creates a new PutMetricsParams object with the default values initialized.

func NewPutMetricsParamsWithContext added in v0.22.0

func NewPutMetricsParamsWithContext(ctx context.Context) *PutMetricsParams

NewPutMetricsParamsWithContext creates a new PutMetricsParams object with the default values initialized, and the ability to set a context for a request

func NewPutMetricsParamsWithHTTPClient added in v0.22.0

func NewPutMetricsParamsWithHTTPClient(client *http.Client) *PutMetricsParams

NewPutMetricsParamsWithHTTPClient creates a new PutMetricsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutMetricsParamsWithTimeout added in v0.22.0

func NewPutMetricsParamsWithTimeout(timeout time.Duration) *PutMetricsParams

NewPutMetricsParamsWithTimeout creates a new PutMetricsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutMetricsParams) SetBody added in v0.22.0

func (o *PutMetricsParams) SetBody(body *models.Metrics)

SetBody adds the body to the put metrics params

func (*PutMetricsParams) SetContext added in v0.22.0

func (o *PutMetricsParams) SetContext(ctx context.Context)

SetContext adds the context to the put metrics params

func (*PutMetricsParams) SetHTTPClient added in v0.22.0

func (o *PutMetricsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put metrics params

func (*PutMetricsParams) SetTimeout added in v0.22.0

func (o *PutMetricsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put metrics params

func (*PutMetricsParams) WithBody added in v0.22.0

func (o *PutMetricsParams) WithBody(body *models.Metrics) *PutMetricsParams

WithBody adds the body to the put metrics params

func (*PutMetricsParams) WithContext added in v0.22.0

func (o *PutMetricsParams) WithContext(ctx context.Context) *PutMetricsParams

WithContext adds the context to the put metrics params

func (*PutMetricsParams) WithHTTPClient added in v0.22.0

func (o *PutMetricsParams) WithHTTPClient(client *http.Client) *PutMetricsParams

WithHTTPClient adds the HTTPClient to the put metrics params

func (*PutMetricsParams) WithTimeout added in v0.22.0

func (o *PutMetricsParams) WithTimeout(timeout time.Duration) *PutMetricsParams

WithTimeout adds the timeout to the put metrics params

func (*PutMetricsParams) WriteToRequest added in v0.22.0

func (o *PutMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutMetricsReader added in v0.22.0

type PutMetricsReader struct {
	// contains filtered or unexported fields
}

PutMetricsReader is a Reader for the PutMetrics structure.

func (*PutMetricsReader) ReadResponse added in v0.22.0

func (o *PutMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutMmdsBadRequest

type PutMmdsBadRequest struct {
	Payload *models.Error
}

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

func (*PutMmdsBadRequest) GetPayload added in v0.19.0

func (o *PutMmdsBadRequest) GetPayload() *models.Error

type PutMmdsConfigBadRequest added in v0.22.0

type PutMmdsConfigBadRequest struct {
	Payload *models.Error
}

PutMmdsConfigBadRequest handles this case with default header values.

MMDS configuration cannot be updated due to bad input.

func NewPutMmdsConfigBadRequest added in v0.22.0

func NewPutMmdsConfigBadRequest() *PutMmdsConfigBadRequest

NewPutMmdsConfigBadRequest creates a PutMmdsConfigBadRequest with default headers values

func (*PutMmdsConfigBadRequest) Error added in v0.22.0

func (o *PutMmdsConfigBadRequest) Error() string

func (*PutMmdsConfigBadRequest) GetPayload added in v0.22.0

func (o *PutMmdsConfigBadRequest) GetPayload() *models.Error

type PutMmdsConfigDefault added in v0.22.0

type PutMmdsConfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutMmdsConfigDefault handles this case with default header values.

Internal server error

func NewPutMmdsConfigDefault added in v0.22.0

func NewPutMmdsConfigDefault(code int) *PutMmdsConfigDefault

NewPutMmdsConfigDefault creates a PutMmdsConfigDefault with default headers values

func (*PutMmdsConfigDefault) Code added in v0.22.0

func (o *PutMmdsConfigDefault) Code() int

Code gets the status code for the put mmds config default response

func (*PutMmdsConfigDefault) Error added in v0.22.0

func (o *PutMmdsConfigDefault) Error() string

func (*PutMmdsConfigDefault) GetPayload added in v0.22.0

func (o *PutMmdsConfigDefault) GetPayload() *models.Error

type PutMmdsConfigNoContent added in v0.22.0

type PutMmdsConfigNoContent struct {
}

PutMmdsConfigNoContent handles this case with default header values.

MMDS configuration was created/updated.

func NewPutMmdsConfigNoContent added in v0.22.0

func NewPutMmdsConfigNoContent() *PutMmdsConfigNoContent

NewPutMmdsConfigNoContent creates a PutMmdsConfigNoContent with default headers values

func (*PutMmdsConfigNoContent) Error added in v0.22.0

func (o *PutMmdsConfigNoContent) Error() string

type PutMmdsConfigParams added in v0.22.0

type PutMmdsConfigParams struct {

	/*Body
	  The MMDS configuration as JSON.

	*/
	Body *models.MmdsConfig

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutMmdsConfigParams contains all the parameters to send to the API endpoint for the put mmds config operation typically these are written to a http.Request

func NewPutMmdsConfigParams added in v0.22.0

func NewPutMmdsConfigParams() *PutMmdsConfigParams

NewPutMmdsConfigParams creates a new PutMmdsConfigParams object with the default values initialized.

func NewPutMmdsConfigParamsWithContext added in v0.22.0

func NewPutMmdsConfigParamsWithContext(ctx context.Context) *PutMmdsConfigParams

NewPutMmdsConfigParamsWithContext creates a new PutMmdsConfigParams object with the default values initialized, and the ability to set a context for a request

func NewPutMmdsConfigParamsWithHTTPClient added in v0.22.0

func NewPutMmdsConfigParamsWithHTTPClient(client *http.Client) *PutMmdsConfigParams

NewPutMmdsConfigParamsWithHTTPClient creates a new PutMmdsConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutMmdsConfigParamsWithTimeout added in v0.22.0

func NewPutMmdsConfigParamsWithTimeout(timeout time.Duration) *PutMmdsConfigParams

NewPutMmdsConfigParamsWithTimeout creates a new PutMmdsConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutMmdsConfigParams) SetBody added in v0.22.0

func (o *PutMmdsConfigParams) SetBody(body *models.MmdsConfig)

SetBody adds the body to the put mmds config params

func (*PutMmdsConfigParams) SetContext added in v0.22.0

func (o *PutMmdsConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the put mmds config params

func (*PutMmdsConfigParams) SetHTTPClient added in v0.22.0

func (o *PutMmdsConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put mmds config params

func (*PutMmdsConfigParams) SetTimeout added in v0.22.0

func (o *PutMmdsConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put mmds config params

func (*PutMmdsConfigParams) WithBody added in v0.22.0

WithBody adds the body to the put mmds config params

func (*PutMmdsConfigParams) WithContext added in v0.22.0

WithContext adds the context to the put mmds config params

func (*PutMmdsConfigParams) WithHTTPClient added in v0.22.0

func (o *PutMmdsConfigParams) WithHTTPClient(client *http.Client) *PutMmdsConfigParams

WithHTTPClient adds the HTTPClient to the put mmds config params

func (*PutMmdsConfigParams) WithTimeout added in v0.22.0

func (o *PutMmdsConfigParams) WithTimeout(timeout time.Duration) *PutMmdsConfigParams

WithTimeout adds the timeout to the put mmds config params

func (*PutMmdsConfigParams) WriteToRequest added in v0.22.0

func (o *PutMmdsConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PutMmdsConfigReader added in v0.22.0

type PutMmdsConfigReader struct {
	// contains filtered or unexported fields
}

PutMmdsConfigReader is a Reader for the PutMmdsConfig structure.

func (*PutMmdsConfigReader) ReadResponse added in v0.22.0

func (o *PutMmdsConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutMmdsDefault

type PutMmdsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

func (*PutMmdsDefault) GetPayload added in v0.19.0

func (o *PutMmdsDefault) GetPayload() *models.Error

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 models.MmdsContentsObject

	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 models.MmdsContentsObject)

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL