Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateSnapshot(params *CreateSnapshotParams, opts ...ClientOption) (*CreateSnapshotNoContent, error)
- func (a *Client) CreateSyncAction(params *CreateSyncActionParams, opts ...ClientOption) (*CreateSyncActionNoContent, error)
- func (a *Client) DescribeBalloonConfig(params *DescribeBalloonConfigParams, opts ...ClientOption) (*DescribeBalloonConfigOK, error)
- func (a *Client) DescribeBalloonStats(params *DescribeBalloonStatsParams, opts ...ClientOption) (*DescribeBalloonStatsOK, error)
- func (a *Client) DescribeInstance(params *DescribeInstanceParams, opts ...ClientOption) (*DescribeInstanceOK, error)
- func (a *Client) GetExportVMConfig(params *GetExportVMConfigParams, opts ...ClientOption) (*GetExportVMConfigOK, error)
- func (a *Client) GetFirecrackerVersion(params *GetFirecrackerVersionParams, opts ...ClientOption) (*GetFirecrackerVersionOK, error)
- func (a *Client) GetMachineConfiguration(params *GetMachineConfigurationParams, opts ...ClientOption) (*GetMachineConfigurationOK, error)
- func (a *Client) GetMmds(params *GetMmdsParams, opts ...ClientOption) (*GetMmdsOK, error)
- func (a *Client) LoadSnapshot(params *LoadSnapshotParams, opts ...ClientOption) (*LoadSnapshotNoContent, error)
- func (a *Client) PatchBalloon(params *PatchBalloonParams, opts ...ClientOption) (*PatchBalloonNoContent, error)
- func (a *Client) PatchBalloonStatsInterval(params *PatchBalloonStatsIntervalParams, opts ...ClientOption) (*PatchBalloonStatsIntervalNoContent, error)
- func (a *Client) PatchGuestDriveByID(params *PatchGuestDriveByIDParams, opts ...ClientOption) (*PatchGuestDriveByIDNoContent, error)
- func (a *Client) PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams, opts ...ClientOption) (*PatchGuestNetworkInterfaceByIDNoContent, error)
- func (a *Client) PatchMachineConfiguration(params *PatchMachineConfigurationParams, opts ...ClientOption) (*PatchMachineConfigurationNoContent, error)
- func (a *Client) PatchMmds(params *PatchMmdsParams, opts ...ClientOption) (*PatchMmdsNoContent, error)
- func (a *Client) PatchVM(params *PatchVMParams, opts ...ClientOption) (*PatchVMNoContent, error)
- func (a *Client) PutBalloon(params *PutBalloonParams, opts ...ClientOption) (*PutBalloonNoContent, error)
- func (a *Client) PutCPUConfiguration(params *PutCPUConfigurationParams, opts ...ClientOption) (*PutCPUConfigurationNoContent, error)
- func (a *Client) PutEntropyDevice(params *PutEntropyDeviceParams, opts ...ClientOption) (*PutEntropyDeviceNoContent, error)
- func (a *Client) PutGuestBootSource(params *PutGuestBootSourceParams, opts ...ClientOption) (*PutGuestBootSourceNoContent, error)
- func (a *Client) PutGuestDriveByID(params *PutGuestDriveByIDParams, opts ...ClientOption) (*PutGuestDriveByIDNoContent, error)
- func (a *Client) PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams, opts ...ClientOption) (*PutGuestNetworkInterfaceByIDNoContent, error)
- func (a *Client) PutGuestVsock(params *PutGuestVsockParams, opts ...ClientOption) (*PutGuestVsockNoContent, error)
- func (a *Client) PutLogger(params *PutLoggerParams, opts ...ClientOption) (*PutLoggerNoContent, error)
- func (a *Client) PutMachineConfiguration(params *PutMachineConfigurationParams, opts ...ClientOption) (*PutMachineConfigurationNoContent, error)
- func (a *Client) PutMetrics(params *PutMetricsParams, opts ...ClientOption) (*PutMetricsNoContent, error)
- func (a *Client) PutMmds(params *PutMmdsParams, opts ...ClientOption) (*PutMmdsNoContent, error)
- func (a *Client) PutMmdsConfig(params *PutMmdsConfigParams, opts ...ClientOption) (*PutMmdsConfigNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateSnapshotBadRequest
- func (o *CreateSnapshotBadRequest) Code() int
- func (o *CreateSnapshotBadRequest) Error() string
- func (o *CreateSnapshotBadRequest) GetPayload() *models.Error
- func (o *CreateSnapshotBadRequest) IsClientError() bool
- func (o *CreateSnapshotBadRequest) IsCode(code int) bool
- func (o *CreateSnapshotBadRequest) IsRedirect() bool
- func (o *CreateSnapshotBadRequest) IsServerError() bool
- func (o *CreateSnapshotBadRequest) IsSuccess() bool
- func (o *CreateSnapshotBadRequest) String() string
- type CreateSnapshotDefault
- func (o *CreateSnapshotDefault) Code() int
- func (o *CreateSnapshotDefault) Error() string
- func (o *CreateSnapshotDefault) GetPayload() *models.Error
- func (o *CreateSnapshotDefault) IsClientError() bool
- func (o *CreateSnapshotDefault) IsCode(code int) bool
- func (o *CreateSnapshotDefault) IsRedirect() bool
- func (o *CreateSnapshotDefault) IsServerError() bool
- func (o *CreateSnapshotDefault) IsSuccess() bool
- func (o *CreateSnapshotDefault) String() string
- type CreateSnapshotNoContent
- func (o *CreateSnapshotNoContent) Code() int
- func (o *CreateSnapshotNoContent) Error() string
- func (o *CreateSnapshotNoContent) IsClientError() bool
- func (o *CreateSnapshotNoContent) IsCode(code int) bool
- func (o *CreateSnapshotNoContent) IsRedirect() bool
- func (o *CreateSnapshotNoContent) IsServerError() bool
- func (o *CreateSnapshotNoContent) IsSuccess() bool
- func (o *CreateSnapshotNoContent) String() string
- type CreateSnapshotParams
- func NewCreateSnapshotParams() *CreateSnapshotParams
- func NewCreateSnapshotParamsWithContext(ctx context.Context) *CreateSnapshotParams
- func NewCreateSnapshotParamsWithHTTPClient(client *http.Client) *CreateSnapshotParams
- func NewCreateSnapshotParamsWithTimeout(timeout time.Duration) *CreateSnapshotParams
- func (o *CreateSnapshotParams) SetBody(body *models.SnapshotCreateParams)
- func (o *CreateSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateSnapshotParams) SetDefaults()
- func (o *CreateSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateSnapshotParams) WithBody(body *models.SnapshotCreateParams) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithContext(ctx context.Context) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithDefaults() *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithHTTPClient(client *http.Client) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WithTimeout(timeout time.Duration) *CreateSnapshotParams
- func (o *CreateSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSnapshotReader
- type CreateSyncActionBadRequest
- func (o *CreateSyncActionBadRequest) Code() int
- func (o *CreateSyncActionBadRequest) Error() string
- func (o *CreateSyncActionBadRequest) GetPayload() *models.Error
- func (o *CreateSyncActionBadRequest) IsClientError() bool
- func (o *CreateSyncActionBadRequest) IsCode(code int) bool
- func (o *CreateSyncActionBadRequest) IsRedirect() bool
- func (o *CreateSyncActionBadRequest) IsServerError() bool
- func (o *CreateSyncActionBadRequest) IsSuccess() bool
- func (o *CreateSyncActionBadRequest) String() string
- type CreateSyncActionDefault
- func (o *CreateSyncActionDefault) Code() int
- func (o *CreateSyncActionDefault) Error() string
- func (o *CreateSyncActionDefault) GetPayload() *models.Error
- func (o *CreateSyncActionDefault) IsClientError() bool
- func (o *CreateSyncActionDefault) IsCode(code int) bool
- func (o *CreateSyncActionDefault) IsRedirect() bool
- func (o *CreateSyncActionDefault) IsServerError() bool
- func (o *CreateSyncActionDefault) IsSuccess() bool
- func (o *CreateSyncActionDefault) String() string
- type CreateSyncActionNoContent
- func (o *CreateSyncActionNoContent) Code() int
- func (o *CreateSyncActionNoContent) Error() string
- func (o *CreateSyncActionNoContent) IsClientError() bool
- func (o *CreateSyncActionNoContent) IsCode(code int) bool
- func (o *CreateSyncActionNoContent) IsRedirect() bool
- func (o *CreateSyncActionNoContent) IsServerError() bool
- func (o *CreateSyncActionNoContent) IsSuccess() bool
- func (o *CreateSyncActionNoContent) String() string
- type CreateSyncActionParams
- func NewCreateSyncActionParams() *CreateSyncActionParams
- func NewCreateSyncActionParamsWithContext(ctx context.Context) *CreateSyncActionParams
- func NewCreateSyncActionParamsWithHTTPClient(client *http.Client) *CreateSyncActionParams
- func NewCreateSyncActionParamsWithTimeout(timeout time.Duration) *CreateSyncActionParams
- func (o *CreateSyncActionParams) SetContext(ctx context.Context)
- func (o *CreateSyncActionParams) SetDefaults()
- func (o *CreateSyncActionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSyncActionParams) SetInfo(info *models.InstanceActionInfo)
- func (o *CreateSyncActionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSyncActionParams) WithContext(ctx context.Context) *CreateSyncActionParams
- func (o *CreateSyncActionParams) WithDefaults() *CreateSyncActionParams
- func (o *CreateSyncActionParams) WithHTTPClient(client *http.Client) *CreateSyncActionParams
- func (o *CreateSyncActionParams) WithInfo(info *models.InstanceActionInfo) *CreateSyncActionParams
- func (o *CreateSyncActionParams) WithTimeout(timeout time.Duration) *CreateSyncActionParams
- func (o *CreateSyncActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSyncActionReader
- type DescribeBalloonConfigBadRequest
- func (o *DescribeBalloonConfigBadRequest) Code() int
- func (o *DescribeBalloonConfigBadRequest) Error() string
- func (o *DescribeBalloonConfigBadRequest) GetPayload() *models.Error
- func (o *DescribeBalloonConfigBadRequest) IsClientError() bool
- func (o *DescribeBalloonConfigBadRequest) IsCode(code int) bool
- func (o *DescribeBalloonConfigBadRequest) IsRedirect() bool
- func (o *DescribeBalloonConfigBadRequest) IsServerError() bool
- func (o *DescribeBalloonConfigBadRequest) IsSuccess() bool
- func (o *DescribeBalloonConfigBadRequest) String() string
- type DescribeBalloonConfigDefault
- func (o *DescribeBalloonConfigDefault) Code() int
- func (o *DescribeBalloonConfigDefault) Error() string
- func (o *DescribeBalloonConfigDefault) GetPayload() *models.Error
- func (o *DescribeBalloonConfigDefault) IsClientError() bool
- func (o *DescribeBalloonConfigDefault) IsCode(code int) bool
- func (o *DescribeBalloonConfigDefault) IsRedirect() bool
- func (o *DescribeBalloonConfigDefault) IsServerError() bool
- func (o *DescribeBalloonConfigDefault) IsSuccess() bool
- func (o *DescribeBalloonConfigDefault) String() string
- type DescribeBalloonConfigOK
- func (o *DescribeBalloonConfigOK) Code() int
- func (o *DescribeBalloonConfigOK) Error() string
- func (o *DescribeBalloonConfigOK) GetPayload() *models.Balloon
- func (o *DescribeBalloonConfigOK) IsClientError() bool
- func (o *DescribeBalloonConfigOK) IsCode(code int) bool
- func (o *DescribeBalloonConfigOK) IsRedirect() bool
- func (o *DescribeBalloonConfigOK) IsServerError() bool
- func (o *DescribeBalloonConfigOK) IsSuccess() bool
- func (o *DescribeBalloonConfigOK) String() string
- type DescribeBalloonConfigParams
- func NewDescribeBalloonConfigParams() *DescribeBalloonConfigParams
- func NewDescribeBalloonConfigParamsWithContext(ctx context.Context) *DescribeBalloonConfigParams
- func NewDescribeBalloonConfigParamsWithHTTPClient(client *http.Client) *DescribeBalloonConfigParams
- func NewDescribeBalloonConfigParamsWithTimeout(timeout time.Duration) *DescribeBalloonConfigParams
- func (o *DescribeBalloonConfigParams) SetContext(ctx context.Context)
- func (o *DescribeBalloonConfigParams) SetDefaults()
- func (o *DescribeBalloonConfigParams) SetHTTPClient(client *http.Client)
- func (o *DescribeBalloonConfigParams) SetTimeout(timeout time.Duration)
- func (o *DescribeBalloonConfigParams) WithContext(ctx context.Context) *DescribeBalloonConfigParams
- func (o *DescribeBalloonConfigParams) WithDefaults() *DescribeBalloonConfigParams
- func (o *DescribeBalloonConfigParams) WithHTTPClient(client *http.Client) *DescribeBalloonConfigParams
- func (o *DescribeBalloonConfigParams) WithTimeout(timeout time.Duration) *DescribeBalloonConfigParams
- func (o *DescribeBalloonConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeBalloonConfigReader
- type DescribeBalloonStatsBadRequest
- func (o *DescribeBalloonStatsBadRequest) Code() int
- func (o *DescribeBalloonStatsBadRequest) Error() string
- func (o *DescribeBalloonStatsBadRequest) GetPayload() *models.Error
- func (o *DescribeBalloonStatsBadRequest) IsClientError() bool
- func (o *DescribeBalloonStatsBadRequest) IsCode(code int) bool
- func (o *DescribeBalloonStatsBadRequest) IsRedirect() bool
- func (o *DescribeBalloonStatsBadRequest) IsServerError() bool
- func (o *DescribeBalloonStatsBadRequest) IsSuccess() bool
- func (o *DescribeBalloonStatsBadRequest) String() string
- type DescribeBalloonStatsDefault
- func (o *DescribeBalloonStatsDefault) Code() int
- func (o *DescribeBalloonStatsDefault) Error() string
- func (o *DescribeBalloonStatsDefault) GetPayload() *models.Error
- func (o *DescribeBalloonStatsDefault) IsClientError() bool
- func (o *DescribeBalloonStatsDefault) IsCode(code int) bool
- func (o *DescribeBalloonStatsDefault) IsRedirect() bool
- func (o *DescribeBalloonStatsDefault) IsServerError() bool
- func (o *DescribeBalloonStatsDefault) IsSuccess() bool
- func (o *DescribeBalloonStatsDefault) String() string
- type DescribeBalloonStatsOK
- func (o *DescribeBalloonStatsOK) Code() int
- func (o *DescribeBalloonStatsOK) Error() string
- func (o *DescribeBalloonStatsOK) GetPayload() *models.BalloonStats
- func (o *DescribeBalloonStatsOK) IsClientError() bool
- func (o *DescribeBalloonStatsOK) IsCode(code int) bool
- func (o *DescribeBalloonStatsOK) IsRedirect() bool
- func (o *DescribeBalloonStatsOK) IsServerError() bool
- func (o *DescribeBalloonStatsOK) IsSuccess() bool
- func (o *DescribeBalloonStatsOK) String() string
- type DescribeBalloonStatsParams
- func NewDescribeBalloonStatsParams() *DescribeBalloonStatsParams
- func NewDescribeBalloonStatsParamsWithContext(ctx context.Context) *DescribeBalloonStatsParams
- func NewDescribeBalloonStatsParamsWithHTTPClient(client *http.Client) *DescribeBalloonStatsParams
- func NewDescribeBalloonStatsParamsWithTimeout(timeout time.Duration) *DescribeBalloonStatsParams
- func (o *DescribeBalloonStatsParams) SetContext(ctx context.Context)
- func (o *DescribeBalloonStatsParams) SetDefaults()
- func (o *DescribeBalloonStatsParams) SetHTTPClient(client *http.Client)
- func (o *DescribeBalloonStatsParams) SetTimeout(timeout time.Duration)
- func (o *DescribeBalloonStatsParams) WithContext(ctx context.Context) *DescribeBalloonStatsParams
- func (o *DescribeBalloonStatsParams) WithDefaults() *DescribeBalloonStatsParams
- func (o *DescribeBalloonStatsParams) WithHTTPClient(client *http.Client) *DescribeBalloonStatsParams
- func (o *DescribeBalloonStatsParams) WithTimeout(timeout time.Duration) *DescribeBalloonStatsParams
- func (o *DescribeBalloonStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeBalloonStatsReader
- type DescribeInstanceDefault
- func (o *DescribeInstanceDefault) Code() int
- func (o *DescribeInstanceDefault) Error() string
- func (o *DescribeInstanceDefault) GetPayload() *models.Error
- func (o *DescribeInstanceDefault) IsClientError() bool
- func (o *DescribeInstanceDefault) IsCode(code int) bool
- func (o *DescribeInstanceDefault) IsRedirect() bool
- func (o *DescribeInstanceDefault) IsServerError() bool
- func (o *DescribeInstanceDefault) IsSuccess() bool
- func (o *DescribeInstanceDefault) String() string
- type DescribeInstanceOK
- func (o *DescribeInstanceOK) Code() int
- func (o *DescribeInstanceOK) Error() string
- func (o *DescribeInstanceOK) GetPayload() *models.InstanceInfo
- func (o *DescribeInstanceOK) IsClientError() bool
- func (o *DescribeInstanceOK) IsCode(code int) bool
- func (o *DescribeInstanceOK) IsRedirect() bool
- func (o *DescribeInstanceOK) IsServerError() bool
- func (o *DescribeInstanceOK) IsSuccess() bool
- func (o *DescribeInstanceOK) String() string
- type DescribeInstanceParams
- func NewDescribeInstanceParams() *DescribeInstanceParams
- func NewDescribeInstanceParamsWithContext(ctx context.Context) *DescribeInstanceParams
- func NewDescribeInstanceParamsWithHTTPClient(client *http.Client) *DescribeInstanceParams
- func NewDescribeInstanceParamsWithTimeout(timeout time.Duration) *DescribeInstanceParams
- func (o *DescribeInstanceParams) SetContext(ctx context.Context)
- func (o *DescribeInstanceParams) SetDefaults()
- func (o *DescribeInstanceParams) SetHTTPClient(client *http.Client)
- func (o *DescribeInstanceParams) SetTimeout(timeout time.Duration)
- func (o *DescribeInstanceParams) WithContext(ctx context.Context) *DescribeInstanceParams
- func (o *DescribeInstanceParams) WithDefaults() *DescribeInstanceParams
- func (o *DescribeInstanceParams) WithHTTPClient(client *http.Client) *DescribeInstanceParams
- func (o *DescribeInstanceParams) WithTimeout(timeout time.Duration) *DescribeInstanceParams
- func (o *DescribeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeInstanceReader
- type GetExportVMConfigDefault
- func (o *GetExportVMConfigDefault) Code() int
- func (o *GetExportVMConfigDefault) Error() string
- func (o *GetExportVMConfigDefault) GetPayload() *models.Error
- func (o *GetExportVMConfigDefault) IsClientError() bool
- func (o *GetExportVMConfigDefault) IsCode(code int) bool
- func (o *GetExportVMConfigDefault) IsRedirect() bool
- func (o *GetExportVMConfigDefault) IsServerError() bool
- func (o *GetExportVMConfigDefault) IsSuccess() bool
- func (o *GetExportVMConfigDefault) String() string
- type GetExportVMConfigOK
- func (o *GetExportVMConfigOK) Code() int
- func (o *GetExportVMConfigOK) Error() string
- func (o *GetExportVMConfigOK) GetPayload() *models.FullVMConfiguration
- func (o *GetExportVMConfigOK) IsClientError() bool
- func (o *GetExportVMConfigOK) IsCode(code int) bool
- func (o *GetExportVMConfigOK) IsRedirect() bool
- func (o *GetExportVMConfigOK) IsServerError() bool
- func (o *GetExportVMConfigOK) IsSuccess() bool
- func (o *GetExportVMConfigOK) String() string
- type GetExportVMConfigParams
- func NewGetExportVMConfigParams() *GetExportVMConfigParams
- func NewGetExportVMConfigParamsWithContext(ctx context.Context) *GetExportVMConfigParams
- func NewGetExportVMConfigParamsWithHTTPClient(client *http.Client) *GetExportVMConfigParams
- func NewGetExportVMConfigParamsWithTimeout(timeout time.Duration) *GetExportVMConfigParams
- func (o *GetExportVMConfigParams) SetContext(ctx context.Context)
- func (o *GetExportVMConfigParams) SetDefaults()
- func (o *GetExportVMConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetExportVMConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetExportVMConfigParams) WithContext(ctx context.Context) *GetExportVMConfigParams
- func (o *GetExportVMConfigParams) WithDefaults() *GetExportVMConfigParams
- func (o *GetExportVMConfigParams) WithHTTPClient(client *http.Client) *GetExportVMConfigParams
- func (o *GetExportVMConfigParams) WithTimeout(timeout time.Duration) *GetExportVMConfigParams
- func (o *GetExportVMConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetExportVMConfigReader
- type GetFirecrackerVersionDefault
- func (o *GetFirecrackerVersionDefault) Code() int
- func (o *GetFirecrackerVersionDefault) Error() string
- func (o *GetFirecrackerVersionDefault) GetPayload() *models.Error
- func (o *GetFirecrackerVersionDefault) IsClientError() bool
- func (o *GetFirecrackerVersionDefault) IsCode(code int) bool
- func (o *GetFirecrackerVersionDefault) IsRedirect() bool
- func (o *GetFirecrackerVersionDefault) IsServerError() bool
- func (o *GetFirecrackerVersionDefault) IsSuccess() bool
- func (o *GetFirecrackerVersionDefault) String() string
- type GetFirecrackerVersionOK
- func (o *GetFirecrackerVersionOK) Code() int
- func (o *GetFirecrackerVersionOK) Error() string
- func (o *GetFirecrackerVersionOK) GetPayload() *models.FirecrackerVersion
- func (o *GetFirecrackerVersionOK) IsClientError() bool
- func (o *GetFirecrackerVersionOK) IsCode(code int) bool
- func (o *GetFirecrackerVersionOK) IsRedirect() bool
- func (o *GetFirecrackerVersionOK) IsServerError() bool
- func (o *GetFirecrackerVersionOK) IsSuccess() bool
- func (o *GetFirecrackerVersionOK) String() string
- type GetFirecrackerVersionParams
- func NewGetFirecrackerVersionParams() *GetFirecrackerVersionParams
- func NewGetFirecrackerVersionParamsWithContext(ctx context.Context) *GetFirecrackerVersionParams
- func NewGetFirecrackerVersionParamsWithHTTPClient(client *http.Client) *GetFirecrackerVersionParams
- func NewGetFirecrackerVersionParamsWithTimeout(timeout time.Duration) *GetFirecrackerVersionParams
- func (o *GetFirecrackerVersionParams) SetContext(ctx context.Context)
- func (o *GetFirecrackerVersionParams) SetDefaults()
- func (o *GetFirecrackerVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetFirecrackerVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetFirecrackerVersionParams) WithContext(ctx context.Context) *GetFirecrackerVersionParams
- func (o *GetFirecrackerVersionParams) WithDefaults() *GetFirecrackerVersionParams
- func (o *GetFirecrackerVersionParams) WithHTTPClient(client *http.Client) *GetFirecrackerVersionParams
- func (o *GetFirecrackerVersionParams) WithTimeout(timeout time.Duration) *GetFirecrackerVersionParams
- func (o *GetFirecrackerVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFirecrackerVersionReader
- type GetMachineConfigurationDefault
- func (o *GetMachineConfigurationDefault) Code() int
- func (o *GetMachineConfigurationDefault) Error() string
- func (o *GetMachineConfigurationDefault) GetPayload() *models.Error
- func (o *GetMachineConfigurationDefault) IsClientError() bool
- func (o *GetMachineConfigurationDefault) IsCode(code int) bool
- func (o *GetMachineConfigurationDefault) IsRedirect() bool
- func (o *GetMachineConfigurationDefault) IsServerError() bool
- func (o *GetMachineConfigurationDefault) IsSuccess() bool
- func (o *GetMachineConfigurationDefault) String() string
- type GetMachineConfigurationOK
- func (o *GetMachineConfigurationOK) Code() int
- func (o *GetMachineConfigurationOK) Error() string
- func (o *GetMachineConfigurationOK) GetPayload() *models.MachineConfiguration
- func (o *GetMachineConfigurationOK) IsClientError() bool
- func (o *GetMachineConfigurationOK) IsCode(code int) bool
- func (o *GetMachineConfigurationOK) IsRedirect() bool
- func (o *GetMachineConfigurationOK) IsServerError() bool
- func (o *GetMachineConfigurationOK) IsSuccess() bool
- func (o *GetMachineConfigurationOK) String() string
- type GetMachineConfigurationParams
- func NewGetMachineConfigurationParams() *GetMachineConfigurationParams
- func NewGetMachineConfigurationParamsWithContext(ctx context.Context) *GetMachineConfigurationParams
- func NewGetMachineConfigurationParamsWithHTTPClient(client *http.Client) *GetMachineConfigurationParams
- func NewGetMachineConfigurationParamsWithTimeout(timeout time.Duration) *GetMachineConfigurationParams
- func (o *GetMachineConfigurationParams) SetContext(ctx context.Context)
- func (o *GetMachineConfigurationParams) SetDefaults()
- func (o *GetMachineConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *GetMachineConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *GetMachineConfigurationParams) WithContext(ctx context.Context) *GetMachineConfigurationParams
- func (o *GetMachineConfigurationParams) WithDefaults() *GetMachineConfigurationParams
- func (o *GetMachineConfigurationParams) WithHTTPClient(client *http.Client) *GetMachineConfigurationParams
- func (o *GetMachineConfigurationParams) WithTimeout(timeout time.Duration) *GetMachineConfigurationParams
- func (o *GetMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMachineConfigurationReader
- type GetMmdsDefault
- func (o *GetMmdsDefault) Code() int
- func (o *GetMmdsDefault) Error() string
- func (o *GetMmdsDefault) GetPayload() *models.Error
- func (o *GetMmdsDefault) IsClientError() bool
- func (o *GetMmdsDefault) IsCode(code int) bool
- func (o *GetMmdsDefault) IsRedirect() bool
- func (o *GetMmdsDefault) IsServerError() bool
- func (o *GetMmdsDefault) IsSuccess() bool
- func (o *GetMmdsDefault) String() string
- type GetMmdsNotFound
- func (o *GetMmdsNotFound) Code() int
- func (o *GetMmdsNotFound) Error() string
- func (o *GetMmdsNotFound) GetPayload() *models.Error
- func (o *GetMmdsNotFound) IsClientError() bool
- func (o *GetMmdsNotFound) IsCode(code int) bool
- func (o *GetMmdsNotFound) IsRedirect() bool
- func (o *GetMmdsNotFound) IsServerError() bool
- func (o *GetMmdsNotFound) IsSuccess() bool
- func (o *GetMmdsNotFound) String() string
- type GetMmdsOK
- func (o *GetMmdsOK) Code() int
- func (o *GetMmdsOK) Error() string
- func (o *GetMmdsOK) GetPayload() interface{}
- func (o *GetMmdsOK) IsClientError() bool
- func (o *GetMmdsOK) IsCode(code int) bool
- func (o *GetMmdsOK) IsRedirect() bool
- func (o *GetMmdsOK) IsServerError() bool
- func (o *GetMmdsOK) IsSuccess() bool
- func (o *GetMmdsOK) String() string
- type GetMmdsParams
- func (o *GetMmdsParams) SetContext(ctx context.Context)
- func (o *GetMmdsParams) SetDefaults()
- func (o *GetMmdsParams) SetHTTPClient(client *http.Client)
- func (o *GetMmdsParams) SetTimeout(timeout time.Duration)
- func (o *GetMmdsParams) WithContext(ctx context.Context) *GetMmdsParams
- func (o *GetMmdsParams) WithDefaults() *GetMmdsParams
- func (o *GetMmdsParams) WithHTTPClient(client *http.Client) *GetMmdsParams
- func (o *GetMmdsParams) WithTimeout(timeout time.Duration) *GetMmdsParams
- func (o *GetMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMmdsReader
- type LoadSnapshotBadRequest
- func (o *LoadSnapshotBadRequest) Code() int
- func (o *LoadSnapshotBadRequest) Error() string
- func (o *LoadSnapshotBadRequest) GetPayload() *models.Error
- func (o *LoadSnapshotBadRequest) IsClientError() bool
- func (o *LoadSnapshotBadRequest) IsCode(code int) bool
- func (o *LoadSnapshotBadRequest) IsRedirect() bool
- func (o *LoadSnapshotBadRequest) IsServerError() bool
- func (o *LoadSnapshotBadRequest) IsSuccess() bool
- func (o *LoadSnapshotBadRequest) String() string
- type LoadSnapshotDefault
- func (o *LoadSnapshotDefault) Code() int
- func (o *LoadSnapshotDefault) Error() string
- func (o *LoadSnapshotDefault) GetPayload() *models.Error
- func (o *LoadSnapshotDefault) IsClientError() bool
- func (o *LoadSnapshotDefault) IsCode(code int) bool
- func (o *LoadSnapshotDefault) IsRedirect() bool
- func (o *LoadSnapshotDefault) IsServerError() bool
- func (o *LoadSnapshotDefault) IsSuccess() bool
- func (o *LoadSnapshotDefault) String() string
- type LoadSnapshotNoContent
- func (o *LoadSnapshotNoContent) Code() int
- func (o *LoadSnapshotNoContent) Error() string
- func (o *LoadSnapshotNoContent) IsClientError() bool
- func (o *LoadSnapshotNoContent) IsCode(code int) bool
- func (o *LoadSnapshotNoContent) IsRedirect() bool
- func (o *LoadSnapshotNoContent) IsServerError() bool
- func (o *LoadSnapshotNoContent) IsSuccess() bool
- func (o *LoadSnapshotNoContent) String() string
- type LoadSnapshotParams
- func (o *LoadSnapshotParams) SetBody(body *models.SnapshotLoadParams)
- func (o *LoadSnapshotParams) SetContext(ctx context.Context)
- func (o *LoadSnapshotParams) SetDefaults()
- func (o *LoadSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *LoadSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *LoadSnapshotParams) WithBody(body *models.SnapshotLoadParams) *LoadSnapshotParams
- func (o *LoadSnapshotParams) WithContext(ctx context.Context) *LoadSnapshotParams
- func (o *LoadSnapshotParams) WithDefaults() *LoadSnapshotParams
- func (o *LoadSnapshotParams) WithHTTPClient(client *http.Client) *LoadSnapshotParams
- func (o *LoadSnapshotParams) WithTimeout(timeout time.Duration) *LoadSnapshotParams
- func (o *LoadSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoadSnapshotReader
- type PatchBalloonBadRequest
- func (o *PatchBalloonBadRequest) Code() int
- func (o *PatchBalloonBadRequest) Error() string
- func (o *PatchBalloonBadRequest) GetPayload() *models.Error
- func (o *PatchBalloonBadRequest) IsClientError() bool
- func (o *PatchBalloonBadRequest) IsCode(code int) bool
- func (o *PatchBalloonBadRequest) IsRedirect() bool
- func (o *PatchBalloonBadRequest) IsServerError() bool
- func (o *PatchBalloonBadRequest) IsSuccess() bool
- func (o *PatchBalloonBadRequest) String() string
- type PatchBalloonDefault
- func (o *PatchBalloonDefault) Code() int
- func (o *PatchBalloonDefault) Error() string
- func (o *PatchBalloonDefault) GetPayload() *models.Error
- func (o *PatchBalloonDefault) IsClientError() bool
- func (o *PatchBalloonDefault) IsCode(code int) bool
- func (o *PatchBalloonDefault) IsRedirect() bool
- func (o *PatchBalloonDefault) IsServerError() bool
- func (o *PatchBalloonDefault) IsSuccess() bool
- func (o *PatchBalloonDefault) String() string
- type PatchBalloonNoContent
- func (o *PatchBalloonNoContent) Code() int
- func (o *PatchBalloonNoContent) Error() string
- func (o *PatchBalloonNoContent) IsClientError() bool
- func (o *PatchBalloonNoContent) IsCode(code int) bool
- func (o *PatchBalloonNoContent) IsRedirect() bool
- func (o *PatchBalloonNoContent) IsServerError() bool
- func (o *PatchBalloonNoContent) IsSuccess() bool
- func (o *PatchBalloonNoContent) String() string
- type PatchBalloonParams
- func (o *PatchBalloonParams) SetBody(body *models.BalloonUpdate)
- func (o *PatchBalloonParams) SetContext(ctx context.Context)
- func (o *PatchBalloonParams) SetDefaults()
- func (o *PatchBalloonParams) SetHTTPClient(client *http.Client)
- func (o *PatchBalloonParams) SetTimeout(timeout time.Duration)
- func (o *PatchBalloonParams) WithBody(body *models.BalloonUpdate) *PatchBalloonParams
- func (o *PatchBalloonParams) WithContext(ctx context.Context) *PatchBalloonParams
- func (o *PatchBalloonParams) WithDefaults() *PatchBalloonParams
- func (o *PatchBalloonParams) WithHTTPClient(client *http.Client) *PatchBalloonParams
- func (o *PatchBalloonParams) WithTimeout(timeout time.Duration) *PatchBalloonParams
- func (o *PatchBalloonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchBalloonReader
- type PatchBalloonStatsIntervalBadRequest
- func (o *PatchBalloonStatsIntervalBadRequest) Code() int
- func (o *PatchBalloonStatsIntervalBadRequest) Error() string
- func (o *PatchBalloonStatsIntervalBadRequest) GetPayload() *models.Error
- func (o *PatchBalloonStatsIntervalBadRequest) IsClientError() bool
- func (o *PatchBalloonStatsIntervalBadRequest) IsCode(code int) bool
- func (o *PatchBalloonStatsIntervalBadRequest) IsRedirect() bool
- func (o *PatchBalloonStatsIntervalBadRequest) IsServerError() bool
- func (o *PatchBalloonStatsIntervalBadRequest) IsSuccess() bool
- func (o *PatchBalloonStatsIntervalBadRequest) String() string
- type PatchBalloonStatsIntervalDefault
- func (o *PatchBalloonStatsIntervalDefault) Code() int
- func (o *PatchBalloonStatsIntervalDefault) Error() string
- func (o *PatchBalloonStatsIntervalDefault) GetPayload() *models.Error
- func (o *PatchBalloonStatsIntervalDefault) IsClientError() bool
- func (o *PatchBalloonStatsIntervalDefault) IsCode(code int) bool
- func (o *PatchBalloonStatsIntervalDefault) IsRedirect() bool
- func (o *PatchBalloonStatsIntervalDefault) IsServerError() bool
- func (o *PatchBalloonStatsIntervalDefault) IsSuccess() bool
- func (o *PatchBalloonStatsIntervalDefault) String() string
- type PatchBalloonStatsIntervalNoContent
- func (o *PatchBalloonStatsIntervalNoContent) Code() int
- func (o *PatchBalloonStatsIntervalNoContent) Error() string
- func (o *PatchBalloonStatsIntervalNoContent) IsClientError() bool
- func (o *PatchBalloonStatsIntervalNoContent) IsCode(code int) bool
- func (o *PatchBalloonStatsIntervalNoContent) IsRedirect() bool
- func (o *PatchBalloonStatsIntervalNoContent) IsServerError() bool
- func (o *PatchBalloonStatsIntervalNoContent) IsSuccess() bool
- func (o *PatchBalloonStatsIntervalNoContent) String() string
- type PatchBalloonStatsIntervalParams
- func NewPatchBalloonStatsIntervalParams() *PatchBalloonStatsIntervalParams
- func NewPatchBalloonStatsIntervalParamsWithContext(ctx context.Context) *PatchBalloonStatsIntervalParams
- func NewPatchBalloonStatsIntervalParamsWithHTTPClient(client *http.Client) *PatchBalloonStatsIntervalParams
- func NewPatchBalloonStatsIntervalParamsWithTimeout(timeout time.Duration) *PatchBalloonStatsIntervalParams
- func (o *PatchBalloonStatsIntervalParams) SetBody(body *models.BalloonStatsUpdate)
- func (o *PatchBalloonStatsIntervalParams) SetContext(ctx context.Context)
- func (o *PatchBalloonStatsIntervalParams) SetDefaults()
- func (o *PatchBalloonStatsIntervalParams) SetHTTPClient(client *http.Client)
- func (o *PatchBalloonStatsIntervalParams) SetTimeout(timeout time.Duration)
- func (o *PatchBalloonStatsIntervalParams) WithBody(body *models.BalloonStatsUpdate) *PatchBalloonStatsIntervalParams
- func (o *PatchBalloonStatsIntervalParams) WithContext(ctx context.Context) *PatchBalloonStatsIntervalParams
- func (o *PatchBalloonStatsIntervalParams) WithDefaults() *PatchBalloonStatsIntervalParams
- func (o *PatchBalloonStatsIntervalParams) WithHTTPClient(client *http.Client) *PatchBalloonStatsIntervalParams
- func (o *PatchBalloonStatsIntervalParams) WithTimeout(timeout time.Duration) *PatchBalloonStatsIntervalParams
- func (o *PatchBalloonStatsIntervalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchBalloonStatsIntervalReader
- type PatchGuestDriveByIDBadRequest
- func (o *PatchGuestDriveByIDBadRequest) Code() int
- func (o *PatchGuestDriveByIDBadRequest) Error() string
- func (o *PatchGuestDriveByIDBadRequest) GetPayload() *models.Error
- func (o *PatchGuestDriveByIDBadRequest) IsClientError() bool
- func (o *PatchGuestDriveByIDBadRequest) IsCode(code int) bool
- func (o *PatchGuestDriveByIDBadRequest) IsRedirect() bool
- func (o *PatchGuestDriveByIDBadRequest) IsServerError() bool
- func (o *PatchGuestDriveByIDBadRequest) IsSuccess() bool
- func (o *PatchGuestDriveByIDBadRequest) String() string
- type PatchGuestDriveByIDDefault
- func (o *PatchGuestDriveByIDDefault) Code() int
- func (o *PatchGuestDriveByIDDefault) Error() string
- func (o *PatchGuestDriveByIDDefault) GetPayload() *models.Error
- func (o *PatchGuestDriveByIDDefault) IsClientError() bool
- func (o *PatchGuestDriveByIDDefault) IsCode(code int) bool
- func (o *PatchGuestDriveByIDDefault) IsRedirect() bool
- func (o *PatchGuestDriveByIDDefault) IsServerError() bool
- func (o *PatchGuestDriveByIDDefault) IsSuccess() bool
- func (o *PatchGuestDriveByIDDefault) String() string
- type PatchGuestDriveByIDNoContent
- func (o *PatchGuestDriveByIDNoContent) Code() int
- func (o *PatchGuestDriveByIDNoContent) Error() string
- func (o *PatchGuestDriveByIDNoContent) IsClientError() bool
- func (o *PatchGuestDriveByIDNoContent) IsCode(code int) bool
- func (o *PatchGuestDriveByIDNoContent) IsRedirect() bool
- func (o *PatchGuestDriveByIDNoContent) IsServerError() bool
- func (o *PatchGuestDriveByIDNoContent) IsSuccess() bool
- func (o *PatchGuestDriveByIDNoContent) String() string
- type PatchGuestDriveByIDParams
- func NewPatchGuestDriveByIDParams() *PatchGuestDriveByIDParams
- func NewPatchGuestDriveByIDParamsWithContext(ctx context.Context) *PatchGuestDriveByIDParams
- func NewPatchGuestDriveByIDParamsWithHTTPClient(client *http.Client) *PatchGuestDriveByIDParams
- func NewPatchGuestDriveByIDParamsWithTimeout(timeout time.Duration) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) SetBody(body *models.PartialDrive)
- func (o *PatchGuestDriveByIDParams) SetContext(ctx context.Context)
- func (o *PatchGuestDriveByIDParams) SetDefaults()
- func (o *PatchGuestDriveByIDParams) SetDriveID(driveID string)
- func (o *PatchGuestDriveByIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchGuestDriveByIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchGuestDriveByIDParams) WithBody(body *models.PartialDrive) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WithContext(ctx context.Context) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WithDefaults() *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WithDriveID(driveID string) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WithHTTPClient(client *http.Client) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WithTimeout(timeout time.Duration) *PatchGuestDriveByIDParams
- func (o *PatchGuestDriveByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchGuestDriveByIDReader
- type PatchGuestNetworkInterfaceByIDBadRequest
- func (o *PatchGuestNetworkInterfaceByIDBadRequest) Code() int
- func (o *PatchGuestNetworkInterfaceByIDBadRequest) Error() string
- func (o *PatchGuestNetworkInterfaceByIDBadRequest) GetPayload() *models.Error
- func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsClientError() bool
- func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsCode(code int) bool
- func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsRedirect() bool
- func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsServerError() bool
- func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsSuccess() bool
- func (o *PatchGuestNetworkInterfaceByIDBadRequest) String() string
- type PatchGuestNetworkInterfaceByIDDefault
- func (o *PatchGuestNetworkInterfaceByIDDefault) Code() int
- func (o *PatchGuestNetworkInterfaceByIDDefault) Error() string
- func (o *PatchGuestNetworkInterfaceByIDDefault) GetPayload() *models.Error
- func (o *PatchGuestNetworkInterfaceByIDDefault) IsClientError() bool
- func (o *PatchGuestNetworkInterfaceByIDDefault) IsCode(code int) bool
- func (o *PatchGuestNetworkInterfaceByIDDefault) IsRedirect() bool
- func (o *PatchGuestNetworkInterfaceByIDDefault) IsServerError() bool
- func (o *PatchGuestNetworkInterfaceByIDDefault) IsSuccess() bool
- func (o *PatchGuestNetworkInterfaceByIDDefault) String() string
- type PatchGuestNetworkInterfaceByIDNoContent
- func (o *PatchGuestNetworkInterfaceByIDNoContent) Code() int
- func (o *PatchGuestNetworkInterfaceByIDNoContent) Error() string
- func (o *PatchGuestNetworkInterfaceByIDNoContent) IsClientError() bool
- func (o *PatchGuestNetworkInterfaceByIDNoContent) IsCode(code int) bool
- func (o *PatchGuestNetworkInterfaceByIDNoContent) IsRedirect() bool
- func (o *PatchGuestNetworkInterfaceByIDNoContent) IsServerError() bool
- func (o *PatchGuestNetworkInterfaceByIDNoContent) IsSuccess() bool
- func (o *PatchGuestNetworkInterfaceByIDNoContent) String() string
- type PatchGuestNetworkInterfaceByIDParams
- func NewPatchGuestNetworkInterfaceByIDParams() *PatchGuestNetworkInterfaceByIDParams
- func NewPatchGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PatchGuestNetworkInterfaceByIDParams
- func NewPatchGuestNetworkInterfaceByIDParamsWithHTTPClient(client *http.Client) *PatchGuestNetworkInterfaceByIDParams
- func NewPatchGuestNetworkInterfaceByIDParamsWithTimeout(timeout time.Duration) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) SetBody(body *models.PartialNetworkInterface)
- func (o *PatchGuestNetworkInterfaceByIDParams) SetContext(ctx context.Context)
- func (o *PatchGuestNetworkInterfaceByIDParams) SetDefaults()
- func (o *PatchGuestNetworkInterfaceByIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)
- func (o *PatchGuestNetworkInterfaceByIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchGuestNetworkInterfaceByIDParams) WithBody(body *models.PartialNetworkInterface) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WithContext(ctx context.Context) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WithDefaults() *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WithHTTPClient(client *http.Client) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WithIfaceID(ifaceID string) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WithTimeout(timeout time.Duration) *PatchGuestNetworkInterfaceByIDParams
- func (o *PatchGuestNetworkInterfaceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchGuestNetworkInterfaceByIDReader
- type PatchMachineConfigurationBadRequest
- func (o *PatchMachineConfigurationBadRequest) Code() int
- func (o *PatchMachineConfigurationBadRequest) Error() string
- func (o *PatchMachineConfigurationBadRequest) GetPayload() *models.Error
- func (o *PatchMachineConfigurationBadRequest) IsClientError() bool
- func (o *PatchMachineConfigurationBadRequest) IsCode(code int) bool
- func (o *PatchMachineConfigurationBadRequest) IsRedirect() bool
- func (o *PatchMachineConfigurationBadRequest) IsServerError() bool
- func (o *PatchMachineConfigurationBadRequest) IsSuccess() bool
- func (o *PatchMachineConfigurationBadRequest) String() string
- type PatchMachineConfigurationDefault
- func (o *PatchMachineConfigurationDefault) Code() int
- func (o *PatchMachineConfigurationDefault) Error() string
- func (o *PatchMachineConfigurationDefault) GetPayload() *models.Error
- func (o *PatchMachineConfigurationDefault) IsClientError() bool
- func (o *PatchMachineConfigurationDefault) IsCode(code int) bool
- func (o *PatchMachineConfigurationDefault) IsRedirect() bool
- func (o *PatchMachineConfigurationDefault) IsServerError() bool
- func (o *PatchMachineConfigurationDefault) IsSuccess() bool
- func (o *PatchMachineConfigurationDefault) String() string
- type PatchMachineConfigurationNoContent
- func (o *PatchMachineConfigurationNoContent) Code() int
- func (o *PatchMachineConfigurationNoContent) Error() string
- func (o *PatchMachineConfigurationNoContent) IsClientError() bool
- func (o *PatchMachineConfigurationNoContent) IsCode(code int) bool
- func (o *PatchMachineConfigurationNoContent) IsRedirect() bool
- func (o *PatchMachineConfigurationNoContent) IsServerError() bool
- func (o *PatchMachineConfigurationNoContent) IsSuccess() bool
- func (o *PatchMachineConfigurationNoContent) String() string
- type PatchMachineConfigurationParams
- func NewPatchMachineConfigurationParams() *PatchMachineConfigurationParams
- func NewPatchMachineConfigurationParamsWithContext(ctx context.Context) *PatchMachineConfigurationParams
- func NewPatchMachineConfigurationParamsWithHTTPClient(client *http.Client) *PatchMachineConfigurationParams
- func NewPatchMachineConfigurationParamsWithTimeout(timeout time.Duration) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) SetBody(body *models.MachineConfiguration)
- func (o *PatchMachineConfigurationParams) SetContext(ctx context.Context)
- func (o *PatchMachineConfigurationParams) SetDefaults()
- func (o *PatchMachineConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *PatchMachineConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *PatchMachineConfigurationParams) WithBody(body *models.MachineConfiguration) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) WithContext(ctx context.Context) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) WithDefaults() *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) WithHTTPClient(client *http.Client) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) WithTimeout(timeout time.Duration) *PatchMachineConfigurationParams
- func (o *PatchMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchMachineConfigurationReader
- type PatchMmdsBadRequest
- func (o *PatchMmdsBadRequest) Code() int
- func (o *PatchMmdsBadRequest) Error() string
- func (o *PatchMmdsBadRequest) GetPayload() *models.Error
- func (o *PatchMmdsBadRequest) IsClientError() bool
- func (o *PatchMmdsBadRequest) IsCode(code int) bool
- func (o *PatchMmdsBadRequest) IsRedirect() bool
- func (o *PatchMmdsBadRequest) IsServerError() bool
- func (o *PatchMmdsBadRequest) IsSuccess() bool
- func (o *PatchMmdsBadRequest) String() string
- type PatchMmdsDefault
- func (o *PatchMmdsDefault) Code() int
- func (o *PatchMmdsDefault) Error() string
- func (o *PatchMmdsDefault) GetPayload() *models.Error
- func (o *PatchMmdsDefault) IsClientError() bool
- func (o *PatchMmdsDefault) IsCode(code int) bool
- func (o *PatchMmdsDefault) IsRedirect() bool
- func (o *PatchMmdsDefault) IsServerError() bool
- func (o *PatchMmdsDefault) IsSuccess() bool
- func (o *PatchMmdsDefault) String() string
- type PatchMmdsNoContent
- func (o *PatchMmdsNoContent) Code() int
- func (o *PatchMmdsNoContent) Error() string
- func (o *PatchMmdsNoContent) IsClientError() bool
- func (o *PatchMmdsNoContent) IsCode(code int) bool
- func (o *PatchMmdsNoContent) IsRedirect() bool
- func (o *PatchMmdsNoContent) IsServerError() bool
- func (o *PatchMmdsNoContent) IsSuccess() bool
- func (o *PatchMmdsNoContent) String() string
- type PatchMmdsParams
- func (o *PatchMmdsParams) SetBody(body models.MmdsContentsObject)
- func (o *PatchMmdsParams) SetContext(ctx context.Context)
- func (o *PatchMmdsParams) SetDefaults()
- func (o *PatchMmdsParams) SetHTTPClient(client *http.Client)
- func (o *PatchMmdsParams) SetTimeout(timeout time.Duration)
- func (o *PatchMmdsParams) WithBody(body models.MmdsContentsObject) *PatchMmdsParams
- func (o *PatchMmdsParams) WithContext(ctx context.Context) *PatchMmdsParams
- func (o *PatchMmdsParams) WithDefaults() *PatchMmdsParams
- func (o *PatchMmdsParams) WithHTTPClient(client *http.Client) *PatchMmdsParams
- func (o *PatchMmdsParams) WithTimeout(timeout time.Duration) *PatchMmdsParams
- func (o *PatchMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchMmdsReader
- type PatchVMBadRequest
- func (o *PatchVMBadRequest) Code() int
- func (o *PatchVMBadRequest) Error() string
- func (o *PatchVMBadRequest) GetPayload() *models.Error
- func (o *PatchVMBadRequest) IsClientError() bool
- func (o *PatchVMBadRequest) IsCode(code int) bool
- func (o *PatchVMBadRequest) IsRedirect() bool
- func (o *PatchVMBadRequest) IsServerError() bool
- func (o *PatchVMBadRequest) IsSuccess() bool
- func (o *PatchVMBadRequest) String() string
- type PatchVMDefault
- func (o *PatchVMDefault) Code() int
- func (o *PatchVMDefault) Error() string
- func (o *PatchVMDefault) GetPayload() *models.Error
- func (o *PatchVMDefault) IsClientError() bool
- func (o *PatchVMDefault) IsCode(code int) bool
- func (o *PatchVMDefault) IsRedirect() bool
- func (o *PatchVMDefault) IsServerError() bool
- func (o *PatchVMDefault) IsSuccess() bool
- func (o *PatchVMDefault) String() string
- type PatchVMNoContent
- func (o *PatchVMNoContent) Code() int
- func (o *PatchVMNoContent) Error() string
- func (o *PatchVMNoContent) IsClientError() bool
- func (o *PatchVMNoContent) IsCode(code int) bool
- func (o *PatchVMNoContent) IsRedirect() bool
- func (o *PatchVMNoContent) IsServerError() bool
- func (o *PatchVMNoContent) IsSuccess() bool
- func (o *PatchVMNoContent) String() string
- type PatchVMParams
- func (o *PatchVMParams) SetBody(body *models.VM)
- func (o *PatchVMParams) SetContext(ctx context.Context)
- func (o *PatchVMParams) SetDefaults()
- func (o *PatchVMParams) SetHTTPClient(client *http.Client)
- func (o *PatchVMParams) SetTimeout(timeout time.Duration)
- func (o *PatchVMParams) WithBody(body *models.VM) *PatchVMParams
- func (o *PatchVMParams) WithContext(ctx context.Context) *PatchVMParams
- func (o *PatchVMParams) WithDefaults() *PatchVMParams
- func (o *PatchVMParams) WithHTTPClient(client *http.Client) *PatchVMParams
- func (o *PatchVMParams) WithTimeout(timeout time.Duration) *PatchVMParams
- func (o *PatchVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchVMReader
- type PutBalloonBadRequest
- func (o *PutBalloonBadRequest) Code() int
- func (o *PutBalloonBadRequest) Error() string
- func (o *PutBalloonBadRequest) GetPayload() *models.Error
- func (o *PutBalloonBadRequest) IsClientError() bool
- func (o *PutBalloonBadRequest) IsCode(code int) bool
- func (o *PutBalloonBadRequest) IsRedirect() bool
- func (o *PutBalloonBadRequest) IsServerError() bool
- func (o *PutBalloonBadRequest) IsSuccess() bool
- func (o *PutBalloonBadRequest) String() string
- type PutBalloonDefault
- func (o *PutBalloonDefault) Code() int
- func (o *PutBalloonDefault) Error() string
- func (o *PutBalloonDefault) GetPayload() *models.Error
- func (o *PutBalloonDefault) IsClientError() bool
- func (o *PutBalloonDefault) IsCode(code int) bool
- func (o *PutBalloonDefault) IsRedirect() bool
- func (o *PutBalloonDefault) IsServerError() bool
- func (o *PutBalloonDefault) IsSuccess() bool
- func (o *PutBalloonDefault) String() string
- type PutBalloonNoContent
- func (o *PutBalloonNoContent) Code() int
- func (o *PutBalloonNoContent) Error() string
- func (o *PutBalloonNoContent) IsClientError() bool
- func (o *PutBalloonNoContent) IsCode(code int) bool
- func (o *PutBalloonNoContent) IsRedirect() bool
- func (o *PutBalloonNoContent) IsServerError() bool
- func (o *PutBalloonNoContent) IsSuccess() bool
- func (o *PutBalloonNoContent) String() string
- type PutBalloonParams
- func (o *PutBalloonParams) SetBody(body *models.Balloon)
- func (o *PutBalloonParams) SetContext(ctx context.Context)
- func (o *PutBalloonParams) SetDefaults()
- func (o *PutBalloonParams) SetHTTPClient(client *http.Client)
- func (o *PutBalloonParams) SetTimeout(timeout time.Duration)
- func (o *PutBalloonParams) WithBody(body *models.Balloon) *PutBalloonParams
- func (o *PutBalloonParams) WithContext(ctx context.Context) *PutBalloonParams
- func (o *PutBalloonParams) WithDefaults() *PutBalloonParams
- func (o *PutBalloonParams) WithHTTPClient(client *http.Client) *PutBalloonParams
- func (o *PutBalloonParams) WithTimeout(timeout time.Duration) *PutBalloonParams
- func (o *PutBalloonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutBalloonReader
- type PutCPUConfigurationBadRequest
- func (o *PutCPUConfigurationBadRequest) Code() int
- func (o *PutCPUConfigurationBadRequest) Error() string
- func (o *PutCPUConfigurationBadRequest) GetPayload() *models.Error
- func (o *PutCPUConfigurationBadRequest) IsClientError() bool
- func (o *PutCPUConfigurationBadRequest) IsCode(code int) bool
- func (o *PutCPUConfigurationBadRequest) IsRedirect() bool
- func (o *PutCPUConfigurationBadRequest) IsServerError() bool
- func (o *PutCPUConfigurationBadRequest) IsSuccess() bool
- func (o *PutCPUConfigurationBadRequest) String() string
- type PutCPUConfigurationDefault
- func (o *PutCPUConfigurationDefault) Code() int
- func (o *PutCPUConfigurationDefault) Error() string
- func (o *PutCPUConfigurationDefault) GetPayload() *models.Error
- func (o *PutCPUConfigurationDefault) IsClientError() bool
- func (o *PutCPUConfigurationDefault) IsCode(code int) bool
- func (o *PutCPUConfigurationDefault) IsRedirect() bool
- func (o *PutCPUConfigurationDefault) IsServerError() bool
- func (o *PutCPUConfigurationDefault) IsSuccess() bool
- func (o *PutCPUConfigurationDefault) String() string
- type PutCPUConfigurationNoContent
- func (o *PutCPUConfigurationNoContent) Code() int
- func (o *PutCPUConfigurationNoContent) Error() string
- func (o *PutCPUConfigurationNoContent) IsClientError() bool
- func (o *PutCPUConfigurationNoContent) IsCode(code int) bool
- func (o *PutCPUConfigurationNoContent) IsRedirect() bool
- func (o *PutCPUConfigurationNoContent) IsServerError() bool
- func (o *PutCPUConfigurationNoContent) IsSuccess() bool
- func (o *PutCPUConfigurationNoContent) String() string
- type PutCPUConfigurationParams
- func NewPutCPUConfigurationParams() *PutCPUConfigurationParams
- func NewPutCPUConfigurationParamsWithContext(ctx context.Context) *PutCPUConfigurationParams
- func NewPutCPUConfigurationParamsWithHTTPClient(client *http.Client) *PutCPUConfigurationParams
- func NewPutCPUConfigurationParamsWithTimeout(timeout time.Duration) *PutCPUConfigurationParams
- func (o *PutCPUConfigurationParams) SetBody(body *models.CPUConfig)
- func (o *PutCPUConfigurationParams) SetContext(ctx context.Context)
- func (o *PutCPUConfigurationParams) SetDefaults()
- func (o *PutCPUConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *PutCPUConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *PutCPUConfigurationParams) WithBody(body *models.CPUConfig) *PutCPUConfigurationParams
- func (o *PutCPUConfigurationParams) WithContext(ctx context.Context) *PutCPUConfigurationParams
- func (o *PutCPUConfigurationParams) WithDefaults() *PutCPUConfigurationParams
- func (o *PutCPUConfigurationParams) WithHTTPClient(client *http.Client) *PutCPUConfigurationParams
- func (o *PutCPUConfigurationParams) WithTimeout(timeout time.Duration) *PutCPUConfigurationParams
- func (o *PutCPUConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutCPUConfigurationReader
- type PutEntropyDeviceDefault
- func (o *PutEntropyDeviceDefault) Code() int
- func (o *PutEntropyDeviceDefault) Error() string
- func (o *PutEntropyDeviceDefault) GetPayload() *models.Error
- func (o *PutEntropyDeviceDefault) IsClientError() bool
- func (o *PutEntropyDeviceDefault) IsCode(code int) bool
- func (o *PutEntropyDeviceDefault) IsRedirect() bool
- func (o *PutEntropyDeviceDefault) IsServerError() bool
- func (o *PutEntropyDeviceDefault) IsSuccess() bool
- func (o *PutEntropyDeviceDefault) String() string
- type PutEntropyDeviceNoContent
- func (o *PutEntropyDeviceNoContent) Code() int
- func (o *PutEntropyDeviceNoContent) Error() string
- func (o *PutEntropyDeviceNoContent) IsClientError() bool
- func (o *PutEntropyDeviceNoContent) IsCode(code int) bool
- func (o *PutEntropyDeviceNoContent) IsRedirect() bool
- func (o *PutEntropyDeviceNoContent) IsServerError() bool
- func (o *PutEntropyDeviceNoContent) IsSuccess() bool
- func (o *PutEntropyDeviceNoContent) String() string
- type PutEntropyDeviceParams
- func NewPutEntropyDeviceParams() *PutEntropyDeviceParams
- func NewPutEntropyDeviceParamsWithContext(ctx context.Context) *PutEntropyDeviceParams
- func NewPutEntropyDeviceParamsWithHTTPClient(client *http.Client) *PutEntropyDeviceParams
- func NewPutEntropyDeviceParamsWithTimeout(timeout time.Duration) *PutEntropyDeviceParams
- func (o *PutEntropyDeviceParams) SetBody(body *models.EntropyDevice)
- func (o *PutEntropyDeviceParams) SetContext(ctx context.Context)
- func (o *PutEntropyDeviceParams) SetDefaults()
- func (o *PutEntropyDeviceParams) SetHTTPClient(client *http.Client)
- func (o *PutEntropyDeviceParams) SetTimeout(timeout time.Duration)
- func (o *PutEntropyDeviceParams) WithBody(body *models.EntropyDevice) *PutEntropyDeviceParams
- func (o *PutEntropyDeviceParams) WithContext(ctx context.Context) *PutEntropyDeviceParams
- func (o *PutEntropyDeviceParams) WithDefaults() *PutEntropyDeviceParams
- func (o *PutEntropyDeviceParams) WithHTTPClient(client *http.Client) *PutEntropyDeviceParams
- func (o *PutEntropyDeviceParams) WithTimeout(timeout time.Duration) *PutEntropyDeviceParams
- func (o *PutEntropyDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutEntropyDeviceReader
- type PutGuestBootSourceBadRequest
- func (o *PutGuestBootSourceBadRequest) Code() int
- func (o *PutGuestBootSourceBadRequest) Error() string
- func (o *PutGuestBootSourceBadRequest) GetPayload() *models.Error
- func (o *PutGuestBootSourceBadRequest) IsClientError() bool
- func (o *PutGuestBootSourceBadRequest) IsCode(code int) bool
- func (o *PutGuestBootSourceBadRequest) IsRedirect() bool
- func (o *PutGuestBootSourceBadRequest) IsServerError() bool
- func (o *PutGuestBootSourceBadRequest) IsSuccess() bool
- func (o *PutGuestBootSourceBadRequest) String() string
- type PutGuestBootSourceDefault
- func (o *PutGuestBootSourceDefault) Code() int
- func (o *PutGuestBootSourceDefault) Error() string
- func (o *PutGuestBootSourceDefault) GetPayload() *models.Error
- func (o *PutGuestBootSourceDefault) IsClientError() bool
- func (o *PutGuestBootSourceDefault) IsCode(code int) bool
- func (o *PutGuestBootSourceDefault) IsRedirect() bool
- func (o *PutGuestBootSourceDefault) IsServerError() bool
- func (o *PutGuestBootSourceDefault) IsSuccess() bool
- func (o *PutGuestBootSourceDefault) String() string
- type PutGuestBootSourceNoContent
- func (o *PutGuestBootSourceNoContent) Code() int
- func (o *PutGuestBootSourceNoContent) Error() string
- func (o *PutGuestBootSourceNoContent) IsClientError() bool
- func (o *PutGuestBootSourceNoContent) IsCode(code int) bool
- func (o *PutGuestBootSourceNoContent) IsRedirect() bool
- func (o *PutGuestBootSourceNoContent) IsServerError() bool
- func (o *PutGuestBootSourceNoContent) IsSuccess() bool
- func (o *PutGuestBootSourceNoContent) String() string
- type PutGuestBootSourceParams
- func NewPutGuestBootSourceParams() *PutGuestBootSourceParams
- func NewPutGuestBootSourceParamsWithContext(ctx context.Context) *PutGuestBootSourceParams
- func NewPutGuestBootSourceParamsWithHTTPClient(client *http.Client) *PutGuestBootSourceParams
- func NewPutGuestBootSourceParamsWithTimeout(timeout time.Duration) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) SetBody(body *models.BootSource)
- func (o *PutGuestBootSourceParams) SetContext(ctx context.Context)
- func (o *PutGuestBootSourceParams) SetDefaults()
- func (o *PutGuestBootSourceParams) SetHTTPClient(client *http.Client)
- func (o *PutGuestBootSourceParams) SetTimeout(timeout time.Duration)
- func (o *PutGuestBootSourceParams) WithBody(body *models.BootSource) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) WithContext(ctx context.Context) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) WithDefaults() *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) WithHTTPClient(client *http.Client) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) WithTimeout(timeout time.Duration) *PutGuestBootSourceParams
- func (o *PutGuestBootSourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGuestBootSourceReader
- type PutGuestDriveByIDBadRequest
- func (o *PutGuestDriveByIDBadRequest) Code() int
- func (o *PutGuestDriveByIDBadRequest) Error() string
- func (o *PutGuestDriveByIDBadRequest) GetPayload() *models.Error
- func (o *PutGuestDriveByIDBadRequest) IsClientError() bool
- func (o *PutGuestDriveByIDBadRequest) IsCode(code int) bool
- func (o *PutGuestDriveByIDBadRequest) IsRedirect() bool
- func (o *PutGuestDriveByIDBadRequest) IsServerError() bool
- func (o *PutGuestDriveByIDBadRequest) IsSuccess() bool
- func (o *PutGuestDriveByIDBadRequest) String() string
- type PutGuestDriveByIDDefault
- func (o *PutGuestDriveByIDDefault) Code() int
- func (o *PutGuestDriveByIDDefault) Error() string
- func (o *PutGuestDriveByIDDefault) GetPayload() *models.Error
- func (o *PutGuestDriveByIDDefault) IsClientError() bool
- func (o *PutGuestDriveByIDDefault) IsCode(code int) bool
- func (o *PutGuestDriveByIDDefault) IsRedirect() bool
- func (o *PutGuestDriveByIDDefault) IsServerError() bool
- func (o *PutGuestDriveByIDDefault) IsSuccess() bool
- func (o *PutGuestDriveByIDDefault) String() string
- type PutGuestDriveByIDNoContent
- func (o *PutGuestDriveByIDNoContent) Code() int
- func (o *PutGuestDriveByIDNoContent) Error() string
- func (o *PutGuestDriveByIDNoContent) IsClientError() bool
- func (o *PutGuestDriveByIDNoContent) IsCode(code int) bool
- func (o *PutGuestDriveByIDNoContent) IsRedirect() bool
- func (o *PutGuestDriveByIDNoContent) IsServerError() bool
- func (o *PutGuestDriveByIDNoContent) IsSuccess() bool
- func (o *PutGuestDriveByIDNoContent) String() string
- type PutGuestDriveByIDParams
- func NewPutGuestDriveByIDParams() *PutGuestDriveByIDParams
- func NewPutGuestDriveByIDParamsWithContext(ctx context.Context) *PutGuestDriveByIDParams
- func NewPutGuestDriveByIDParamsWithHTTPClient(client *http.Client) *PutGuestDriveByIDParams
- func NewPutGuestDriveByIDParamsWithTimeout(timeout time.Duration) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) SetBody(body *models.Drive)
- func (o *PutGuestDriveByIDParams) SetContext(ctx context.Context)
- func (o *PutGuestDriveByIDParams) SetDefaults()
- func (o *PutGuestDriveByIDParams) SetDriveID(driveID string)
- func (o *PutGuestDriveByIDParams) SetHTTPClient(client *http.Client)
- func (o *PutGuestDriveByIDParams) SetTimeout(timeout time.Duration)
- func (o *PutGuestDriveByIDParams) WithBody(body *models.Drive) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WithContext(ctx context.Context) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WithDefaults() *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WithDriveID(driveID string) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WithHTTPClient(client *http.Client) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WithTimeout(timeout time.Duration) *PutGuestDriveByIDParams
- func (o *PutGuestDriveByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGuestDriveByIDReader
- type PutGuestNetworkInterfaceByIDBadRequest
- func (o *PutGuestNetworkInterfaceByIDBadRequest) Code() int
- func (o *PutGuestNetworkInterfaceByIDBadRequest) Error() string
- func (o *PutGuestNetworkInterfaceByIDBadRequest) GetPayload() *models.Error
- func (o *PutGuestNetworkInterfaceByIDBadRequest) IsClientError() bool
- func (o *PutGuestNetworkInterfaceByIDBadRequest) IsCode(code int) bool
- func (o *PutGuestNetworkInterfaceByIDBadRequest) IsRedirect() bool
- func (o *PutGuestNetworkInterfaceByIDBadRequest) IsServerError() bool
- func (o *PutGuestNetworkInterfaceByIDBadRequest) IsSuccess() bool
- func (o *PutGuestNetworkInterfaceByIDBadRequest) String() string
- type PutGuestNetworkInterfaceByIDDefault
- func (o *PutGuestNetworkInterfaceByIDDefault) Code() int
- func (o *PutGuestNetworkInterfaceByIDDefault) Error() string
- func (o *PutGuestNetworkInterfaceByIDDefault) GetPayload() *models.Error
- func (o *PutGuestNetworkInterfaceByIDDefault) IsClientError() bool
- func (o *PutGuestNetworkInterfaceByIDDefault) IsCode(code int) bool
- func (o *PutGuestNetworkInterfaceByIDDefault) IsRedirect() bool
- func (o *PutGuestNetworkInterfaceByIDDefault) IsServerError() bool
- func (o *PutGuestNetworkInterfaceByIDDefault) IsSuccess() bool
- func (o *PutGuestNetworkInterfaceByIDDefault) String() string
- type PutGuestNetworkInterfaceByIDNoContent
- func (o *PutGuestNetworkInterfaceByIDNoContent) Code() int
- func (o *PutGuestNetworkInterfaceByIDNoContent) Error() string
- func (o *PutGuestNetworkInterfaceByIDNoContent) IsClientError() bool
- func (o *PutGuestNetworkInterfaceByIDNoContent) IsCode(code int) bool
- func (o *PutGuestNetworkInterfaceByIDNoContent) IsRedirect() bool
- func (o *PutGuestNetworkInterfaceByIDNoContent) IsServerError() bool
- func (o *PutGuestNetworkInterfaceByIDNoContent) IsSuccess() bool
- func (o *PutGuestNetworkInterfaceByIDNoContent) String() string
- type PutGuestNetworkInterfaceByIDParams
- func NewPutGuestNetworkInterfaceByIDParams() *PutGuestNetworkInterfaceByIDParams
- func NewPutGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PutGuestNetworkInterfaceByIDParams
- func NewPutGuestNetworkInterfaceByIDParamsWithHTTPClient(client *http.Client) *PutGuestNetworkInterfaceByIDParams
- func NewPutGuestNetworkInterfaceByIDParamsWithTimeout(timeout time.Duration) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) SetBody(body *models.NetworkInterface)
- func (o *PutGuestNetworkInterfaceByIDParams) SetContext(ctx context.Context)
- func (o *PutGuestNetworkInterfaceByIDParams) SetDefaults()
- func (o *PutGuestNetworkInterfaceByIDParams) SetHTTPClient(client *http.Client)
- func (o *PutGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)
- func (o *PutGuestNetworkInterfaceByIDParams) SetTimeout(timeout time.Duration)
- func (o *PutGuestNetworkInterfaceByIDParams) WithBody(body *models.NetworkInterface) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WithContext(ctx context.Context) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WithDefaults() *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WithHTTPClient(client *http.Client) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WithIfaceID(ifaceID string) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WithTimeout(timeout time.Duration) *PutGuestNetworkInterfaceByIDParams
- func (o *PutGuestNetworkInterfaceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGuestNetworkInterfaceByIDReader
- type PutGuestVsockBadRequest
- func (o *PutGuestVsockBadRequest) Code() int
- func (o *PutGuestVsockBadRequest) Error() string
- func (o *PutGuestVsockBadRequest) GetPayload() *models.Error
- func (o *PutGuestVsockBadRequest) IsClientError() bool
- func (o *PutGuestVsockBadRequest) IsCode(code int) bool
- func (o *PutGuestVsockBadRequest) IsRedirect() bool
- func (o *PutGuestVsockBadRequest) IsServerError() bool
- func (o *PutGuestVsockBadRequest) IsSuccess() bool
- func (o *PutGuestVsockBadRequest) String() string
- type PutGuestVsockDefault
- func (o *PutGuestVsockDefault) Code() int
- func (o *PutGuestVsockDefault) Error() string
- func (o *PutGuestVsockDefault) GetPayload() *models.Error
- func (o *PutGuestVsockDefault) IsClientError() bool
- func (o *PutGuestVsockDefault) IsCode(code int) bool
- func (o *PutGuestVsockDefault) IsRedirect() bool
- func (o *PutGuestVsockDefault) IsServerError() bool
- func (o *PutGuestVsockDefault) IsSuccess() bool
- func (o *PutGuestVsockDefault) String() string
- type PutGuestVsockNoContent
- func (o *PutGuestVsockNoContent) Code() int
- func (o *PutGuestVsockNoContent) Error() string
- func (o *PutGuestVsockNoContent) IsClientError() bool
- func (o *PutGuestVsockNoContent) IsCode(code int) bool
- func (o *PutGuestVsockNoContent) IsRedirect() bool
- func (o *PutGuestVsockNoContent) IsServerError() bool
- func (o *PutGuestVsockNoContent) IsSuccess() bool
- func (o *PutGuestVsockNoContent) String() string
- type PutGuestVsockParams
- func (o *PutGuestVsockParams) SetBody(body *models.Vsock)
- func (o *PutGuestVsockParams) SetContext(ctx context.Context)
- func (o *PutGuestVsockParams) SetDefaults()
- func (o *PutGuestVsockParams) SetHTTPClient(client *http.Client)
- func (o *PutGuestVsockParams) SetTimeout(timeout time.Duration)
- func (o *PutGuestVsockParams) WithBody(body *models.Vsock) *PutGuestVsockParams
- func (o *PutGuestVsockParams) WithContext(ctx context.Context) *PutGuestVsockParams
- func (o *PutGuestVsockParams) WithDefaults() *PutGuestVsockParams
- func (o *PutGuestVsockParams) WithHTTPClient(client *http.Client) *PutGuestVsockParams
- func (o *PutGuestVsockParams) WithTimeout(timeout time.Duration) *PutGuestVsockParams
- func (o *PutGuestVsockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGuestVsockReader
- type PutLoggerBadRequest
- func (o *PutLoggerBadRequest) Code() int
- func (o *PutLoggerBadRequest) Error() string
- func (o *PutLoggerBadRequest) GetPayload() *models.Error
- func (o *PutLoggerBadRequest) IsClientError() bool
- func (o *PutLoggerBadRequest) IsCode(code int) bool
- func (o *PutLoggerBadRequest) IsRedirect() bool
- func (o *PutLoggerBadRequest) IsServerError() bool
- func (o *PutLoggerBadRequest) IsSuccess() bool
- func (o *PutLoggerBadRequest) String() string
- type PutLoggerDefault
- func (o *PutLoggerDefault) Code() int
- func (o *PutLoggerDefault) Error() string
- func (o *PutLoggerDefault) GetPayload() *models.Error
- func (o *PutLoggerDefault) IsClientError() bool
- func (o *PutLoggerDefault) IsCode(code int) bool
- func (o *PutLoggerDefault) IsRedirect() bool
- func (o *PutLoggerDefault) IsServerError() bool
- func (o *PutLoggerDefault) IsSuccess() bool
- func (o *PutLoggerDefault) String() string
- type PutLoggerNoContent
- func (o *PutLoggerNoContent) Code() int
- func (o *PutLoggerNoContent) Error() string
- func (o *PutLoggerNoContent) IsClientError() bool
- func (o *PutLoggerNoContent) IsCode(code int) bool
- func (o *PutLoggerNoContent) IsRedirect() bool
- func (o *PutLoggerNoContent) IsServerError() bool
- func (o *PutLoggerNoContent) IsSuccess() bool
- func (o *PutLoggerNoContent) String() string
- type PutLoggerParams
- func (o *PutLoggerParams) SetBody(body *models.Logger)
- func (o *PutLoggerParams) SetContext(ctx context.Context)
- func (o *PutLoggerParams) SetDefaults()
- func (o *PutLoggerParams) SetHTTPClient(client *http.Client)
- func (o *PutLoggerParams) SetTimeout(timeout time.Duration)
- func (o *PutLoggerParams) WithBody(body *models.Logger) *PutLoggerParams
- func (o *PutLoggerParams) WithContext(ctx context.Context) *PutLoggerParams
- func (o *PutLoggerParams) WithDefaults() *PutLoggerParams
- func (o *PutLoggerParams) WithHTTPClient(client *http.Client) *PutLoggerParams
- func (o *PutLoggerParams) WithTimeout(timeout time.Duration) *PutLoggerParams
- func (o *PutLoggerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutLoggerReader
- type PutMachineConfigurationBadRequest
- func (o *PutMachineConfigurationBadRequest) Code() int
- func (o *PutMachineConfigurationBadRequest) Error() string
- func (o *PutMachineConfigurationBadRequest) GetPayload() *models.Error
- func (o *PutMachineConfigurationBadRequest) IsClientError() bool
- func (o *PutMachineConfigurationBadRequest) IsCode(code int) bool
- func (o *PutMachineConfigurationBadRequest) IsRedirect() bool
- func (o *PutMachineConfigurationBadRequest) IsServerError() bool
- func (o *PutMachineConfigurationBadRequest) IsSuccess() bool
- func (o *PutMachineConfigurationBadRequest) String() string
- type PutMachineConfigurationDefault
- func (o *PutMachineConfigurationDefault) Code() int
- func (o *PutMachineConfigurationDefault) Error() string
- func (o *PutMachineConfigurationDefault) GetPayload() *models.Error
- func (o *PutMachineConfigurationDefault) IsClientError() bool
- func (o *PutMachineConfigurationDefault) IsCode(code int) bool
- func (o *PutMachineConfigurationDefault) IsRedirect() bool
- func (o *PutMachineConfigurationDefault) IsServerError() bool
- func (o *PutMachineConfigurationDefault) IsSuccess() bool
- func (o *PutMachineConfigurationDefault) String() string
- type PutMachineConfigurationNoContent
- func (o *PutMachineConfigurationNoContent) Code() int
- func (o *PutMachineConfigurationNoContent) Error() string
- func (o *PutMachineConfigurationNoContent) IsClientError() bool
- func (o *PutMachineConfigurationNoContent) IsCode(code int) bool
- func (o *PutMachineConfigurationNoContent) IsRedirect() bool
- func (o *PutMachineConfigurationNoContent) IsServerError() bool
- func (o *PutMachineConfigurationNoContent) IsSuccess() bool
- func (o *PutMachineConfigurationNoContent) String() string
- type PutMachineConfigurationParams
- func NewPutMachineConfigurationParams() *PutMachineConfigurationParams
- func NewPutMachineConfigurationParamsWithContext(ctx context.Context) *PutMachineConfigurationParams
- func NewPutMachineConfigurationParamsWithHTTPClient(client *http.Client) *PutMachineConfigurationParams
- func NewPutMachineConfigurationParamsWithTimeout(timeout time.Duration) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) SetBody(body *models.MachineConfiguration)
- func (o *PutMachineConfigurationParams) SetContext(ctx context.Context)
- func (o *PutMachineConfigurationParams) SetDefaults()
- func (o *PutMachineConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *PutMachineConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *PutMachineConfigurationParams) WithBody(body *models.MachineConfiguration) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) WithContext(ctx context.Context) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) WithDefaults() *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) WithHTTPClient(client *http.Client) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) WithTimeout(timeout time.Duration) *PutMachineConfigurationParams
- func (o *PutMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutMachineConfigurationReader
- type PutMetricsBadRequest
- func (o *PutMetricsBadRequest) Code() int
- func (o *PutMetricsBadRequest) Error() string
- func (o *PutMetricsBadRequest) GetPayload() *models.Error
- func (o *PutMetricsBadRequest) IsClientError() bool
- func (o *PutMetricsBadRequest) IsCode(code int) bool
- func (o *PutMetricsBadRequest) IsRedirect() bool
- func (o *PutMetricsBadRequest) IsServerError() bool
- func (o *PutMetricsBadRequest) IsSuccess() bool
- func (o *PutMetricsBadRequest) String() string
- type PutMetricsDefault
- func (o *PutMetricsDefault) Code() int
- func (o *PutMetricsDefault) Error() string
- func (o *PutMetricsDefault) GetPayload() *models.Error
- func (o *PutMetricsDefault) IsClientError() bool
- func (o *PutMetricsDefault) IsCode(code int) bool
- func (o *PutMetricsDefault) IsRedirect() bool
- func (o *PutMetricsDefault) IsServerError() bool
- func (o *PutMetricsDefault) IsSuccess() bool
- func (o *PutMetricsDefault) String() string
- type PutMetricsNoContent
- func (o *PutMetricsNoContent) Code() int
- func (o *PutMetricsNoContent) Error() string
- func (o *PutMetricsNoContent) IsClientError() bool
- func (o *PutMetricsNoContent) IsCode(code int) bool
- func (o *PutMetricsNoContent) IsRedirect() bool
- func (o *PutMetricsNoContent) IsServerError() bool
- func (o *PutMetricsNoContent) IsSuccess() bool
- func (o *PutMetricsNoContent) String() string
- type PutMetricsParams
- func (o *PutMetricsParams) SetBody(body *models.Metrics)
- func (o *PutMetricsParams) SetContext(ctx context.Context)
- func (o *PutMetricsParams) SetDefaults()
- func (o *PutMetricsParams) SetHTTPClient(client *http.Client)
- func (o *PutMetricsParams) SetTimeout(timeout time.Duration)
- func (o *PutMetricsParams) WithBody(body *models.Metrics) *PutMetricsParams
- func (o *PutMetricsParams) WithContext(ctx context.Context) *PutMetricsParams
- func (o *PutMetricsParams) WithDefaults() *PutMetricsParams
- func (o *PutMetricsParams) WithHTTPClient(client *http.Client) *PutMetricsParams
- func (o *PutMetricsParams) WithTimeout(timeout time.Duration) *PutMetricsParams
- func (o *PutMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutMetricsReader
- type PutMmdsBadRequest
- func (o *PutMmdsBadRequest) Code() int
- func (o *PutMmdsBadRequest) Error() string
- func (o *PutMmdsBadRequest) GetPayload() *models.Error
- func (o *PutMmdsBadRequest) IsClientError() bool
- func (o *PutMmdsBadRequest) IsCode(code int) bool
- func (o *PutMmdsBadRequest) IsRedirect() bool
- func (o *PutMmdsBadRequest) IsServerError() bool
- func (o *PutMmdsBadRequest) IsSuccess() bool
- func (o *PutMmdsBadRequest) String() string
- type PutMmdsConfigBadRequest
- func (o *PutMmdsConfigBadRequest) Code() int
- func (o *PutMmdsConfigBadRequest) Error() string
- func (o *PutMmdsConfigBadRequest) GetPayload() *models.Error
- func (o *PutMmdsConfigBadRequest) IsClientError() bool
- func (o *PutMmdsConfigBadRequest) IsCode(code int) bool
- func (o *PutMmdsConfigBadRequest) IsRedirect() bool
- func (o *PutMmdsConfigBadRequest) IsServerError() bool
- func (o *PutMmdsConfigBadRequest) IsSuccess() bool
- func (o *PutMmdsConfigBadRequest) String() string
- type PutMmdsConfigDefault
- func (o *PutMmdsConfigDefault) Code() int
- func (o *PutMmdsConfigDefault) Error() string
- func (o *PutMmdsConfigDefault) GetPayload() *models.Error
- func (o *PutMmdsConfigDefault) IsClientError() bool
- func (o *PutMmdsConfigDefault) IsCode(code int) bool
- func (o *PutMmdsConfigDefault) IsRedirect() bool
- func (o *PutMmdsConfigDefault) IsServerError() bool
- func (o *PutMmdsConfigDefault) IsSuccess() bool
- func (o *PutMmdsConfigDefault) String() string
- type PutMmdsConfigNoContent
- func (o *PutMmdsConfigNoContent) Code() int
- func (o *PutMmdsConfigNoContent) Error() string
- func (o *PutMmdsConfigNoContent) IsClientError() bool
- func (o *PutMmdsConfigNoContent) IsCode(code int) bool
- func (o *PutMmdsConfigNoContent) IsRedirect() bool
- func (o *PutMmdsConfigNoContent) IsServerError() bool
- func (o *PutMmdsConfigNoContent) IsSuccess() bool
- func (o *PutMmdsConfigNoContent) String() string
- type PutMmdsConfigParams
- func (o *PutMmdsConfigParams) SetBody(body *models.MmdsConfig)
- func (o *PutMmdsConfigParams) SetContext(ctx context.Context)
- func (o *PutMmdsConfigParams) SetDefaults()
- func (o *PutMmdsConfigParams) SetHTTPClient(client *http.Client)
- func (o *PutMmdsConfigParams) SetTimeout(timeout time.Duration)
- func (o *PutMmdsConfigParams) WithBody(body *models.MmdsConfig) *PutMmdsConfigParams
- func (o *PutMmdsConfigParams) WithContext(ctx context.Context) *PutMmdsConfigParams
- func (o *PutMmdsConfigParams) WithDefaults() *PutMmdsConfigParams
- func (o *PutMmdsConfigParams) WithHTTPClient(client *http.Client) *PutMmdsConfigParams
- func (o *PutMmdsConfigParams) WithTimeout(timeout time.Duration) *PutMmdsConfigParams
- func (o *PutMmdsConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutMmdsConfigReader
- type PutMmdsDefault
- func (o *PutMmdsDefault) Code() int
- func (o *PutMmdsDefault) Error() string
- func (o *PutMmdsDefault) GetPayload() *models.Error
- func (o *PutMmdsDefault) IsClientError() bool
- func (o *PutMmdsDefault) IsCode(code int) bool
- func (o *PutMmdsDefault) IsRedirect() bool
- func (o *PutMmdsDefault) IsServerError() bool
- func (o *PutMmdsDefault) IsSuccess() bool
- func (o *PutMmdsDefault) String() string
- type PutMmdsNoContent
- func (o *PutMmdsNoContent) Code() int
- func (o *PutMmdsNoContent) Error() string
- func (o *PutMmdsNoContent) IsClientError() bool
- func (o *PutMmdsNoContent) IsCode(code int) bool
- func (o *PutMmdsNoContent) IsRedirect() bool
- func (o *PutMmdsNoContent) IsServerError() bool
- func (o *PutMmdsNoContent) IsSuccess() bool
- func (o *PutMmdsNoContent) String() string
- type PutMmdsParams
- func (o *PutMmdsParams) SetBody(body models.MmdsContentsObject)
- func (o *PutMmdsParams) SetContext(ctx context.Context)
- func (o *PutMmdsParams) SetDefaults()
- func (o *PutMmdsParams) SetHTTPClient(client *http.Client)
- func (o *PutMmdsParams) SetTimeout(timeout time.Duration)
- func (o *PutMmdsParams) WithBody(body models.MmdsContentsObject) *PutMmdsParams
- func (o *PutMmdsParams) WithContext(ctx context.Context) *PutMmdsParams
- func (o *PutMmdsParams) WithDefaults() *PutMmdsParams
- func (o *PutMmdsParams) WithHTTPClient(client *http.Client) *PutMmdsParams
- func (o *PutMmdsParams) WithTimeout(timeout time.Duration) *PutMmdsParams
- func (o *PutMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutMmdsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func (*Client) CreateSnapshot ¶
func (a *Client) CreateSnapshot(params *CreateSnapshotParams, opts ...ClientOption) (*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, opts ...ClientOption) (*CreateSyncActionNoContent, error)
CreateSyncAction creates a synchronous action
func (*Client) DescribeBalloonConfig ¶
func (a *Client) DescribeBalloonConfig(params *DescribeBalloonConfigParams, opts ...ClientOption) (*DescribeBalloonConfigOK, error)
DescribeBalloonConfig returns the current balloon device configuration
func (*Client) DescribeBalloonStats ¶
func (a *Client) DescribeBalloonStats(params *DescribeBalloonStatsParams, opts ...ClientOption) (*DescribeBalloonStatsOK, error)
DescribeBalloonStats returns the latest balloon device statistics only if enabled pre boot
func (*Client) DescribeInstance ¶
func (a *Client) DescribeInstance(params *DescribeInstanceParams, opts ...ClientOption) (*DescribeInstanceOK, error)
DescribeInstance returns general information about an instance
func (*Client) GetExportVMConfig ¶
func (a *Client) GetExportVMConfig(params *GetExportVMConfigParams, opts ...ClientOption) (*GetExportVMConfigOK, error)
GetExportVMConfig gets the full VM configuration
Gets configuration for all VM resources. If the VM is restored from a snapshot, the boot-source, machine-config.smt and machine-config.cpu_template will be empty.
func (*Client) GetFirecrackerVersion ¶
func (a *Client) GetFirecrackerVersion(params *GetFirecrackerVersionParams, opts ...ClientOption) (*GetFirecrackerVersionOK, error)
GetFirecrackerVersion gets the firecracker version
func (*Client) GetMachineConfiguration ¶
func (a *Client) GetMachineConfiguration(params *GetMachineConfigurationParams, opts ...ClientOption) (*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, opts ...ClientOption) (*GetMmdsOK, error)
GetMmds gets the m m d s data store
func (*Client) LoadSnapshot ¶
func (a *Client) LoadSnapshot(params *LoadSnapshotParams, opts ...ClientOption) (*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 ¶
func (a *Client) PatchBalloon(params *PatchBalloonParams, opts ...ClientOption) (*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 ¶
func (a *Client) PatchBalloonStatsInterval(params *PatchBalloonStatsIntervalParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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 ¶
func (a *Client) PatchMachineConfiguration(params *PatchMachineConfigurationParams, opts ...ClientOption) (*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, opts ...ClientOption) (*PatchMmdsNoContent, error)
PatchMmds updates the m m d s data store
func (*Client) PatchVM ¶
func (a *Client) PatchVM(params *PatchVMParams, opts ...ClientOption) (*PatchVMNoContent, error)
PatchVM updates the micro VM state
Sets the desired state (Paused or Resumed) for the microVM.
func (*Client) PutBalloon ¶
func (a *Client) PutBalloon(params *PutBalloonParams, opts ...ClientOption) (*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) PutCPUConfiguration ¶
func (a *Client) PutCPUConfiguration(params *PutCPUConfigurationParams, opts ...ClientOption) (*PutCPUConfigurationNoContent, error)
PutCPUConfiguration configures CPU features flags for the v c p us of the guest VM pre boot only
Provides configuration to the Firecracker process to specify vCPU resource configuration prior to launching the guest machine.
func (*Client) PutEntropyDevice ¶
func (a *Client) PutEntropyDevice(params *PutEntropyDeviceParams, opts ...ClientOption) (*PutEntropyDeviceNoContent, error)
PutEntropyDevice creates an entropy device pre boot only
Enables an entropy device that provides high-quality random data to the guest.
func (*Client) PutGuestBootSource ¶
func (a *Client) PutGuestBootSource(params *PutGuestBootSourceParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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 ¶
func (a *Client) PutGuestVsock(params *PutGuestVsockParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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). The vCPU count is restricted to the [1, 32] range. With SMT enabled, the vCPU count is required to be either 1 or an even number in the range. otherwise there are no restrictions regarding the vCPU count. If 2M hugetlbfs pages are specified, then `mem_size_mib` must be a multiple of 2. If any of the parameters has an incorrect value, the whole update fails. All parameters that are optional and are not specified are set to their default values (smt = false, track_dirty_pages = false, cpu_template = None, huge_pages = None).
func (*Client) PutMetrics ¶
func (a *Client) PutMetrics(params *PutMetricsParams, opts ...ClientOption) (*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, opts ...ClientOption) (*PutMmdsNoContent, error)
PutMmds creates a m m d s microvm metadata service data store
func (*Client) PutMmdsConfig ¶
func (a *Client) PutMmdsConfig(params *PutMmdsConfigParams, opts ...ClientOption) (*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 ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateSnapshot(params *CreateSnapshotParams, opts ...ClientOption) (*CreateSnapshotNoContent, error) CreateSyncAction(params *CreateSyncActionParams, opts ...ClientOption) (*CreateSyncActionNoContent, error) DescribeBalloonConfig(params *DescribeBalloonConfigParams, opts ...ClientOption) (*DescribeBalloonConfigOK, error) DescribeBalloonStats(params *DescribeBalloonStatsParams, opts ...ClientOption) (*DescribeBalloonStatsOK, error) DescribeInstance(params *DescribeInstanceParams, opts ...ClientOption) (*DescribeInstanceOK, error) GetExportVMConfig(params *GetExportVMConfigParams, opts ...ClientOption) (*GetExportVMConfigOK, error) GetFirecrackerVersion(params *GetFirecrackerVersionParams, opts ...ClientOption) (*GetFirecrackerVersionOK, error) GetMachineConfiguration(params *GetMachineConfigurationParams, opts ...ClientOption) (*GetMachineConfigurationOK, error) GetMmds(params *GetMmdsParams, opts ...ClientOption) (*GetMmdsOK, error) LoadSnapshot(params *LoadSnapshotParams, opts ...ClientOption) (*LoadSnapshotNoContent, error) PatchBalloon(params *PatchBalloonParams, opts ...ClientOption) (*PatchBalloonNoContent, error) PatchBalloonStatsInterval(params *PatchBalloonStatsIntervalParams, opts ...ClientOption) (*PatchBalloonStatsIntervalNoContent, error) PatchGuestDriveByID(params *PatchGuestDriveByIDParams, opts ...ClientOption) (*PatchGuestDriveByIDNoContent, error) PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams, opts ...ClientOption) (*PatchGuestNetworkInterfaceByIDNoContent, error) PatchMachineConfiguration(params *PatchMachineConfigurationParams, opts ...ClientOption) (*PatchMachineConfigurationNoContent, error) PatchMmds(params *PatchMmdsParams, opts ...ClientOption) (*PatchMmdsNoContent, error) PatchVM(params *PatchVMParams, opts ...ClientOption) (*PatchVMNoContent, error) PutBalloon(params *PutBalloonParams, opts ...ClientOption) (*PutBalloonNoContent, error) PutCPUConfiguration(params *PutCPUConfigurationParams, opts ...ClientOption) (*PutCPUConfigurationNoContent, error) PutEntropyDevice(params *PutEntropyDeviceParams, opts ...ClientOption) (*PutEntropyDeviceNoContent, error) PutGuestBootSource(params *PutGuestBootSourceParams, opts ...ClientOption) (*PutGuestBootSourceNoContent, error) PutGuestDriveByID(params *PutGuestDriveByIDParams, opts ...ClientOption) (*PutGuestDriveByIDNoContent, error) PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams, opts ...ClientOption) (*PutGuestNetworkInterfaceByIDNoContent, error) PutGuestVsock(params *PutGuestVsockParams, opts ...ClientOption) (*PutGuestVsockNoContent, error) PutLogger(params *PutLoggerParams, opts ...ClientOption) (*PutLoggerNoContent, error) PutMachineConfiguration(params *PutMachineConfigurationParams, opts ...ClientOption) (*PutMachineConfigurationNoContent, error) PutMetrics(params *PutMetricsParams, opts ...ClientOption) (*PutMetricsNoContent, error) PutMmds(params *PutMmdsParams, opts ...ClientOption) (*PutMmdsNoContent, error) PutMmdsConfig(params *PutMmdsConfigParams, opts ...ClientOption) (*PutMmdsConfigNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new operations API client.
type CreateSnapshotBadRequest ¶
CreateSnapshotBadRequest describes a response with status code 400, with default header values.
Snapshot cannot be created due to bad input
func NewCreateSnapshotBadRequest ¶
func NewCreateSnapshotBadRequest() *CreateSnapshotBadRequest
NewCreateSnapshotBadRequest creates a CreateSnapshotBadRequest with default headers values
func (*CreateSnapshotBadRequest) Code ¶
func (o *CreateSnapshotBadRequest) Code() int
Code gets the status code for the create snapshot bad request response
func (*CreateSnapshotBadRequest) Error ¶
func (o *CreateSnapshotBadRequest) Error() string
func (*CreateSnapshotBadRequest) GetPayload ¶
func (o *CreateSnapshotBadRequest) GetPayload() *models.Error
func (*CreateSnapshotBadRequest) IsClientError ¶
func (o *CreateSnapshotBadRequest) IsClientError() bool
IsClientError returns true when this create snapshot bad request response has a 4xx status code
func (*CreateSnapshotBadRequest) IsCode ¶
func (o *CreateSnapshotBadRequest) IsCode(code int) bool
IsCode returns true when this create snapshot bad request response a status code equal to that given
func (*CreateSnapshotBadRequest) IsRedirect ¶
func (o *CreateSnapshotBadRequest) IsRedirect() bool
IsRedirect returns true when this create snapshot bad request response has a 3xx status code
func (*CreateSnapshotBadRequest) IsServerError ¶
func (o *CreateSnapshotBadRequest) IsServerError() bool
IsServerError returns true when this create snapshot bad request response has a 5xx status code
func (*CreateSnapshotBadRequest) IsSuccess ¶
func (o *CreateSnapshotBadRequest) IsSuccess() bool
IsSuccess returns true when this create snapshot bad request response has a 2xx status code
func (*CreateSnapshotBadRequest) String ¶
func (o *CreateSnapshotBadRequest) String() string
type CreateSnapshotDefault ¶
type CreateSnapshotDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateSnapshotDefault describes a response with status code -1, with default header values.
Internal server error
func NewCreateSnapshotDefault ¶
func NewCreateSnapshotDefault(code int) *CreateSnapshotDefault
NewCreateSnapshotDefault creates a CreateSnapshotDefault with default headers values
func (*CreateSnapshotDefault) Code ¶
func (o *CreateSnapshotDefault) Code() int
Code gets the status code for the create snapshot default response
func (*CreateSnapshotDefault) Error ¶
func (o *CreateSnapshotDefault) Error() string
func (*CreateSnapshotDefault) GetPayload ¶
func (o *CreateSnapshotDefault) GetPayload() *models.Error
func (*CreateSnapshotDefault) IsClientError ¶
func (o *CreateSnapshotDefault) IsClientError() bool
IsClientError returns true when this create snapshot default response has a 4xx status code
func (*CreateSnapshotDefault) IsCode ¶
func (o *CreateSnapshotDefault) IsCode(code int) bool
IsCode returns true when this create snapshot default response a status code equal to that given
func (*CreateSnapshotDefault) IsRedirect ¶
func (o *CreateSnapshotDefault) IsRedirect() bool
IsRedirect returns true when this create snapshot default response has a 3xx status code
func (*CreateSnapshotDefault) IsServerError ¶
func (o *CreateSnapshotDefault) IsServerError() bool
IsServerError returns true when this create snapshot default response has a 5xx status code
func (*CreateSnapshotDefault) IsSuccess ¶
func (o *CreateSnapshotDefault) IsSuccess() bool
IsSuccess returns true when this create snapshot default response has a 2xx status code
func (*CreateSnapshotDefault) String ¶
func (o *CreateSnapshotDefault) String() string
type CreateSnapshotNoContent ¶
type CreateSnapshotNoContent struct { }
CreateSnapshotNoContent describes a response with status code 204, with default header values.
Snapshot created
func NewCreateSnapshotNoContent ¶
func NewCreateSnapshotNoContent() *CreateSnapshotNoContent
NewCreateSnapshotNoContent creates a CreateSnapshotNoContent with default headers values
func (*CreateSnapshotNoContent) Code ¶
func (o *CreateSnapshotNoContent) Code() int
Code gets the status code for the create snapshot no content response
func (*CreateSnapshotNoContent) Error ¶
func (o *CreateSnapshotNoContent) Error() string
func (*CreateSnapshotNoContent) IsClientError ¶
func (o *CreateSnapshotNoContent) IsClientError() bool
IsClientError returns true when this create snapshot no content response has a 4xx status code
func (*CreateSnapshotNoContent) IsCode ¶
func (o *CreateSnapshotNoContent) IsCode(code int) bool
IsCode returns true when this create snapshot no content response a status code equal to that given
func (*CreateSnapshotNoContent) IsRedirect ¶
func (o *CreateSnapshotNoContent) IsRedirect() bool
IsRedirect returns true when this create snapshot no content response has a 3xx status code
func (*CreateSnapshotNoContent) IsServerError ¶
func (o *CreateSnapshotNoContent) IsServerError() bool
IsServerError returns true when this create snapshot no content response has a 5xx status code
func (*CreateSnapshotNoContent) IsSuccess ¶
func (o *CreateSnapshotNoContent) IsSuccess() bool
IsSuccess returns true when this create snapshot no content response has a 2xx status code
func (*CreateSnapshotNoContent) String ¶
func (o *CreateSnapshotNoContent) String() string
type CreateSnapshotParams ¶
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 ¶
func NewCreateSnapshotParams() *CreateSnapshotParams
NewCreateSnapshotParams creates a new CreateSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSnapshotParamsWithContext ¶
func NewCreateSnapshotParamsWithContext(ctx context.Context) *CreateSnapshotParams
NewCreateSnapshotParamsWithContext creates a new CreateSnapshotParams object with the ability to set a context for a request.
func NewCreateSnapshotParamsWithHTTPClient ¶
func NewCreateSnapshotParamsWithHTTPClient(client *http.Client) *CreateSnapshotParams
NewCreateSnapshotParamsWithHTTPClient creates a new CreateSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSnapshotParamsWithTimeout ¶
func NewCreateSnapshotParamsWithTimeout(timeout time.Duration) *CreateSnapshotParams
NewCreateSnapshotParamsWithTimeout creates a new CreateSnapshotParams object with the ability to set a timeout on a request.
func (*CreateSnapshotParams) SetBody ¶
func (o *CreateSnapshotParams) SetBody(body *models.SnapshotCreateParams)
SetBody adds the body to the create snapshot params
func (*CreateSnapshotParams) SetContext ¶
func (o *CreateSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the create snapshot params
func (*CreateSnapshotParams) SetDefaults ¶
func (o *CreateSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the create snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSnapshotParams) SetHTTPClient ¶
func (o *CreateSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create snapshot params
func (*CreateSnapshotParams) SetTimeout ¶
func (o *CreateSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create snapshot params
func (*CreateSnapshotParams) WithBody ¶
func (o *CreateSnapshotParams) WithBody(body *models.SnapshotCreateParams) *CreateSnapshotParams
WithBody adds the body to the create snapshot params
func (*CreateSnapshotParams) WithContext ¶
func (o *CreateSnapshotParams) WithContext(ctx context.Context) *CreateSnapshotParams
WithContext adds the context to the create snapshot params
func (*CreateSnapshotParams) WithDefaults ¶
func (o *CreateSnapshotParams) WithDefaults() *CreateSnapshotParams
WithDefaults hydrates default values in the create snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSnapshotParams) WithHTTPClient ¶
func (o *CreateSnapshotParams) WithHTTPClient(client *http.Client) *CreateSnapshotParams
WithHTTPClient adds the HTTPClient to the create snapshot params
func (*CreateSnapshotParams) WithTimeout ¶
func (o *CreateSnapshotParams) WithTimeout(timeout time.Duration) *CreateSnapshotParams
WithTimeout adds the timeout to the create snapshot params
func (*CreateSnapshotParams) WriteToRequest ¶
func (o *CreateSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSnapshotReader ¶
type CreateSnapshotReader struct {
// contains filtered or unexported fields
}
CreateSnapshotReader is a Reader for the CreateSnapshot structure.
func (*CreateSnapshotReader) ReadResponse ¶
func (o *CreateSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSyncActionBadRequest ¶
CreateSyncActionBadRequest describes a response with status code 400, 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) Code ¶
func (o *CreateSyncActionBadRequest) Code() int
Code gets the status code for the create sync action bad request response
func (*CreateSyncActionBadRequest) Error ¶
func (o *CreateSyncActionBadRequest) Error() string
func (*CreateSyncActionBadRequest) GetPayload ¶
func (o *CreateSyncActionBadRequest) GetPayload() *models.Error
func (*CreateSyncActionBadRequest) IsClientError ¶
func (o *CreateSyncActionBadRequest) IsClientError() bool
IsClientError returns true when this create sync action bad request response has a 4xx status code
func (*CreateSyncActionBadRequest) IsCode ¶
func (o *CreateSyncActionBadRequest) IsCode(code int) bool
IsCode returns true when this create sync action bad request response a status code equal to that given
func (*CreateSyncActionBadRequest) IsRedirect ¶
func (o *CreateSyncActionBadRequest) IsRedirect() bool
IsRedirect returns true when this create sync action bad request response has a 3xx status code
func (*CreateSyncActionBadRequest) IsServerError ¶
func (o *CreateSyncActionBadRequest) IsServerError() bool
IsServerError returns true when this create sync action bad request response has a 5xx status code
func (*CreateSyncActionBadRequest) IsSuccess ¶
func (o *CreateSyncActionBadRequest) IsSuccess() bool
IsSuccess returns true when this create sync action bad request response has a 2xx status code
func (*CreateSyncActionBadRequest) String ¶
func (o *CreateSyncActionBadRequest) String() string
type CreateSyncActionDefault ¶
type CreateSyncActionDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateSyncActionDefault describes a response with status code -1, 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 ¶
func (o *CreateSyncActionDefault) GetPayload() *models.Error
func (*CreateSyncActionDefault) IsClientError ¶
func (o *CreateSyncActionDefault) IsClientError() bool
IsClientError returns true when this create sync action default response has a 4xx status code
func (*CreateSyncActionDefault) IsCode ¶
func (o *CreateSyncActionDefault) IsCode(code int) bool
IsCode returns true when this create sync action default response a status code equal to that given
func (*CreateSyncActionDefault) IsRedirect ¶
func (o *CreateSyncActionDefault) IsRedirect() bool
IsRedirect returns true when this create sync action default response has a 3xx status code
func (*CreateSyncActionDefault) IsServerError ¶
func (o *CreateSyncActionDefault) IsServerError() bool
IsServerError returns true when this create sync action default response has a 5xx status code
func (*CreateSyncActionDefault) IsSuccess ¶
func (o *CreateSyncActionDefault) IsSuccess() bool
IsSuccess returns true when this create sync action default response has a 2xx status code
func (*CreateSyncActionDefault) String ¶
func (o *CreateSyncActionDefault) String() string
type CreateSyncActionNoContent ¶
type CreateSyncActionNoContent struct { }
CreateSyncActionNoContent describes a response with status code 204, with default header values.
The update was successful
func NewCreateSyncActionNoContent ¶
func NewCreateSyncActionNoContent() *CreateSyncActionNoContent
NewCreateSyncActionNoContent creates a CreateSyncActionNoContent with default headers values
func (*CreateSyncActionNoContent) Code ¶
func (o *CreateSyncActionNoContent) Code() int
Code gets the status code for the create sync action no content response
func (*CreateSyncActionNoContent) Error ¶
func (o *CreateSyncActionNoContent) Error() string
func (*CreateSyncActionNoContent) IsClientError ¶
func (o *CreateSyncActionNoContent) IsClientError() bool
IsClientError returns true when this create sync action no content response has a 4xx status code
func (*CreateSyncActionNoContent) IsCode ¶
func (o *CreateSyncActionNoContent) IsCode(code int) bool
IsCode returns true when this create sync action no content response a status code equal to that given
func (*CreateSyncActionNoContent) IsRedirect ¶
func (o *CreateSyncActionNoContent) IsRedirect() bool
IsRedirect returns true when this create sync action no content response has a 3xx status code
func (*CreateSyncActionNoContent) IsServerError ¶
func (o *CreateSyncActionNoContent) IsServerError() bool
IsServerError returns true when this create sync action no content response has a 5xx status code
func (*CreateSyncActionNoContent) IsSuccess ¶
func (o *CreateSyncActionNoContent) IsSuccess() bool
IsSuccess returns true when this create sync action no content response has a 2xx status code
func (*CreateSyncActionNoContent) String ¶
func (o *CreateSyncActionNoContent) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSyncActionParamsWithContext ¶
func NewCreateSyncActionParamsWithContext(ctx context.Context) *CreateSyncActionParams
NewCreateSyncActionParamsWithContext creates a new CreateSyncActionParams object with 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 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 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) SetDefaults ¶
func (o *CreateSyncActionParams) SetDefaults()
SetDefaults hydrates default values in the create sync action params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSyncActionParams) SetHTTPClient ¶
func (o *CreateSyncActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create sync action params
func (*CreateSyncActionParams) SetInfo ¶
func (o *CreateSyncActionParams) SetInfo(info *models.InstanceActionInfo)
SetInfo adds the info to the create sync action params
func (*CreateSyncActionParams) SetTimeout ¶
func (o *CreateSyncActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create sync action params
func (*CreateSyncActionParams) WithContext ¶
func (o *CreateSyncActionParams) WithContext(ctx context.Context) *CreateSyncActionParams
WithContext adds the context to the create sync action params
func (*CreateSyncActionParams) WithDefaults ¶
func (o *CreateSyncActionParams) WithDefaults() *CreateSyncActionParams
WithDefaults hydrates default values in the create sync action params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSyncActionParams) WithHTTPClient ¶
func (o *CreateSyncActionParams) WithHTTPClient(client *http.Client) *CreateSyncActionParams
WithHTTPClient adds the HTTPClient to the create sync action params
func (*CreateSyncActionParams) WithInfo ¶
func (o *CreateSyncActionParams) WithInfo(info *models.InstanceActionInfo) *CreateSyncActionParams
WithInfo adds the info to the create sync action params
func (*CreateSyncActionParams) WithTimeout ¶
func (o *CreateSyncActionParams) WithTimeout(timeout time.Duration) *CreateSyncActionParams
WithTimeout adds the timeout to the create sync action params
func (*CreateSyncActionParams) WriteToRequest ¶
func (o *CreateSyncActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSyncActionReader ¶
type CreateSyncActionReader struct {
// contains filtered or unexported fields
}
CreateSyncActionReader is a Reader for the CreateSyncAction structure.
func (*CreateSyncActionReader) ReadResponse ¶
func (o *CreateSyncActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeBalloonConfigBadRequest ¶
DescribeBalloonConfigBadRequest describes a response with status code 400, with default header values.
Balloon device not configured.
func NewDescribeBalloonConfigBadRequest ¶
func NewDescribeBalloonConfigBadRequest() *DescribeBalloonConfigBadRequest
NewDescribeBalloonConfigBadRequest creates a DescribeBalloonConfigBadRequest with default headers values
func (*DescribeBalloonConfigBadRequest) Code ¶
func (o *DescribeBalloonConfigBadRequest) Code() int
Code gets the status code for the describe balloon config bad request response
func (*DescribeBalloonConfigBadRequest) Error ¶
func (o *DescribeBalloonConfigBadRequest) Error() string
func (*DescribeBalloonConfigBadRequest) GetPayload ¶
func (o *DescribeBalloonConfigBadRequest) GetPayload() *models.Error
func (*DescribeBalloonConfigBadRequest) IsClientError ¶
func (o *DescribeBalloonConfigBadRequest) IsClientError() bool
IsClientError returns true when this describe balloon config bad request response has a 4xx status code
func (*DescribeBalloonConfigBadRequest) IsCode ¶
func (o *DescribeBalloonConfigBadRequest) IsCode(code int) bool
IsCode returns true when this describe balloon config bad request response a status code equal to that given
func (*DescribeBalloonConfigBadRequest) IsRedirect ¶
func (o *DescribeBalloonConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this describe balloon config bad request response has a 3xx status code
func (*DescribeBalloonConfigBadRequest) IsServerError ¶
func (o *DescribeBalloonConfigBadRequest) IsServerError() bool
IsServerError returns true when this describe balloon config bad request response has a 5xx status code
func (*DescribeBalloonConfigBadRequest) IsSuccess ¶
func (o *DescribeBalloonConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this describe balloon config bad request response has a 2xx status code
func (*DescribeBalloonConfigBadRequest) String ¶
func (o *DescribeBalloonConfigBadRequest) String() string
type DescribeBalloonConfigDefault ¶
type DescribeBalloonConfigDefault struct { Payload *models.Error // contains filtered or unexported fields }
DescribeBalloonConfigDefault describes a response with status code -1, with default header values.
Internal Server Error
func NewDescribeBalloonConfigDefault ¶
func NewDescribeBalloonConfigDefault(code int) *DescribeBalloonConfigDefault
NewDescribeBalloonConfigDefault creates a DescribeBalloonConfigDefault with default headers values
func (*DescribeBalloonConfigDefault) Code ¶
func (o *DescribeBalloonConfigDefault) Code() int
Code gets the status code for the describe balloon config default response
func (*DescribeBalloonConfigDefault) Error ¶
func (o *DescribeBalloonConfigDefault) Error() string
func (*DescribeBalloonConfigDefault) GetPayload ¶
func (o *DescribeBalloonConfigDefault) GetPayload() *models.Error
func (*DescribeBalloonConfigDefault) IsClientError ¶
func (o *DescribeBalloonConfigDefault) IsClientError() bool
IsClientError returns true when this describe balloon config default response has a 4xx status code
func (*DescribeBalloonConfigDefault) IsCode ¶
func (o *DescribeBalloonConfigDefault) IsCode(code int) bool
IsCode returns true when this describe balloon config default response a status code equal to that given
func (*DescribeBalloonConfigDefault) IsRedirect ¶
func (o *DescribeBalloonConfigDefault) IsRedirect() bool
IsRedirect returns true when this describe balloon config default response has a 3xx status code
func (*DescribeBalloonConfigDefault) IsServerError ¶
func (o *DescribeBalloonConfigDefault) IsServerError() bool
IsServerError returns true when this describe balloon config default response has a 5xx status code
func (*DescribeBalloonConfigDefault) IsSuccess ¶
func (o *DescribeBalloonConfigDefault) IsSuccess() bool
IsSuccess returns true when this describe balloon config default response has a 2xx status code
func (*DescribeBalloonConfigDefault) String ¶
func (o *DescribeBalloonConfigDefault) String() string
type DescribeBalloonConfigOK ¶
DescribeBalloonConfigOK describes a response with status code 200, with default header values.
The balloon device configuration
func NewDescribeBalloonConfigOK ¶
func NewDescribeBalloonConfigOK() *DescribeBalloonConfigOK
NewDescribeBalloonConfigOK creates a DescribeBalloonConfigOK with default headers values
func (*DescribeBalloonConfigOK) Code ¶
func (o *DescribeBalloonConfigOK) Code() int
Code gets the status code for the describe balloon config o k response
func (*DescribeBalloonConfigOK) Error ¶
func (o *DescribeBalloonConfigOK) Error() string
func (*DescribeBalloonConfigOK) GetPayload ¶
func (o *DescribeBalloonConfigOK) GetPayload() *models.Balloon
func (*DescribeBalloonConfigOK) IsClientError ¶
func (o *DescribeBalloonConfigOK) IsClientError() bool
IsClientError returns true when this describe balloon config o k response has a 4xx status code
func (*DescribeBalloonConfigOK) IsCode ¶
func (o *DescribeBalloonConfigOK) IsCode(code int) bool
IsCode returns true when this describe balloon config o k response a status code equal to that given
func (*DescribeBalloonConfigOK) IsRedirect ¶
func (o *DescribeBalloonConfigOK) IsRedirect() bool
IsRedirect returns true when this describe balloon config o k response has a 3xx status code
func (*DescribeBalloonConfigOK) IsServerError ¶
func (o *DescribeBalloonConfigOK) IsServerError() bool
IsServerError returns true when this describe balloon config o k response has a 5xx status code
func (*DescribeBalloonConfigOK) IsSuccess ¶
func (o *DescribeBalloonConfigOK) IsSuccess() bool
IsSuccess returns true when this describe balloon config o k response has a 2xx status code
func (*DescribeBalloonConfigOK) String ¶
func (o *DescribeBalloonConfigOK) String() string
type DescribeBalloonConfigParams ¶
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 ¶
func NewDescribeBalloonConfigParams() *DescribeBalloonConfigParams
NewDescribeBalloonConfigParams creates a new DescribeBalloonConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDescribeBalloonConfigParamsWithContext ¶
func NewDescribeBalloonConfigParamsWithContext(ctx context.Context) *DescribeBalloonConfigParams
NewDescribeBalloonConfigParamsWithContext creates a new DescribeBalloonConfigParams object with the ability to set a context for a request.
func NewDescribeBalloonConfigParamsWithHTTPClient ¶
func NewDescribeBalloonConfigParamsWithHTTPClient(client *http.Client) *DescribeBalloonConfigParams
NewDescribeBalloonConfigParamsWithHTTPClient creates a new DescribeBalloonConfigParams object with the ability to set a custom HTTPClient for a request.
func NewDescribeBalloonConfigParamsWithTimeout ¶
func NewDescribeBalloonConfigParamsWithTimeout(timeout time.Duration) *DescribeBalloonConfigParams
NewDescribeBalloonConfigParamsWithTimeout creates a new DescribeBalloonConfigParams object with the ability to set a timeout on a request.
func (*DescribeBalloonConfigParams) SetContext ¶
func (o *DescribeBalloonConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the describe balloon config params
func (*DescribeBalloonConfigParams) SetDefaults ¶
func (o *DescribeBalloonConfigParams) SetDefaults()
SetDefaults hydrates default values in the describe balloon config params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeBalloonConfigParams) SetHTTPClient ¶
func (o *DescribeBalloonConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe balloon config params
func (*DescribeBalloonConfigParams) SetTimeout ¶
func (o *DescribeBalloonConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe balloon config params
func (*DescribeBalloonConfigParams) WithContext ¶
func (o *DescribeBalloonConfigParams) WithContext(ctx context.Context) *DescribeBalloonConfigParams
WithContext adds the context to the describe balloon config params
func (*DescribeBalloonConfigParams) WithDefaults ¶
func (o *DescribeBalloonConfigParams) WithDefaults() *DescribeBalloonConfigParams
WithDefaults hydrates default values in the describe balloon config params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeBalloonConfigParams) WithHTTPClient ¶
func (o *DescribeBalloonConfigParams) WithHTTPClient(client *http.Client) *DescribeBalloonConfigParams
WithHTTPClient adds the HTTPClient to the describe balloon config params
func (*DescribeBalloonConfigParams) WithTimeout ¶
func (o *DescribeBalloonConfigParams) WithTimeout(timeout time.Duration) *DescribeBalloonConfigParams
WithTimeout adds the timeout to the describe balloon config params
func (*DescribeBalloonConfigParams) WriteToRequest ¶
func (o *DescribeBalloonConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeBalloonConfigReader ¶
type DescribeBalloonConfigReader struct {
// contains filtered or unexported fields
}
DescribeBalloonConfigReader is a Reader for the DescribeBalloonConfig structure.
func (*DescribeBalloonConfigReader) ReadResponse ¶
func (o *DescribeBalloonConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribeBalloonStatsBadRequest ¶
DescribeBalloonStatsBadRequest describes a response with status code 400, with default header values.
The balloon device statistics were not enabled when the device was configured.
func NewDescribeBalloonStatsBadRequest ¶
func NewDescribeBalloonStatsBadRequest() *DescribeBalloonStatsBadRequest
NewDescribeBalloonStatsBadRequest creates a DescribeBalloonStatsBadRequest with default headers values
func (*DescribeBalloonStatsBadRequest) Code ¶
func (o *DescribeBalloonStatsBadRequest) Code() int
Code gets the status code for the describe balloon stats bad request response
func (*DescribeBalloonStatsBadRequest) Error ¶
func (o *DescribeBalloonStatsBadRequest) Error() string
func (*DescribeBalloonStatsBadRequest) GetPayload ¶
func (o *DescribeBalloonStatsBadRequest) GetPayload() *models.Error
func (*DescribeBalloonStatsBadRequest) IsClientError ¶
func (o *DescribeBalloonStatsBadRequest) IsClientError() bool
IsClientError returns true when this describe balloon stats bad request response has a 4xx status code
func (*DescribeBalloonStatsBadRequest) IsCode ¶
func (o *DescribeBalloonStatsBadRequest) IsCode(code int) bool
IsCode returns true when this describe balloon stats bad request response a status code equal to that given
func (*DescribeBalloonStatsBadRequest) IsRedirect ¶
func (o *DescribeBalloonStatsBadRequest) IsRedirect() bool
IsRedirect returns true when this describe balloon stats bad request response has a 3xx status code
func (*DescribeBalloonStatsBadRequest) IsServerError ¶
func (o *DescribeBalloonStatsBadRequest) IsServerError() bool
IsServerError returns true when this describe balloon stats bad request response has a 5xx status code
func (*DescribeBalloonStatsBadRequest) IsSuccess ¶
func (o *DescribeBalloonStatsBadRequest) IsSuccess() bool
IsSuccess returns true when this describe balloon stats bad request response has a 2xx status code
func (*DescribeBalloonStatsBadRequest) String ¶
func (o *DescribeBalloonStatsBadRequest) String() string
type DescribeBalloonStatsDefault ¶
type DescribeBalloonStatsDefault struct { Payload *models.Error // contains filtered or unexported fields }
DescribeBalloonStatsDefault describes a response with status code -1, with default header values.
Internal Server Error
func NewDescribeBalloonStatsDefault ¶
func NewDescribeBalloonStatsDefault(code int) *DescribeBalloonStatsDefault
NewDescribeBalloonStatsDefault creates a DescribeBalloonStatsDefault with default headers values
func (*DescribeBalloonStatsDefault) Code ¶
func (o *DescribeBalloonStatsDefault) Code() int
Code gets the status code for the describe balloon stats default response
func (*DescribeBalloonStatsDefault) Error ¶
func (o *DescribeBalloonStatsDefault) Error() string
func (*DescribeBalloonStatsDefault) GetPayload ¶
func (o *DescribeBalloonStatsDefault) GetPayload() *models.Error
func (*DescribeBalloonStatsDefault) IsClientError ¶
func (o *DescribeBalloonStatsDefault) IsClientError() bool
IsClientError returns true when this describe balloon stats default response has a 4xx status code
func (*DescribeBalloonStatsDefault) IsCode ¶
func (o *DescribeBalloonStatsDefault) IsCode(code int) bool
IsCode returns true when this describe balloon stats default response a status code equal to that given
func (*DescribeBalloonStatsDefault) IsRedirect ¶
func (o *DescribeBalloonStatsDefault) IsRedirect() bool
IsRedirect returns true when this describe balloon stats default response has a 3xx status code
func (*DescribeBalloonStatsDefault) IsServerError ¶
func (o *DescribeBalloonStatsDefault) IsServerError() bool
IsServerError returns true when this describe balloon stats default response has a 5xx status code
func (*DescribeBalloonStatsDefault) IsSuccess ¶
func (o *DescribeBalloonStatsDefault) IsSuccess() bool
IsSuccess returns true when this describe balloon stats default response has a 2xx status code
func (*DescribeBalloonStatsDefault) String ¶
func (o *DescribeBalloonStatsDefault) String() string
type DescribeBalloonStatsOK ¶
type DescribeBalloonStatsOK struct {
Payload *models.BalloonStats
}
DescribeBalloonStatsOK describes a response with status code 200, with default header values.
The balloon device statistics
func NewDescribeBalloonStatsOK ¶
func NewDescribeBalloonStatsOK() *DescribeBalloonStatsOK
NewDescribeBalloonStatsOK creates a DescribeBalloonStatsOK with default headers values
func (*DescribeBalloonStatsOK) Code ¶
func (o *DescribeBalloonStatsOK) Code() int
Code gets the status code for the describe balloon stats o k response
func (*DescribeBalloonStatsOK) Error ¶
func (o *DescribeBalloonStatsOK) Error() string
func (*DescribeBalloonStatsOK) GetPayload ¶
func (o *DescribeBalloonStatsOK) GetPayload() *models.BalloonStats
func (*DescribeBalloonStatsOK) IsClientError ¶
func (o *DescribeBalloonStatsOK) IsClientError() bool
IsClientError returns true when this describe balloon stats o k response has a 4xx status code
func (*DescribeBalloonStatsOK) IsCode ¶
func (o *DescribeBalloonStatsOK) IsCode(code int) bool
IsCode returns true when this describe balloon stats o k response a status code equal to that given
func (*DescribeBalloonStatsOK) IsRedirect ¶
func (o *DescribeBalloonStatsOK) IsRedirect() bool
IsRedirect returns true when this describe balloon stats o k response has a 3xx status code
func (*DescribeBalloonStatsOK) IsServerError ¶
func (o *DescribeBalloonStatsOK) IsServerError() bool
IsServerError returns true when this describe balloon stats o k response has a 5xx status code
func (*DescribeBalloonStatsOK) IsSuccess ¶
func (o *DescribeBalloonStatsOK) IsSuccess() bool
IsSuccess returns true when this describe balloon stats o k response has a 2xx status code
func (*DescribeBalloonStatsOK) String ¶
func (o *DescribeBalloonStatsOK) String() string
type DescribeBalloonStatsParams ¶
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 ¶
func NewDescribeBalloonStatsParams() *DescribeBalloonStatsParams
NewDescribeBalloonStatsParams creates a new DescribeBalloonStatsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDescribeBalloonStatsParamsWithContext ¶
func NewDescribeBalloonStatsParamsWithContext(ctx context.Context) *DescribeBalloonStatsParams
NewDescribeBalloonStatsParamsWithContext creates a new DescribeBalloonStatsParams object with the ability to set a context for a request.
func NewDescribeBalloonStatsParamsWithHTTPClient ¶
func NewDescribeBalloonStatsParamsWithHTTPClient(client *http.Client) *DescribeBalloonStatsParams
NewDescribeBalloonStatsParamsWithHTTPClient creates a new DescribeBalloonStatsParams object with the ability to set a custom HTTPClient for a request.
func NewDescribeBalloonStatsParamsWithTimeout ¶
func NewDescribeBalloonStatsParamsWithTimeout(timeout time.Duration) *DescribeBalloonStatsParams
NewDescribeBalloonStatsParamsWithTimeout creates a new DescribeBalloonStatsParams object with the ability to set a timeout on a request.
func (*DescribeBalloonStatsParams) SetContext ¶
func (o *DescribeBalloonStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the describe balloon stats params
func (*DescribeBalloonStatsParams) SetDefaults ¶
func (o *DescribeBalloonStatsParams) SetDefaults()
SetDefaults hydrates default values in the describe balloon stats params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeBalloonStatsParams) SetHTTPClient ¶
func (o *DescribeBalloonStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe balloon stats params
func (*DescribeBalloonStatsParams) SetTimeout ¶
func (o *DescribeBalloonStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe balloon stats params
func (*DescribeBalloonStatsParams) WithContext ¶
func (o *DescribeBalloonStatsParams) WithContext(ctx context.Context) *DescribeBalloonStatsParams
WithContext adds the context to the describe balloon stats params
func (*DescribeBalloonStatsParams) WithDefaults ¶
func (o *DescribeBalloonStatsParams) WithDefaults() *DescribeBalloonStatsParams
WithDefaults hydrates default values in the describe balloon stats params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeBalloonStatsParams) WithHTTPClient ¶
func (o *DescribeBalloonStatsParams) WithHTTPClient(client *http.Client) *DescribeBalloonStatsParams
WithHTTPClient adds the HTTPClient to the describe balloon stats params
func (*DescribeBalloonStatsParams) WithTimeout ¶
func (o *DescribeBalloonStatsParams) WithTimeout(timeout time.Duration) *DescribeBalloonStatsParams
WithTimeout adds the timeout to the describe balloon stats params
func (*DescribeBalloonStatsParams) WriteToRequest ¶
func (o *DescribeBalloonStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeBalloonStatsReader ¶
type DescribeBalloonStatsReader struct {
// contains filtered or unexported fields
}
DescribeBalloonStatsReader is a Reader for the DescribeBalloonStats structure.
func (*DescribeBalloonStatsReader) ReadResponse ¶
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 describes a response with status code -1, 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 ¶
func (o *DescribeInstanceDefault) GetPayload() *models.Error
func (*DescribeInstanceDefault) IsClientError ¶
func (o *DescribeInstanceDefault) IsClientError() bool
IsClientError returns true when this describe instance default response has a 4xx status code
func (*DescribeInstanceDefault) IsCode ¶
func (o *DescribeInstanceDefault) IsCode(code int) bool
IsCode returns true when this describe instance default response a status code equal to that given
func (*DescribeInstanceDefault) IsRedirect ¶
func (o *DescribeInstanceDefault) IsRedirect() bool
IsRedirect returns true when this describe instance default response has a 3xx status code
func (*DescribeInstanceDefault) IsServerError ¶
func (o *DescribeInstanceDefault) IsServerError() bool
IsServerError returns true when this describe instance default response has a 5xx status code
func (*DescribeInstanceDefault) IsSuccess ¶
func (o *DescribeInstanceDefault) IsSuccess() bool
IsSuccess returns true when this describe instance default response has a 2xx status code
func (*DescribeInstanceDefault) String ¶
func (o *DescribeInstanceDefault) String() string
type DescribeInstanceOK ¶
type DescribeInstanceOK struct {
Payload *models.InstanceInfo
}
DescribeInstanceOK describes a response with status code 200, with default header values.
The instance information
func NewDescribeInstanceOK ¶
func NewDescribeInstanceOK() *DescribeInstanceOK
NewDescribeInstanceOK creates a DescribeInstanceOK with default headers values
func (*DescribeInstanceOK) Code ¶
func (o *DescribeInstanceOK) Code() int
Code gets the status code for the describe instance o k response
func (*DescribeInstanceOK) Error ¶
func (o *DescribeInstanceOK) Error() string
func (*DescribeInstanceOK) GetPayload ¶
func (o *DescribeInstanceOK) GetPayload() *models.InstanceInfo
func (*DescribeInstanceOK) IsClientError ¶
func (o *DescribeInstanceOK) IsClientError() bool
IsClientError returns true when this describe instance o k response has a 4xx status code
func (*DescribeInstanceOK) IsCode ¶
func (o *DescribeInstanceOK) IsCode(code int) bool
IsCode returns true when this describe instance o k response a status code equal to that given
func (*DescribeInstanceOK) IsRedirect ¶
func (o *DescribeInstanceOK) IsRedirect() bool
IsRedirect returns true when this describe instance o k response has a 3xx status code
func (*DescribeInstanceOK) IsServerError ¶
func (o *DescribeInstanceOK) IsServerError() bool
IsServerError returns true when this describe instance o k response has a 5xx status code
func (*DescribeInstanceOK) IsSuccess ¶
func (o *DescribeInstanceOK) IsSuccess() bool
IsSuccess returns true when this describe instance o k response has a 2xx status code
func (*DescribeInstanceOK) String ¶
func (o *DescribeInstanceOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDescribeInstanceParamsWithContext ¶
func NewDescribeInstanceParamsWithContext(ctx context.Context) *DescribeInstanceParams
NewDescribeInstanceParamsWithContext creates a new DescribeInstanceParams object with 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 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 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) SetDefaults ¶
func (o *DescribeInstanceParams) SetDefaults()
SetDefaults hydrates default values in the describe instance params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeInstanceParams) SetHTTPClient ¶
func (o *DescribeInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe instance params
func (*DescribeInstanceParams) SetTimeout ¶
func (o *DescribeInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe instance params
func (*DescribeInstanceParams) WithContext ¶
func (o *DescribeInstanceParams) WithContext(ctx context.Context) *DescribeInstanceParams
WithContext adds the context to the describe instance params
func (*DescribeInstanceParams) WithDefaults ¶
func (o *DescribeInstanceParams) WithDefaults() *DescribeInstanceParams
WithDefaults hydrates default values in the describe instance params (not the query body).
All values with no default are reset to their zero value.
func (*DescribeInstanceParams) WithHTTPClient ¶
func (o *DescribeInstanceParams) WithHTTPClient(client *http.Client) *DescribeInstanceParams
WithHTTPClient adds the HTTPClient to the describe instance params
func (*DescribeInstanceParams) WithTimeout ¶
func (o *DescribeInstanceParams) WithTimeout(timeout time.Duration) *DescribeInstanceParams
WithTimeout adds the timeout to the describe instance params
func (*DescribeInstanceParams) WriteToRequest ¶
func (o *DescribeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribeInstanceReader ¶
type DescribeInstanceReader struct {
// contains filtered or unexported fields
}
DescribeInstanceReader is a Reader for the DescribeInstance structure.
func (*DescribeInstanceReader) ReadResponse ¶
func (o *DescribeInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetExportVMConfigDefault ¶
type GetExportVMConfigDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetExportVMConfigDefault describes a response with status code -1, with default header values.
Internal server error
func NewGetExportVMConfigDefault ¶
func NewGetExportVMConfigDefault(code int) *GetExportVMConfigDefault
NewGetExportVMConfigDefault creates a GetExportVMConfigDefault with default headers values
func (*GetExportVMConfigDefault) Code ¶
func (o *GetExportVMConfigDefault) Code() int
Code gets the status code for the get export Vm config default response
func (*GetExportVMConfigDefault) Error ¶
func (o *GetExportVMConfigDefault) Error() string
func (*GetExportVMConfigDefault) GetPayload ¶
func (o *GetExportVMConfigDefault) GetPayload() *models.Error
func (*GetExportVMConfigDefault) IsClientError ¶
func (o *GetExportVMConfigDefault) IsClientError() bool
IsClientError returns true when this get export Vm config default response has a 4xx status code
func (*GetExportVMConfigDefault) IsCode ¶
func (o *GetExportVMConfigDefault) IsCode(code int) bool
IsCode returns true when this get export Vm config default response a status code equal to that given
func (*GetExportVMConfigDefault) IsRedirect ¶
func (o *GetExportVMConfigDefault) IsRedirect() bool
IsRedirect returns true when this get export Vm config default response has a 3xx status code
func (*GetExportVMConfigDefault) IsServerError ¶
func (o *GetExportVMConfigDefault) IsServerError() bool
IsServerError returns true when this get export Vm config default response has a 5xx status code
func (*GetExportVMConfigDefault) IsSuccess ¶
func (o *GetExportVMConfigDefault) IsSuccess() bool
IsSuccess returns true when this get export Vm config default response has a 2xx status code
func (*GetExportVMConfigDefault) String ¶
func (o *GetExportVMConfigDefault) String() string
type GetExportVMConfigOK ¶
type GetExportVMConfigOK struct {
Payload *models.FullVMConfiguration
}
GetExportVMConfigOK describes a response with status code 200, with default header values.
OK
func NewGetExportVMConfigOK ¶
func NewGetExportVMConfigOK() *GetExportVMConfigOK
NewGetExportVMConfigOK creates a GetExportVMConfigOK with default headers values
func (*GetExportVMConfigOK) Code ¶
func (o *GetExportVMConfigOK) Code() int
Code gets the status code for the get export Vm config o k response
func (*GetExportVMConfigOK) Error ¶
func (o *GetExportVMConfigOK) Error() string
func (*GetExportVMConfigOK) GetPayload ¶
func (o *GetExportVMConfigOK) GetPayload() *models.FullVMConfiguration
func (*GetExportVMConfigOK) IsClientError ¶
func (o *GetExportVMConfigOK) IsClientError() bool
IsClientError returns true when this get export Vm config o k response has a 4xx status code
func (*GetExportVMConfigOK) IsCode ¶
func (o *GetExportVMConfigOK) IsCode(code int) bool
IsCode returns true when this get export Vm config o k response a status code equal to that given
func (*GetExportVMConfigOK) IsRedirect ¶
func (o *GetExportVMConfigOK) IsRedirect() bool
IsRedirect returns true when this get export Vm config o k response has a 3xx status code
func (*GetExportVMConfigOK) IsServerError ¶
func (o *GetExportVMConfigOK) IsServerError() bool
IsServerError returns true when this get export Vm config o k response has a 5xx status code
func (*GetExportVMConfigOK) IsSuccess ¶
func (o *GetExportVMConfigOK) IsSuccess() bool
IsSuccess returns true when this get export Vm config o k response has a 2xx status code
func (*GetExportVMConfigOK) String ¶
func (o *GetExportVMConfigOK) String() string
type GetExportVMConfigParams ¶
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 ¶
func NewGetExportVMConfigParams() *GetExportVMConfigParams
NewGetExportVMConfigParams creates a new GetExportVMConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetExportVMConfigParamsWithContext ¶
func NewGetExportVMConfigParamsWithContext(ctx context.Context) *GetExportVMConfigParams
NewGetExportVMConfigParamsWithContext creates a new GetExportVMConfigParams object with the ability to set a context for a request.
func NewGetExportVMConfigParamsWithHTTPClient ¶
func NewGetExportVMConfigParamsWithHTTPClient(client *http.Client) *GetExportVMConfigParams
NewGetExportVMConfigParamsWithHTTPClient creates a new GetExportVMConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetExportVMConfigParamsWithTimeout ¶
func NewGetExportVMConfigParamsWithTimeout(timeout time.Duration) *GetExportVMConfigParams
NewGetExportVMConfigParamsWithTimeout creates a new GetExportVMConfigParams object with the ability to set a timeout on a request.
func (*GetExportVMConfigParams) SetContext ¶
func (o *GetExportVMConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get export Vm config params
func (*GetExportVMConfigParams) SetDefaults ¶
func (o *GetExportVMConfigParams) SetDefaults()
SetDefaults hydrates default values in the get export Vm config params (not the query body).
All values with no default are reset to their zero value.
func (*GetExportVMConfigParams) SetHTTPClient ¶
func (o *GetExportVMConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get export Vm config params
func (*GetExportVMConfigParams) SetTimeout ¶
func (o *GetExportVMConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get export Vm config params
func (*GetExportVMConfigParams) WithContext ¶
func (o *GetExportVMConfigParams) WithContext(ctx context.Context) *GetExportVMConfigParams
WithContext adds the context to the get export Vm config params
func (*GetExportVMConfigParams) WithDefaults ¶
func (o *GetExportVMConfigParams) WithDefaults() *GetExportVMConfigParams
WithDefaults hydrates default values in the get export Vm config params (not the query body).
All values with no default are reset to their zero value.
func (*GetExportVMConfigParams) WithHTTPClient ¶
func (o *GetExportVMConfigParams) WithHTTPClient(client *http.Client) *GetExportVMConfigParams
WithHTTPClient adds the HTTPClient to the get export Vm config params
func (*GetExportVMConfigParams) WithTimeout ¶
func (o *GetExportVMConfigParams) WithTimeout(timeout time.Duration) *GetExportVMConfigParams
WithTimeout adds the timeout to the get export Vm config params
func (*GetExportVMConfigParams) WriteToRequest ¶
func (o *GetExportVMConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetExportVMConfigReader ¶
type GetExportVMConfigReader struct {
// contains filtered or unexported fields
}
GetExportVMConfigReader is a Reader for the GetExportVMConfig structure.
func (*GetExportVMConfigReader) ReadResponse ¶
func (o *GetExportVMConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFirecrackerVersionDefault ¶
type GetFirecrackerVersionDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetFirecrackerVersionDefault describes a response with status code -1, with default header values.
Internal server error
func NewGetFirecrackerVersionDefault ¶
func NewGetFirecrackerVersionDefault(code int) *GetFirecrackerVersionDefault
NewGetFirecrackerVersionDefault creates a GetFirecrackerVersionDefault with default headers values
func (*GetFirecrackerVersionDefault) Code ¶
func (o *GetFirecrackerVersionDefault) Code() int
Code gets the status code for the get firecracker version default response
func (*GetFirecrackerVersionDefault) Error ¶
func (o *GetFirecrackerVersionDefault) Error() string
func (*GetFirecrackerVersionDefault) GetPayload ¶
func (o *GetFirecrackerVersionDefault) GetPayload() *models.Error
func (*GetFirecrackerVersionDefault) IsClientError ¶
func (o *GetFirecrackerVersionDefault) IsClientError() bool
IsClientError returns true when this get firecracker version default response has a 4xx status code
func (*GetFirecrackerVersionDefault) IsCode ¶
func (o *GetFirecrackerVersionDefault) IsCode(code int) bool
IsCode returns true when this get firecracker version default response a status code equal to that given
func (*GetFirecrackerVersionDefault) IsRedirect ¶
func (o *GetFirecrackerVersionDefault) IsRedirect() bool
IsRedirect returns true when this get firecracker version default response has a 3xx status code
func (*GetFirecrackerVersionDefault) IsServerError ¶
func (o *GetFirecrackerVersionDefault) IsServerError() bool
IsServerError returns true when this get firecracker version default response has a 5xx status code
func (*GetFirecrackerVersionDefault) IsSuccess ¶
func (o *GetFirecrackerVersionDefault) IsSuccess() bool
IsSuccess returns true when this get firecracker version default response has a 2xx status code
func (*GetFirecrackerVersionDefault) String ¶
func (o *GetFirecrackerVersionDefault) String() string
type GetFirecrackerVersionOK ¶
type GetFirecrackerVersionOK struct {
Payload *models.FirecrackerVersion
}
GetFirecrackerVersionOK describes a response with status code 200, with default header values.
OK
func NewGetFirecrackerVersionOK ¶
func NewGetFirecrackerVersionOK() *GetFirecrackerVersionOK
NewGetFirecrackerVersionOK creates a GetFirecrackerVersionOK with default headers values
func (*GetFirecrackerVersionOK) Code ¶
func (o *GetFirecrackerVersionOK) Code() int
Code gets the status code for the get firecracker version o k response
func (*GetFirecrackerVersionOK) Error ¶
func (o *GetFirecrackerVersionOK) Error() string
func (*GetFirecrackerVersionOK) GetPayload ¶
func (o *GetFirecrackerVersionOK) GetPayload() *models.FirecrackerVersion
func (*GetFirecrackerVersionOK) IsClientError ¶
func (o *GetFirecrackerVersionOK) IsClientError() bool
IsClientError returns true when this get firecracker version o k response has a 4xx status code
func (*GetFirecrackerVersionOK) IsCode ¶
func (o *GetFirecrackerVersionOK) IsCode(code int) bool
IsCode returns true when this get firecracker version o k response a status code equal to that given
func (*GetFirecrackerVersionOK) IsRedirect ¶
func (o *GetFirecrackerVersionOK) IsRedirect() bool
IsRedirect returns true when this get firecracker version o k response has a 3xx status code
func (*GetFirecrackerVersionOK) IsServerError ¶
func (o *GetFirecrackerVersionOK) IsServerError() bool
IsServerError returns true when this get firecracker version o k response has a 5xx status code
func (*GetFirecrackerVersionOK) IsSuccess ¶
func (o *GetFirecrackerVersionOK) IsSuccess() bool
IsSuccess returns true when this get firecracker version o k response has a 2xx status code
func (*GetFirecrackerVersionOK) String ¶
func (o *GetFirecrackerVersionOK) String() string
type GetFirecrackerVersionParams ¶
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 ¶
func NewGetFirecrackerVersionParams() *GetFirecrackerVersionParams
NewGetFirecrackerVersionParams creates a new GetFirecrackerVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFirecrackerVersionParamsWithContext ¶
func NewGetFirecrackerVersionParamsWithContext(ctx context.Context) *GetFirecrackerVersionParams
NewGetFirecrackerVersionParamsWithContext creates a new GetFirecrackerVersionParams object with the ability to set a context for a request.
func NewGetFirecrackerVersionParamsWithHTTPClient ¶
func NewGetFirecrackerVersionParamsWithHTTPClient(client *http.Client) *GetFirecrackerVersionParams
NewGetFirecrackerVersionParamsWithHTTPClient creates a new GetFirecrackerVersionParams object with the ability to set a custom HTTPClient for a request.
func NewGetFirecrackerVersionParamsWithTimeout ¶
func NewGetFirecrackerVersionParamsWithTimeout(timeout time.Duration) *GetFirecrackerVersionParams
NewGetFirecrackerVersionParamsWithTimeout creates a new GetFirecrackerVersionParams object with the ability to set a timeout on a request.
func (*GetFirecrackerVersionParams) SetContext ¶
func (o *GetFirecrackerVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get firecracker version params
func (*GetFirecrackerVersionParams) SetDefaults ¶
func (o *GetFirecrackerVersionParams) SetDefaults()
SetDefaults hydrates default values in the get firecracker version params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirecrackerVersionParams) SetHTTPClient ¶
func (o *GetFirecrackerVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get firecracker version params
func (*GetFirecrackerVersionParams) SetTimeout ¶
func (o *GetFirecrackerVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get firecracker version params
func (*GetFirecrackerVersionParams) WithContext ¶
func (o *GetFirecrackerVersionParams) WithContext(ctx context.Context) *GetFirecrackerVersionParams
WithContext adds the context to the get firecracker version params
func (*GetFirecrackerVersionParams) WithDefaults ¶
func (o *GetFirecrackerVersionParams) WithDefaults() *GetFirecrackerVersionParams
WithDefaults hydrates default values in the get firecracker version params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirecrackerVersionParams) WithHTTPClient ¶
func (o *GetFirecrackerVersionParams) WithHTTPClient(client *http.Client) *GetFirecrackerVersionParams
WithHTTPClient adds the HTTPClient to the get firecracker version params
func (*GetFirecrackerVersionParams) WithTimeout ¶
func (o *GetFirecrackerVersionParams) WithTimeout(timeout time.Duration) *GetFirecrackerVersionParams
WithTimeout adds the timeout to the get firecracker version params
func (*GetFirecrackerVersionParams) WriteToRequest ¶
func (o *GetFirecrackerVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFirecrackerVersionReader ¶
type GetFirecrackerVersionReader struct {
// contains filtered or unexported fields
}
GetFirecrackerVersionReader is a Reader for the GetFirecrackerVersion structure.
func (*GetFirecrackerVersionReader) ReadResponse ¶
func (o *GetFirecrackerVersionReader) 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 describes a response with status code -1, with default header values.
Internal server error
func NewGetMachineConfigurationDefault ¶
func NewGetMachineConfigurationDefault(code int) *GetMachineConfigurationDefault
NewGetMachineConfigurationDefault creates a GetMachineConfigurationDefault with default headers values
func (*GetMachineConfigurationDefault) Code ¶
func (o *GetMachineConfigurationDefault) Code() int
Code gets the status code for the get machine configuration default response
func (*GetMachineConfigurationDefault) Error ¶
func (o *GetMachineConfigurationDefault) Error() string
func (*GetMachineConfigurationDefault) GetPayload ¶
func (o *GetMachineConfigurationDefault) GetPayload() *models.Error
func (*GetMachineConfigurationDefault) IsClientError ¶
func (o *GetMachineConfigurationDefault) IsClientError() bool
IsClientError returns true when this get machine configuration default response has a 4xx status code
func (*GetMachineConfigurationDefault) IsCode ¶
func (o *GetMachineConfigurationDefault) IsCode(code int) bool
IsCode returns true when this get machine configuration default response a status code equal to that given
func (*GetMachineConfigurationDefault) IsRedirect ¶
func (o *GetMachineConfigurationDefault) IsRedirect() bool
IsRedirect returns true when this get machine configuration default response has a 3xx status code
func (*GetMachineConfigurationDefault) IsServerError ¶
func (o *GetMachineConfigurationDefault) IsServerError() bool
IsServerError returns true when this get machine configuration default response has a 5xx status code
func (*GetMachineConfigurationDefault) IsSuccess ¶
func (o *GetMachineConfigurationDefault) IsSuccess() bool
IsSuccess returns true when this get machine configuration default response has a 2xx status code
func (*GetMachineConfigurationDefault) String ¶
func (o *GetMachineConfigurationDefault) String() string
type GetMachineConfigurationOK ¶
type GetMachineConfigurationOK struct {
Payload *models.MachineConfiguration
}
GetMachineConfigurationOK describes a response with status code 200, with default header values.
OK
func NewGetMachineConfigurationOK ¶
func NewGetMachineConfigurationOK() *GetMachineConfigurationOK
NewGetMachineConfigurationOK creates a GetMachineConfigurationOK with default headers values
func (*GetMachineConfigurationOK) Code ¶
func (o *GetMachineConfigurationOK) Code() int
Code gets the status code for the get machine configuration o k response
func (*GetMachineConfigurationOK) Error ¶
func (o *GetMachineConfigurationOK) Error() string
func (*GetMachineConfigurationOK) GetPayload ¶
func (o *GetMachineConfigurationOK) GetPayload() *models.MachineConfiguration
func (*GetMachineConfigurationOK) IsClientError ¶
func (o *GetMachineConfigurationOK) IsClientError() bool
IsClientError returns true when this get machine configuration o k response has a 4xx status code
func (*GetMachineConfigurationOK) IsCode ¶
func (o *GetMachineConfigurationOK) IsCode(code int) bool
IsCode returns true when this get machine configuration o k response a status code equal to that given
func (*GetMachineConfigurationOK) IsRedirect ¶
func (o *GetMachineConfigurationOK) IsRedirect() bool
IsRedirect returns true when this get machine configuration o k response has a 3xx status code
func (*GetMachineConfigurationOK) IsServerError ¶
func (o *GetMachineConfigurationOK) IsServerError() bool
IsServerError returns true when this get machine configuration o k response has a 5xx status code
func (*GetMachineConfigurationOK) IsSuccess ¶
func (o *GetMachineConfigurationOK) IsSuccess() bool
IsSuccess returns true when this get machine configuration o k response has a 2xx status code
func (*GetMachineConfigurationOK) String ¶
func (o *GetMachineConfigurationOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMachineConfigurationParamsWithContext ¶
func NewGetMachineConfigurationParamsWithContext(ctx context.Context) *GetMachineConfigurationParams
NewGetMachineConfigurationParamsWithContext creates a new GetMachineConfigurationParams object with 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 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 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) SetDefaults ¶
func (o *GetMachineConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the get machine configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineConfigurationParams) SetHTTPClient ¶
func (o *GetMachineConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get machine configuration params
func (*GetMachineConfigurationParams) SetTimeout ¶
func (o *GetMachineConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get machine configuration params
func (*GetMachineConfigurationParams) WithContext ¶
func (o *GetMachineConfigurationParams) WithContext(ctx context.Context) *GetMachineConfigurationParams
WithContext adds the context to the get machine configuration params
func (*GetMachineConfigurationParams) WithDefaults ¶
func (o *GetMachineConfigurationParams) WithDefaults() *GetMachineConfigurationParams
WithDefaults hydrates default values in the get machine configuration params (not the query body).
All values with no default are reset to their zero value.
func (*GetMachineConfigurationParams) WithHTTPClient ¶
func (o *GetMachineConfigurationParams) WithHTTPClient(client *http.Client) *GetMachineConfigurationParams
WithHTTPClient adds the HTTPClient to the get machine configuration params
func (*GetMachineConfigurationParams) WithTimeout ¶
func (o *GetMachineConfigurationParams) WithTimeout(timeout time.Duration) *GetMachineConfigurationParams
WithTimeout adds the timeout to the get machine configuration params
func (*GetMachineConfigurationParams) WriteToRequest ¶
func (o *GetMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMachineConfigurationReader ¶
type GetMachineConfigurationReader struct {
// contains filtered or unexported fields
}
GetMachineConfigurationReader is a Reader for the GetMachineConfiguration structure.
func (*GetMachineConfigurationReader) ReadResponse ¶
func (o *GetMachineConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMmdsDefault ¶
GetMmdsDefault describes a response with status code -1, 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 ¶
func (o *GetMmdsDefault) GetPayload() *models.Error
func (*GetMmdsDefault) IsClientError ¶
func (o *GetMmdsDefault) IsClientError() bool
IsClientError returns true when this get mmds default response has a 4xx status code
func (*GetMmdsDefault) IsCode ¶
func (o *GetMmdsDefault) IsCode(code int) bool
IsCode returns true when this get mmds default response a status code equal to that given
func (*GetMmdsDefault) IsRedirect ¶
func (o *GetMmdsDefault) IsRedirect() bool
IsRedirect returns true when this get mmds default response has a 3xx status code
func (*GetMmdsDefault) IsServerError ¶
func (o *GetMmdsDefault) IsServerError() bool
IsServerError returns true when this get mmds default response has a 5xx status code
func (*GetMmdsDefault) IsSuccess ¶
func (o *GetMmdsDefault) IsSuccess() bool
IsSuccess returns true when this get mmds default response has a 2xx status code
func (*GetMmdsDefault) String ¶
func (o *GetMmdsDefault) String() string
type GetMmdsNotFound ¶
GetMmdsNotFound describes a response with status code 404, with default header values.
The MMDS data store content can not be found.
func NewGetMmdsNotFound ¶
func NewGetMmdsNotFound() *GetMmdsNotFound
NewGetMmdsNotFound creates a GetMmdsNotFound with default headers values
func (*GetMmdsNotFound) Code ¶
func (o *GetMmdsNotFound) Code() int
Code gets the status code for the get mmds not found response
func (*GetMmdsNotFound) Error ¶
func (o *GetMmdsNotFound) Error() string
func (*GetMmdsNotFound) GetPayload ¶
func (o *GetMmdsNotFound) GetPayload() *models.Error
func (*GetMmdsNotFound) IsClientError ¶
func (o *GetMmdsNotFound) IsClientError() bool
IsClientError returns true when this get mmds not found response has a 4xx status code
func (*GetMmdsNotFound) IsCode ¶
func (o *GetMmdsNotFound) IsCode(code int) bool
IsCode returns true when this get mmds not found response a status code equal to that given
func (*GetMmdsNotFound) IsRedirect ¶
func (o *GetMmdsNotFound) IsRedirect() bool
IsRedirect returns true when this get mmds not found response has a 3xx status code
func (*GetMmdsNotFound) IsServerError ¶
func (o *GetMmdsNotFound) IsServerError() bool
IsServerError returns true when this get mmds not found response has a 5xx status code
func (*GetMmdsNotFound) IsSuccess ¶
func (o *GetMmdsNotFound) IsSuccess() bool
IsSuccess returns true when this get mmds not found response has a 2xx status code
func (*GetMmdsNotFound) String ¶
func (o *GetMmdsNotFound) String() string
type GetMmdsOK ¶
type GetMmdsOK struct {
Payload interface{}
}
GetMmdsOK describes a response with status code 200, with default header values.
The MMDS data store JSON.
func NewGetMmdsOK ¶
func NewGetMmdsOK() *GetMmdsOK
NewGetMmdsOK creates a GetMmdsOK with default headers values
func (*GetMmdsOK) GetPayload ¶
func (o *GetMmdsOK) GetPayload() interface{}
func (*GetMmdsOK) IsClientError ¶
IsClientError returns true when this get mmds o k response has a 4xx status code
func (*GetMmdsOK) IsCode ¶
IsCode returns true when this get mmds o k response a status code equal to that given
func (*GetMmdsOK) IsRedirect ¶
IsRedirect returns true when this get mmds o k response has a 3xx status code
func (*GetMmdsOK) IsServerError ¶
IsServerError returns true when this get mmds o k response has a 5xx status code
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetMmdsParamsWithContext ¶
func NewGetMmdsParamsWithContext(ctx context.Context) *GetMmdsParams
NewGetMmdsParamsWithContext creates a new GetMmdsParams object with 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 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 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) SetDefaults ¶
func (o *GetMmdsParams) SetDefaults()
SetDefaults hydrates default values in the get mmds params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetMmdsParams) WithDefaults() *GetMmdsParams
WithDefaults hydrates default values in the get mmds params (not the query body).
All values with no default are reset to their zero value.
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 ¶
LoadSnapshotBadRequest describes a response with status code 400, with default header values.
Snapshot cannot be loaded due to bad input
func NewLoadSnapshotBadRequest ¶
func NewLoadSnapshotBadRequest() *LoadSnapshotBadRequest
NewLoadSnapshotBadRequest creates a LoadSnapshotBadRequest with default headers values
func (*LoadSnapshotBadRequest) Code ¶
func (o *LoadSnapshotBadRequest) Code() int
Code gets the status code for the load snapshot bad request response
func (*LoadSnapshotBadRequest) Error ¶
func (o *LoadSnapshotBadRequest) Error() string
func (*LoadSnapshotBadRequest) GetPayload ¶
func (o *LoadSnapshotBadRequest) GetPayload() *models.Error
func (*LoadSnapshotBadRequest) IsClientError ¶
func (o *LoadSnapshotBadRequest) IsClientError() bool
IsClientError returns true when this load snapshot bad request response has a 4xx status code
func (*LoadSnapshotBadRequest) IsCode ¶
func (o *LoadSnapshotBadRequest) IsCode(code int) bool
IsCode returns true when this load snapshot bad request response a status code equal to that given
func (*LoadSnapshotBadRequest) IsRedirect ¶
func (o *LoadSnapshotBadRequest) IsRedirect() bool
IsRedirect returns true when this load snapshot bad request response has a 3xx status code
func (*LoadSnapshotBadRequest) IsServerError ¶
func (o *LoadSnapshotBadRequest) IsServerError() bool
IsServerError returns true when this load snapshot bad request response has a 5xx status code
func (*LoadSnapshotBadRequest) IsSuccess ¶
func (o *LoadSnapshotBadRequest) IsSuccess() bool
IsSuccess returns true when this load snapshot bad request response has a 2xx status code
func (*LoadSnapshotBadRequest) String ¶
func (o *LoadSnapshotBadRequest) String() string
type LoadSnapshotDefault ¶
LoadSnapshotDefault describes a response with status code -1, with default header values.
Internal server error
func NewLoadSnapshotDefault ¶
func NewLoadSnapshotDefault(code int) *LoadSnapshotDefault
NewLoadSnapshotDefault creates a LoadSnapshotDefault with default headers values
func (*LoadSnapshotDefault) Code ¶
func (o *LoadSnapshotDefault) Code() int
Code gets the status code for the load snapshot default response
func (*LoadSnapshotDefault) Error ¶
func (o *LoadSnapshotDefault) Error() string
func (*LoadSnapshotDefault) GetPayload ¶
func (o *LoadSnapshotDefault) GetPayload() *models.Error
func (*LoadSnapshotDefault) IsClientError ¶
func (o *LoadSnapshotDefault) IsClientError() bool
IsClientError returns true when this load snapshot default response has a 4xx status code
func (*LoadSnapshotDefault) IsCode ¶
func (o *LoadSnapshotDefault) IsCode(code int) bool
IsCode returns true when this load snapshot default response a status code equal to that given
func (*LoadSnapshotDefault) IsRedirect ¶
func (o *LoadSnapshotDefault) IsRedirect() bool
IsRedirect returns true when this load snapshot default response has a 3xx status code
func (*LoadSnapshotDefault) IsServerError ¶
func (o *LoadSnapshotDefault) IsServerError() bool
IsServerError returns true when this load snapshot default response has a 5xx status code
func (*LoadSnapshotDefault) IsSuccess ¶
func (o *LoadSnapshotDefault) IsSuccess() bool
IsSuccess returns true when this load snapshot default response has a 2xx status code
func (*LoadSnapshotDefault) String ¶
func (o *LoadSnapshotDefault) String() string
type LoadSnapshotNoContent ¶
type LoadSnapshotNoContent struct { }
LoadSnapshotNoContent describes a response with status code 204, with default header values.
Snapshot loaded
func NewLoadSnapshotNoContent ¶
func NewLoadSnapshotNoContent() *LoadSnapshotNoContent
NewLoadSnapshotNoContent creates a LoadSnapshotNoContent with default headers values
func (*LoadSnapshotNoContent) Code ¶
func (o *LoadSnapshotNoContent) Code() int
Code gets the status code for the load snapshot no content response
func (*LoadSnapshotNoContent) Error ¶
func (o *LoadSnapshotNoContent) Error() string
func (*LoadSnapshotNoContent) IsClientError ¶
func (o *LoadSnapshotNoContent) IsClientError() bool
IsClientError returns true when this load snapshot no content response has a 4xx status code
func (*LoadSnapshotNoContent) IsCode ¶
func (o *LoadSnapshotNoContent) IsCode(code int) bool
IsCode returns true when this load snapshot no content response a status code equal to that given
func (*LoadSnapshotNoContent) IsRedirect ¶
func (o *LoadSnapshotNoContent) IsRedirect() bool
IsRedirect returns true when this load snapshot no content response has a 3xx status code
func (*LoadSnapshotNoContent) IsServerError ¶
func (o *LoadSnapshotNoContent) IsServerError() bool
IsServerError returns true when this load snapshot no content response has a 5xx status code
func (*LoadSnapshotNoContent) IsSuccess ¶
func (o *LoadSnapshotNoContent) IsSuccess() bool
IsSuccess returns true when this load snapshot no content response has a 2xx status code
func (*LoadSnapshotNoContent) String ¶
func (o *LoadSnapshotNoContent) String() string
type LoadSnapshotParams ¶
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 ¶
func NewLoadSnapshotParams() *LoadSnapshotParams
NewLoadSnapshotParams creates a new LoadSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewLoadSnapshotParamsWithContext ¶
func NewLoadSnapshotParamsWithContext(ctx context.Context) *LoadSnapshotParams
NewLoadSnapshotParamsWithContext creates a new LoadSnapshotParams object with the ability to set a context for a request.
func NewLoadSnapshotParamsWithHTTPClient ¶
func NewLoadSnapshotParamsWithHTTPClient(client *http.Client) *LoadSnapshotParams
NewLoadSnapshotParamsWithHTTPClient creates a new LoadSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewLoadSnapshotParamsWithTimeout ¶
func NewLoadSnapshotParamsWithTimeout(timeout time.Duration) *LoadSnapshotParams
NewLoadSnapshotParamsWithTimeout creates a new LoadSnapshotParams object with the ability to set a timeout on a request.
func (*LoadSnapshotParams) SetBody ¶
func (o *LoadSnapshotParams) SetBody(body *models.SnapshotLoadParams)
SetBody adds the body to the load snapshot params
func (*LoadSnapshotParams) SetContext ¶
func (o *LoadSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the load snapshot params
func (*LoadSnapshotParams) SetDefaults ¶
func (o *LoadSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the load snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*LoadSnapshotParams) SetHTTPClient ¶
func (o *LoadSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the load snapshot params
func (*LoadSnapshotParams) SetTimeout ¶
func (o *LoadSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the load snapshot params
func (*LoadSnapshotParams) WithBody ¶
func (o *LoadSnapshotParams) WithBody(body *models.SnapshotLoadParams) *LoadSnapshotParams
WithBody adds the body to the load snapshot params
func (*LoadSnapshotParams) WithContext ¶
func (o *LoadSnapshotParams) WithContext(ctx context.Context) *LoadSnapshotParams
WithContext adds the context to the load snapshot params
func (*LoadSnapshotParams) WithDefaults ¶
func (o *LoadSnapshotParams) WithDefaults() *LoadSnapshotParams
WithDefaults hydrates default values in the load snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*LoadSnapshotParams) WithHTTPClient ¶
func (o *LoadSnapshotParams) WithHTTPClient(client *http.Client) *LoadSnapshotParams
WithHTTPClient adds the HTTPClient to the load snapshot params
func (*LoadSnapshotParams) WithTimeout ¶
func (o *LoadSnapshotParams) WithTimeout(timeout time.Duration) *LoadSnapshotParams
WithTimeout adds the timeout to the load snapshot params
func (*LoadSnapshotParams) WriteToRequest ¶
func (o *LoadSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoadSnapshotReader ¶
type LoadSnapshotReader struct {
// contains filtered or unexported fields
}
LoadSnapshotReader is a Reader for the LoadSnapshot structure.
func (*LoadSnapshotReader) ReadResponse ¶
func (o *LoadSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchBalloonBadRequest ¶
PatchBalloonBadRequest describes a response with status code 400, with default header values.
Balloon device cannot be updated due to bad input
func NewPatchBalloonBadRequest ¶
func NewPatchBalloonBadRequest() *PatchBalloonBadRequest
NewPatchBalloonBadRequest creates a PatchBalloonBadRequest with default headers values
func (*PatchBalloonBadRequest) Code ¶
func (o *PatchBalloonBadRequest) Code() int
Code gets the status code for the patch balloon bad request response
func (*PatchBalloonBadRequest) Error ¶
func (o *PatchBalloonBadRequest) Error() string
func (*PatchBalloonBadRequest) GetPayload ¶
func (o *PatchBalloonBadRequest) GetPayload() *models.Error
func (*PatchBalloonBadRequest) IsClientError ¶
func (o *PatchBalloonBadRequest) IsClientError() bool
IsClientError returns true when this patch balloon bad request response has a 4xx status code
func (*PatchBalloonBadRequest) IsCode ¶
func (o *PatchBalloonBadRequest) IsCode(code int) bool
IsCode returns true when this patch balloon bad request response a status code equal to that given
func (*PatchBalloonBadRequest) IsRedirect ¶
func (o *PatchBalloonBadRequest) IsRedirect() bool
IsRedirect returns true when this patch balloon bad request response has a 3xx status code
func (*PatchBalloonBadRequest) IsServerError ¶
func (o *PatchBalloonBadRequest) IsServerError() bool
IsServerError returns true when this patch balloon bad request response has a 5xx status code
func (*PatchBalloonBadRequest) IsSuccess ¶
func (o *PatchBalloonBadRequest) IsSuccess() bool
IsSuccess returns true when this patch balloon bad request response has a 2xx status code
func (*PatchBalloonBadRequest) String ¶
func (o *PatchBalloonBadRequest) String() string
type PatchBalloonDefault ¶
PatchBalloonDefault describes a response with status code -1, with default header values.
Internal server error
func NewPatchBalloonDefault ¶
func NewPatchBalloonDefault(code int) *PatchBalloonDefault
NewPatchBalloonDefault creates a PatchBalloonDefault with default headers values
func (*PatchBalloonDefault) Code ¶
func (o *PatchBalloonDefault) Code() int
Code gets the status code for the patch balloon default response
func (*PatchBalloonDefault) Error ¶
func (o *PatchBalloonDefault) Error() string
func (*PatchBalloonDefault) GetPayload ¶
func (o *PatchBalloonDefault) GetPayload() *models.Error
func (*PatchBalloonDefault) IsClientError ¶
func (o *PatchBalloonDefault) IsClientError() bool
IsClientError returns true when this patch balloon default response has a 4xx status code
func (*PatchBalloonDefault) IsCode ¶
func (o *PatchBalloonDefault) IsCode(code int) bool
IsCode returns true when this patch balloon default response a status code equal to that given
func (*PatchBalloonDefault) IsRedirect ¶
func (o *PatchBalloonDefault) IsRedirect() bool
IsRedirect returns true when this patch balloon default response has a 3xx status code
func (*PatchBalloonDefault) IsServerError ¶
func (o *PatchBalloonDefault) IsServerError() bool
IsServerError returns true when this patch balloon default response has a 5xx status code
func (*PatchBalloonDefault) IsSuccess ¶
func (o *PatchBalloonDefault) IsSuccess() bool
IsSuccess returns true when this patch balloon default response has a 2xx status code
func (*PatchBalloonDefault) String ¶
func (o *PatchBalloonDefault) String() string
type PatchBalloonNoContent ¶
type PatchBalloonNoContent struct { }
PatchBalloonNoContent describes a response with status code 204, with default header values.
Balloon device updated
func NewPatchBalloonNoContent ¶
func NewPatchBalloonNoContent() *PatchBalloonNoContent
NewPatchBalloonNoContent creates a PatchBalloonNoContent with default headers values
func (*PatchBalloonNoContent) Code ¶
func (o *PatchBalloonNoContent) Code() int
Code gets the status code for the patch balloon no content response
func (*PatchBalloonNoContent) Error ¶
func (o *PatchBalloonNoContent) Error() string
func (*PatchBalloonNoContent) IsClientError ¶
func (o *PatchBalloonNoContent) IsClientError() bool
IsClientError returns true when this patch balloon no content response has a 4xx status code
func (*PatchBalloonNoContent) IsCode ¶
func (o *PatchBalloonNoContent) IsCode(code int) bool
IsCode returns true when this patch balloon no content response a status code equal to that given
func (*PatchBalloonNoContent) IsRedirect ¶
func (o *PatchBalloonNoContent) IsRedirect() bool
IsRedirect returns true when this patch balloon no content response has a 3xx status code
func (*PatchBalloonNoContent) IsServerError ¶
func (o *PatchBalloonNoContent) IsServerError() bool
IsServerError returns true when this patch balloon no content response has a 5xx status code
func (*PatchBalloonNoContent) IsSuccess ¶
func (o *PatchBalloonNoContent) IsSuccess() bool
IsSuccess returns true when this patch balloon no content response has a 2xx status code
func (*PatchBalloonNoContent) String ¶
func (o *PatchBalloonNoContent) String() string
type PatchBalloonParams ¶
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 ¶
func NewPatchBalloonParams() *PatchBalloonParams
NewPatchBalloonParams creates a new PatchBalloonParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchBalloonParamsWithContext ¶
func NewPatchBalloonParamsWithContext(ctx context.Context) *PatchBalloonParams
NewPatchBalloonParamsWithContext creates a new PatchBalloonParams object with the ability to set a context for a request.
func NewPatchBalloonParamsWithHTTPClient ¶
func NewPatchBalloonParamsWithHTTPClient(client *http.Client) *PatchBalloonParams
NewPatchBalloonParamsWithHTTPClient creates a new PatchBalloonParams object with the ability to set a custom HTTPClient for a request.
func NewPatchBalloonParamsWithTimeout ¶
func NewPatchBalloonParamsWithTimeout(timeout time.Duration) *PatchBalloonParams
NewPatchBalloonParamsWithTimeout creates a new PatchBalloonParams object with the ability to set a timeout on a request.
func (*PatchBalloonParams) SetBody ¶
func (o *PatchBalloonParams) SetBody(body *models.BalloonUpdate)
SetBody adds the body to the patch balloon params
func (*PatchBalloonParams) SetContext ¶
func (o *PatchBalloonParams) SetContext(ctx context.Context)
SetContext adds the context to the patch balloon params
func (*PatchBalloonParams) SetDefaults ¶
func (o *PatchBalloonParams) SetDefaults()
SetDefaults hydrates default values in the patch balloon params (not the query body).
All values with no default are reset to their zero value.
func (*PatchBalloonParams) SetHTTPClient ¶
func (o *PatchBalloonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch balloon params
func (*PatchBalloonParams) SetTimeout ¶
func (o *PatchBalloonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch balloon params
func (*PatchBalloonParams) WithBody ¶
func (o *PatchBalloonParams) WithBody(body *models.BalloonUpdate) *PatchBalloonParams
WithBody adds the body to the patch balloon params
func (*PatchBalloonParams) WithContext ¶
func (o *PatchBalloonParams) WithContext(ctx context.Context) *PatchBalloonParams
WithContext adds the context to the patch balloon params
func (*PatchBalloonParams) WithDefaults ¶
func (o *PatchBalloonParams) WithDefaults() *PatchBalloonParams
WithDefaults hydrates default values in the patch balloon params (not the query body).
All values with no default are reset to their zero value.
func (*PatchBalloonParams) WithHTTPClient ¶
func (o *PatchBalloonParams) WithHTTPClient(client *http.Client) *PatchBalloonParams
WithHTTPClient adds the HTTPClient to the patch balloon params
func (*PatchBalloonParams) WithTimeout ¶
func (o *PatchBalloonParams) WithTimeout(timeout time.Duration) *PatchBalloonParams
WithTimeout adds the timeout to the patch balloon params
func (*PatchBalloonParams) WriteToRequest ¶
func (o *PatchBalloonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchBalloonReader ¶
type PatchBalloonReader struct {
// contains filtered or unexported fields
}
PatchBalloonReader is a Reader for the PatchBalloon structure.
func (*PatchBalloonReader) ReadResponse ¶
func (o *PatchBalloonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchBalloonStatsIntervalBadRequest ¶
PatchBalloonStatsIntervalBadRequest describes a response with status code 400, with default header values.
Balloon statistics interval cannot be updated due to bad input
func NewPatchBalloonStatsIntervalBadRequest ¶
func NewPatchBalloonStatsIntervalBadRequest() *PatchBalloonStatsIntervalBadRequest
NewPatchBalloonStatsIntervalBadRequest creates a PatchBalloonStatsIntervalBadRequest with default headers values
func (*PatchBalloonStatsIntervalBadRequest) Code ¶
func (o *PatchBalloonStatsIntervalBadRequest) Code() int
Code gets the status code for the patch balloon stats interval bad request response
func (*PatchBalloonStatsIntervalBadRequest) Error ¶
func (o *PatchBalloonStatsIntervalBadRequest) Error() string
func (*PatchBalloonStatsIntervalBadRequest) GetPayload ¶
func (o *PatchBalloonStatsIntervalBadRequest) GetPayload() *models.Error
func (*PatchBalloonStatsIntervalBadRequest) IsClientError ¶
func (o *PatchBalloonStatsIntervalBadRequest) IsClientError() bool
IsClientError returns true when this patch balloon stats interval bad request response has a 4xx status code
func (*PatchBalloonStatsIntervalBadRequest) IsCode ¶
func (o *PatchBalloonStatsIntervalBadRequest) IsCode(code int) bool
IsCode returns true when this patch balloon stats interval bad request response a status code equal to that given
func (*PatchBalloonStatsIntervalBadRequest) IsRedirect ¶
func (o *PatchBalloonStatsIntervalBadRequest) IsRedirect() bool
IsRedirect returns true when this patch balloon stats interval bad request response has a 3xx status code
func (*PatchBalloonStatsIntervalBadRequest) IsServerError ¶
func (o *PatchBalloonStatsIntervalBadRequest) IsServerError() bool
IsServerError returns true when this patch balloon stats interval bad request response has a 5xx status code
func (*PatchBalloonStatsIntervalBadRequest) IsSuccess ¶
func (o *PatchBalloonStatsIntervalBadRequest) IsSuccess() bool
IsSuccess returns true when this patch balloon stats interval bad request response has a 2xx status code
func (*PatchBalloonStatsIntervalBadRequest) String ¶
func (o *PatchBalloonStatsIntervalBadRequest) String() string
type PatchBalloonStatsIntervalDefault ¶
type PatchBalloonStatsIntervalDefault struct { Payload *models.Error // contains filtered or unexported fields }
PatchBalloonStatsIntervalDefault describes a response with status code -1, with default header values.
Internal server error
func NewPatchBalloonStatsIntervalDefault ¶
func NewPatchBalloonStatsIntervalDefault(code int) *PatchBalloonStatsIntervalDefault
NewPatchBalloonStatsIntervalDefault creates a PatchBalloonStatsIntervalDefault with default headers values
func (*PatchBalloonStatsIntervalDefault) Code ¶
func (o *PatchBalloonStatsIntervalDefault) Code() int
Code gets the status code for the patch balloon stats interval default response
func (*PatchBalloonStatsIntervalDefault) Error ¶
func (o *PatchBalloonStatsIntervalDefault) Error() string
func (*PatchBalloonStatsIntervalDefault) GetPayload ¶
func (o *PatchBalloonStatsIntervalDefault) GetPayload() *models.Error
func (*PatchBalloonStatsIntervalDefault) IsClientError ¶
func (o *PatchBalloonStatsIntervalDefault) IsClientError() bool
IsClientError returns true when this patch balloon stats interval default response has a 4xx status code
func (*PatchBalloonStatsIntervalDefault) IsCode ¶
func (o *PatchBalloonStatsIntervalDefault) IsCode(code int) bool
IsCode returns true when this patch balloon stats interval default response a status code equal to that given
func (*PatchBalloonStatsIntervalDefault) IsRedirect ¶
func (o *PatchBalloonStatsIntervalDefault) IsRedirect() bool
IsRedirect returns true when this patch balloon stats interval default response has a 3xx status code
func (*PatchBalloonStatsIntervalDefault) IsServerError ¶
func (o *PatchBalloonStatsIntervalDefault) IsServerError() bool
IsServerError returns true when this patch balloon stats interval default response has a 5xx status code
func (*PatchBalloonStatsIntervalDefault) IsSuccess ¶
func (o *PatchBalloonStatsIntervalDefault) IsSuccess() bool
IsSuccess returns true when this patch balloon stats interval default response has a 2xx status code
func (*PatchBalloonStatsIntervalDefault) String ¶
func (o *PatchBalloonStatsIntervalDefault) String() string
type PatchBalloonStatsIntervalNoContent ¶
type PatchBalloonStatsIntervalNoContent struct { }
PatchBalloonStatsIntervalNoContent describes a response with status code 204, with default header values.
Balloon statistics interval updated
func NewPatchBalloonStatsIntervalNoContent ¶
func NewPatchBalloonStatsIntervalNoContent() *PatchBalloonStatsIntervalNoContent
NewPatchBalloonStatsIntervalNoContent creates a PatchBalloonStatsIntervalNoContent with default headers values
func (*PatchBalloonStatsIntervalNoContent) Code ¶
func (o *PatchBalloonStatsIntervalNoContent) Code() int
Code gets the status code for the patch balloon stats interval no content response
func (*PatchBalloonStatsIntervalNoContent) Error ¶
func (o *PatchBalloonStatsIntervalNoContent) Error() string
func (*PatchBalloonStatsIntervalNoContent) IsClientError ¶
func (o *PatchBalloonStatsIntervalNoContent) IsClientError() bool
IsClientError returns true when this patch balloon stats interval no content response has a 4xx status code
func (*PatchBalloonStatsIntervalNoContent) IsCode ¶
func (o *PatchBalloonStatsIntervalNoContent) IsCode(code int) bool
IsCode returns true when this patch balloon stats interval no content response a status code equal to that given
func (*PatchBalloonStatsIntervalNoContent) IsRedirect ¶
func (o *PatchBalloonStatsIntervalNoContent) IsRedirect() bool
IsRedirect returns true when this patch balloon stats interval no content response has a 3xx status code
func (*PatchBalloonStatsIntervalNoContent) IsServerError ¶
func (o *PatchBalloonStatsIntervalNoContent) IsServerError() bool
IsServerError returns true when this patch balloon stats interval no content response has a 5xx status code
func (*PatchBalloonStatsIntervalNoContent) IsSuccess ¶
func (o *PatchBalloonStatsIntervalNoContent) IsSuccess() bool
IsSuccess returns true when this patch balloon stats interval no content response has a 2xx status code
func (*PatchBalloonStatsIntervalNoContent) String ¶
func (o *PatchBalloonStatsIntervalNoContent) String() string
type PatchBalloonStatsIntervalParams ¶
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 ¶
func NewPatchBalloonStatsIntervalParams() *PatchBalloonStatsIntervalParams
NewPatchBalloonStatsIntervalParams creates a new PatchBalloonStatsIntervalParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchBalloonStatsIntervalParamsWithContext ¶
func NewPatchBalloonStatsIntervalParamsWithContext(ctx context.Context) *PatchBalloonStatsIntervalParams
NewPatchBalloonStatsIntervalParamsWithContext creates a new PatchBalloonStatsIntervalParams object with the ability to set a context for a request.
func NewPatchBalloonStatsIntervalParamsWithHTTPClient ¶
func NewPatchBalloonStatsIntervalParamsWithHTTPClient(client *http.Client) *PatchBalloonStatsIntervalParams
NewPatchBalloonStatsIntervalParamsWithHTTPClient creates a new PatchBalloonStatsIntervalParams object with the ability to set a custom HTTPClient for a request.
func NewPatchBalloonStatsIntervalParamsWithTimeout ¶
func NewPatchBalloonStatsIntervalParamsWithTimeout(timeout time.Duration) *PatchBalloonStatsIntervalParams
NewPatchBalloonStatsIntervalParamsWithTimeout creates a new PatchBalloonStatsIntervalParams object with the ability to set a timeout on a request.
func (*PatchBalloonStatsIntervalParams) SetBody ¶
func (o *PatchBalloonStatsIntervalParams) SetBody(body *models.BalloonStatsUpdate)
SetBody adds the body to the patch balloon stats interval params
func (*PatchBalloonStatsIntervalParams) SetContext ¶
func (o *PatchBalloonStatsIntervalParams) SetContext(ctx context.Context)
SetContext adds the context to the patch balloon stats interval params
func (*PatchBalloonStatsIntervalParams) SetDefaults ¶
func (o *PatchBalloonStatsIntervalParams) SetDefaults()
SetDefaults hydrates default values in the patch balloon stats interval params (not the query body).
All values with no default are reset to their zero value.
func (*PatchBalloonStatsIntervalParams) SetHTTPClient ¶
func (o *PatchBalloonStatsIntervalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch balloon stats interval params
func (*PatchBalloonStatsIntervalParams) SetTimeout ¶
func (o *PatchBalloonStatsIntervalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch balloon stats interval params
func (*PatchBalloonStatsIntervalParams) WithBody ¶
func (o *PatchBalloonStatsIntervalParams) WithBody(body *models.BalloonStatsUpdate) *PatchBalloonStatsIntervalParams
WithBody adds the body to the patch balloon stats interval params
func (*PatchBalloonStatsIntervalParams) WithContext ¶
func (o *PatchBalloonStatsIntervalParams) WithContext(ctx context.Context) *PatchBalloonStatsIntervalParams
WithContext adds the context to the patch balloon stats interval params
func (*PatchBalloonStatsIntervalParams) WithDefaults ¶
func (o *PatchBalloonStatsIntervalParams) WithDefaults() *PatchBalloonStatsIntervalParams
WithDefaults hydrates default values in the patch balloon stats interval params (not the query body).
All values with no default are reset to their zero value.
func (*PatchBalloonStatsIntervalParams) WithHTTPClient ¶
func (o *PatchBalloonStatsIntervalParams) WithHTTPClient(client *http.Client) *PatchBalloonStatsIntervalParams
WithHTTPClient adds the HTTPClient to the patch balloon stats interval params
func (*PatchBalloonStatsIntervalParams) WithTimeout ¶
func (o *PatchBalloonStatsIntervalParams) WithTimeout(timeout time.Duration) *PatchBalloonStatsIntervalParams
WithTimeout adds the timeout to the patch balloon stats interval params
func (*PatchBalloonStatsIntervalParams) WriteToRequest ¶
func (o *PatchBalloonStatsIntervalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchBalloonStatsIntervalReader ¶
type PatchBalloonStatsIntervalReader struct {
// contains filtered or unexported fields
}
PatchBalloonStatsIntervalReader is a Reader for the PatchBalloonStatsInterval structure.
func (*PatchBalloonStatsIntervalReader) ReadResponse ¶
func (o *PatchBalloonStatsIntervalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchGuestDriveByIDBadRequest ¶
PatchGuestDriveByIDBadRequest describes a response with status code 400, 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) Code ¶
func (o *PatchGuestDriveByIDBadRequest) Code() int
Code gets the status code for the patch guest drive by Id bad request response
func (*PatchGuestDriveByIDBadRequest) Error ¶
func (o *PatchGuestDriveByIDBadRequest) Error() string
func (*PatchGuestDriveByIDBadRequest) GetPayload ¶
func (o *PatchGuestDriveByIDBadRequest) GetPayload() *models.Error
func (*PatchGuestDriveByIDBadRequest) IsClientError ¶
func (o *PatchGuestDriveByIDBadRequest) IsClientError() bool
IsClientError returns true when this patch guest drive by Id bad request response has a 4xx status code
func (*PatchGuestDriveByIDBadRequest) IsCode ¶
func (o *PatchGuestDriveByIDBadRequest) IsCode(code int) bool
IsCode returns true when this patch guest drive by Id bad request response a status code equal to that given
func (*PatchGuestDriveByIDBadRequest) IsRedirect ¶
func (o *PatchGuestDriveByIDBadRequest) IsRedirect() bool
IsRedirect returns true when this patch guest drive by Id bad request response has a 3xx status code
func (*PatchGuestDriveByIDBadRequest) IsServerError ¶
func (o *PatchGuestDriveByIDBadRequest) IsServerError() bool
IsServerError returns true when this patch guest drive by Id bad request response has a 5xx status code
func (*PatchGuestDriveByIDBadRequest) IsSuccess ¶
func (o *PatchGuestDriveByIDBadRequest) IsSuccess() bool
IsSuccess returns true when this patch guest drive by Id bad request response has a 2xx status code
func (*PatchGuestDriveByIDBadRequest) String ¶
func (o *PatchGuestDriveByIDBadRequest) String() string
type PatchGuestDriveByIDDefault ¶
type PatchGuestDriveByIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PatchGuestDriveByIDDefault describes a response with status code -1, with default header values.
Internal server error.
func NewPatchGuestDriveByIDDefault ¶
func NewPatchGuestDriveByIDDefault(code int) *PatchGuestDriveByIDDefault
NewPatchGuestDriveByIDDefault creates a PatchGuestDriveByIDDefault with default headers values
func (*PatchGuestDriveByIDDefault) Code ¶
func (o *PatchGuestDriveByIDDefault) Code() int
Code gets the status code for the patch guest drive by ID default response
func (*PatchGuestDriveByIDDefault) Error ¶
func (o *PatchGuestDriveByIDDefault) Error() string
func (*PatchGuestDriveByIDDefault) GetPayload ¶
func (o *PatchGuestDriveByIDDefault) GetPayload() *models.Error
func (*PatchGuestDriveByIDDefault) IsClientError ¶
func (o *PatchGuestDriveByIDDefault) IsClientError() bool
IsClientError returns true when this patch guest drive by ID default response has a 4xx status code
func (*PatchGuestDriveByIDDefault) IsCode ¶
func (o *PatchGuestDriveByIDDefault) IsCode(code int) bool
IsCode returns true when this patch guest drive by ID default response a status code equal to that given
func (*PatchGuestDriveByIDDefault) IsRedirect ¶
func (o *PatchGuestDriveByIDDefault) IsRedirect() bool
IsRedirect returns true when this patch guest drive by ID default response has a 3xx status code
func (*PatchGuestDriveByIDDefault) IsServerError ¶
func (o *PatchGuestDriveByIDDefault) IsServerError() bool
IsServerError returns true when this patch guest drive by ID default response has a 5xx status code
func (*PatchGuestDriveByIDDefault) IsSuccess ¶
func (o *PatchGuestDriveByIDDefault) IsSuccess() bool
IsSuccess returns true when this patch guest drive by ID default response has a 2xx status code
func (*PatchGuestDriveByIDDefault) String ¶
func (o *PatchGuestDriveByIDDefault) String() string
type PatchGuestDriveByIDNoContent ¶
type PatchGuestDriveByIDNoContent struct { }
PatchGuestDriveByIDNoContent describes a response with status code 204, with default header values.
Drive updated
func NewPatchGuestDriveByIDNoContent ¶
func NewPatchGuestDriveByIDNoContent() *PatchGuestDriveByIDNoContent
NewPatchGuestDriveByIDNoContent creates a PatchGuestDriveByIDNoContent with default headers values
func (*PatchGuestDriveByIDNoContent) Code ¶
func (o *PatchGuestDriveByIDNoContent) Code() int
Code gets the status code for the patch guest drive by Id no content response
func (*PatchGuestDriveByIDNoContent) Error ¶
func (o *PatchGuestDriveByIDNoContent) Error() string
func (*PatchGuestDriveByIDNoContent) IsClientError ¶
func (o *PatchGuestDriveByIDNoContent) IsClientError() bool
IsClientError returns true when this patch guest drive by Id no content response has a 4xx status code
func (*PatchGuestDriveByIDNoContent) IsCode ¶
func (o *PatchGuestDriveByIDNoContent) IsCode(code int) bool
IsCode returns true when this patch guest drive by Id no content response a status code equal to that given
func (*PatchGuestDriveByIDNoContent) IsRedirect ¶
func (o *PatchGuestDriveByIDNoContent) IsRedirect() bool
IsRedirect returns true when this patch guest drive by Id no content response has a 3xx status code
func (*PatchGuestDriveByIDNoContent) IsServerError ¶
func (o *PatchGuestDriveByIDNoContent) IsServerError() bool
IsServerError returns true when this patch guest drive by Id no content response has a 5xx status code
func (*PatchGuestDriveByIDNoContent) IsSuccess ¶
func (o *PatchGuestDriveByIDNoContent) IsSuccess() bool
IsSuccess returns true when this patch guest drive by Id no content response has a 2xx status code
func (*PatchGuestDriveByIDNoContent) String ¶
func (o *PatchGuestDriveByIDNoContent) String() string
type PatchGuestDriveByIDParams ¶
type PatchGuestDriveByIDParams struct { /* Body. Guest drive properties */ Body *models.PartialDrive /* DriveID. The id of the guest drive */ DriveID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchGuestDriveByIDParams contains all the parameters to send to the API endpoint
for the patch guest drive by ID operation. Typically these are written to a http.Request.
func NewPatchGuestDriveByIDParams ¶
func NewPatchGuestDriveByIDParams() *PatchGuestDriveByIDParams
NewPatchGuestDriveByIDParams creates a new PatchGuestDriveByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchGuestDriveByIDParamsWithContext ¶
func NewPatchGuestDriveByIDParamsWithContext(ctx context.Context) *PatchGuestDriveByIDParams
NewPatchGuestDriveByIDParamsWithContext creates a new PatchGuestDriveByIDParams object with 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 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 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) SetDefaults ¶
func (o *PatchGuestDriveByIDParams) SetDefaults()
SetDefaults hydrates default values in the patch guest drive by ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchGuestDriveByIDParams) SetDriveID ¶
func (o *PatchGuestDriveByIDParams) SetDriveID(driveID string)
SetDriveID adds the driveId to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) SetHTTPClient ¶
func (o *PatchGuestDriveByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) SetTimeout ¶
func (o *PatchGuestDriveByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithBody ¶
func (o *PatchGuestDriveByIDParams) WithBody(body *models.PartialDrive) *PatchGuestDriveByIDParams
WithBody adds the body to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithContext ¶
func (o *PatchGuestDriveByIDParams) WithContext(ctx context.Context) *PatchGuestDriveByIDParams
WithContext adds the context to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithDefaults ¶
func (o *PatchGuestDriveByIDParams) WithDefaults() *PatchGuestDriveByIDParams
WithDefaults hydrates default values in the patch guest drive by ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchGuestDriveByIDParams) WithDriveID ¶
func (o *PatchGuestDriveByIDParams) WithDriveID(driveID string) *PatchGuestDriveByIDParams
WithDriveID adds the driveID to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithHTTPClient ¶
func (o *PatchGuestDriveByIDParams) WithHTTPClient(client *http.Client) *PatchGuestDriveByIDParams
WithHTTPClient adds the HTTPClient to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WithTimeout ¶
func (o *PatchGuestDriveByIDParams) WithTimeout(timeout time.Duration) *PatchGuestDriveByIDParams
WithTimeout adds the timeout to the patch guest drive by ID params
func (*PatchGuestDriveByIDParams) WriteToRequest ¶
func (o *PatchGuestDriveByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchGuestDriveByIDReader ¶
type PatchGuestDriveByIDReader struct {
// contains filtered or unexported fields
}
PatchGuestDriveByIDReader is a Reader for the PatchGuestDriveByID structure.
func (*PatchGuestDriveByIDReader) ReadResponse ¶
func (o *PatchGuestDriveByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchGuestNetworkInterfaceByIDBadRequest ¶
PatchGuestNetworkInterfaceByIDBadRequest describes a response with status code 400, 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) Code ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) Code() int
Code gets the status code for the patch guest network interface by Id bad request response
func (*PatchGuestNetworkInterfaceByIDBadRequest) Error ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) Error() string
func (*PatchGuestNetworkInterfaceByIDBadRequest) GetPayload ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) GetPayload() *models.Error
func (*PatchGuestNetworkInterfaceByIDBadRequest) IsClientError ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsClientError() bool
IsClientError returns true when this patch guest network interface by Id bad request response has a 4xx status code
func (*PatchGuestNetworkInterfaceByIDBadRequest) IsCode ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsCode(code int) bool
IsCode returns true when this patch guest network interface by Id bad request response a status code equal to that given
func (*PatchGuestNetworkInterfaceByIDBadRequest) IsRedirect ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsRedirect() bool
IsRedirect returns true when this patch guest network interface by Id bad request response has a 3xx status code
func (*PatchGuestNetworkInterfaceByIDBadRequest) IsServerError ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsServerError() bool
IsServerError returns true when this patch guest network interface by Id bad request response has a 5xx status code
func (*PatchGuestNetworkInterfaceByIDBadRequest) IsSuccess ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) IsSuccess() bool
IsSuccess returns true when this patch guest network interface by Id bad request response has a 2xx status code
func (*PatchGuestNetworkInterfaceByIDBadRequest) String ¶
func (o *PatchGuestNetworkInterfaceByIDBadRequest) String() string
type PatchGuestNetworkInterfaceByIDDefault ¶
type PatchGuestNetworkInterfaceByIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PatchGuestNetworkInterfaceByIDDefault describes a response with status code -1, with default header values.
Internal server error
func NewPatchGuestNetworkInterfaceByIDDefault ¶
func NewPatchGuestNetworkInterfaceByIDDefault(code int) *PatchGuestNetworkInterfaceByIDDefault
NewPatchGuestNetworkInterfaceByIDDefault creates a PatchGuestNetworkInterfaceByIDDefault with default headers values
func (*PatchGuestNetworkInterfaceByIDDefault) Code ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) Code() int
Code gets the status code for the patch guest network interface by ID default response
func (*PatchGuestNetworkInterfaceByIDDefault) Error ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) Error() string
func (*PatchGuestNetworkInterfaceByIDDefault) GetPayload ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) GetPayload() *models.Error
func (*PatchGuestNetworkInterfaceByIDDefault) IsClientError ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) IsClientError() bool
IsClientError returns true when this patch guest network interface by ID default response has a 4xx status code
func (*PatchGuestNetworkInterfaceByIDDefault) IsCode ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) IsCode(code int) bool
IsCode returns true when this patch guest network interface by ID default response a status code equal to that given
func (*PatchGuestNetworkInterfaceByIDDefault) IsRedirect ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) IsRedirect() bool
IsRedirect returns true when this patch guest network interface by ID default response has a 3xx status code
func (*PatchGuestNetworkInterfaceByIDDefault) IsServerError ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) IsServerError() bool
IsServerError returns true when this patch guest network interface by ID default response has a 5xx status code
func (*PatchGuestNetworkInterfaceByIDDefault) IsSuccess ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) IsSuccess() bool
IsSuccess returns true when this patch guest network interface by ID default response has a 2xx status code
func (*PatchGuestNetworkInterfaceByIDDefault) String ¶
func (o *PatchGuestNetworkInterfaceByIDDefault) String() string
type PatchGuestNetworkInterfaceByIDNoContent ¶
type PatchGuestNetworkInterfaceByIDNoContent struct { }
PatchGuestNetworkInterfaceByIDNoContent describes a response with status code 204, with default header values.
Network interface updated
func NewPatchGuestNetworkInterfaceByIDNoContent ¶
func NewPatchGuestNetworkInterfaceByIDNoContent() *PatchGuestNetworkInterfaceByIDNoContent
NewPatchGuestNetworkInterfaceByIDNoContent creates a PatchGuestNetworkInterfaceByIDNoContent with default headers values
func (*PatchGuestNetworkInterfaceByIDNoContent) Code ¶
func (o *PatchGuestNetworkInterfaceByIDNoContent) Code() int
Code gets the status code for the patch guest network interface by Id no content response
func (*PatchGuestNetworkInterfaceByIDNoContent) Error ¶
func (o *PatchGuestNetworkInterfaceByIDNoContent) Error() string
func (*PatchGuestNetworkInterfaceByIDNoContent) IsClientError ¶
func (o *PatchGuestNetworkInterfaceByIDNoContent) IsClientError() bool
IsClientError returns true when this patch guest network interface by Id no content response has a 4xx status code
func (*PatchGuestNetworkInterfaceByIDNoContent) IsCode ¶
func (o *PatchGuestNetworkInterfaceByIDNoContent) IsCode(code int) bool
IsCode returns true when this patch guest network interface by Id no content response a status code equal to that given
func (*PatchGuestNetworkInterfaceByIDNoContent) IsRedirect ¶
func (o *PatchGuestNetworkInterfaceByIDNoContent) IsRedirect() bool
IsRedirect returns true when this patch guest network interface by Id no content response has a 3xx status code
func (*PatchGuestNetworkInterfaceByIDNoContent) IsServerError ¶
func (o *PatchGuestNetworkInterfaceByIDNoContent) IsServerError() bool
IsServerError returns true when this patch guest network interface by Id no content response has a 5xx status code
func (*PatchGuestNetworkInterfaceByIDNoContent) IsSuccess ¶
func (o *PatchGuestNetworkInterfaceByIDNoContent) IsSuccess() bool
IsSuccess returns true when this patch guest network interface by Id no content response has a 2xx status code
func (*PatchGuestNetworkInterfaceByIDNoContent) String ¶
func (o *PatchGuestNetworkInterfaceByIDNoContent) String() string
type PatchGuestNetworkInterfaceByIDParams ¶
type PatchGuestNetworkInterfaceByIDParams struct { /* Body. A subset of the guest network interface properties */ Body *models.PartialNetworkInterface /* IfaceID. The id of the guest network interface */ IfaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchGuestNetworkInterfaceByIDParams contains all the parameters to send to the API endpoint
for the patch guest network interface by ID operation. Typically these are written to a http.Request.
func NewPatchGuestNetworkInterfaceByIDParams ¶
func NewPatchGuestNetworkInterfaceByIDParams() *PatchGuestNetworkInterfaceByIDParams
NewPatchGuestNetworkInterfaceByIDParams creates a new PatchGuestNetworkInterfaceByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchGuestNetworkInterfaceByIDParamsWithContext ¶
func NewPatchGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PatchGuestNetworkInterfaceByIDParams
NewPatchGuestNetworkInterfaceByIDParamsWithContext creates a new PatchGuestNetworkInterfaceByIDParams object with 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 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 ability to set a timeout on a request.
func (*PatchGuestNetworkInterfaceByIDParams) SetBody ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetBody(body *models.PartialNetworkInterface)
SetBody adds the body to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) SetContext ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) SetDefaults ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetDefaults()
SetDefaults hydrates default values in the patch guest network interface by ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchGuestNetworkInterfaceByIDParams) SetHTTPClient ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) SetIfaceID ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)
SetIfaceID adds the ifaceId to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) SetTimeout ¶
func (o *PatchGuestNetworkInterfaceByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithBody ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithBody(body *models.PartialNetworkInterface) *PatchGuestNetworkInterfaceByIDParams
WithBody adds the body to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithContext ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithContext(ctx context.Context) *PatchGuestNetworkInterfaceByIDParams
WithContext adds the context to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithDefaults ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithDefaults() *PatchGuestNetworkInterfaceByIDParams
WithDefaults hydrates default values in the patch guest network interface by ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchGuestNetworkInterfaceByIDParams) WithHTTPClient ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithHTTPClient(client *http.Client) *PatchGuestNetworkInterfaceByIDParams
WithHTTPClient adds the HTTPClient to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithIfaceID ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithIfaceID(ifaceID string) *PatchGuestNetworkInterfaceByIDParams
WithIfaceID adds the ifaceID to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WithTimeout ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WithTimeout(timeout time.Duration) *PatchGuestNetworkInterfaceByIDParams
WithTimeout adds the timeout to the patch guest network interface by ID params
func (*PatchGuestNetworkInterfaceByIDParams) WriteToRequest ¶
func (o *PatchGuestNetworkInterfaceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchGuestNetworkInterfaceByIDReader ¶
type PatchGuestNetworkInterfaceByIDReader struct {
// contains filtered or unexported fields
}
PatchGuestNetworkInterfaceByIDReader is a Reader for the PatchGuestNetworkInterfaceByID structure.
func (*PatchGuestNetworkInterfaceByIDReader) ReadResponse ¶
func (o *PatchGuestNetworkInterfaceByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchMachineConfigurationBadRequest ¶
PatchMachineConfigurationBadRequest describes a response with status code 400, 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) Code ¶
func (o *PatchMachineConfigurationBadRequest) Code() int
Code gets the status code for the patch machine configuration bad request response
func (*PatchMachineConfigurationBadRequest) Error ¶
func (o *PatchMachineConfigurationBadRequest) Error() string
func (*PatchMachineConfigurationBadRequest) GetPayload ¶
func (o *PatchMachineConfigurationBadRequest) GetPayload() *models.Error
func (*PatchMachineConfigurationBadRequest) IsClientError ¶
func (o *PatchMachineConfigurationBadRequest) IsClientError() bool
IsClientError returns true when this patch machine configuration bad request response has a 4xx status code
func (*PatchMachineConfigurationBadRequest) IsCode ¶
func (o *PatchMachineConfigurationBadRequest) IsCode(code int) bool
IsCode returns true when this patch machine configuration bad request response a status code equal to that given
func (*PatchMachineConfigurationBadRequest) IsRedirect ¶
func (o *PatchMachineConfigurationBadRequest) IsRedirect() bool
IsRedirect returns true when this patch machine configuration bad request response has a 3xx status code
func (*PatchMachineConfigurationBadRequest) IsServerError ¶
func (o *PatchMachineConfigurationBadRequest) IsServerError() bool
IsServerError returns true when this patch machine configuration bad request response has a 5xx status code
func (*PatchMachineConfigurationBadRequest) IsSuccess ¶
func (o *PatchMachineConfigurationBadRequest) IsSuccess() bool
IsSuccess returns true when this patch machine configuration bad request response has a 2xx status code
func (*PatchMachineConfigurationBadRequest) String ¶
func (o *PatchMachineConfigurationBadRequest) String() string
type PatchMachineConfigurationDefault ¶
type PatchMachineConfigurationDefault struct { Payload *models.Error // contains filtered or unexported fields }
PatchMachineConfigurationDefault describes a response with status code -1, with default header values.
Internal server error
func NewPatchMachineConfigurationDefault ¶
func NewPatchMachineConfigurationDefault(code int) *PatchMachineConfigurationDefault
NewPatchMachineConfigurationDefault creates a PatchMachineConfigurationDefault with default headers values
func (*PatchMachineConfigurationDefault) Code ¶
func (o *PatchMachineConfigurationDefault) Code() int
Code gets the status code for the patch machine configuration default response
func (*PatchMachineConfigurationDefault) Error ¶
func (o *PatchMachineConfigurationDefault) Error() string
func (*PatchMachineConfigurationDefault) GetPayload ¶
func (o *PatchMachineConfigurationDefault) GetPayload() *models.Error
func (*PatchMachineConfigurationDefault) IsClientError ¶
func (o *PatchMachineConfigurationDefault) IsClientError() bool
IsClientError returns true when this patch machine configuration default response has a 4xx status code
func (*PatchMachineConfigurationDefault) IsCode ¶
func (o *PatchMachineConfigurationDefault) IsCode(code int) bool
IsCode returns true when this patch machine configuration default response a status code equal to that given
func (*PatchMachineConfigurationDefault) IsRedirect ¶
func (o *PatchMachineConfigurationDefault) IsRedirect() bool
IsRedirect returns true when this patch machine configuration default response has a 3xx status code
func (*PatchMachineConfigurationDefault) IsServerError ¶
func (o *PatchMachineConfigurationDefault) IsServerError() bool
IsServerError returns true when this patch machine configuration default response has a 5xx status code
func (*PatchMachineConfigurationDefault) IsSuccess ¶
func (o *PatchMachineConfigurationDefault) IsSuccess() bool
IsSuccess returns true when this patch machine configuration default response has a 2xx status code
func (*PatchMachineConfigurationDefault) String ¶
func (o *PatchMachineConfigurationDefault) String() string
type PatchMachineConfigurationNoContent ¶
type PatchMachineConfigurationNoContent struct { }
PatchMachineConfigurationNoContent describes a response with status code 204, with default header values.
Machine Configuration created/updated
func NewPatchMachineConfigurationNoContent ¶
func NewPatchMachineConfigurationNoContent() *PatchMachineConfigurationNoContent
NewPatchMachineConfigurationNoContent creates a PatchMachineConfigurationNoContent with default headers values
func (*PatchMachineConfigurationNoContent) Code ¶
func (o *PatchMachineConfigurationNoContent) Code() int
Code gets the status code for the patch machine configuration no content response
func (*PatchMachineConfigurationNoContent) Error ¶
func (o *PatchMachineConfigurationNoContent) Error() string
func (*PatchMachineConfigurationNoContent) IsClientError ¶
func (o *PatchMachineConfigurationNoContent) IsClientError() bool
IsClientError returns true when this patch machine configuration no content response has a 4xx status code
func (*PatchMachineConfigurationNoContent) IsCode ¶
func (o *PatchMachineConfigurationNoContent) IsCode(code int) bool
IsCode returns true when this patch machine configuration no content response a status code equal to that given
func (*PatchMachineConfigurationNoContent) IsRedirect ¶
func (o *PatchMachineConfigurationNoContent) IsRedirect() bool
IsRedirect returns true when this patch machine configuration no content response has a 3xx status code
func (*PatchMachineConfigurationNoContent) IsServerError ¶
func (o *PatchMachineConfigurationNoContent) IsServerError() bool
IsServerError returns true when this patch machine configuration no content response has a 5xx status code
func (*PatchMachineConfigurationNoContent) IsSuccess ¶
func (o *PatchMachineConfigurationNoContent) IsSuccess() bool
IsSuccess returns true when this patch machine configuration no content response has a 2xx status code
func (*PatchMachineConfigurationNoContent) String ¶
func (o *PatchMachineConfigurationNoContent) String() string
type PatchMachineConfigurationParams ¶
type PatchMachineConfigurationParams struct { /* Body. A subset of Machine Configuration Parameters */ Body *models.MachineConfiguration Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchMachineConfigurationParams contains all the parameters to send to the API endpoint
for the patch machine configuration operation. Typically these are written to a http.Request.
func NewPatchMachineConfigurationParams ¶
func NewPatchMachineConfigurationParams() *PatchMachineConfigurationParams
NewPatchMachineConfigurationParams creates a new PatchMachineConfigurationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchMachineConfigurationParamsWithContext ¶
func NewPatchMachineConfigurationParamsWithContext(ctx context.Context) *PatchMachineConfigurationParams
NewPatchMachineConfigurationParamsWithContext creates a new PatchMachineConfigurationParams object with 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 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 ability to set a timeout on a request.
func (*PatchMachineConfigurationParams) SetBody ¶
func (o *PatchMachineConfigurationParams) SetBody(body *models.MachineConfiguration)
SetBody adds the body to the patch machine configuration params
func (*PatchMachineConfigurationParams) SetContext ¶
func (o *PatchMachineConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the patch machine configuration params
func (*PatchMachineConfigurationParams) SetDefaults ¶
func (o *PatchMachineConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the patch machine configuration params (not the query body).
All values with no default are reset to their zero value.
func (*PatchMachineConfigurationParams) SetHTTPClient ¶
func (o *PatchMachineConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch machine configuration params
func (*PatchMachineConfigurationParams) SetTimeout ¶
func (o *PatchMachineConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch machine configuration params
func (*PatchMachineConfigurationParams) WithBody ¶
func (o *PatchMachineConfigurationParams) WithBody(body *models.MachineConfiguration) *PatchMachineConfigurationParams
WithBody adds the body to the patch machine configuration params
func (*PatchMachineConfigurationParams) WithContext ¶
func (o *PatchMachineConfigurationParams) WithContext(ctx context.Context) *PatchMachineConfigurationParams
WithContext adds the context to the patch machine configuration params
func (*PatchMachineConfigurationParams) WithDefaults ¶
func (o *PatchMachineConfigurationParams) WithDefaults() *PatchMachineConfigurationParams
WithDefaults hydrates default values in the patch machine configuration params (not the query body).
All values with no default are reset to their zero value.
func (*PatchMachineConfigurationParams) WithHTTPClient ¶
func (o *PatchMachineConfigurationParams) WithHTTPClient(client *http.Client) *PatchMachineConfigurationParams
WithHTTPClient adds the HTTPClient to the patch machine configuration params
func (*PatchMachineConfigurationParams) WithTimeout ¶
func (o *PatchMachineConfigurationParams) WithTimeout(timeout time.Duration) *PatchMachineConfigurationParams
WithTimeout adds the timeout to the patch machine configuration params
func (*PatchMachineConfigurationParams) WriteToRequest ¶
func (o *PatchMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchMachineConfigurationReader ¶
type PatchMachineConfigurationReader struct {
// contains filtered or unexported fields
}
PatchMachineConfigurationReader is a Reader for the PatchMachineConfiguration structure.
func (*PatchMachineConfigurationReader) ReadResponse ¶
func (o *PatchMachineConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchMmdsBadRequest ¶
PatchMmdsBadRequest describes a response with status code 400, 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) Code ¶
func (o *PatchMmdsBadRequest) Code() int
Code gets the status code for the patch mmds bad request response
func (*PatchMmdsBadRequest) Error ¶
func (o *PatchMmdsBadRequest) Error() string
func (*PatchMmdsBadRequest) GetPayload ¶
func (o *PatchMmdsBadRequest) GetPayload() *models.Error
func (*PatchMmdsBadRequest) IsClientError ¶
func (o *PatchMmdsBadRequest) IsClientError() bool
IsClientError returns true when this patch mmds bad request response has a 4xx status code
func (*PatchMmdsBadRequest) IsCode ¶
func (o *PatchMmdsBadRequest) IsCode(code int) bool
IsCode returns true when this patch mmds bad request response a status code equal to that given
func (*PatchMmdsBadRequest) IsRedirect ¶
func (o *PatchMmdsBadRequest) IsRedirect() bool
IsRedirect returns true when this patch mmds bad request response has a 3xx status code
func (*PatchMmdsBadRequest) IsServerError ¶
func (o *PatchMmdsBadRequest) IsServerError() bool
IsServerError returns true when this patch mmds bad request response has a 5xx status code
func (*PatchMmdsBadRequest) IsSuccess ¶
func (o *PatchMmdsBadRequest) IsSuccess() bool
IsSuccess returns true when this patch mmds bad request response has a 2xx status code
func (*PatchMmdsBadRequest) String ¶
func (o *PatchMmdsBadRequest) String() string
type PatchMmdsDefault ¶
PatchMmdsDefault describes a response with status code -1, 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 ¶
func (o *PatchMmdsDefault) GetPayload() *models.Error
func (*PatchMmdsDefault) IsClientError ¶
func (o *PatchMmdsDefault) IsClientError() bool
IsClientError returns true when this patch mmds default response has a 4xx status code
func (*PatchMmdsDefault) IsCode ¶
func (o *PatchMmdsDefault) IsCode(code int) bool
IsCode returns true when this patch mmds default response a status code equal to that given
func (*PatchMmdsDefault) IsRedirect ¶
func (o *PatchMmdsDefault) IsRedirect() bool
IsRedirect returns true when this patch mmds default response has a 3xx status code
func (*PatchMmdsDefault) IsServerError ¶
func (o *PatchMmdsDefault) IsServerError() bool
IsServerError returns true when this patch mmds default response has a 5xx status code
func (*PatchMmdsDefault) IsSuccess ¶
func (o *PatchMmdsDefault) IsSuccess() bool
IsSuccess returns true when this patch mmds default response has a 2xx status code
func (*PatchMmdsDefault) String ¶
func (o *PatchMmdsDefault) String() string
type PatchMmdsNoContent ¶
type PatchMmdsNoContent struct { }
PatchMmdsNoContent describes a response with status code 204, with default header values.
MMDS data store updated.
func NewPatchMmdsNoContent ¶
func NewPatchMmdsNoContent() *PatchMmdsNoContent
NewPatchMmdsNoContent creates a PatchMmdsNoContent with default headers values
func (*PatchMmdsNoContent) Code ¶
func (o *PatchMmdsNoContent) Code() int
Code gets the status code for the patch mmds no content response
func (*PatchMmdsNoContent) Error ¶
func (o *PatchMmdsNoContent) Error() string
func (*PatchMmdsNoContent) IsClientError ¶
func (o *PatchMmdsNoContent) IsClientError() bool
IsClientError returns true when this patch mmds no content response has a 4xx status code
func (*PatchMmdsNoContent) IsCode ¶
func (o *PatchMmdsNoContent) IsCode(code int) bool
IsCode returns true when this patch mmds no content response a status code equal to that given
func (*PatchMmdsNoContent) IsRedirect ¶
func (o *PatchMmdsNoContent) IsRedirect() bool
IsRedirect returns true when this patch mmds no content response has a 3xx status code
func (*PatchMmdsNoContent) IsServerError ¶
func (o *PatchMmdsNoContent) IsServerError() bool
IsServerError returns true when this patch mmds no content response has a 5xx status code
func (*PatchMmdsNoContent) IsSuccess ¶
func (o *PatchMmdsNoContent) IsSuccess() bool
IsSuccess returns true when this patch mmds no content response has a 2xx status code
func (*PatchMmdsNoContent) String ¶
func (o *PatchMmdsNoContent) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchMmdsParamsWithContext ¶
func NewPatchMmdsParamsWithContext(ctx context.Context) *PatchMmdsParams
NewPatchMmdsParamsWithContext creates a new PatchMmdsParams object with 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 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 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) SetDefaults ¶
func (o *PatchMmdsParams) SetDefaults()
SetDefaults hydrates default values in the patch mmds params (not the query body).
All values with no default are reset to their zero value.
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 models.MmdsContentsObject) *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) WithDefaults ¶
func (o *PatchMmdsParams) WithDefaults() *PatchMmdsParams
WithDefaults hydrates default values in the patch mmds params (not the query body).
All values with no default are reset to their zero value.
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 ¶
PatchVMBadRequest describes a response with status code 400, with default header values.
Vm state cannot be updated due to bad input
func NewPatchVMBadRequest ¶
func NewPatchVMBadRequest() *PatchVMBadRequest
NewPatchVMBadRequest creates a PatchVMBadRequest with default headers values
func (*PatchVMBadRequest) Code ¶
func (o *PatchVMBadRequest) Code() int
Code gets the status code for the patch Vm bad request response
func (*PatchVMBadRequest) Error ¶
func (o *PatchVMBadRequest) Error() string
func (*PatchVMBadRequest) GetPayload ¶
func (o *PatchVMBadRequest) GetPayload() *models.Error
func (*PatchVMBadRequest) IsClientError ¶
func (o *PatchVMBadRequest) IsClientError() bool
IsClientError returns true when this patch Vm bad request response has a 4xx status code
func (*PatchVMBadRequest) IsCode ¶
func (o *PatchVMBadRequest) IsCode(code int) bool
IsCode returns true when this patch Vm bad request response a status code equal to that given
func (*PatchVMBadRequest) IsRedirect ¶
func (o *PatchVMBadRequest) IsRedirect() bool
IsRedirect returns true when this patch Vm bad request response has a 3xx status code
func (*PatchVMBadRequest) IsServerError ¶
func (o *PatchVMBadRequest) IsServerError() bool
IsServerError returns true when this patch Vm bad request response has a 5xx status code
func (*PatchVMBadRequest) IsSuccess ¶
func (o *PatchVMBadRequest) IsSuccess() bool
IsSuccess returns true when this patch Vm bad request response has a 2xx status code
func (*PatchVMBadRequest) String ¶
func (o *PatchVMBadRequest) String() string
type PatchVMDefault ¶
PatchVMDefault describes a response with status code -1, with default header values.
Internal server error
func NewPatchVMDefault ¶
func NewPatchVMDefault(code int) *PatchVMDefault
NewPatchVMDefault creates a PatchVMDefault with default headers values
func (*PatchVMDefault) Code ¶
func (o *PatchVMDefault) Code() int
Code gets the status code for the patch Vm default response
func (*PatchVMDefault) Error ¶
func (o *PatchVMDefault) Error() string
func (*PatchVMDefault) GetPayload ¶
func (o *PatchVMDefault) GetPayload() *models.Error
func (*PatchVMDefault) IsClientError ¶
func (o *PatchVMDefault) IsClientError() bool
IsClientError returns true when this patch Vm default response has a 4xx status code
func (*PatchVMDefault) IsCode ¶
func (o *PatchVMDefault) IsCode(code int) bool
IsCode returns true when this patch Vm default response a status code equal to that given
func (*PatchVMDefault) IsRedirect ¶
func (o *PatchVMDefault) IsRedirect() bool
IsRedirect returns true when this patch Vm default response has a 3xx status code
func (*PatchVMDefault) IsServerError ¶
func (o *PatchVMDefault) IsServerError() bool
IsServerError returns true when this patch Vm default response has a 5xx status code
func (*PatchVMDefault) IsSuccess ¶
func (o *PatchVMDefault) IsSuccess() bool
IsSuccess returns true when this patch Vm default response has a 2xx status code
func (*PatchVMDefault) String ¶
func (o *PatchVMDefault) String() string
type PatchVMNoContent ¶
type PatchVMNoContent struct { }
PatchVMNoContent describes a response with status code 204, with default header values.
Vm state updated
func NewPatchVMNoContent ¶
func NewPatchVMNoContent() *PatchVMNoContent
NewPatchVMNoContent creates a PatchVMNoContent with default headers values
func (*PatchVMNoContent) Code ¶
func (o *PatchVMNoContent) Code() int
Code gets the status code for the patch Vm no content response
func (*PatchVMNoContent) Error ¶
func (o *PatchVMNoContent) Error() string
func (*PatchVMNoContent) IsClientError ¶
func (o *PatchVMNoContent) IsClientError() bool
IsClientError returns true when this patch Vm no content response has a 4xx status code
func (*PatchVMNoContent) IsCode ¶
func (o *PatchVMNoContent) IsCode(code int) bool
IsCode returns true when this patch Vm no content response a status code equal to that given
func (*PatchVMNoContent) IsRedirect ¶
func (o *PatchVMNoContent) IsRedirect() bool
IsRedirect returns true when this patch Vm no content response has a 3xx status code
func (*PatchVMNoContent) IsServerError ¶
func (o *PatchVMNoContent) IsServerError() bool
IsServerError returns true when this patch Vm no content response has a 5xx status code
func (*PatchVMNoContent) IsSuccess ¶
func (o *PatchVMNoContent) IsSuccess() bool
IsSuccess returns true when this patch Vm no content response has a 2xx status code
func (*PatchVMNoContent) String ¶
func (o *PatchVMNoContent) String() string
type PatchVMParams ¶
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 ¶
func NewPatchVMParams() *PatchVMParams
NewPatchVMParams creates a new PatchVMParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchVMParamsWithContext ¶
func NewPatchVMParamsWithContext(ctx context.Context) *PatchVMParams
NewPatchVMParamsWithContext creates a new PatchVMParams object with the ability to set a context for a request.
func NewPatchVMParamsWithHTTPClient ¶
func NewPatchVMParamsWithHTTPClient(client *http.Client) *PatchVMParams
NewPatchVMParamsWithHTTPClient creates a new PatchVMParams object with the ability to set a custom HTTPClient for a request.
func NewPatchVMParamsWithTimeout ¶
func NewPatchVMParamsWithTimeout(timeout time.Duration) *PatchVMParams
NewPatchVMParamsWithTimeout creates a new PatchVMParams object with the ability to set a timeout on a request.
func (*PatchVMParams) SetBody ¶
func (o *PatchVMParams) SetBody(body *models.VM)
SetBody adds the body to the patch Vm params
func (*PatchVMParams) SetContext ¶
func (o *PatchVMParams) SetContext(ctx context.Context)
SetContext adds the context to the patch Vm params
func (*PatchVMParams) SetDefaults ¶
func (o *PatchVMParams) SetDefaults()
SetDefaults hydrates default values in the patch Vm params (not the query body).
All values with no default are reset to their zero value.
func (*PatchVMParams) SetHTTPClient ¶
func (o *PatchVMParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch Vm params
func (*PatchVMParams) SetTimeout ¶
func (o *PatchVMParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch Vm params
func (*PatchVMParams) WithBody ¶
func (o *PatchVMParams) WithBody(body *models.VM) *PatchVMParams
WithBody adds the body to the patch Vm params
func (*PatchVMParams) WithContext ¶
func (o *PatchVMParams) WithContext(ctx context.Context) *PatchVMParams
WithContext adds the context to the patch Vm params
func (*PatchVMParams) WithDefaults ¶
func (o *PatchVMParams) WithDefaults() *PatchVMParams
WithDefaults hydrates default values in the patch Vm params (not the query body).
All values with no default are reset to their zero value.
func (*PatchVMParams) WithHTTPClient ¶
func (o *PatchVMParams) WithHTTPClient(client *http.Client) *PatchVMParams
WithHTTPClient adds the HTTPClient to the patch Vm params
func (*PatchVMParams) WithTimeout ¶
func (o *PatchVMParams) WithTimeout(timeout time.Duration) *PatchVMParams
WithTimeout adds the timeout to the patch Vm params
func (*PatchVMParams) WriteToRequest ¶
func (o *PatchVMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchVMReader ¶
type PatchVMReader struct {
// contains filtered or unexported fields
}
PatchVMReader is a Reader for the PatchVM structure.
func (*PatchVMReader) ReadResponse ¶
func (o *PatchVMReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutBalloonBadRequest ¶
PutBalloonBadRequest describes a response with status code 400, with default header values.
Balloon device cannot be created/updated due to bad input
func NewPutBalloonBadRequest ¶
func NewPutBalloonBadRequest() *PutBalloonBadRequest
NewPutBalloonBadRequest creates a PutBalloonBadRequest with default headers values
func (*PutBalloonBadRequest) Code ¶
func (o *PutBalloonBadRequest) Code() int
Code gets the status code for the put balloon bad request response
func (*PutBalloonBadRequest) Error ¶
func (o *PutBalloonBadRequest) Error() string
func (*PutBalloonBadRequest) GetPayload ¶
func (o *PutBalloonBadRequest) GetPayload() *models.Error
func (*PutBalloonBadRequest) IsClientError ¶
func (o *PutBalloonBadRequest) IsClientError() bool
IsClientError returns true when this put balloon bad request response has a 4xx status code
func (*PutBalloonBadRequest) IsCode ¶
func (o *PutBalloonBadRequest) IsCode(code int) bool
IsCode returns true when this put balloon bad request response a status code equal to that given
func (*PutBalloonBadRequest) IsRedirect ¶
func (o *PutBalloonBadRequest) IsRedirect() bool
IsRedirect returns true when this put balloon bad request response has a 3xx status code
func (*PutBalloonBadRequest) IsServerError ¶
func (o *PutBalloonBadRequest) IsServerError() bool
IsServerError returns true when this put balloon bad request response has a 5xx status code
func (*PutBalloonBadRequest) IsSuccess ¶
func (o *PutBalloonBadRequest) IsSuccess() bool
IsSuccess returns true when this put balloon bad request response has a 2xx status code
func (*PutBalloonBadRequest) String ¶
func (o *PutBalloonBadRequest) String() string
type PutBalloonDefault ¶
PutBalloonDefault describes a response with status code -1, with default header values.
Internal server error
func NewPutBalloonDefault ¶
func NewPutBalloonDefault(code int) *PutBalloonDefault
NewPutBalloonDefault creates a PutBalloonDefault with default headers values
func (*PutBalloonDefault) Code ¶
func (o *PutBalloonDefault) Code() int
Code gets the status code for the put balloon default response
func (*PutBalloonDefault) Error ¶
func (o *PutBalloonDefault) Error() string
func (*PutBalloonDefault) GetPayload ¶
func (o *PutBalloonDefault) GetPayload() *models.Error
func (*PutBalloonDefault) IsClientError ¶
func (o *PutBalloonDefault) IsClientError() bool
IsClientError returns true when this put balloon default response has a 4xx status code
func (*PutBalloonDefault) IsCode ¶
func (o *PutBalloonDefault) IsCode(code int) bool
IsCode returns true when this put balloon default response a status code equal to that given
func (*PutBalloonDefault) IsRedirect ¶
func (o *PutBalloonDefault) IsRedirect() bool
IsRedirect returns true when this put balloon default response has a 3xx status code
func (*PutBalloonDefault) IsServerError ¶
func (o *PutBalloonDefault) IsServerError() bool
IsServerError returns true when this put balloon default response has a 5xx status code
func (*PutBalloonDefault) IsSuccess ¶
func (o *PutBalloonDefault) IsSuccess() bool
IsSuccess returns true when this put balloon default response has a 2xx status code
func (*PutBalloonDefault) String ¶
func (o *PutBalloonDefault) String() string
type PutBalloonNoContent ¶
type PutBalloonNoContent struct { }
PutBalloonNoContent describes a response with status code 204, with default header values.
Balloon device created/updated
func NewPutBalloonNoContent ¶
func NewPutBalloonNoContent() *PutBalloonNoContent
NewPutBalloonNoContent creates a PutBalloonNoContent with default headers values
func (*PutBalloonNoContent) Code ¶
func (o *PutBalloonNoContent) Code() int
Code gets the status code for the put balloon no content response
func (*PutBalloonNoContent) Error ¶
func (o *PutBalloonNoContent) Error() string
func (*PutBalloonNoContent) IsClientError ¶
func (o *PutBalloonNoContent) IsClientError() bool
IsClientError returns true when this put balloon no content response has a 4xx status code
func (*PutBalloonNoContent) IsCode ¶
func (o *PutBalloonNoContent) IsCode(code int) bool
IsCode returns true when this put balloon no content response a status code equal to that given
func (*PutBalloonNoContent) IsRedirect ¶
func (o *PutBalloonNoContent) IsRedirect() bool
IsRedirect returns true when this put balloon no content response has a 3xx status code
func (*PutBalloonNoContent) IsServerError ¶
func (o *PutBalloonNoContent) IsServerError() bool
IsServerError returns true when this put balloon no content response has a 5xx status code
func (*PutBalloonNoContent) IsSuccess ¶
func (o *PutBalloonNoContent) IsSuccess() bool
IsSuccess returns true when this put balloon no content response has a 2xx status code
func (*PutBalloonNoContent) String ¶
func (o *PutBalloonNoContent) String() string
type PutBalloonParams ¶
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 ¶
func NewPutBalloonParams() *PutBalloonParams
NewPutBalloonParams creates a new PutBalloonParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutBalloonParamsWithContext ¶
func NewPutBalloonParamsWithContext(ctx context.Context) *PutBalloonParams
NewPutBalloonParamsWithContext creates a new PutBalloonParams object with the ability to set a context for a request.
func NewPutBalloonParamsWithHTTPClient ¶
func NewPutBalloonParamsWithHTTPClient(client *http.Client) *PutBalloonParams
NewPutBalloonParamsWithHTTPClient creates a new PutBalloonParams object with the ability to set a custom HTTPClient for a request.
func NewPutBalloonParamsWithTimeout ¶
func NewPutBalloonParamsWithTimeout(timeout time.Duration) *PutBalloonParams
NewPutBalloonParamsWithTimeout creates a new PutBalloonParams object with the ability to set a timeout on a request.
func (*PutBalloonParams) SetBody ¶
func (o *PutBalloonParams) SetBody(body *models.Balloon)
SetBody adds the body to the put balloon params
func (*PutBalloonParams) SetContext ¶
func (o *PutBalloonParams) SetContext(ctx context.Context)
SetContext adds the context to the put balloon params
func (*PutBalloonParams) SetDefaults ¶
func (o *PutBalloonParams) SetDefaults()
SetDefaults hydrates default values in the put balloon params (not the query body).
All values with no default are reset to their zero value.
func (*PutBalloonParams) SetHTTPClient ¶
func (o *PutBalloonParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put balloon params
func (*PutBalloonParams) SetTimeout ¶
func (o *PutBalloonParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put balloon params
func (*PutBalloonParams) WithBody ¶
func (o *PutBalloonParams) WithBody(body *models.Balloon) *PutBalloonParams
WithBody adds the body to the put balloon params
func (*PutBalloonParams) WithContext ¶
func (o *PutBalloonParams) WithContext(ctx context.Context) *PutBalloonParams
WithContext adds the context to the put balloon params
func (*PutBalloonParams) WithDefaults ¶
func (o *PutBalloonParams) WithDefaults() *PutBalloonParams
WithDefaults hydrates default values in the put balloon params (not the query body).
All values with no default are reset to their zero value.
func (*PutBalloonParams) WithHTTPClient ¶
func (o *PutBalloonParams) WithHTTPClient(client *http.Client) *PutBalloonParams
WithHTTPClient adds the HTTPClient to the put balloon params
func (*PutBalloonParams) WithTimeout ¶
func (o *PutBalloonParams) WithTimeout(timeout time.Duration) *PutBalloonParams
WithTimeout adds the timeout to the put balloon params
func (*PutBalloonParams) WriteToRequest ¶
func (o *PutBalloonParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutBalloonReader ¶
type PutBalloonReader struct {
// contains filtered or unexported fields
}
PutBalloonReader is a Reader for the PutBalloon structure.
func (*PutBalloonReader) ReadResponse ¶
func (o *PutBalloonReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutCPUConfigurationBadRequest ¶
PutCPUConfigurationBadRequest describes a response with status code 400, with default header values.
CPU configuration cannot be updated due to invalid input format
func NewPutCPUConfigurationBadRequest ¶
func NewPutCPUConfigurationBadRequest() *PutCPUConfigurationBadRequest
NewPutCPUConfigurationBadRequest creates a PutCPUConfigurationBadRequest with default headers values
func (*PutCPUConfigurationBadRequest) Code ¶
func (o *PutCPUConfigurationBadRequest) Code() int
Code gets the status code for the put Cpu configuration bad request response
func (*PutCPUConfigurationBadRequest) Error ¶
func (o *PutCPUConfigurationBadRequest) Error() string
func (*PutCPUConfigurationBadRequest) GetPayload ¶
func (o *PutCPUConfigurationBadRequest) GetPayload() *models.Error
func (*PutCPUConfigurationBadRequest) IsClientError ¶
func (o *PutCPUConfigurationBadRequest) IsClientError() bool
IsClientError returns true when this put Cpu configuration bad request response has a 4xx status code
func (*PutCPUConfigurationBadRequest) IsCode ¶
func (o *PutCPUConfigurationBadRequest) IsCode(code int) bool
IsCode returns true when this put Cpu configuration bad request response a status code equal to that given
func (*PutCPUConfigurationBadRequest) IsRedirect ¶
func (o *PutCPUConfigurationBadRequest) IsRedirect() bool
IsRedirect returns true when this put Cpu configuration bad request response has a 3xx status code
func (*PutCPUConfigurationBadRequest) IsServerError ¶
func (o *PutCPUConfigurationBadRequest) IsServerError() bool
IsServerError returns true when this put Cpu configuration bad request response has a 5xx status code
func (*PutCPUConfigurationBadRequest) IsSuccess ¶
func (o *PutCPUConfigurationBadRequest) IsSuccess() bool
IsSuccess returns true when this put Cpu configuration bad request response has a 2xx status code
func (*PutCPUConfigurationBadRequest) String ¶
func (o *PutCPUConfigurationBadRequest) String() string
type PutCPUConfigurationDefault ¶
type PutCPUConfigurationDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutCPUConfigurationDefault describes a response with status code -1, with default header values.
Internal server error
func NewPutCPUConfigurationDefault ¶
func NewPutCPUConfigurationDefault(code int) *PutCPUConfigurationDefault
NewPutCPUConfigurationDefault creates a PutCPUConfigurationDefault with default headers values
func (*PutCPUConfigurationDefault) Code ¶
func (o *PutCPUConfigurationDefault) Code() int
Code gets the status code for the put Cpu configuration default response
func (*PutCPUConfigurationDefault) Error ¶
func (o *PutCPUConfigurationDefault) Error() string
func (*PutCPUConfigurationDefault) GetPayload ¶
func (o *PutCPUConfigurationDefault) GetPayload() *models.Error
func (*PutCPUConfigurationDefault) IsClientError ¶
func (o *PutCPUConfigurationDefault) IsClientError() bool
IsClientError returns true when this put Cpu configuration default response has a 4xx status code
func (*PutCPUConfigurationDefault) IsCode ¶
func (o *PutCPUConfigurationDefault) IsCode(code int) bool
IsCode returns true when this put Cpu configuration default response a status code equal to that given
func (*PutCPUConfigurationDefault) IsRedirect ¶
func (o *PutCPUConfigurationDefault) IsRedirect() bool
IsRedirect returns true when this put Cpu configuration default response has a 3xx status code
func (*PutCPUConfigurationDefault) IsServerError ¶
func (o *PutCPUConfigurationDefault) IsServerError() bool
IsServerError returns true when this put Cpu configuration default response has a 5xx status code
func (*PutCPUConfigurationDefault) IsSuccess ¶
func (o *PutCPUConfigurationDefault) IsSuccess() bool
IsSuccess returns true when this put Cpu configuration default response has a 2xx status code
func (*PutCPUConfigurationDefault) String ¶
func (o *PutCPUConfigurationDefault) String() string
type PutCPUConfigurationNoContent ¶
type PutCPUConfigurationNoContent struct { }
PutCPUConfigurationNoContent describes a response with status code 204, with default header values.
CPU configuration set successfully
func NewPutCPUConfigurationNoContent ¶
func NewPutCPUConfigurationNoContent() *PutCPUConfigurationNoContent
NewPutCPUConfigurationNoContent creates a PutCPUConfigurationNoContent with default headers values
func (*PutCPUConfigurationNoContent) Code ¶
func (o *PutCPUConfigurationNoContent) Code() int
Code gets the status code for the put Cpu configuration no content response
func (*PutCPUConfigurationNoContent) Error ¶
func (o *PutCPUConfigurationNoContent) Error() string
func (*PutCPUConfigurationNoContent) IsClientError ¶
func (o *PutCPUConfigurationNoContent) IsClientError() bool
IsClientError returns true when this put Cpu configuration no content response has a 4xx status code
func (*PutCPUConfigurationNoContent) IsCode ¶
func (o *PutCPUConfigurationNoContent) IsCode(code int) bool
IsCode returns true when this put Cpu configuration no content response a status code equal to that given
func (*PutCPUConfigurationNoContent) IsRedirect ¶
func (o *PutCPUConfigurationNoContent) IsRedirect() bool
IsRedirect returns true when this put Cpu configuration no content response has a 3xx status code
func (*PutCPUConfigurationNoContent) IsServerError ¶
func (o *PutCPUConfigurationNoContent) IsServerError() bool
IsServerError returns true when this put Cpu configuration no content response has a 5xx status code
func (*PutCPUConfigurationNoContent) IsSuccess ¶
func (o *PutCPUConfigurationNoContent) IsSuccess() bool
IsSuccess returns true when this put Cpu configuration no content response has a 2xx status code
func (*PutCPUConfigurationNoContent) String ¶
func (o *PutCPUConfigurationNoContent) String() string
type PutCPUConfigurationParams ¶
type PutCPUConfigurationParams struct { /* Body. CPU configuration request */ Body *models.CPUConfig Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutCPUConfigurationParams contains all the parameters to send to the API endpoint
for the put Cpu configuration operation. Typically these are written to a http.Request.
func NewPutCPUConfigurationParams ¶
func NewPutCPUConfigurationParams() *PutCPUConfigurationParams
NewPutCPUConfigurationParams creates a new PutCPUConfigurationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutCPUConfigurationParamsWithContext ¶
func NewPutCPUConfigurationParamsWithContext(ctx context.Context) *PutCPUConfigurationParams
NewPutCPUConfigurationParamsWithContext creates a new PutCPUConfigurationParams object with the ability to set a context for a request.
func NewPutCPUConfigurationParamsWithHTTPClient ¶
func NewPutCPUConfigurationParamsWithHTTPClient(client *http.Client) *PutCPUConfigurationParams
NewPutCPUConfigurationParamsWithHTTPClient creates a new PutCPUConfigurationParams object with the ability to set a custom HTTPClient for a request.
func NewPutCPUConfigurationParamsWithTimeout ¶
func NewPutCPUConfigurationParamsWithTimeout(timeout time.Duration) *PutCPUConfigurationParams
NewPutCPUConfigurationParamsWithTimeout creates a new PutCPUConfigurationParams object with the ability to set a timeout on a request.
func (*PutCPUConfigurationParams) SetBody ¶
func (o *PutCPUConfigurationParams) SetBody(body *models.CPUConfig)
SetBody adds the body to the put Cpu configuration params
func (*PutCPUConfigurationParams) SetContext ¶
func (o *PutCPUConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the put Cpu configuration params
func (*PutCPUConfigurationParams) SetDefaults ¶
func (o *PutCPUConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the put Cpu configuration params (not the query body).
All values with no default are reset to their zero value.
func (*PutCPUConfigurationParams) SetHTTPClient ¶
func (o *PutCPUConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put Cpu configuration params
func (*PutCPUConfigurationParams) SetTimeout ¶
func (o *PutCPUConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put Cpu configuration params
func (*PutCPUConfigurationParams) WithBody ¶
func (o *PutCPUConfigurationParams) WithBody(body *models.CPUConfig) *PutCPUConfigurationParams
WithBody adds the body to the put Cpu configuration params
func (*PutCPUConfigurationParams) WithContext ¶
func (o *PutCPUConfigurationParams) WithContext(ctx context.Context) *PutCPUConfigurationParams
WithContext adds the context to the put Cpu configuration params
func (*PutCPUConfigurationParams) WithDefaults ¶
func (o *PutCPUConfigurationParams) WithDefaults() *PutCPUConfigurationParams
WithDefaults hydrates default values in the put Cpu configuration params (not the query body).
All values with no default are reset to their zero value.
func (*PutCPUConfigurationParams) WithHTTPClient ¶
func (o *PutCPUConfigurationParams) WithHTTPClient(client *http.Client) *PutCPUConfigurationParams
WithHTTPClient adds the HTTPClient to the put Cpu configuration params
func (*PutCPUConfigurationParams) WithTimeout ¶
func (o *PutCPUConfigurationParams) WithTimeout(timeout time.Duration) *PutCPUConfigurationParams
WithTimeout adds the timeout to the put Cpu configuration params
func (*PutCPUConfigurationParams) WriteToRequest ¶
func (o *PutCPUConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutCPUConfigurationReader ¶
type PutCPUConfigurationReader struct {
// contains filtered or unexported fields
}
PutCPUConfigurationReader is a Reader for the PutCPUConfiguration structure.
func (*PutCPUConfigurationReader) ReadResponse ¶
func (o *PutCPUConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutEntropyDeviceDefault ¶
type PutEntropyDeviceDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutEntropyDeviceDefault describes a response with status code -1, with default header values.
Internal server error
func NewPutEntropyDeviceDefault ¶
func NewPutEntropyDeviceDefault(code int) *PutEntropyDeviceDefault
NewPutEntropyDeviceDefault creates a PutEntropyDeviceDefault with default headers values
func (*PutEntropyDeviceDefault) Code ¶
func (o *PutEntropyDeviceDefault) Code() int
Code gets the status code for the put entropy device default response
func (*PutEntropyDeviceDefault) Error ¶
func (o *PutEntropyDeviceDefault) Error() string
func (*PutEntropyDeviceDefault) GetPayload ¶
func (o *PutEntropyDeviceDefault) GetPayload() *models.Error
func (*PutEntropyDeviceDefault) IsClientError ¶
func (o *PutEntropyDeviceDefault) IsClientError() bool
IsClientError returns true when this put entropy device default response has a 4xx status code
func (*PutEntropyDeviceDefault) IsCode ¶
func (o *PutEntropyDeviceDefault) IsCode(code int) bool
IsCode returns true when this put entropy device default response a status code equal to that given
func (*PutEntropyDeviceDefault) IsRedirect ¶
func (o *PutEntropyDeviceDefault) IsRedirect() bool
IsRedirect returns true when this put entropy device default response has a 3xx status code
func (*PutEntropyDeviceDefault) IsServerError ¶
func (o *PutEntropyDeviceDefault) IsServerError() bool
IsServerError returns true when this put entropy device default response has a 5xx status code
func (*PutEntropyDeviceDefault) IsSuccess ¶
func (o *PutEntropyDeviceDefault) IsSuccess() bool
IsSuccess returns true when this put entropy device default response has a 2xx status code
func (*PutEntropyDeviceDefault) String ¶
func (o *PutEntropyDeviceDefault) String() string
type PutEntropyDeviceNoContent ¶
type PutEntropyDeviceNoContent struct { }
PutEntropyDeviceNoContent describes a response with status code 204, with default header values.
Entropy device created
func NewPutEntropyDeviceNoContent ¶
func NewPutEntropyDeviceNoContent() *PutEntropyDeviceNoContent
NewPutEntropyDeviceNoContent creates a PutEntropyDeviceNoContent with default headers values
func (*PutEntropyDeviceNoContent) Code ¶
func (o *PutEntropyDeviceNoContent) Code() int
Code gets the status code for the put entropy device no content response
func (*PutEntropyDeviceNoContent) Error ¶
func (o *PutEntropyDeviceNoContent) Error() string
func (*PutEntropyDeviceNoContent) IsClientError ¶
func (o *PutEntropyDeviceNoContent) IsClientError() bool
IsClientError returns true when this put entropy device no content response has a 4xx status code
func (*PutEntropyDeviceNoContent) IsCode ¶
func (o *PutEntropyDeviceNoContent) IsCode(code int) bool
IsCode returns true when this put entropy device no content response a status code equal to that given
func (*PutEntropyDeviceNoContent) IsRedirect ¶
func (o *PutEntropyDeviceNoContent) IsRedirect() bool
IsRedirect returns true when this put entropy device no content response has a 3xx status code
func (*PutEntropyDeviceNoContent) IsServerError ¶
func (o *PutEntropyDeviceNoContent) IsServerError() bool
IsServerError returns true when this put entropy device no content response has a 5xx status code
func (*PutEntropyDeviceNoContent) IsSuccess ¶
func (o *PutEntropyDeviceNoContent) IsSuccess() bool
IsSuccess returns true when this put entropy device no content response has a 2xx status code
func (*PutEntropyDeviceNoContent) String ¶
func (o *PutEntropyDeviceNoContent) String() string
type PutEntropyDeviceParams ¶
type PutEntropyDeviceParams struct { /* Body. Guest entropy device properties */ Body *models.EntropyDevice Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutEntropyDeviceParams contains all the parameters to send to the API endpoint
for the put entropy device operation. Typically these are written to a http.Request.
func NewPutEntropyDeviceParams ¶
func NewPutEntropyDeviceParams() *PutEntropyDeviceParams
NewPutEntropyDeviceParams creates a new PutEntropyDeviceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutEntropyDeviceParamsWithContext ¶
func NewPutEntropyDeviceParamsWithContext(ctx context.Context) *PutEntropyDeviceParams
NewPutEntropyDeviceParamsWithContext creates a new PutEntropyDeviceParams object with the ability to set a context for a request.
func NewPutEntropyDeviceParamsWithHTTPClient ¶
func NewPutEntropyDeviceParamsWithHTTPClient(client *http.Client) *PutEntropyDeviceParams
NewPutEntropyDeviceParamsWithHTTPClient creates a new PutEntropyDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewPutEntropyDeviceParamsWithTimeout ¶
func NewPutEntropyDeviceParamsWithTimeout(timeout time.Duration) *PutEntropyDeviceParams
NewPutEntropyDeviceParamsWithTimeout creates a new PutEntropyDeviceParams object with the ability to set a timeout on a request.
func (*PutEntropyDeviceParams) SetBody ¶
func (o *PutEntropyDeviceParams) SetBody(body *models.EntropyDevice)
SetBody adds the body to the put entropy device params
func (*PutEntropyDeviceParams) SetContext ¶
func (o *PutEntropyDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the put entropy device params
func (*PutEntropyDeviceParams) SetDefaults ¶
func (o *PutEntropyDeviceParams) SetDefaults()
SetDefaults hydrates default values in the put entropy device params (not the query body).
All values with no default are reset to their zero value.
func (*PutEntropyDeviceParams) SetHTTPClient ¶
func (o *PutEntropyDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put entropy device params
func (*PutEntropyDeviceParams) SetTimeout ¶
func (o *PutEntropyDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put entropy device params
func (*PutEntropyDeviceParams) WithBody ¶
func (o *PutEntropyDeviceParams) WithBody(body *models.EntropyDevice) *PutEntropyDeviceParams
WithBody adds the body to the put entropy device params
func (*PutEntropyDeviceParams) WithContext ¶
func (o *PutEntropyDeviceParams) WithContext(ctx context.Context) *PutEntropyDeviceParams
WithContext adds the context to the put entropy device params
func (*PutEntropyDeviceParams) WithDefaults ¶
func (o *PutEntropyDeviceParams) WithDefaults() *PutEntropyDeviceParams
WithDefaults hydrates default values in the put entropy device params (not the query body).
All values with no default are reset to their zero value.
func (*PutEntropyDeviceParams) WithHTTPClient ¶
func (o *PutEntropyDeviceParams) WithHTTPClient(client *http.Client) *PutEntropyDeviceParams
WithHTTPClient adds the HTTPClient to the put entropy device params
func (*PutEntropyDeviceParams) WithTimeout ¶
func (o *PutEntropyDeviceParams) WithTimeout(timeout time.Duration) *PutEntropyDeviceParams
WithTimeout adds the timeout to the put entropy device params
func (*PutEntropyDeviceParams) WriteToRequest ¶
func (o *PutEntropyDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutEntropyDeviceReader ¶
type PutEntropyDeviceReader struct {
// contains filtered or unexported fields
}
PutEntropyDeviceReader is a Reader for the PutEntropyDevice structure.
func (*PutEntropyDeviceReader) ReadResponse ¶
func (o *PutEntropyDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGuestBootSourceBadRequest ¶
PutGuestBootSourceBadRequest describes a response with status code 400, 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) Code ¶
func (o *PutGuestBootSourceBadRequest) Code() int
Code gets the status code for the put guest boot source bad request response
func (*PutGuestBootSourceBadRequest) Error ¶
func (o *PutGuestBootSourceBadRequest) Error() string
func (*PutGuestBootSourceBadRequest) GetPayload ¶
func (o *PutGuestBootSourceBadRequest) GetPayload() *models.Error
func (*PutGuestBootSourceBadRequest) IsClientError ¶
func (o *PutGuestBootSourceBadRequest) IsClientError() bool
IsClientError returns true when this put guest boot source bad request response has a 4xx status code
func (*PutGuestBootSourceBadRequest) IsCode ¶
func (o *PutGuestBootSourceBadRequest) IsCode(code int) bool
IsCode returns true when this put guest boot source bad request response a status code equal to that given
func (*PutGuestBootSourceBadRequest) IsRedirect ¶
func (o *PutGuestBootSourceBadRequest) IsRedirect() bool
IsRedirect returns true when this put guest boot source bad request response has a 3xx status code
func (*PutGuestBootSourceBadRequest) IsServerError ¶
func (o *PutGuestBootSourceBadRequest) IsServerError() bool
IsServerError returns true when this put guest boot source bad request response has a 5xx status code
func (*PutGuestBootSourceBadRequest) IsSuccess ¶
func (o *PutGuestBootSourceBadRequest) IsSuccess() bool
IsSuccess returns true when this put guest boot source bad request response has a 2xx status code
func (*PutGuestBootSourceBadRequest) String ¶
func (o *PutGuestBootSourceBadRequest) String() string
type PutGuestBootSourceDefault ¶
type PutGuestBootSourceDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutGuestBootSourceDefault describes a response with status code -1, 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 ¶
func (o *PutGuestBootSourceDefault) GetPayload() *models.Error
func (*PutGuestBootSourceDefault) IsClientError ¶
func (o *PutGuestBootSourceDefault) IsClientError() bool
IsClientError returns true when this put guest boot source default response has a 4xx status code
func (*PutGuestBootSourceDefault) IsCode ¶
func (o *PutGuestBootSourceDefault) IsCode(code int) bool
IsCode returns true when this put guest boot source default response a status code equal to that given
func (*PutGuestBootSourceDefault) IsRedirect ¶
func (o *PutGuestBootSourceDefault) IsRedirect() bool
IsRedirect returns true when this put guest boot source default response has a 3xx status code
func (*PutGuestBootSourceDefault) IsServerError ¶
func (o *PutGuestBootSourceDefault) IsServerError() bool
IsServerError returns true when this put guest boot source default response has a 5xx status code
func (*PutGuestBootSourceDefault) IsSuccess ¶
func (o *PutGuestBootSourceDefault) IsSuccess() bool
IsSuccess returns true when this put guest boot source default response has a 2xx status code
func (*PutGuestBootSourceDefault) String ¶
func (o *PutGuestBootSourceDefault) String() string
type PutGuestBootSourceNoContent ¶
type PutGuestBootSourceNoContent struct { }
PutGuestBootSourceNoContent describes a response with status code 204, with default header values.
Boot source created/updated
func NewPutGuestBootSourceNoContent ¶
func NewPutGuestBootSourceNoContent() *PutGuestBootSourceNoContent
NewPutGuestBootSourceNoContent creates a PutGuestBootSourceNoContent with default headers values
func (*PutGuestBootSourceNoContent) Code ¶
func (o *PutGuestBootSourceNoContent) Code() int
Code gets the status code for the put guest boot source no content response
func (*PutGuestBootSourceNoContent) Error ¶
func (o *PutGuestBootSourceNoContent) Error() string
func (*PutGuestBootSourceNoContent) IsClientError ¶
func (o *PutGuestBootSourceNoContent) IsClientError() bool
IsClientError returns true when this put guest boot source no content response has a 4xx status code
func (*PutGuestBootSourceNoContent) IsCode ¶
func (o *PutGuestBootSourceNoContent) IsCode(code int) bool
IsCode returns true when this put guest boot source no content response a status code equal to that given
func (*PutGuestBootSourceNoContent) IsRedirect ¶
func (o *PutGuestBootSourceNoContent) IsRedirect() bool
IsRedirect returns true when this put guest boot source no content response has a 3xx status code
func (*PutGuestBootSourceNoContent) IsServerError ¶
func (o *PutGuestBootSourceNoContent) IsServerError() bool
IsServerError returns true when this put guest boot source no content response has a 5xx status code
func (*PutGuestBootSourceNoContent) IsSuccess ¶
func (o *PutGuestBootSourceNoContent) IsSuccess() bool
IsSuccess returns true when this put guest boot source no content response has a 2xx status code
func (*PutGuestBootSourceNoContent) String ¶
func (o *PutGuestBootSourceNoContent) String() string
type PutGuestBootSourceParams ¶
type PutGuestBootSourceParams struct { /* Body. Guest boot source properties */ Body *models.BootSource Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutGuestBootSourceParams contains all the parameters to send to the API endpoint
for the put guest boot source operation. Typically these are written to a http.Request.
func NewPutGuestBootSourceParams ¶
func NewPutGuestBootSourceParams() *PutGuestBootSourceParams
NewPutGuestBootSourceParams creates a new PutGuestBootSourceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutGuestBootSourceParamsWithContext ¶
func NewPutGuestBootSourceParamsWithContext(ctx context.Context) *PutGuestBootSourceParams
NewPutGuestBootSourceParamsWithContext creates a new PutGuestBootSourceParams object with 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 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 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) SetDefaults ¶
func (o *PutGuestBootSourceParams) SetDefaults()
SetDefaults hydrates default values in the put guest boot source params (not the query body).
All values with no default are reset to their zero value.
func (*PutGuestBootSourceParams) SetHTTPClient ¶
func (o *PutGuestBootSourceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put guest boot source params
func (*PutGuestBootSourceParams) SetTimeout ¶
func (o *PutGuestBootSourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put guest boot source params
func (*PutGuestBootSourceParams) WithBody ¶
func (o *PutGuestBootSourceParams) WithBody(body *models.BootSource) *PutGuestBootSourceParams
WithBody adds the body to the put guest boot source params
func (*PutGuestBootSourceParams) WithContext ¶
func (o *PutGuestBootSourceParams) WithContext(ctx context.Context) *PutGuestBootSourceParams
WithContext adds the context to the put guest boot source params
func (*PutGuestBootSourceParams) WithDefaults ¶
func (o *PutGuestBootSourceParams) WithDefaults() *PutGuestBootSourceParams
WithDefaults hydrates default values in the put guest boot source params (not the query body).
All values with no default are reset to their zero value.
func (*PutGuestBootSourceParams) WithHTTPClient ¶
func (o *PutGuestBootSourceParams) WithHTTPClient(client *http.Client) *PutGuestBootSourceParams
WithHTTPClient adds the HTTPClient to the put guest boot source params
func (*PutGuestBootSourceParams) WithTimeout ¶
func (o *PutGuestBootSourceParams) WithTimeout(timeout time.Duration) *PutGuestBootSourceParams
WithTimeout adds the timeout to the put guest boot source params
func (*PutGuestBootSourceParams) WriteToRequest ¶
func (o *PutGuestBootSourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGuestBootSourceReader ¶
type PutGuestBootSourceReader struct {
// contains filtered or unexported fields
}
PutGuestBootSourceReader is a Reader for the PutGuestBootSource structure.
func (*PutGuestBootSourceReader) ReadResponse ¶
func (o *PutGuestBootSourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGuestDriveByIDBadRequest ¶
PutGuestDriveByIDBadRequest describes a response with status code 400, 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) Code ¶
func (o *PutGuestDriveByIDBadRequest) Code() int
Code gets the status code for the put guest drive by Id bad request response
func (*PutGuestDriveByIDBadRequest) Error ¶
func (o *PutGuestDriveByIDBadRequest) Error() string
func (*PutGuestDriveByIDBadRequest) GetPayload ¶
func (o *PutGuestDriveByIDBadRequest) GetPayload() *models.Error
func (*PutGuestDriveByIDBadRequest) IsClientError ¶
func (o *PutGuestDriveByIDBadRequest) IsClientError() bool
IsClientError returns true when this put guest drive by Id bad request response has a 4xx status code
func (*PutGuestDriveByIDBadRequest) IsCode ¶
func (o *PutGuestDriveByIDBadRequest) IsCode(code int) bool
IsCode returns true when this put guest drive by Id bad request response a status code equal to that given
func (*PutGuestDriveByIDBadRequest) IsRedirect ¶
func (o *PutGuestDriveByIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put guest drive by Id bad request response has a 3xx status code
func (*PutGuestDriveByIDBadRequest) IsServerError ¶
func (o *PutGuestDriveByIDBadRequest) IsServerError() bool
IsServerError returns true when this put guest drive by Id bad request response has a 5xx status code
func (*PutGuestDriveByIDBadRequest) IsSuccess ¶
func (o *PutGuestDriveByIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put guest drive by Id bad request response has a 2xx status code
func (*PutGuestDriveByIDBadRequest) String ¶
func (o *PutGuestDriveByIDBadRequest) String() string
type PutGuestDriveByIDDefault ¶
type PutGuestDriveByIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutGuestDriveByIDDefault describes a response with status code -1, 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 ¶
func (o *PutGuestDriveByIDDefault) GetPayload() *models.Error
func (*PutGuestDriveByIDDefault) IsClientError ¶
func (o *PutGuestDriveByIDDefault) IsClientError() bool
IsClientError returns true when this put guest drive by ID default response has a 4xx status code
func (*PutGuestDriveByIDDefault) IsCode ¶
func (o *PutGuestDriveByIDDefault) IsCode(code int) bool
IsCode returns true when this put guest drive by ID default response a status code equal to that given
func (*PutGuestDriveByIDDefault) IsRedirect ¶
func (o *PutGuestDriveByIDDefault) IsRedirect() bool
IsRedirect returns true when this put guest drive by ID default response has a 3xx status code
func (*PutGuestDriveByIDDefault) IsServerError ¶
func (o *PutGuestDriveByIDDefault) IsServerError() bool
IsServerError returns true when this put guest drive by ID default response has a 5xx status code
func (*PutGuestDriveByIDDefault) IsSuccess ¶
func (o *PutGuestDriveByIDDefault) IsSuccess() bool
IsSuccess returns true when this put guest drive by ID default response has a 2xx status code
func (*PutGuestDriveByIDDefault) String ¶
func (o *PutGuestDriveByIDDefault) String() string
type PutGuestDriveByIDNoContent ¶
type PutGuestDriveByIDNoContent struct { }
PutGuestDriveByIDNoContent describes a response with status code 204, with default header values.
Drive created/updated
func NewPutGuestDriveByIDNoContent ¶
func NewPutGuestDriveByIDNoContent() *PutGuestDriveByIDNoContent
NewPutGuestDriveByIDNoContent creates a PutGuestDriveByIDNoContent with default headers values
func (*PutGuestDriveByIDNoContent) Code ¶
func (o *PutGuestDriveByIDNoContent) Code() int
Code gets the status code for the put guest drive by Id no content response
func (*PutGuestDriveByIDNoContent) Error ¶
func (o *PutGuestDriveByIDNoContent) Error() string
func (*PutGuestDriveByIDNoContent) IsClientError ¶
func (o *PutGuestDriveByIDNoContent) IsClientError() bool
IsClientError returns true when this put guest drive by Id no content response has a 4xx status code
func (*PutGuestDriveByIDNoContent) IsCode ¶
func (o *PutGuestDriveByIDNoContent) IsCode(code int) bool
IsCode returns true when this put guest drive by Id no content response a status code equal to that given
func (*PutGuestDriveByIDNoContent) IsRedirect ¶
func (o *PutGuestDriveByIDNoContent) IsRedirect() bool
IsRedirect returns true when this put guest drive by Id no content response has a 3xx status code
func (*PutGuestDriveByIDNoContent) IsServerError ¶
func (o *PutGuestDriveByIDNoContent) IsServerError() bool
IsServerError returns true when this put guest drive by Id no content response has a 5xx status code
func (*PutGuestDriveByIDNoContent) IsSuccess ¶
func (o *PutGuestDriveByIDNoContent) IsSuccess() bool
IsSuccess returns true when this put guest drive by Id no content response has a 2xx status code
func (*PutGuestDriveByIDNoContent) String ¶
func (o *PutGuestDriveByIDNoContent) String() string
type PutGuestDriveByIDParams ¶
type PutGuestDriveByIDParams struct { /* Body. Guest drive properties */ Body *models.Drive /* DriveID. The id of the guest drive */ DriveID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutGuestDriveByIDParams contains all the parameters to send to the API endpoint
for the put guest drive by ID operation. Typically these are written to a http.Request.
func NewPutGuestDriveByIDParams ¶
func NewPutGuestDriveByIDParams() *PutGuestDriveByIDParams
NewPutGuestDriveByIDParams creates a new PutGuestDriveByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutGuestDriveByIDParamsWithContext ¶
func NewPutGuestDriveByIDParamsWithContext(ctx context.Context) *PutGuestDriveByIDParams
NewPutGuestDriveByIDParamsWithContext creates a new PutGuestDriveByIDParams object with 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 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 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) SetDefaults ¶
func (o *PutGuestDriveByIDParams) SetDefaults()
SetDefaults hydrates default values in the put guest drive by ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutGuestDriveByIDParams) SetDriveID ¶
func (o *PutGuestDriveByIDParams) SetDriveID(driveID string)
SetDriveID adds the driveId to the put guest drive by ID params
func (*PutGuestDriveByIDParams) SetHTTPClient ¶
func (o *PutGuestDriveByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put guest drive by ID params
func (*PutGuestDriveByIDParams) SetTimeout ¶
func (o *PutGuestDriveByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithBody ¶
func (o *PutGuestDriveByIDParams) WithBody(body *models.Drive) *PutGuestDriveByIDParams
WithBody adds the body to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithContext ¶
func (o *PutGuestDriveByIDParams) WithContext(ctx context.Context) *PutGuestDriveByIDParams
WithContext adds the context to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithDefaults ¶
func (o *PutGuestDriveByIDParams) WithDefaults() *PutGuestDriveByIDParams
WithDefaults hydrates default values in the put guest drive by ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutGuestDriveByIDParams) WithDriveID ¶
func (o *PutGuestDriveByIDParams) WithDriveID(driveID string) *PutGuestDriveByIDParams
WithDriveID adds the driveID to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithHTTPClient ¶
func (o *PutGuestDriveByIDParams) WithHTTPClient(client *http.Client) *PutGuestDriveByIDParams
WithHTTPClient adds the HTTPClient to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WithTimeout ¶
func (o *PutGuestDriveByIDParams) WithTimeout(timeout time.Duration) *PutGuestDriveByIDParams
WithTimeout adds the timeout to the put guest drive by ID params
func (*PutGuestDriveByIDParams) WriteToRequest ¶
func (o *PutGuestDriveByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGuestDriveByIDReader ¶
type PutGuestDriveByIDReader struct {
// contains filtered or unexported fields
}
PutGuestDriveByIDReader is a Reader for the PutGuestDriveByID structure.
func (*PutGuestDriveByIDReader) ReadResponse ¶
func (o *PutGuestDriveByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGuestNetworkInterfaceByIDBadRequest ¶
PutGuestNetworkInterfaceByIDBadRequest describes a response with status code 400, 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) Code ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) Code() int
Code gets the status code for the put guest network interface by Id bad request response
func (*PutGuestNetworkInterfaceByIDBadRequest) Error ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) Error() string
func (*PutGuestNetworkInterfaceByIDBadRequest) GetPayload ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) GetPayload() *models.Error
func (*PutGuestNetworkInterfaceByIDBadRequest) IsClientError ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) IsClientError() bool
IsClientError returns true when this put guest network interface by Id bad request response has a 4xx status code
func (*PutGuestNetworkInterfaceByIDBadRequest) IsCode ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) IsCode(code int) bool
IsCode returns true when this put guest network interface by Id bad request response a status code equal to that given
func (*PutGuestNetworkInterfaceByIDBadRequest) IsRedirect ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put guest network interface by Id bad request response has a 3xx status code
func (*PutGuestNetworkInterfaceByIDBadRequest) IsServerError ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) IsServerError() bool
IsServerError returns true when this put guest network interface by Id bad request response has a 5xx status code
func (*PutGuestNetworkInterfaceByIDBadRequest) IsSuccess ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put guest network interface by Id bad request response has a 2xx status code
func (*PutGuestNetworkInterfaceByIDBadRequest) String ¶
func (o *PutGuestNetworkInterfaceByIDBadRequest) String() string
type PutGuestNetworkInterfaceByIDDefault ¶
type PutGuestNetworkInterfaceByIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutGuestNetworkInterfaceByIDDefault describes a response with status code -1, with default header values.
Internal server error
func NewPutGuestNetworkInterfaceByIDDefault ¶
func NewPutGuestNetworkInterfaceByIDDefault(code int) *PutGuestNetworkInterfaceByIDDefault
NewPutGuestNetworkInterfaceByIDDefault creates a PutGuestNetworkInterfaceByIDDefault with default headers values
func (*PutGuestNetworkInterfaceByIDDefault) Code ¶
func (o *PutGuestNetworkInterfaceByIDDefault) Code() int
Code gets the status code for the put guest network interface by ID default response
func (*PutGuestNetworkInterfaceByIDDefault) Error ¶
func (o *PutGuestNetworkInterfaceByIDDefault) Error() string
func (*PutGuestNetworkInterfaceByIDDefault) GetPayload ¶
func (o *PutGuestNetworkInterfaceByIDDefault) GetPayload() *models.Error
func (*PutGuestNetworkInterfaceByIDDefault) IsClientError ¶
func (o *PutGuestNetworkInterfaceByIDDefault) IsClientError() bool
IsClientError returns true when this put guest network interface by ID default response has a 4xx status code
func (*PutGuestNetworkInterfaceByIDDefault) IsCode ¶
func (o *PutGuestNetworkInterfaceByIDDefault) IsCode(code int) bool
IsCode returns true when this put guest network interface by ID default response a status code equal to that given
func (*PutGuestNetworkInterfaceByIDDefault) IsRedirect ¶
func (o *PutGuestNetworkInterfaceByIDDefault) IsRedirect() bool
IsRedirect returns true when this put guest network interface by ID default response has a 3xx status code
func (*PutGuestNetworkInterfaceByIDDefault) IsServerError ¶
func (o *PutGuestNetworkInterfaceByIDDefault) IsServerError() bool
IsServerError returns true when this put guest network interface by ID default response has a 5xx status code
func (*PutGuestNetworkInterfaceByIDDefault) IsSuccess ¶
func (o *PutGuestNetworkInterfaceByIDDefault) IsSuccess() bool
IsSuccess returns true when this put guest network interface by ID default response has a 2xx status code
func (*PutGuestNetworkInterfaceByIDDefault) String ¶
func (o *PutGuestNetworkInterfaceByIDDefault) String() string
type PutGuestNetworkInterfaceByIDNoContent ¶
type PutGuestNetworkInterfaceByIDNoContent struct { }
PutGuestNetworkInterfaceByIDNoContent describes a response with status code 204, with default header values.
Network interface created/updated
func NewPutGuestNetworkInterfaceByIDNoContent ¶
func NewPutGuestNetworkInterfaceByIDNoContent() *PutGuestNetworkInterfaceByIDNoContent
NewPutGuestNetworkInterfaceByIDNoContent creates a PutGuestNetworkInterfaceByIDNoContent with default headers values
func (*PutGuestNetworkInterfaceByIDNoContent) Code ¶
func (o *PutGuestNetworkInterfaceByIDNoContent) Code() int
Code gets the status code for the put guest network interface by Id no content response
func (*PutGuestNetworkInterfaceByIDNoContent) Error ¶
func (o *PutGuestNetworkInterfaceByIDNoContent) Error() string
func (*PutGuestNetworkInterfaceByIDNoContent) IsClientError ¶
func (o *PutGuestNetworkInterfaceByIDNoContent) IsClientError() bool
IsClientError returns true when this put guest network interface by Id no content response has a 4xx status code
func (*PutGuestNetworkInterfaceByIDNoContent) IsCode ¶
func (o *PutGuestNetworkInterfaceByIDNoContent) IsCode(code int) bool
IsCode returns true when this put guest network interface by Id no content response a status code equal to that given
func (*PutGuestNetworkInterfaceByIDNoContent) IsRedirect ¶
func (o *PutGuestNetworkInterfaceByIDNoContent) IsRedirect() bool
IsRedirect returns true when this put guest network interface by Id no content response has a 3xx status code
func (*PutGuestNetworkInterfaceByIDNoContent) IsServerError ¶
func (o *PutGuestNetworkInterfaceByIDNoContent) IsServerError() bool
IsServerError returns true when this put guest network interface by Id no content response has a 5xx status code
func (*PutGuestNetworkInterfaceByIDNoContent) IsSuccess ¶
func (o *PutGuestNetworkInterfaceByIDNoContent) IsSuccess() bool
IsSuccess returns true when this put guest network interface by Id no content response has a 2xx status code
func (*PutGuestNetworkInterfaceByIDNoContent) String ¶
func (o *PutGuestNetworkInterfaceByIDNoContent) String() string
type PutGuestNetworkInterfaceByIDParams ¶
type PutGuestNetworkInterfaceByIDParams struct { /* Body. Guest network interface properties */ Body *models.NetworkInterface /* IfaceID. The id of the guest network interface */ IfaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutGuestNetworkInterfaceByIDParams contains all the parameters to send to the API endpoint
for the put guest network interface by ID operation. Typically these are written to a http.Request.
func NewPutGuestNetworkInterfaceByIDParams ¶
func NewPutGuestNetworkInterfaceByIDParams() *PutGuestNetworkInterfaceByIDParams
NewPutGuestNetworkInterfaceByIDParams creates a new PutGuestNetworkInterfaceByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutGuestNetworkInterfaceByIDParamsWithContext ¶
func NewPutGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PutGuestNetworkInterfaceByIDParams
NewPutGuestNetworkInterfaceByIDParamsWithContext creates a new PutGuestNetworkInterfaceByIDParams object with 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 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 ability to set a timeout on a request.
func (*PutGuestNetworkInterfaceByIDParams) SetBody ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetBody(body *models.NetworkInterface)
SetBody adds the body to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) SetContext ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) SetDefaults ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetDefaults()
SetDefaults hydrates default values in the put guest network interface by ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutGuestNetworkInterfaceByIDParams) SetHTTPClient ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) SetIfaceID ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)
SetIfaceID adds the ifaceId to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) SetTimeout ¶
func (o *PutGuestNetworkInterfaceByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithBody ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithBody(body *models.NetworkInterface) *PutGuestNetworkInterfaceByIDParams
WithBody adds the body to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithContext ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithContext(ctx context.Context) *PutGuestNetworkInterfaceByIDParams
WithContext adds the context to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithDefaults ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithDefaults() *PutGuestNetworkInterfaceByIDParams
WithDefaults hydrates default values in the put guest network interface by ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutGuestNetworkInterfaceByIDParams) WithHTTPClient ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithHTTPClient(client *http.Client) *PutGuestNetworkInterfaceByIDParams
WithHTTPClient adds the HTTPClient to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithIfaceID ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithIfaceID(ifaceID string) *PutGuestNetworkInterfaceByIDParams
WithIfaceID adds the ifaceID to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WithTimeout ¶
func (o *PutGuestNetworkInterfaceByIDParams) WithTimeout(timeout time.Duration) *PutGuestNetworkInterfaceByIDParams
WithTimeout adds the timeout to the put guest network interface by ID params
func (*PutGuestNetworkInterfaceByIDParams) WriteToRequest ¶
func (o *PutGuestNetworkInterfaceByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGuestNetworkInterfaceByIDReader ¶
type PutGuestNetworkInterfaceByIDReader struct {
// contains filtered or unexported fields
}
PutGuestNetworkInterfaceByIDReader is a Reader for the PutGuestNetworkInterfaceByID structure.
func (*PutGuestNetworkInterfaceByIDReader) ReadResponse ¶
func (o *PutGuestNetworkInterfaceByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGuestVsockBadRequest ¶
PutGuestVsockBadRequest describes a response with status code 400, 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) Code ¶
func (o *PutGuestVsockBadRequest) Code() int
Code gets the status code for the put guest vsock bad request response
func (*PutGuestVsockBadRequest) Error ¶
func (o *PutGuestVsockBadRequest) Error() string
func (*PutGuestVsockBadRequest) GetPayload ¶
func (o *PutGuestVsockBadRequest) GetPayload() *models.Error
func (*PutGuestVsockBadRequest) IsClientError ¶
func (o *PutGuestVsockBadRequest) IsClientError() bool
IsClientError returns true when this put guest vsock bad request response has a 4xx status code
func (*PutGuestVsockBadRequest) IsCode ¶
func (o *PutGuestVsockBadRequest) IsCode(code int) bool
IsCode returns true when this put guest vsock bad request response a status code equal to that given
func (*PutGuestVsockBadRequest) IsRedirect ¶
func (o *PutGuestVsockBadRequest) IsRedirect() bool
IsRedirect returns true when this put guest vsock bad request response has a 3xx status code
func (*PutGuestVsockBadRequest) IsServerError ¶
func (o *PutGuestVsockBadRequest) IsServerError() bool
IsServerError returns true when this put guest vsock bad request response has a 5xx status code
func (*PutGuestVsockBadRequest) IsSuccess ¶
func (o *PutGuestVsockBadRequest) IsSuccess() bool
IsSuccess returns true when this put guest vsock bad request response has a 2xx status code
func (*PutGuestVsockBadRequest) String ¶
func (o *PutGuestVsockBadRequest) String() string
type PutGuestVsockDefault ¶
type PutGuestVsockDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutGuestVsockDefault describes a response with status code -1, 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
func (*PutGuestVsockDefault) GetPayload ¶
func (o *PutGuestVsockDefault) GetPayload() *models.Error
func (*PutGuestVsockDefault) IsClientError ¶
func (o *PutGuestVsockDefault) IsClientError() bool
IsClientError returns true when this put guest vsock default response has a 4xx status code
func (*PutGuestVsockDefault) IsCode ¶
func (o *PutGuestVsockDefault) IsCode(code int) bool
IsCode returns true when this put guest vsock default response a status code equal to that given
func (*PutGuestVsockDefault) IsRedirect ¶
func (o *PutGuestVsockDefault) IsRedirect() bool
IsRedirect returns true when this put guest vsock default response has a 3xx status code
func (*PutGuestVsockDefault) IsServerError ¶
func (o *PutGuestVsockDefault) IsServerError() bool
IsServerError returns true when this put guest vsock default response has a 5xx status code
func (*PutGuestVsockDefault) IsSuccess ¶
func (o *PutGuestVsockDefault) IsSuccess() bool
IsSuccess returns true when this put guest vsock default response has a 2xx status code
func (*PutGuestVsockDefault) String ¶
func (o *PutGuestVsockDefault) String() string
type PutGuestVsockNoContent ¶
type PutGuestVsockNoContent struct { }
PutGuestVsockNoContent describes a response with status code 204, with default header values.
Vsock created/updated
func NewPutGuestVsockNoContent ¶
func NewPutGuestVsockNoContent() *PutGuestVsockNoContent
NewPutGuestVsockNoContent creates a PutGuestVsockNoContent with default headers values
func (*PutGuestVsockNoContent) Code ¶
func (o *PutGuestVsockNoContent) Code() int
Code gets the status code for the put guest vsock no content response
func (*PutGuestVsockNoContent) Error ¶
func (o *PutGuestVsockNoContent) Error() string
func (*PutGuestVsockNoContent) IsClientError ¶
func (o *PutGuestVsockNoContent) IsClientError() bool
IsClientError returns true when this put guest vsock no content response has a 4xx status code
func (*PutGuestVsockNoContent) IsCode ¶
func (o *PutGuestVsockNoContent) IsCode(code int) bool
IsCode returns true when this put guest vsock no content response a status code equal to that given
func (*PutGuestVsockNoContent) IsRedirect ¶
func (o *PutGuestVsockNoContent) IsRedirect() bool
IsRedirect returns true when this put guest vsock no content response has a 3xx status code
func (*PutGuestVsockNoContent) IsServerError ¶
func (o *PutGuestVsockNoContent) IsServerError() bool
IsServerError returns true when this put guest vsock no content response has a 5xx status code
func (*PutGuestVsockNoContent) IsSuccess ¶
func (o *PutGuestVsockNoContent) IsSuccess() bool
IsSuccess returns true when this put guest vsock no content response has a 2xx status code
func (*PutGuestVsockNoContent) String ¶
func (o *PutGuestVsockNoContent) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutGuestVsockParamsWithContext ¶
func NewPutGuestVsockParamsWithContext(ctx context.Context) *PutGuestVsockParams
NewPutGuestVsockParamsWithContext creates a new PutGuestVsockParams object with 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 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 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) SetDefaults ¶
func (o *PutGuestVsockParams) SetDefaults()
SetDefaults hydrates default values in the put guest vsock params (not the query body).
All values with no default are reset to their zero value.
func (*PutGuestVsockParams) SetHTTPClient ¶
func (o *PutGuestVsockParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put guest vsock params
func (*PutGuestVsockParams) SetTimeout ¶
func (o *PutGuestVsockParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put guest vsock params
func (*PutGuestVsockParams) WithBody ¶
func (o *PutGuestVsockParams) WithBody(body *models.Vsock) *PutGuestVsockParams
WithBody adds the body to the put guest vsock params
func (*PutGuestVsockParams) WithContext ¶
func (o *PutGuestVsockParams) WithContext(ctx context.Context) *PutGuestVsockParams
WithContext adds the context to the put guest vsock params
func (*PutGuestVsockParams) WithDefaults ¶
func (o *PutGuestVsockParams) WithDefaults() *PutGuestVsockParams
WithDefaults hydrates default values in the put guest vsock params (not the query body).
All values with no default are reset to their zero value.
func (*PutGuestVsockParams) WithHTTPClient ¶
func (o *PutGuestVsockParams) WithHTTPClient(client *http.Client) *PutGuestVsockParams
WithHTTPClient adds the HTTPClient to the put guest vsock params
func (*PutGuestVsockParams) WithTimeout ¶
func (o *PutGuestVsockParams) WithTimeout(timeout time.Duration) *PutGuestVsockParams
WithTimeout adds the timeout to the put guest vsock params
func (*PutGuestVsockParams) WriteToRequest ¶
func (o *PutGuestVsockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGuestVsockReader ¶
type PutGuestVsockReader struct {
// contains filtered or unexported fields
}
PutGuestVsockReader is a Reader for the PutGuestVsock structure.
func (*PutGuestVsockReader) ReadResponse ¶
func (o *PutGuestVsockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutLoggerBadRequest ¶
PutLoggerBadRequest describes a response with status code 400, 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) Code ¶
func (o *PutLoggerBadRequest) Code() int
Code gets the status code for the put logger bad request response
func (*PutLoggerBadRequest) Error ¶
func (o *PutLoggerBadRequest) Error() string
func (*PutLoggerBadRequest) GetPayload ¶
func (o *PutLoggerBadRequest) GetPayload() *models.Error
func (*PutLoggerBadRequest) IsClientError ¶
func (o *PutLoggerBadRequest) IsClientError() bool
IsClientError returns true when this put logger bad request response has a 4xx status code
func (*PutLoggerBadRequest) IsCode ¶
func (o *PutLoggerBadRequest) IsCode(code int) bool
IsCode returns true when this put logger bad request response a status code equal to that given
func (*PutLoggerBadRequest) IsRedirect ¶
func (o *PutLoggerBadRequest) IsRedirect() bool
IsRedirect returns true when this put logger bad request response has a 3xx status code
func (*PutLoggerBadRequest) IsServerError ¶
func (o *PutLoggerBadRequest) IsServerError() bool
IsServerError returns true when this put logger bad request response has a 5xx status code
func (*PutLoggerBadRequest) IsSuccess ¶
func (o *PutLoggerBadRequest) IsSuccess() bool
IsSuccess returns true when this put logger bad request response has a 2xx status code
func (*PutLoggerBadRequest) String ¶
func (o *PutLoggerBadRequest) String() string
type PutLoggerDefault ¶
PutLoggerDefault describes a response with status code -1, 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 ¶
func (o *PutLoggerDefault) GetPayload() *models.Error
func (*PutLoggerDefault) IsClientError ¶
func (o *PutLoggerDefault) IsClientError() bool
IsClientError returns true when this put logger default response has a 4xx status code
func (*PutLoggerDefault) IsCode ¶
func (o *PutLoggerDefault) IsCode(code int) bool
IsCode returns true when this put logger default response a status code equal to that given
func (*PutLoggerDefault) IsRedirect ¶
func (o *PutLoggerDefault) IsRedirect() bool
IsRedirect returns true when this put logger default response has a 3xx status code
func (*PutLoggerDefault) IsServerError ¶
func (o *PutLoggerDefault) IsServerError() bool
IsServerError returns true when this put logger default response has a 5xx status code
func (*PutLoggerDefault) IsSuccess ¶
func (o *PutLoggerDefault) IsSuccess() bool
IsSuccess returns true when this put logger default response has a 2xx status code
func (*PutLoggerDefault) String ¶
func (o *PutLoggerDefault) String() string
type PutLoggerNoContent ¶
type PutLoggerNoContent struct { }
PutLoggerNoContent describes a response with status code 204, with default header values.
Logger created.
func NewPutLoggerNoContent ¶
func NewPutLoggerNoContent() *PutLoggerNoContent
NewPutLoggerNoContent creates a PutLoggerNoContent with default headers values
func (*PutLoggerNoContent) Code ¶
func (o *PutLoggerNoContent) Code() int
Code gets the status code for the put logger no content response
func (*PutLoggerNoContent) Error ¶
func (o *PutLoggerNoContent) Error() string
func (*PutLoggerNoContent) IsClientError ¶
func (o *PutLoggerNoContent) IsClientError() bool
IsClientError returns true when this put logger no content response has a 4xx status code
func (*PutLoggerNoContent) IsCode ¶
func (o *PutLoggerNoContent) IsCode(code int) bool
IsCode returns true when this put logger no content response a status code equal to that given
func (*PutLoggerNoContent) IsRedirect ¶
func (o *PutLoggerNoContent) IsRedirect() bool
IsRedirect returns true when this put logger no content response has a 3xx status code
func (*PutLoggerNoContent) IsServerError ¶
func (o *PutLoggerNoContent) IsServerError() bool
IsServerError returns true when this put logger no content response has a 5xx status code
func (*PutLoggerNoContent) IsSuccess ¶
func (o *PutLoggerNoContent) IsSuccess() bool
IsSuccess returns true when this put logger no content response has a 2xx status code
func (*PutLoggerNoContent) String ¶
func (o *PutLoggerNoContent) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutLoggerParamsWithContext ¶
func NewPutLoggerParamsWithContext(ctx context.Context) *PutLoggerParams
NewPutLoggerParamsWithContext creates a new PutLoggerParams object with 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 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 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) SetDefaults ¶
func (o *PutLoggerParams) SetDefaults()
SetDefaults hydrates default values in the put logger params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *PutLoggerParams) WithDefaults() *PutLoggerParams
WithDefaults hydrates default values in the put logger params (not the query body).
All values with no default are reset to their zero value.
func (*PutLoggerParams) WithHTTPClient ¶
func (o *PutLoggerParams) WithHTTPClient(client *http.Client) *PutLoggerParams
WithHTTPClient adds the HTTPClient to the put logger params
func (*PutLoggerParams) WithTimeout ¶
func (o *PutLoggerParams) WithTimeout(timeout time.Duration) *PutLoggerParams
WithTimeout adds the timeout to the put logger params
func (*PutLoggerParams) WriteToRequest ¶
func (o *PutLoggerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutLoggerReader ¶
type PutLoggerReader struct {
// contains filtered or unexported fields
}
PutLoggerReader is a Reader for the PutLogger structure.
func (*PutLoggerReader) ReadResponse ¶
func (o *PutLoggerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutMachineConfigurationBadRequest ¶
PutMachineConfigurationBadRequest describes a response with status code 400, 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) Code ¶
func (o *PutMachineConfigurationBadRequest) Code() int
Code gets the status code for the put machine configuration bad request response
func (*PutMachineConfigurationBadRequest) Error ¶
func (o *PutMachineConfigurationBadRequest) Error() string
func (*PutMachineConfigurationBadRequest) GetPayload ¶
func (o *PutMachineConfigurationBadRequest) GetPayload() *models.Error
func (*PutMachineConfigurationBadRequest) IsClientError ¶
func (o *PutMachineConfigurationBadRequest) IsClientError() bool
IsClientError returns true when this put machine configuration bad request response has a 4xx status code
func (*PutMachineConfigurationBadRequest) IsCode ¶
func (o *PutMachineConfigurationBadRequest) IsCode(code int) bool
IsCode returns true when this put machine configuration bad request response a status code equal to that given
func (*PutMachineConfigurationBadRequest) IsRedirect ¶
func (o *PutMachineConfigurationBadRequest) IsRedirect() bool
IsRedirect returns true when this put machine configuration bad request response has a 3xx status code
func (*PutMachineConfigurationBadRequest) IsServerError ¶
func (o *PutMachineConfigurationBadRequest) IsServerError() bool
IsServerError returns true when this put machine configuration bad request response has a 5xx status code
func (*PutMachineConfigurationBadRequest) IsSuccess ¶
func (o *PutMachineConfigurationBadRequest) IsSuccess() bool
IsSuccess returns true when this put machine configuration bad request response has a 2xx status code
func (*PutMachineConfigurationBadRequest) String ¶
func (o *PutMachineConfigurationBadRequest) String() string
type PutMachineConfigurationDefault ¶
type PutMachineConfigurationDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutMachineConfigurationDefault describes a response with status code -1, with default header values.
Internal server error
func NewPutMachineConfigurationDefault ¶
func NewPutMachineConfigurationDefault(code int) *PutMachineConfigurationDefault
NewPutMachineConfigurationDefault creates a PutMachineConfigurationDefault with default headers values
func (*PutMachineConfigurationDefault) Code ¶
func (o *PutMachineConfigurationDefault) Code() int
Code gets the status code for the put machine configuration default response
func (*PutMachineConfigurationDefault) Error ¶
func (o *PutMachineConfigurationDefault) Error() string
func (*PutMachineConfigurationDefault) GetPayload ¶
func (o *PutMachineConfigurationDefault) GetPayload() *models.Error
func (*PutMachineConfigurationDefault) IsClientError ¶
func (o *PutMachineConfigurationDefault) IsClientError() bool
IsClientError returns true when this put machine configuration default response has a 4xx status code
func (*PutMachineConfigurationDefault) IsCode ¶
func (o *PutMachineConfigurationDefault) IsCode(code int) bool
IsCode returns true when this put machine configuration default response a status code equal to that given
func (*PutMachineConfigurationDefault) IsRedirect ¶
func (o *PutMachineConfigurationDefault) IsRedirect() bool
IsRedirect returns true when this put machine configuration default response has a 3xx status code
func (*PutMachineConfigurationDefault) IsServerError ¶
func (o *PutMachineConfigurationDefault) IsServerError() bool
IsServerError returns true when this put machine configuration default response has a 5xx status code
func (*PutMachineConfigurationDefault) IsSuccess ¶
func (o *PutMachineConfigurationDefault) IsSuccess() bool
IsSuccess returns true when this put machine configuration default response has a 2xx status code
func (*PutMachineConfigurationDefault) String ¶
func (o *PutMachineConfigurationDefault) String() string
type PutMachineConfigurationNoContent ¶
type PutMachineConfigurationNoContent struct { }
PutMachineConfigurationNoContent describes a response with status code 204, with default header values.
Machine Configuration created/updated
func NewPutMachineConfigurationNoContent ¶
func NewPutMachineConfigurationNoContent() *PutMachineConfigurationNoContent
NewPutMachineConfigurationNoContent creates a PutMachineConfigurationNoContent with default headers values
func (*PutMachineConfigurationNoContent) Code ¶
func (o *PutMachineConfigurationNoContent) Code() int
Code gets the status code for the put machine configuration no content response
func (*PutMachineConfigurationNoContent) Error ¶
func (o *PutMachineConfigurationNoContent) Error() string
func (*PutMachineConfigurationNoContent) IsClientError ¶
func (o *PutMachineConfigurationNoContent) IsClientError() bool
IsClientError returns true when this put machine configuration no content response has a 4xx status code
func (*PutMachineConfigurationNoContent) IsCode ¶
func (o *PutMachineConfigurationNoContent) IsCode(code int) bool
IsCode returns true when this put machine configuration no content response a status code equal to that given
func (*PutMachineConfigurationNoContent) IsRedirect ¶
func (o *PutMachineConfigurationNoContent) IsRedirect() bool
IsRedirect returns true when this put machine configuration no content response has a 3xx status code
func (*PutMachineConfigurationNoContent) IsServerError ¶
func (o *PutMachineConfigurationNoContent) IsServerError() bool
IsServerError returns true when this put machine configuration no content response has a 5xx status code
func (*PutMachineConfigurationNoContent) IsSuccess ¶
func (o *PutMachineConfigurationNoContent) IsSuccess() bool
IsSuccess returns true when this put machine configuration no content response has a 2xx status code
func (*PutMachineConfigurationNoContent) String ¶
func (o *PutMachineConfigurationNoContent) String() string
type PutMachineConfigurationParams ¶
type PutMachineConfigurationParams struct { /* Body. Machine Configuration Parameters */ Body *models.MachineConfiguration Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutMachineConfigurationParams contains all the parameters to send to the API endpoint
for the put machine configuration operation. Typically these are written to a http.Request.
func NewPutMachineConfigurationParams ¶
func NewPutMachineConfigurationParams() *PutMachineConfigurationParams
NewPutMachineConfigurationParams creates a new PutMachineConfigurationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutMachineConfigurationParamsWithContext ¶
func NewPutMachineConfigurationParamsWithContext(ctx context.Context) *PutMachineConfigurationParams
NewPutMachineConfigurationParamsWithContext creates a new PutMachineConfigurationParams object with 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 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 ability to set a timeout on a request.
func (*PutMachineConfigurationParams) SetBody ¶
func (o *PutMachineConfigurationParams) SetBody(body *models.MachineConfiguration)
SetBody adds the body to the put machine configuration params
func (*PutMachineConfigurationParams) SetContext ¶
func (o *PutMachineConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the put machine configuration params
func (*PutMachineConfigurationParams) SetDefaults ¶
func (o *PutMachineConfigurationParams) SetDefaults()
SetDefaults hydrates default values in the put machine configuration params (not the query body).
All values with no default are reset to their zero value.
func (*PutMachineConfigurationParams) SetHTTPClient ¶
func (o *PutMachineConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put machine configuration params
func (*PutMachineConfigurationParams) SetTimeout ¶
func (o *PutMachineConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put machine configuration params
func (*PutMachineConfigurationParams) WithBody ¶
func (o *PutMachineConfigurationParams) WithBody(body *models.MachineConfiguration) *PutMachineConfigurationParams
WithBody adds the body to the put machine configuration params
func (*PutMachineConfigurationParams) WithContext ¶
func (o *PutMachineConfigurationParams) WithContext(ctx context.Context) *PutMachineConfigurationParams
WithContext adds the context to the put machine configuration params
func (*PutMachineConfigurationParams) WithDefaults ¶
func (o *PutMachineConfigurationParams) WithDefaults() *PutMachineConfigurationParams
WithDefaults hydrates default values in the put machine configuration params (not the query body).
All values with no default are reset to their zero value.
func (*PutMachineConfigurationParams) WithHTTPClient ¶
func (o *PutMachineConfigurationParams) WithHTTPClient(client *http.Client) *PutMachineConfigurationParams
WithHTTPClient adds the HTTPClient to the put machine configuration params
func (*PutMachineConfigurationParams) WithTimeout ¶
func (o *PutMachineConfigurationParams) WithTimeout(timeout time.Duration) *PutMachineConfigurationParams
WithTimeout adds the timeout to the put machine configuration params
func (*PutMachineConfigurationParams) WriteToRequest ¶
func (o *PutMachineConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutMachineConfigurationReader ¶
type PutMachineConfigurationReader struct {
// contains filtered or unexported fields
}
PutMachineConfigurationReader is a Reader for the PutMachineConfiguration structure.
func (*PutMachineConfigurationReader) ReadResponse ¶
func (o *PutMachineConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutMetricsBadRequest ¶
PutMetricsBadRequest describes a response with status code 400, with default header values.
Metrics system cannot be initialized due to bad input request or metrics system already initialized.
func NewPutMetricsBadRequest ¶
func NewPutMetricsBadRequest() *PutMetricsBadRequest
NewPutMetricsBadRequest creates a PutMetricsBadRequest with default headers values
func (*PutMetricsBadRequest) Code ¶
func (o *PutMetricsBadRequest) Code() int
Code gets the status code for the put metrics bad request response
func (*PutMetricsBadRequest) Error ¶
func (o *PutMetricsBadRequest) Error() string
func (*PutMetricsBadRequest) GetPayload ¶
func (o *PutMetricsBadRequest) GetPayload() *models.Error
func (*PutMetricsBadRequest) IsClientError ¶
func (o *PutMetricsBadRequest) IsClientError() bool
IsClientError returns true when this put metrics bad request response has a 4xx status code
func (*PutMetricsBadRequest) IsCode ¶
func (o *PutMetricsBadRequest) IsCode(code int) bool
IsCode returns true when this put metrics bad request response a status code equal to that given
func (*PutMetricsBadRequest) IsRedirect ¶
func (o *PutMetricsBadRequest) IsRedirect() bool
IsRedirect returns true when this put metrics bad request response has a 3xx status code
func (*PutMetricsBadRequest) IsServerError ¶
func (o *PutMetricsBadRequest) IsServerError() bool
IsServerError returns true when this put metrics bad request response has a 5xx status code
func (*PutMetricsBadRequest) IsSuccess ¶
func (o *PutMetricsBadRequest) IsSuccess() bool
IsSuccess returns true when this put metrics bad request response has a 2xx status code
func (*PutMetricsBadRequest) String ¶
func (o *PutMetricsBadRequest) String() string
type PutMetricsDefault ¶
PutMetricsDefault describes a response with status code -1, with default header values.
Internal server error.
func NewPutMetricsDefault ¶
func NewPutMetricsDefault(code int) *PutMetricsDefault
NewPutMetricsDefault creates a PutMetricsDefault with default headers values
func (*PutMetricsDefault) Code ¶
func (o *PutMetricsDefault) Code() int
Code gets the status code for the put metrics default response
func (*PutMetricsDefault) Error ¶
func (o *PutMetricsDefault) Error() string
func (*PutMetricsDefault) GetPayload ¶
func (o *PutMetricsDefault) GetPayload() *models.Error
func (*PutMetricsDefault) IsClientError ¶
func (o *PutMetricsDefault) IsClientError() bool
IsClientError returns true when this put metrics default response has a 4xx status code
func (*PutMetricsDefault) IsCode ¶
func (o *PutMetricsDefault) IsCode(code int) bool
IsCode returns true when this put metrics default response a status code equal to that given
func (*PutMetricsDefault) IsRedirect ¶
func (o *PutMetricsDefault) IsRedirect() bool
IsRedirect returns true when this put metrics default response has a 3xx status code
func (*PutMetricsDefault) IsServerError ¶
func (o *PutMetricsDefault) IsServerError() bool
IsServerError returns true when this put metrics default response has a 5xx status code
func (*PutMetricsDefault) IsSuccess ¶
func (o *PutMetricsDefault) IsSuccess() bool
IsSuccess returns true when this put metrics default response has a 2xx status code
func (*PutMetricsDefault) String ¶
func (o *PutMetricsDefault) String() string
type PutMetricsNoContent ¶
type PutMetricsNoContent struct { }
PutMetricsNoContent describes a response with status code 204, with default header values.
Metrics system created.
func NewPutMetricsNoContent ¶
func NewPutMetricsNoContent() *PutMetricsNoContent
NewPutMetricsNoContent creates a PutMetricsNoContent with default headers values
func (*PutMetricsNoContent) Code ¶
func (o *PutMetricsNoContent) Code() int
Code gets the status code for the put metrics no content response
func (*PutMetricsNoContent) Error ¶
func (o *PutMetricsNoContent) Error() string
func (*PutMetricsNoContent) IsClientError ¶
func (o *PutMetricsNoContent) IsClientError() bool
IsClientError returns true when this put metrics no content response has a 4xx status code
func (*PutMetricsNoContent) IsCode ¶
func (o *PutMetricsNoContent) IsCode(code int) bool
IsCode returns true when this put metrics no content response a status code equal to that given
func (*PutMetricsNoContent) IsRedirect ¶
func (o *PutMetricsNoContent) IsRedirect() bool
IsRedirect returns true when this put metrics no content response has a 3xx status code
func (*PutMetricsNoContent) IsServerError ¶
func (o *PutMetricsNoContent) IsServerError() bool
IsServerError returns true when this put metrics no content response has a 5xx status code
func (*PutMetricsNoContent) IsSuccess ¶
func (o *PutMetricsNoContent) IsSuccess() bool
IsSuccess returns true when this put metrics no content response has a 2xx status code
func (*PutMetricsNoContent) String ¶
func (o *PutMetricsNoContent) String() string
type PutMetricsParams ¶
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 ¶
func NewPutMetricsParams() *PutMetricsParams
NewPutMetricsParams creates a new PutMetricsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutMetricsParamsWithContext ¶
func NewPutMetricsParamsWithContext(ctx context.Context) *PutMetricsParams
NewPutMetricsParamsWithContext creates a new PutMetricsParams object with the ability to set a context for a request.
func NewPutMetricsParamsWithHTTPClient ¶
func NewPutMetricsParamsWithHTTPClient(client *http.Client) *PutMetricsParams
NewPutMetricsParamsWithHTTPClient creates a new PutMetricsParams object with the ability to set a custom HTTPClient for a request.
func NewPutMetricsParamsWithTimeout ¶
func NewPutMetricsParamsWithTimeout(timeout time.Duration) *PutMetricsParams
NewPutMetricsParamsWithTimeout creates a new PutMetricsParams object with the ability to set a timeout on a request.
func (*PutMetricsParams) SetBody ¶
func (o *PutMetricsParams) SetBody(body *models.Metrics)
SetBody adds the body to the put metrics params
func (*PutMetricsParams) SetContext ¶
func (o *PutMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the put metrics params
func (*PutMetricsParams) SetDefaults ¶
func (o *PutMetricsParams) SetDefaults()
SetDefaults hydrates default values in the put metrics params (not the query body).
All values with no default are reset to their zero value.
func (*PutMetricsParams) SetHTTPClient ¶
func (o *PutMetricsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put metrics params
func (*PutMetricsParams) SetTimeout ¶
func (o *PutMetricsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put metrics params
func (*PutMetricsParams) WithBody ¶
func (o *PutMetricsParams) WithBody(body *models.Metrics) *PutMetricsParams
WithBody adds the body to the put metrics params
func (*PutMetricsParams) WithContext ¶
func (o *PutMetricsParams) WithContext(ctx context.Context) *PutMetricsParams
WithContext adds the context to the put metrics params
func (*PutMetricsParams) WithDefaults ¶
func (o *PutMetricsParams) WithDefaults() *PutMetricsParams
WithDefaults hydrates default values in the put metrics params (not the query body).
All values with no default are reset to their zero value.
func (*PutMetricsParams) WithHTTPClient ¶
func (o *PutMetricsParams) WithHTTPClient(client *http.Client) *PutMetricsParams
WithHTTPClient adds the HTTPClient to the put metrics params
func (*PutMetricsParams) WithTimeout ¶
func (o *PutMetricsParams) WithTimeout(timeout time.Duration) *PutMetricsParams
WithTimeout adds the timeout to the put metrics params
func (*PutMetricsParams) WriteToRequest ¶
func (o *PutMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutMetricsReader ¶
type PutMetricsReader struct {
// contains filtered or unexported fields
}
PutMetricsReader is a Reader for the PutMetrics structure.
func (*PutMetricsReader) ReadResponse ¶
func (o *PutMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutMmdsBadRequest ¶
PutMmdsBadRequest describes a response with status code 400, 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) Code ¶
func (o *PutMmdsBadRequest) Code() int
Code gets the status code for the put mmds bad request response
func (*PutMmdsBadRequest) Error ¶
func (o *PutMmdsBadRequest) Error() string
func (*PutMmdsBadRequest) GetPayload ¶
func (o *PutMmdsBadRequest) GetPayload() *models.Error
func (*PutMmdsBadRequest) IsClientError ¶
func (o *PutMmdsBadRequest) IsClientError() bool
IsClientError returns true when this put mmds bad request response has a 4xx status code
func (*PutMmdsBadRequest) IsCode ¶
func (o *PutMmdsBadRequest) IsCode(code int) bool
IsCode returns true when this put mmds bad request response a status code equal to that given
func (*PutMmdsBadRequest) IsRedirect ¶
func (o *PutMmdsBadRequest) IsRedirect() bool
IsRedirect returns true when this put mmds bad request response has a 3xx status code
func (*PutMmdsBadRequest) IsServerError ¶
func (o *PutMmdsBadRequest) IsServerError() bool
IsServerError returns true when this put mmds bad request response has a 5xx status code
func (*PutMmdsBadRequest) IsSuccess ¶
func (o *PutMmdsBadRequest) IsSuccess() bool
IsSuccess returns true when this put mmds bad request response has a 2xx status code
func (*PutMmdsBadRequest) String ¶
func (o *PutMmdsBadRequest) String() string
type PutMmdsConfigBadRequest ¶
PutMmdsConfigBadRequest describes a response with status code 400, with default header values.
MMDS configuration cannot be updated due to bad input.
func NewPutMmdsConfigBadRequest ¶
func NewPutMmdsConfigBadRequest() *PutMmdsConfigBadRequest
NewPutMmdsConfigBadRequest creates a PutMmdsConfigBadRequest with default headers values
func (*PutMmdsConfigBadRequest) Code ¶
func (o *PutMmdsConfigBadRequest) Code() int
Code gets the status code for the put mmds config bad request response
func (*PutMmdsConfigBadRequest) Error ¶
func (o *PutMmdsConfigBadRequest) Error() string
func (*PutMmdsConfigBadRequest) GetPayload ¶
func (o *PutMmdsConfigBadRequest) GetPayload() *models.Error
func (*PutMmdsConfigBadRequest) IsClientError ¶
func (o *PutMmdsConfigBadRequest) IsClientError() bool
IsClientError returns true when this put mmds config bad request response has a 4xx status code
func (*PutMmdsConfigBadRequest) IsCode ¶
func (o *PutMmdsConfigBadRequest) IsCode(code int) bool
IsCode returns true when this put mmds config bad request response a status code equal to that given
func (*PutMmdsConfigBadRequest) IsRedirect ¶
func (o *PutMmdsConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this put mmds config bad request response has a 3xx status code
func (*PutMmdsConfigBadRequest) IsServerError ¶
func (o *PutMmdsConfigBadRequest) IsServerError() bool
IsServerError returns true when this put mmds config bad request response has a 5xx status code
func (*PutMmdsConfigBadRequest) IsSuccess ¶
func (o *PutMmdsConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this put mmds config bad request response has a 2xx status code
func (*PutMmdsConfigBadRequest) String ¶
func (o *PutMmdsConfigBadRequest) String() string
type PutMmdsConfigDefault ¶
type PutMmdsConfigDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutMmdsConfigDefault describes a response with status code -1, with default header values.
Internal server error
func NewPutMmdsConfigDefault ¶
func NewPutMmdsConfigDefault(code int) *PutMmdsConfigDefault
NewPutMmdsConfigDefault creates a PutMmdsConfigDefault with default headers values
func (*PutMmdsConfigDefault) Code ¶
func (o *PutMmdsConfigDefault) Code() int
Code gets the status code for the put mmds config default response
func (*PutMmdsConfigDefault) Error ¶
func (o *PutMmdsConfigDefault) Error() string
func (*PutMmdsConfigDefault) GetPayload ¶
func (o *PutMmdsConfigDefault) GetPayload() *models.Error
func (*PutMmdsConfigDefault) IsClientError ¶
func (o *PutMmdsConfigDefault) IsClientError() bool
IsClientError returns true when this put mmds config default response has a 4xx status code
func (*PutMmdsConfigDefault) IsCode ¶
func (o *PutMmdsConfigDefault) IsCode(code int) bool
IsCode returns true when this put mmds config default response a status code equal to that given
func (*PutMmdsConfigDefault) IsRedirect ¶
func (o *PutMmdsConfigDefault) IsRedirect() bool
IsRedirect returns true when this put mmds config default response has a 3xx status code
func (*PutMmdsConfigDefault) IsServerError ¶
func (o *PutMmdsConfigDefault) IsServerError() bool
IsServerError returns true when this put mmds config default response has a 5xx status code
func (*PutMmdsConfigDefault) IsSuccess ¶
func (o *PutMmdsConfigDefault) IsSuccess() bool
IsSuccess returns true when this put mmds config default response has a 2xx status code
func (*PutMmdsConfigDefault) String ¶
func (o *PutMmdsConfigDefault) String() string
type PutMmdsConfigNoContent ¶
type PutMmdsConfigNoContent struct { }
PutMmdsConfigNoContent describes a response with status code 204, with default header values.
MMDS configuration was created/updated.
func NewPutMmdsConfigNoContent ¶
func NewPutMmdsConfigNoContent() *PutMmdsConfigNoContent
NewPutMmdsConfigNoContent creates a PutMmdsConfigNoContent with default headers values
func (*PutMmdsConfigNoContent) Code ¶
func (o *PutMmdsConfigNoContent) Code() int
Code gets the status code for the put mmds config no content response
func (*PutMmdsConfigNoContent) Error ¶
func (o *PutMmdsConfigNoContent) Error() string
func (*PutMmdsConfigNoContent) IsClientError ¶
func (o *PutMmdsConfigNoContent) IsClientError() bool
IsClientError returns true when this put mmds config no content response has a 4xx status code
func (*PutMmdsConfigNoContent) IsCode ¶
func (o *PutMmdsConfigNoContent) IsCode(code int) bool
IsCode returns true when this put mmds config no content response a status code equal to that given
func (*PutMmdsConfigNoContent) IsRedirect ¶
func (o *PutMmdsConfigNoContent) IsRedirect() bool
IsRedirect returns true when this put mmds config no content response has a 3xx status code
func (*PutMmdsConfigNoContent) IsServerError ¶
func (o *PutMmdsConfigNoContent) IsServerError() bool
IsServerError returns true when this put mmds config no content response has a 5xx status code
func (*PutMmdsConfigNoContent) IsSuccess ¶
func (o *PutMmdsConfigNoContent) IsSuccess() bool
IsSuccess returns true when this put mmds config no content response has a 2xx status code
func (*PutMmdsConfigNoContent) String ¶
func (o *PutMmdsConfigNoContent) String() string
type PutMmdsConfigParams ¶
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 ¶
func NewPutMmdsConfigParams() *PutMmdsConfigParams
NewPutMmdsConfigParams creates a new PutMmdsConfigParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutMmdsConfigParamsWithContext ¶
func NewPutMmdsConfigParamsWithContext(ctx context.Context) *PutMmdsConfigParams
NewPutMmdsConfigParamsWithContext creates a new PutMmdsConfigParams object with the ability to set a context for a request.
func NewPutMmdsConfigParamsWithHTTPClient ¶
func NewPutMmdsConfigParamsWithHTTPClient(client *http.Client) *PutMmdsConfigParams
NewPutMmdsConfigParamsWithHTTPClient creates a new PutMmdsConfigParams object with the ability to set a custom HTTPClient for a request.
func NewPutMmdsConfigParamsWithTimeout ¶
func NewPutMmdsConfigParamsWithTimeout(timeout time.Duration) *PutMmdsConfigParams
NewPutMmdsConfigParamsWithTimeout creates a new PutMmdsConfigParams object with the ability to set a timeout on a request.
func (*PutMmdsConfigParams) SetBody ¶
func (o *PutMmdsConfigParams) SetBody(body *models.MmdsConfig)
SetBody adds the body to the put mmds config params
func (*PutMmdsConfigParams) SetContext ¶
func (o *PutMmdsConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the put mmds config params
func (*PutMmdsConfigParams) SetDefaults ¶
func (o *PutMmdsConfigParams) SetDefaults()
SetDefaults hydrates default values in the put mmds config params (not the query body).
All values with no default are reset to their zero value.
func (*PutMmdsConfigParams) SetHTTPClient ¶
func (o *PutMmdsConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put mmds config params
func (*PutMmdsConfigParams) SetTimeout ¶
func (o *PutMmdsConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put mmds config params
func (*PutMmdsConfigParams) WithBody ¶
func (o *PutMmdsConfigParams) WithBody(body *models.MmdsConfig) *PutMmdsConfigParams
WithBody adds the body to the put mmds config params
func (*PutMmdsConfigParams) WithContext ¶
func (o *PutMmdsConfigParams) WithContext(ctx context.Context) *PutMmdsConfigParams
WithContext adds the context to the put mmds config params
func (*PutMmdsConfigParams) WithDefaults ¶
func (o *PutMmdsConfigParams) WithDefaults() *PutMmdsConfigParams
WithDefaults hydrates default values in the put mmds config params (not the query body).
All values with no default are reset to their zero value.
func (*PutMmdsConfigParams) WithHTTPClient ¶
func (o *PutMmdsConfigParams) WithHTTPClient(client *http.Client) *PutMmdsConfigParams
WithHTTPClient adds the HTTPClient to the put mmds config params
func (*PutMmdsConfigParams) WithTimeout ¶
func (o *PutMmdsConfigParams) WithTimeout(timeout time.Duration) *PutMmdsConfigParams
WithTimeout adds the timeout to the put mmds config params
func (*PutMmdsConfigParams) WriteToRequest ¶
func (o *PutMmdsConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutMmdsConfigReader ¶
type PutMmdsConfigReader struct {
// contains filtered or unexported fields
}
PutMmdsConfigReader is a Reader for the PutMmdsConfig structure.
func (*PutMmdsConfigReader) ReadResponse ¶
func (o *PutMmdsConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutMmdsDefault ¶
PutMmdsDefault describes a response with status code -1, 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 ¶
func (o *PutMmdsDefault) GetPayload() *models.Error
func (*PutMmdsDefault) IsClientError ¶
func (o *PutMmdsDefault) IsClientError() bool
IsClientError returns true when this put mmds default response has a 4xx status code
func (*PutMmdsDefault) IsCode ¶
func (o *PutMmdsDefault) IsCode(code int) bool
IsCode returns true when this put mmds default response a status code equal to that given
func (*PutMmdsDefault) IsRedirect ¶
func (o *PutMmdsDefault) IsRedirect() bool
IsRedirect returns true when this put mmds default response has a 3xx status code
func (*PutMmdsDefault) IsServerError ¶
func (o *PutMmdsDefault) IsServerError() bool
IsServerError returns true when this put mmds default response has a 5xx status code
func (*PutMmdsDefault) IsSuccess ¶
func (o *PutMmdsDefault) IsSuccess() bool
IsSuccess returns true when this put mmds default response has a 2xx status code
func (*PutMmdsDefault) String ¶
func (o *PutMmdsDefault) String() string
type PutMmdsNoContent ¶
type PutMmdsNoContent struct { }
PutMmdsNoContent describes a response with status code 204, with default header values.
MMDS data store created/updated.
func NewPutMmdsNoContent ¶
func NewPutMmdsNoContent() *PutMmdsNoContent
NewPutMmdsNoContent creates a PutMmdsNoContent with default headers values
func (*PutMmdsNoContent) Code ¶
func (o *PutMmdsNoContent) Code() int
Code gets the status code for the put mmds no content response
func (*PutMmdsNoContent) Error ¶
func (o *PutMmdsNoContent) Error() string
func (*PutMmdsNoContent) IsClientError ¶
func (o *PutMmdsNoContent) IsClientError() bool
IsClientError returns true when this put mmds no content response has a 4xx status code
func (*PutMmdsNoContent) IsCode ¶
func (o *PutMmdsNoContent) IsCode(code int) bool
IsCode returns true when this put mmds no content response a status code equal to that given
func (*PutMmdsNoContent) IsRedirect ¶
func (o *PutMmdsNoContent) IsRedirect() bool
IsRedirect returns true when this put mmds no content response has a 3xx status code
func (*PutMmdsNoContent) IsServerError ¶
func (o *PutMmdsNoContent) IsServerError() bool
IsServerError returns true when this put mmds no content response has a 5xx status code
func (*PutMmdsNoContent) IsSuccess ¶
func (o *PutMmdsNoContent) IsSuccess() bool
IsSuccess returns true when this put mmds no content response has a 2xx status code
func (*PutMmdsNoContent) String ¶
func (o *PutMmdsNoContent) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutMmdsParamsWithContext ¶
func NewPutMmdsParamsWithContext(ctx context.Context) *PutMmdsParams
NewPutMmdsParamsWithContext creates a new PutMmdsParams object with 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 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 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) SetDefaults ¶
func (o *PutMmdsParams) SetDefaults()
SetDefaults hydrates default values in the put mmds params (not the query body).
All values with no default are reset to their zero value.
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 models.MmdsContentsObject) *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) WithDefaults ¶
func (o *PutMmdsParams) WithDefaults() *PutMmdsParams
WithDefaults hydrates default values in the put mmds params (not the query body).
All values with no default are reset to their zero value.
func (*PutMmdsParams) WithHTTPClient ¶
func (o *PutMmdsParams) WithHTTPClient(client *http.Client) *PutMmdsParams
WithHTTPClient adds the HTTPClient to the put mmds params
func (*PutMmdsParams) WithTimeout ¶
func (o *PutMmdsParams) WithTimeout(timeout time.Duration) *PutMmdsParams
WithTimeout adds the timeout to the put mmds params
func (*PutMmdsParams) WriteToRequest ¶
func (o *PutMmdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutMmdsReader ¶
type PutMmdsReader struct {
// contains filtered or unexported fields
}
PutMmdsReader is a Reader for the PutMmds structure.
func (*PutMmdsReader) ReadResponse ¶
func (o *PutMmdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_snapshot_parameters.go
- create_snapshot_responses.go
- create_sync_action_parameters.go
- create_sync_action_responses.go
- describe_balloon_config_parameters.go
- describe_balloon_config_responses.go
- describe_balloon_stats_parameters.go
- describe_balloon_stats_responses.go
- describe_instance_parameters.go
- describe_instance_responses.go
- get_export_vm_config_parameters.go
- get_export_vm_config_responses.go
- get_firecracker_version_parameters.go
- get_firecracker_version_responses.go
- get_machine_configuration_parameters.go
- get_machine_configuration_responses.go
- get_mmds_parameters.go
- get_mmds_responses.go
- load_snapshot_parameters.go
- load_snapshot_responses.go
- operations_client.go
- patch_balloon_parameters.go
- patch_balloon_responses.go
- patch_balloon_stats_interval_parameters.go
- patch_balloon_stats_interval_responses.go
- patch_guest_drive_by_id_parameters.go
- patch_guest_drive_by_id_responses.go
- patch_guest_network_interface_by_id_parameters.go
- patch_guest_network_interface_by_id_responses.go
- patch_machine_configuration_parameters.go
- patch_machine_configuration_responses.go
- patch_mmds_parameters.go
- patch_mmds_responses.go
- patch_vm_parameters.go
- patch_vm_responses.go
- put_balloon_parameters.go
- put_balloon_responses.go
- put_cpu_configuration_parameters.go
- put_cpu_configuration_responses.go
- put_entropy_device_parameters.go
- put_entropy_device_responses.go
- put_guest_boot_source_parameters.go
- put_guest_boot_source_responses.go
- put_guest_drive_by_id_parameters.go
- put_guest_drive_by_id_responses.go
- put_guest_network_interface_by_id_parameters.go
- put_guest_network_interface_by_id_responses.go
- put_guest_vsock_parameters.go
- put_guest_vsock_responses.go
- put_logger_parameters.go
- put_logger_responses.go
- put_machine_configuration_parameters.go
- put_machine_configuration_responses.go
- put_metrics_parameters.go
- put_metrics_responses.go
- put_mmds_config_parameters.go
- put_mmds_config_responses.go
- put_mmds_parameters.go
- put_mmds_responses.go