operations

package
v0.0.0-...-04f2983 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 12

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 (*Client) CreateSyncAction

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

CreateSyncAction creates a synchronous action

func (*Client) DescribeInstance

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

DescribeInstance returns general information about an instance

func (*Client) GetMachineConfiguration

func (a *Client) GetMachineConfiguration(params *GetMachineConfigurationParams) (*GetMachineConfigurationOK, error)

GetMachineConfiguration gets the machine configuration of the VM

Gets the machine configuration of the VM. When called before the PUT operation, it will return the default values for the vCPU count (=1), memory size (=128 MiB). By default Hyperthreading is disabled and there is no CPU Template.

func (*Client) GetMmds

func (a *Client) GetMmds(params *GetMmdsParams) (*GetMmdsOK, error)

GetMmds gets the m m d s data store

func (*Client) PatchGuestDriveByID

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

PatchGuestDriveByID updates the properties of a drive

Updates the properties of the drive with the ID specified by drive_id path parameter. Will fail if update is not possible.

func (*Client) PatchGuestNetworkInterfaceByID

func (a *Client) PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams) (*PatchGuestNetworkInterfaceByIDNoContent, error)

PatchGuestNetworkInterfaceByID updates the rate limiters applied to a network interface

Updates the rate limiters applied to a network interface.

func (*Client) PatchMachineConfiguration

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

PatchMachineConfiguration partiallies updates the machine configuration of the VM

Partially updates the Virtual Machine Configuration with the specified input. If any of the parameters has an incorrect value, the whole update fails.

func (*Client) PatchMmds

func (a *Client) PatchMmds(params *PatchMmdsParams) (*PatchMmdsNoContent, error)

PatchMmds updates the m m d s data store

func (*Client) PutGuestBootSource

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

PutGuestBootSource creates or updates the boot source

Creates new boot source if one does not already exist, otherwise updates it. Will fail if update is not possible. Note that the only currently supported boot source is LocalImage.

func (*Client) PutGuestDriveByID

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

PutGuestDriveByID creates or updates a drive

Creates new drive with ID specified by drive_id path parameter. If a drive with the specified ID already exists, updates its state based on new input. Will fail if update is not possible.

func (*Client) PutGuestNetworkInterfaceByID

func (a *Client) PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams) (*PutGuestNetworkInterfaceByIDNoContent, error)

PutGuestNetworkInterfaceByID creates a network interface

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

func (*Client) PutGuestVsock

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

PutGuestVsock creates updates a vsock device

The first call creates the device with the configuration specified in body. Subsequent calls will update the device configuration. May fail if update is not possible.

func (*Client) PutLogger

func (a *Client) PutLogger(params *PutLoggerParams) (*PutLoggerNoContent, error)

PutLogger initializes the logger by specifying two named pipes i e for the logs and metrics output

func (*Client) PutMachineConfiguration

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

PutMachineConfiguration updates the machine configuration of the VM

Updates the Virtual Machine Configuration with the specified input. Firecracker starts with default values for vCPU count (=1) and memory size (=128 MiB). With Hyperthreading enabled, the vCPU count is restricted to be 1 or an even number, otherwise there are no restrictions regarding the vCPU count. If any of the parameters has an incorrect value, the whole update fails.

func (*Client) PutMmds

func (a *Client) PutMmds(params *PutMmdsParams) (*PutMmdsNoContent, error)

PutMmds creates a m m d s microvm metadata service data store

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateSyncActionBadRequest

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

type CreateSyncActionDefault

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

CreateSyncActionDefault handles this case with default header values.

Internal Server Error

func NewCreateSyncActionDefault

func NewCreateSyncActionDefault(code int) *CreateSyncActionDefault

NewCreateSyncActionDefault creates a CreateSyncActionDefault with default headers values

func (*CreateSyncActionDefault) Code

func (o *CreateSyncActionDefault) Code() int

Code gets the status code for the create sync action default response

func (*CreateSyncActionDefault) Error

func (o *CreateSyncActionDefault) Error() string

type CreateSyncActionNoContent

type CreateSyncActionNoContent struct {
}

CreateSyncActionNoContent handles this case with default header values.

The update was successful

func NewCreateSyncActionNoContent

func NewCreateSyncActionNoContent() *CreateSyncActionNoContent

NewCreateSyncActionNoContent creates a CreateSyncActionNoContent with default headers values

func (*CreateSyncActionNoContent) Error

func (o *CreateSyncActionNoContent) Error() string

type CreateSyncActionParams

type CreateSyncActionParams struct {

	/*Info*/
	Info *models.InstanceActionInfo

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

CreateSyncActionParams contains all the parameters to send to the API endpoint for the create sync action operation typically these are written to a http.Request

func NewCreateSyncActionParams

func NewCreateSyncActionParams() *CreateSyncActionParams

NewCreateSyncActionParams creates a new CreateSyncActionParams object with the default values initialized.

func NewCreateSyncActionParamsWithContext

func NewCreateSyncActionParamsWithContext(ctx context.Context) *CreateSyncActionParams

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

func NewCreateSyncActionParamsWithHTTPClient

func NewCreateSyncActionParamsWithHTTPClient(client *http.Client) *CreateSyncActionParams

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

func NewCreateSyncActionParamsWithTimeout

func NewCreateSyncActionParamsWithTimeout(timeout time.Duration) *CreateSyncActionParams

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

func (*CreateSyncActionParams) SetContext

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

SetContext adds the context to the create sync action params

func (*CreateSyncActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create sync action params

func (*CreateSyncActionParams) SetInfo

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 DescribeInstanceDefault

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

DescribeInstanceDefault handles this case with default header values.

Internal Server Error

func NewDescribeInstanceDefault

func NewDescribeInstanceDefault(code int) *DescribeInstanceDefault

NewDescribeInstanceDefault creates a DescribeInstanceDefault with default headers values

func (*DescribeInstanceDefault) Code

func (o *DescribeInstanceDefault) Code() int

Code gets the status code for the describe instance default response

func (*DescribeInstanceDefault) Error

func (o *DescribeInstanceDefault) Error() string

type DescribeInstanceOK

type DescribeInstanceOK struct {
	Payload *models.InstanceInfo
}

DescribeInstanceOK handles this case with default header values.

The instance information

func NewDescribeInstanceOK

func NewDescribeInstanceOK() *DescribeInstanceOK

NewDescribeInstanceOK creates a DescribeInstanceOK with default headers values

func (*DescribeInstanceOK) Error

func (o *DescribeInstanceOK) Error() string

type DescribeInstanceParams

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

DescribeInstanceParams contains all the parameters to send to the API endpoint for the describe instance operation typically these are written to a http.Request

func NewDescribeInstanceParams

func NewDescribeInstanceParams() *DescribeInstanceParams

NewDescribeInstanceParams creates a new DescribeInstanceParams object with the default values initialized.

func NewDescribeInstanceParamsWithContext

func NewDescribeInstanceParamsWithContext(ctx context.Context) *DescribeInstanceParams

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

func NewDescribeInstanceParamsWithHTTPClient

func NewDescribeInstanceParamsWithHTTPClient(client *http.Client) *DescribeInstanceParams

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

func NewDescribeInstanceParamsWithTimeout

func NewDescribeInstanceParamsWithTimeout(timeout time.Duration) *DescribeInstanceParams

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

func (*DescribeInstanceParams) SetContext

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

SetContext adds the context to the describe instance params

func (*DescribeInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe instance params

func (*DescribeInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the describe instance params

func (*DescribeInstanceParams) WithContext

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 GetMachineConfigurationDefault

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

GetMachineConfigurationDefault handles this case with default header values.

Internal server error

func NewGetMachineConfigurationDefault

func NewGetMachineConfigurationDefault(code int) *GetMachineConfigurationDefault

NewGetMachineConfigurationDefault creates a GetMachineConfigurationDefault with default headers values

func (*GetMachineConfigurationDefault) Code

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

func (*GetMachineConfigurationDefault) Error

type GetMachineConfigurationOK

type GetMachineConfigurationOK struct {
	Payload *models.MachineConfiguration
}

GetMachineConfigurationOK handles this case with default header values.

OK

func NewGetMachineConfigurationOK

func NewGetMachineConfigurationOK() *GetMachineConfigurationOK

NewGetMachineConfigurationOK creates a GetMachineConfigurationOK with default headers values

func (*GetMachineConfigurationOK) Error

func (o *GetMachineConfigurationOK) Error() string

type GetMachineConfigurationParams

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

GetMachineConfigurationParams contains all the parameters to send to the API endpoint for the get machine configuration operation typically these are written to a http.Request

func NewGetMachineConfigurationParams

func NewGetMachineConfigurationParams() *GetMachineConfigurationParams

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

func NewGetMachineConfigurationParamsWithContext

func NewGetMachineConfigurationParamsWithContext(ctx context.Context) *GetMachineConfigurationParams

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

func NewGetMachineConfigurationParamsWithHTTPClient

func NewGetMachineConfigurationParamsWithHTTPClient(client *http.Client) *GetMachineConfigurationParams

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

func NewGetMachineConfigurationParamsWithTimeout

func NewGetMachineConfigurationParamsWithTimeout(timeout time.Duration) *GetMachineConfigurationParams

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

func (*GetMachineConfigurationParams) SetContext

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

SetContext adds the context to the get machine configuration params

func (*GetMachineConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get machine configuration params

func (*GetMachineConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the get machine configuration params

func (*GetMachineConfigurationParams) WithContext

WithContext adds the context to the get machine configuration params

func (*GetMachineConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get machine configuration params

func (*GetMachineConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get machine configuration params

func (*GetMachineConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMachineConfigurationReader

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

GetMachineConfigurationReader is a Reader for the GetMachineConfiguration structure.

func (*GetMachineConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMmdsBadRequest

type GetMmdsBadRequest struct {
	Payload *models.Error
}

GetMmdsBadRequest handles this case with default header values.

Cannot get the MMDS data store due to bad input.

func NewGetMmdsBadRequest

func NewGetMmdsBadRequest() *GetMmdsBadRequest

NewGetMmdsBadRequest creates a GetMmdsBadRequest with default headers values

func (*GetMmdsBadRequest) Error

func (o *GetMmdsBadRequest) Error() string

type GetMmdsDefault

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

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

type GetMmdsParams

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

GetMmdsParams contains all the parameters to send to the API endpoint for the get mmds operation typically these are written to a http.Request

func NewGetMmdsParams

func NewGetMmdsParams() *GetMmdsParams

NewGetMmdsParams creates a new GetMmdsParams object with the default values initialized.

func NewGetMmdsParamsWithContext

func NewGetMmdsParamsWithContext(ctx context.Context) *GetMmdsParams

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

func NewGetMmdsParamsWithHTTPClient

func NewGetMmdsParamsWithHTTPClient(client *http.Client) *GetMmdsParams

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

func NewGetMmdsParamsWithTimeout

func NewGetMmdsParamsWithTimeout(timeout time.Duration) *GetMmdsParams

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

func (*GetMmdsParams) SetContext

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

SetContext adds the context to the get mmds params

func (*GetMmdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get mmds params

func (*GetMmdsParams) SetTimeout

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

SetTimeout adds the timeout to the get mmds params

func (*GetMmdsParams) WithContext

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

WithContext adds the context to the get mmds params

func (*GetMmdsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get mmds params

func (*GetMmdsParams) WithTimeout

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

WithTimeout adds the timeout to the get mmds params

func (*GetMmdsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMmdsReader

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

GetMmdsReader is a Reader for the GetMmds structure.

func (*GetMmdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchGuestDriveByIDBadRequest

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

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

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

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

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

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

func NewPatchMachineConfigurationBadRequest() *PatchMachineConfigurationBadRequest

NewPatchMachineConfigurationBadRequest creates a PatchMachineConfigurationBadRequest with default headers values

func (*PatchMachineConfigurationBadRequest) Error

type PatchMachineConfigurationDefault

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

PatchMachineConfigurationDefault handles this case with default header values.

Internal server error

func NewPatchMachineConfigurationDefault

func NewPatchMachineConfigurationDefault(code int) *PatchMachineConfigurationDefault

NewPatchMachineConfigurationDefault creates a PatchMachineConfigurationDefault with default headers values

func (*PatchMachineConfigurationDefault) Code

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

func (*PatchMachineConfigurationDefault) Error

type PatchMachineConfigurationNoContent

type PatchMachineConfigurationNoContent struct {
}

PatchMachineConfigurationNoContent handles this case with default header values.

Machine Configuration created/updated

func NewPatchMachineConfigurationNoContent

func NewPatchMachineConfigurationNoContent() *PatchMachineConfigurationNoContent

NewPatchMachineConfigurationNoContent creates a PatchMachineConfigurationNoContent with default headers values

func (*PatchMachineConfigurationNoContent) Error

type PatchMachineConfigurationParams

type PatchMachineConfigurationParams struct {

	/*Body
	  A subset of Machine Configuration Parameters

	*/
	Body *models.MachineConfiguration

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

PatchMachineConfigurationParams contains all the parameters to send to the API endpoint for the patch machine configuration operation typically these are written to a http.Request

func NewPatchMachineConfigurationParams

func NewPatchMachineConfigurationParams() *PatchMachineConfigurationParams

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

func NewPatchMachineConfigurationParamsWithContext

func NewPatchMachineConfigurationParamsWithContext(ctx context.Context) *PatchMachineConfigurationParams

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

func NewPatchMachineConfigurationParamsWithHTTPClient

func NewPatchMachineConfigurationParamsWithHTTPClient(client *http.Client) *PatchMachineConfigurationParams

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

func NewPatchMachineConfigurationParamsWithTimeout

func NewPatchMachineConfigurationParamsWithTimeout(timeout time.Duration) *PatchMachineConfigurationParams

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

func (*PatchMachineConfigurationParams) SetBody

SetBody adds the body to the patch machine configuration params

func (*PatchMachineConfigurationParams) SetContext

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

SetContext adds the context to the patch machine configuration params

func (*PatchMachineConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch machine configuration params

func (*PatchMachineConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithBody

WithBody adds the body to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithContext

WithContext adds the context to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithTimeout

WithTimeout adds the timeout to the patch machine configuration params

func (*PatchMachineConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchMachineConfigurationReader

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

PatchMachineConfigurationReader is a Reader for the PatchMachineConfiguration structure.

func (*PatchMachineConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchMmdsBadRequest

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

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

type PatchMmdsNoContent

type PatchMmdsNoContent struct {
}

PatchMmdsNoContent handles this case with default header values.

MMDS data store updated.

func NewPatchMmdsNoContent

func NewPatchMmdsNoContent() *PatchMmdsNoContent

NewPatchMmdsNoContent creates a PatchMmdsNoContent with default headers values

func (*PatchMmdsNoContent) Error

func (o *PatchMmdsNoContent) Error() string

type PatchMmdsParams

type PatchMmdsParams struct {

	/*Body
	  The MMDS data store patch JSON.

	*/
	Body interface{}

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

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

func NewPatchMmdsParams

func NewPatchMmdsParams() *PatchMmdsParams

NewPatchMmdsParams creates a new PatchMmdsParams object with the default values initialized.

func NewPatchMmdsParamsWithContext

func NewPatchMmdsParamsWithContext(ctx context.Context) *PatchMmdsParams

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

func NewPatchMmdsParamsWithHTTPClient

func NewPatchMmdsParamsWithHTTPClient(client *http.Client) *PatchMmdsParams

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

func NewPatchMmdsParamsWithTimeout

func NewPatchMmdsParamsWithTimeout(timeout time.Duration) *PatchMmdsParams

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

func (*PatchMmdsParams) SetBody

func (o *PatchMmdsParams) SetBody(body interface{})

SetBody adds the body to the patch mmds params

func (*PatchMmdsParams) SetContext

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

SetContext adds the context to the patch mmds params

func (*PatchMmdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch mmds params

func (*PatchMmdsParams) SetTimeout

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

SetTimeout adds the timeout to the patch mmds params

func (*PatchMmdsParams) WithBody

func (o *PatchMmdsParams) WithBody(body interface{}) *PatchMmdsParams

WithBody adds the body to the patch mmds params

func (*PatchMmdsParams) WithContext

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

WithContext adds the context to the patch mmds params

func (*PatchMmdsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch mmds params

func (*PatchMmdsParams) WithTimeout

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

WithTimeout adds the timeout to the patch mmds params

func (*PatchMmdsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchMmdsReader

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

PatchMmdsReader is a Reader for the PatchMmds structure.

func (*PatchMmdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutGuestBootSourceBadRequest

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

type PutGuestBootSourceDefault

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

PutGuestBootSourceDefault handles this case with default header values.

Internal server error

func NewPutGuestBootSourceDefault

func NewPutGuestBootSourceDefault(code int) *PutGuestBootSourceDefault

NewPutGuestBootSourceDefault creates a PutGuestBootSourceDefault with default headers values

func (*PutGuestBootSourceDefault) Code

func (o *PutGuestBootSourceDefault) Code() int

Code gets the status code for the put guest boot source default response

func (*PutGuestBootSourceDefault) Error

func (o *PutGuestBootSourceDefault) Error() string

type PutGuestBootSourceNoContent

type PutGuestBootSourceNoContent struct {
}

PutGuestBootSourceNoContent handles this case with default header values.

Boot source created/updated

func NewPutGuestBootSourceNoContent

func NewPutGuestBootSourceNoContent() *PutGuestBootSourceNoContent

NewPutGuestBootSourceNoContent creates a PutGuestBootSourceNoContent with default headers values

func (*PutGuestBootSourceNoContent) Error

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

type PutGuestDriveByIDDefault

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

PutGuestDriveByIDDefault handles this case with default header values.

Internal server error.

func NewPutGuestDriveByIDDefault

func NewPutGuestDriveByIDDefault(code int) *PutGuestDriveByIDDefault

NewPutGuestDriveByIDDefault creates a PutGuestDriveByIDDefault with default headers values

func (*PutGuestDriveByIDDefault) Code

func (o *PutGuestDriveByIDDefault) Code() int

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

func (*PutGuestDriveByIDDefault) Error

func (o *PutGuestDriveByIDDefault) Error() string

type PutGuestDriveByIDNoContent

type PutGuestDriveByIDNoContent struct {
}

PutGuestDriveByIDNoContent handles this case with default header values.

Drive created/updated

func NewPutGuestDriveByIDNoContent

func NewPutGuestDriveByIDNoContent() *PutGuestDriveByIDNoContent

NewPutGuestDriveByIDNoContent creates a PutGuestDriveByIDNoContent with default headers values

func (*PutGuestDriveByIDNoContent) Error

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

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

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

type PutGuestVsockBadRequest struct {
	Payload *models.Error
}

PutGuestVsockBadRequest handles this case with default header values.

Vsock cannot be created due to bad input

func NewPutGuestVsockBadRequest

func NewPutGuestVsockBadRequest() *PutGuestVsockBadRequest

NewPutGuestVsockBadRequest creates a PutGuestVsockBadRequest with default headers values

func (*PutGuestVsockBadRequest) Error

func (o *PutGuestVsockBadRequest) Error() string

type PutGuestVsockDefault

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

PutGuestVsockDefault handles this case with default header values.

Internal server error

func NewPutGuestVsockDefault

func NewPutGuestVsockDefault(code int) *PutGuestVsockDefault

NewPutGuestVsockDefault creates a PutGuestVsockDefault with default headers values

func (*PutGuestVsockDefault) Code

func (o *PutGuestVsockDefault) Code() int

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

func (*PutGuestVsockDefault) Error

func (o *PutGuestVsockDefault) Error() string

type PutGuestVsockNoContent

type PutGuestVsockNoContent struct {
}

PutGuestVsockNoContent handles this case with default header values.

Vsock created/updated

func NewPutGuestVsockNoContent

func NewPutGuestVsockNoContent() *PutGuestVsockNoContent

NewPutGuestVsockNoContent creates a PutGuestVsockNoContent with default headers values

func (*PutGuestVsockNoContent) Error

func (o *PutGuestVsockNoContent) Error() string

type PutGuestVsockParams

type PutGuestVsockParams struct {

	/*Body
	  Guest vsock properties

	*/
	Body *models.Vsock

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

PutGuestVsockParams contains all the parameters to send to the API endpoint for the put guest vsock operation typically these are written to a http.Request

func NewPutGuestVsockParams

func NewPutGuestVsockParams() *PutGuestVsockParams

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

func NewPutGuestVsockParamsWithContext

func NewPutGuestVsockParamsWithContext(ctx context.Context) *PutGuestVsockParams

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

func NewPutGuestVsockParamsWithHTTPClient

func NewPutGuestVsockParamsWithHTTPClient(client *http.Client) *PutGuestVsockParams

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

func NewPutGuestVsockParamsWithTimeout

func NewPutGuestVsockParamsWithTimeout(timeout time.Duration) *PutGuestVsockParams

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

func (*PutGuestVsockParams) SetBody

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

SetBody adds the body to the put guest vsock params

func (*PutGuestVsockParams) SetContext

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

SetContext adds the context to the put guest vsock params

func (*PutGuestVsockParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put guest vsock params

func (*PutGuestVsockParams) SetTimeout

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

SetTimeout adds the timeout to the put guest vsock params

func (*PutGuestVsockParams) WithBody

WithBody adds the body to the put guest vsock params

func (*PutGuestVsockParams) WithContext

WithContext adds the context to the put guest vsock params

func (*PutGuestVsockParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put guest vsock params

func (*PutGuestVsockParams) WithTimeout

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

WithTimeout adds the timeout to the put guest vsock params

func (*PutGuestVsockParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutGuestVsockReader

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

PutGuestVsockReader is a Reader for the PutGuestVsock structure.

func (*PutGuestVsockReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutLoggerBadRequest

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

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

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

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

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 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

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

type PutMmdsNoContent

type PutMmdsNoContent struct {
}

PutMmdsNoContent handles this case with default header values.

MMDS data store created/updated.

func NewPutMmdsNoContent

func NewPutMmdsNoContent() *PutMmdsNoContent

NewPutMmdsNoContent creates a PutMmdsNoContent with default headers values

func (*PutMmdsNoContent) Error

func (o *PutMmdsNoContent) Error() string

type PutMmdsParams

type PutMmdsParams struct {

	/*Body
	  The MMDS data store as JSON.

	*/
	Body interface{}

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

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

func NewPutMmdsParams

func NewPutMmdsParams() *PutMmdsParams

NewPutMmdsParams creates a new PutMmdsParams object with the default values initialized.

func NewPutMmdsParamsWithContext

func NewPutMmdsParamsWithContext(ctx context.Context) *PutMmdsParams

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

func NewPutMmdsParamsWithHTTPClient

func NewPutMmdsParamsWithHTTPClient(client *http.Client) *PutMmdsParams

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

func NewPutMmdsParamsWithTimeout

func NewPutMmdsParamsWithTimeout(timeout time.Duration) *PutMmdsParams

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

func (*PutMmdsParams) SetBody

func (o *PutMmdsParams) SetBody(body interface{})

SetBody adds the body to the put mmds params

func (*PutMmdsParams) SetContext

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

SetContext adds the context to the put mmds params

func (*PutMmdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put mmds params

func (*PutMmdsParams) SetTimeout

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

SetTimeout adds the timeout to the put mmds params

func (*PutMmdsParams) WithBody

func (o *PutMmdsParams) WithBody(body interface{}) *PutMmdsParams

WithBody adds the body to the put mmds params

func (*PutMmdsParams) WithContext

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

WithContext adds the context to the put mmds params

func (*PutMmdsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put mmds params

func (*PutMmdsParams) WithTimeout

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

WithTimeout adds the timeout to the put mmds params

func (*PutMmdsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutMmdsReader

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

PutMmdsReader is a Reader for the PutMmds structure.

func (*PutMmdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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