Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationxTar(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
- type Client
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- func (a *Client) VolumeCreateLibpod(params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)
- func (a *Client) VolumeCreateLibpodContext(ctx context.Context, params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)
- func (a *Client) VolumeDeleteLibpod(params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)
- func (a *Client) VolumeDeleteLibpodContext(ctx context.Context, params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)
- func (a *Client) VolumeExistsLibpod(params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)
- func (a *Client) VolumeExistsLibpodContext(ctx context.Context, params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)
- func (a *Client) VolumeExportLibpod(params *VolumeExportLibpodParams, writer io.Writer, opts ...ClientOption) (*VolumeExportLibpodOK, error)
- func (a *Client) VolumeExportLibpodContext(ctx context.Context, params *VolumeExportLibpodParams, writer io.Writer, ...) (*VolumeExportLibpodOK, error)
- func (a *Client) VolumeImportLibpod(params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)
- func (a *Client) VolumeImportLibpodContext(ctx context.Context, params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)
- func (a *Client) VolumeInspectLibpod(params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)
- func (a *Client) VolumeInspectLibpodContext(ctx context.Context, params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)
- func (a *Client) VolumeListLibpod(params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)
- func (a *Client) VolumeListLibpodContext(ctx context.Context, params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)
- func (a *Client) VolumePruneLibpod(params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)
- func (a *Client) VolumePruneLibpodContext(ctx context.Context, params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)
- func (a *Client) VolumeRenameLibpod(params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)
- func (a *Client) VolumeRenameLibpodContext(ctx context.Context, params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)
- type ClientOption
- type ClientService
- type VolumeCreateLibpodCreated
- func (o *VolumeCreateLibpodCreated) Code() int
- func (o *VolumeCreateLibpodCreated) Error() string
- func (o *VolumeCreateLibpodCreated) GetPayload() *models.VolumeConfigResponse
- func (o *VolumeCreateLibpodCreated) IsClientError() bool
- func (o *VolumeCreateLibpodCreated) IsCode(code int) bool
- func (o *VolumeCreateLibpodCreated) IsRedirect() bool
- func (o *VolumeCreateLibpodCreated) IsServerError() bool
- func (o *VolumeCreateLibpodCreated) IsSuccess() bool
- func (o *VolumeCreateLibpodCreated) String() string
- type VolumeCreateLibpodInternalServerError
- func (o *VolumeCreateLibpodInternalServerError) Code() int
- func (o *VolumeCreateLibpodInternalServerError) Error() string
- func (o *VolumeCreateLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *VolumeCreateLibpodInternalServerError) IsClientError() bool
- func (o *VolumeCreateLibpodInternalServerError) IsCode(code int) bool
- func (o *VolumeCreateLibpodInternalServerError) IsRedirect() bool
- func (o *VolumeCreateLibpodInternalServerError) IsServerError() bool
- func (o *VolumeCreateLibpodInternalServerError) IsSuccess() bool
- func (o *VolumeCreateLibpodInternalServerError) String() string
- type VolumeCreateLibpodParams
- func NewVolumeCreateLibpodParams() *VolumeCreateLibpodParams
- func NewVolumeCreateLibpodParamsWithContext(ctx context.Context) *VolumeCreateLibpodParamsdeprecated
- func NewVolumeCreateLibpodParamsWithHTTPClient(client *http.Client) *VolumeCreateLibpodParams
- func NewVolumeCreateLibpodParamsWithTimeout(timeout time.Duration) *VolumeCreateLibpodParams
- func (o *VolumeCreateLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *VolumeCreateLibpodParams) SetCreate(create *models.VolumeCreateOptions)
- func (o *VolumeCreateLibpodParams) SetDefaults()
- func (o *VolumeCreateLibpodParams) SetHTTPClient(client *http.Client)
- func (o *VolumeCreateLibpodParams) SetTimeout(timeout time.Duration)
- func (o *VolumeCreateLibpodParams) WithContext(ctx context.Context) *VolumeCreateLibpodParamsdeprecated
- func (o *VolumeCreateLibpodParams) WithCreate(create *models.VolumeCreateOptions) *VolumeCreateLibpodParams
- func (o *VolumeCreateLibpodParams) WithDefaults() *VolumeCreateLibpodParams
- func (o *VolumeCreateLibpodParams) WithHTTPClient(client *http.Client) *VolumeCreateLibpodParams
- func (o *VolumeCreateLibpodParams) WithTimeout(timeout time.Duration) *VolumeCreateLibpodParams
- func (o *VolumeCreateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeCreateLibpodReader
- type VolumeDeleteLibpodConflict
- func (o *VolumeDeleteLibpodConflict) Code() int
- func (o *VolumeDeleteLibpodConflict) Error() string
- func (o *VolumeDeleteLibpodConflict) IsClientError() bool
- func (o *VolumeDeleteLibpodConflict) IsCode(code int) bool
- func (o *VolumeDeleteLibpodConflict) IsRedirect() bool
- func (o *VolumeDeleteLibpodConflict) IsServerError() bool
- func (o *VolumeDeleteLibpodConflict) IsSuccess() bool
- func (o *VolumeDeleteLibpodConflict) String() string
- type VolumeDeleteLibpodInternalServerError
- func (o *VolumeDeleteLibpodInternalServerError) Code() int
- func (o *VolumeDeleteLibpodInternalServerError) Error() string
- func (o *VolumeDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *VolumeDeleteLibpodInternalServerError) IsClientError() bool
- func (o *VolumeDeleteLibpodInternalServerError) IsCode(code int) bool
- func (o *VolumeDeleteLibpodInternalServerError) IsRedirect() bool
- func (o *VolumeDeleteLibpodInternalServerError) IsServerError() bool
- func (o *VolumeDeleteLibpodInternalServerError) IsSuccess() bool
- func (o *VolumeDeleteLibpodInternalServerError) String() string
- type VolumeDeleteLibpodNoContent
- func (o *VolumeDeleteLibpodNoContent) Code() int
- func (o *VolumeDeleteLibpodNoContent) Error() string
- func (o *VolumeDeleteLibpodNoContent) IsClientError() bool
- func (o *VolumeDeleteLibpodNoContent) IsCode(code int) bool
- func (o *VolumeDeleteLibpodNoContent) IsRedirect() bool
- func (o *VolumeDeleteLibpodNoContent) IsServerError() bool
- func (o *VolumeDeleteLibpodNoContent) IsSuccess() bool
- func (o *VolumeDeleteLibpodNoContent) String() string
- type VolumeDeleteLibpodNotFound
- func (o *VolumeDeleteLibpodNotFound) Code() int
- func (o *VolumeDeleteLibpodNotFound) Error() string
- func (o *VolumeDeleteLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *VolumeDeleteLibpodNotFound) IsClientError() bool
- func (o *VolumeDeleteLibpodNotFound) IsCode(code int) bool
- func (o *VolumeDeleteLibpodNotFound) IsRedirect() bool
- func (o *VolumeDeleteLibpodNotFound) IsServerError() bool
- func (o *VolumeDeleteLibpodNotFound) IsSuccess() bool
- func (o *VolumeDeleteLibpodNotFound) String() string
- type VolumeDeleteLibpodParams
- func NewVolumeDeleteLibpodParams() *VolumeDeleteLibpodParams
- func NewVolumeDeleteLibpodParamsWithContext(ctx context.Context) *VolumeDeleteLibpodParamsdeprecated
- func NewVolumeDeleteLibpodParamsWithHTTPClient(client *http.Client) *VolumeDeleteLibpodParams
- func NewVolumeDeleteLibpodParamsWithTimeout(timeout time.Duration) *VolumeDeleteLibpodParams
- func (o *VolumeDeleteLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *VolumeDeleteLibpodParams) SetDefaults()
- func (o *VolumeDeleteLibpodParams) SetForce(force *bool)
- func (o *VolumeDeleteLibpodParams) SetHTTPClient(client *http.Client)
- func (o *VolumeDeleteLibpodParams) SetName(name string)
- func (o *VolumeDeleteLibpodParams) SetRequestTimeout(timeout time.Duration)
- func (o *VolumeDeleteLibpodParams) SetTimeout(timeout *int64)
- func (o *VolumeDeleteLibpodParams) WithContext(ctx context.Context) *VolumeDeleteLibpodParamsdeprecated
- func (o *VolumeDeleteLibpodParams) WithDefaults() *VolumeDeleteLibpodParams
- func (o *VolumeDeleteLibpodParams) WithForce(force *bool) *VolumeDeleteLibpodParams
- func (o *VolumeDeleteLibpodParams) WithHTTPClient(client *http.Client) *VolumeDeleteLibpodParams
- func (o *VolumeDeleteLibpodParams) WithName(name string) *VolumeDeleteLibpodParams
- func (o *VolumeDeleteLibpodParams) WithRequestTimeout(timeout time.Duration) *VolumeDeleteLibpodParams
- func (o *VolumeDeleteLibpodParams) WithTimeout(timeout *int64) *VolumeDeleteLibpodParams
- func (o *VolumeDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeDeleteLibpodReader
- type VolumeExistsLibpodInternalServerError
- func (o *VolumeExistsLibpodInternalServerError) Code() int
- func (o *VolumeExistsLibpodInternalServerError) Error() string
- func (o *VolumeExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *VolumeExistsLibpodInternalServerError) IsClientError() bool
- func (o *VolumeExistsLibpodInternalServerError) IsCode(code int) bool
- func (o *VolumeExistsLibpodInternalServerError) IsRedirect() bool
- func (o *VolumeExistsLibpodInternalServerError) IsServerError() bool
- func (o *VolumeExistsLibpodInternalServerError) IsSuccess() bool
- func (o *VolumeExistsLibpodInternalServerError) String() string
- type VolumeExistsLibpodNoContent
- func (o *VolumeExistsLibpodNoContent) Code() int
- func (o *VolumeExistsLibpodNoContent) Error() string
- func (o *VolumeExistsLibpodNoContent) IsClientError() bool
- func (o *VolumeExistsLibpodNoContent) IsCode(code int) bool
- func (o *VolumeExistsLibpodNoContent) IsRedirect() bool
- func (o *VolumeExistsLibpodNoContent) IsServerError() bool
- func (o *VolumeExistsLibpodNoContent) IsSuccess() bool
- func (o *VolumeExistsLibpodNoContent) String() string
- type VolumeExistsLibpodNotFound
- func (o *VolumeExistsLibpodNotFound) Code() int
- func (o *VolumeExistsLibpodNotFound) Error() string
- func (o *VolumeExistsLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *VolumeExistsLibpodNotFound) IsClientError() bool
- func (o *VolumeExistsLibpodNotFound) IsCode(code int) bool
- func (o *VolumeExistsLibpodNotFound) IsRedirect() bool
- func (o *VolumeExistsLibpodNotFound) IsServerError() bool
- func (o *VolumeExistsLibpodNotFound) IsSuccess() bool
- func (o *VolumeExistsLibpodNotFound) String() string
- type VolumeExistsLibpodParams
- func NewVolumeExistsLibpodParams() *VolumeExistsLibpodParams
- func NewVolumeExistsLibpodParamsWithContext(ctx context.Context) *VolumeExistsLibpodParamsdeprecated
- func NewVolumeExistsLibpodParamsWithHTTPClient(client *http.Client) *VolumeExistsLibpodParams
- func NewVolumeExistsLibpodParamsWithTimeout(timeout time.Duration) *VolumeExistsLibpodParams
- func (o *VolumeExistsLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *VolumeExistsLibpodParams) SetDefaults()
- func (o *VolumeExistsLibpodParams) SetHTTPClient(client *http.Client)
- func (o *VolumeExistsLibpodParams) SetName(name string)
- func (o *VolumeExistsLibpodParams) SetTimeout(timeout time.Duration)
- func (o *VolumeExistsLibpodParams) WithContext(ctx context.Context) *VolumeExistsLibpodParamsdeprecated
- func (o *VolumeExistsLibpodParams) WithDefaults() *VolumeExistsLibpodParams
- func (o *VolumeExistsLibpodParams) WithHTTPClient(client *http.Client) *VolumeExistsLibpodParams
- func (o *VolumeExistsLibpodParams) WithName(name string) *VolumeExistsLibpodParams
- func (o *VolumeExistsLibpodParams) WithTimeout(timeout time.Duration) *VolumeExistsLibpodParams
- func (o *VolumeExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeExistsLibpodReader
- type VolumeExportLibpodInternalServerError
- func (o *VolumeExportLibpodInternalServerError) Code() int
- func (o *VolumeExportLibpodInternalServerError) Error() string
- func (o *VolumeExportLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *VolumeExportLibpodInternalServerError) IsClientError() bool
- func (o *VolumeExportLibpodInternalServerError) IsCode(code int) bool
- func (o *VolumeExportLibpodInternalServerError) IsRedirect() bool
- func (o *VolumeExportLibpodInternalServerError) IsServerError() bool
- func (o *VolumeExportLibpodInternalServerError) IsSuccess() bool
- func (o *VolumeExportLibpodInternalServerError) String() string
- type VolumeExportLibpodNotFound
- func (o *VolumeExportLibpodNotFound) Code() int
- func (o *VolumeExportLibpodNotFound) Error() string
- func (o *VolumeExportLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *VolumeExportLibpodNotFound) IsClientError() bool
- func (o *VolumeExportLibpodNotFound) IsCode(code int) bool
- func (o *VolumeExportLibpodNotFound) IsRedirect() bool
- func (o *VolumeExportLibpodNotFound) IsServerError() bool
- func (o *VolumeExportLibpodNotFound) IsSuccess() bool
- func (o *VolumeExportLibpodNotFound) String() string
- type VolumeExportLibpodOK
- func (o *VolumeExportLibpodOK) Code() int
- func (o *VolumeExportLibpodOK) Error() string
- func (o *VolumeExportLibpodOK) GetPayload() io.Writer
- func (o *VolumeExportLibpodOK) IsClientError() bool
- func (o *VolumeExportLibpodOK) IsCode(code int) bool
- func (o *VolumeExportLibpodOK) IsRedirect() bool
- func (o *VolumeExportLibpodOK) IsServerError() bool
- func (o *VolumeExportLibpodOK) IsSuccess() bool
- func (o *VolumeExportLibpodOK) String() string
- type VolumeExportLibpodParams
- func NewVolumeExportLibpodParams() *VolumeExportLibpodParams
- func NewVolumeExportLibpodParamsWithContext(ctx context.Context) *VolumeExportLibpodParamsdeprecated
- func NewVolumeExportLibpodParamsWithHTTPClient(client *http.Client) *VolumeExportLibpodParams
- func NewVolumeExportLibpodParamsWithTimeout(timeout time.Duration) *VolumeExportLibpodParams
- func (o *VolumeExportLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *VolumeExportLibpodParams) SetDefaults()
- func (o *VolumeExportLibpodParams) SetHTTPClient(client *http.Client)
- func (o *VolumeExportLibpodParams) SetName(name string)
- func (o *VolumeExportLibpodParams) SetTimeout(timeout time.Duration)
- func (o *VolumeExportLibpodParams) WithContext(ctx context.Context) *VolumeExportLibpodParamsdeprecated
- func (o *VolumeExportLibpodParams) WithDefaults() *VolumeExportLibpodParams
- func (o *VolumeExportLibpodParams) WithHTTPClient(client *http.Client) *VolumeExportLibpodParams
- func (o *VolumeExportLibpodParams) WithName(name string) *VolumeExportLibpodParams
- func (o *VolumeExportLibpodParams) WithTimeout(timeout time.Duration) *VolumeExportLibpodParams
- func (o *VolumeExportLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeExportLibpodReader
- type VolumeImportLibpodInternalServerError
- func (o *VolumeImportLibpodInternalServerError) Code() int
- func (o *VolumeImportLibpodInternalServerError) Error() string
- func (o *VolumeImportLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *VolumeImportLibpodInternalServerError) IsClientError() bool
- func (o *VolumeImportLibpodInternalServerError) IsCode(code int) bool
- func (o *VolumeImportLibpodInternalServerError) IsRedirect() bool
- func (o *VolumeImportLibpodInternalServerError) IsServerError() bool
- func (o *VolumeImportLibpodInternalServerError) IsSuccess() bool
- func (o *VolumeImportLibpodInternalServerError) String() string
- type VolumeImportLibpodNoContent
- func (o *VolumeImportLibpodNoContent) Code() int
- func (o *VolumeImportLibpodNoContent) Error() string
- func (o *VolumeImportLibpodNoContent) IsClientError() bool
- func (o *VolumeImportLibpodNoContent) IsCode(code int) bool
- func (o *VolumeImportLibpodNoContent) IsRedirect() bool
- func (o *VolumeImportLibpodNoContent) IsServerError() bool
- func (o *VolumeImportLibpodNoContent) IsSuccess() bool
- func (o *VolumeImportLibpodNoContent) String() string
- type VolumeImportLibpodNotFound
- func (o *VolumeImportLibpodNotFound) Code() int
- func (o *VolumeImportLibpodNotFound) Error() string
- func (o *VolumeImportLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *VolumeImportLibpodNotFound) IsClientError() bool
- func (o *VolumeImportLibpodNotFound) IsCode(code int) bool
- func (o *VolumeImportLibpodNotFound) IsRedirect() bool
- func (o *VolumeImportLibpodNotFound) IsServerError() bool
- func (o *VolumeImportLibpodNotFound) IsSuccess() bool
- func (o *VolumeImportLibpodNotFound) String() string
- type VolumeImportLibpodParams
- func NewVolumeImportLibpodParams() *VolumeImportLibpodParams
- func NewVolumeImportLibpodParamsWithContext(ctx context.Context) *VolumeImportLibpodParamsdeprecated
- func NewVolumeImportLibpodParamsWithHTTPClient(client *http.Client) *VolumeImportLibpodParams
- func NewVolumeImportLibpodParamsWithTimeout(timeout time.Duration) *VolumeImportLibpodParams
- func (o *VolumeImportLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *VolumeImportLibpodParams) SetDefaults()
- func (o *VolumeImportLibpodParams) SetHTTPClient(client *http.Client)
- func (o *VolumeImportLibpodParams) SetInputStream(inputStream io.ReadCloser)
- func (o *VolumeImportLibpodParams) SetName(name string)
- func (o *VolumeImportLibpodParams) SetTimeout(timeout time.Duration)
- func (o *VolumeImportLibpodParams) WithContext(ctx context.Context) *VolumeImportLibpodParamsdeprecated
- func (o *VolumeImportLibpodParams) WithDefaults() *VolumeImportLibpodParams
- func (o *VolumeImportLibpodParams) WithHTTPClient(client *http.Client) *VolumeImportLibpodParams
- func (o *VolumeImportLibpodParams) WithInputStream(inputStream io.ReadCloser) *VolumeImportLibpodParams
- func (o *VolumeImportLibpodParams) WithName(name string) *VolumeImportLibpodParams
- func (o *VolumeImportLibpodParams) WithTimeout(timeout time.Duration) *VolumeImportLibpodParams
- func (o *VolumeImportLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeImportLibpodReader
- type VolumeInspectLibpodInternalServerError
- func (o *VolumeInspectLibpodInternalServerError) Code() int
- func (o *VolumeInspectLibpodInternalServerError) Error() string
- func (o *VolumeInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *VolumeInspectLibpodInternalServerError) IsClientError() bool
- func (o *VolumeInspectLibpodInternalServerError) IsCode(code int) bool
- func (o *VolumeInspectLibpodInternalServerError) IsRedirect() bool
- func (o *VolumeInspectLibpodInternalServerError) IsServerError() bool
- func (o *VolumeInspectLibpodInternalServerError) IsSuccess() bool
- func (o *VolumeInspectLibpodInternalServerError) String() string
- type VolumeInspectLibpodNotFound
- func (o *VolumeInspectLibpodNotFound) Code() int
- func (o *VolumeInspectLibpodNotFound) Error() string
- func (o *VolumeInspectLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *VolumeInspectLibpodNotFound) IsClientError() bool
- func (o *VolumeInspectLibpodNotFound) IsCode(code int) bool
- func (o *VolumeInspectLibpodNotFound) IsRedirect() bool
- func (o *VolumeInspectLibpodNotFound) IsServerError() bool
- func (o *VolumeInspectLibpodNotFound) IsSuccess() bool
- func (o *VolumeInspectLibpodNotFound) String() string
- type VolumeInspectLibpodOK
- func (o *VolumeInspectLibpodOK) Code() int
- func (o *VolumeInspectLibpodOK) Error() string
- func (o *VolumeInspectLibpodOK) GetPayload() *models.VolumeConfigResponse
- func (o *VolumeInspectLibpodOK) IsClientError() bool
- func (o *VolumeInspectLibpodOK) IsCode(code int) bool
- func (o *VolumeInspectLibpodOK) IsRedirect() bool
- func (o *VolumeInspectLibpodOK) IsServerError() bool
- func (o *VolumeInspectLibpodOK) IsSuccess() bool
- func (o *VolumeInspectLibpodOK) String() string
- type VolumeInspectLibpodParams
- func NewVolumeInspectLibpodParams() *VolumeInspectLibpodParams
- func NewVolumeInspectLibpodParamsWithContext(ctx context.Context) *VolumeInspectLibpodParamsdeprecated
- func NewVolumeInspectLibpodParamsWithHTTPClient(client *http.Client) *VolumeInspectLibpodParams
- func NewVolumeInspectLibpodParamsWithTimeout(timeout time.Duration) *VolumeInspectLibpodParams
- func (o *VolumeInspectLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *VolumeInspectLibpodParams) SetDefaults()
- func (o *VolumeInspectLibpodParams) SetHTTPClient(client *http.Client)
- func (o *VolumeInspectLibpodParams) SetName(name string)
- func (o *VolumeInspectLibpodParams) SetTimeout(timeout time.Duration)
- func (o *VolumeInspectLibpodParams) WithContext(ctx context.Context) *VolumeInspectLibpodParamsdeprecated
- func (o *VolumeInspectLibpodParams) WithDefaults() *VolumeInspectLibpodParams
- func (o *VolumeInspectLibpodParams) WithHTTPClient(client *http.Client) *VolumeInspectLibpodParams
- func (o *VolumeInspectLibpodParams) WithName(name string) *VolumeInspectLibpodParams
- func (o *VolumeInspectLibpodParams) WithTimeout(timeout time.Duration) *VolumeInspectLibpodParams
- func (o *VolumeInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeInspectLibpodReader
- type VolumeListLibpodInternalServerError
- func (o *VolumeListLibpodInternalServerError) Code() int
- func (o *VolumeListLibpodInternalServerError) Error() string
- func (o *VolumeListLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *VolumeListLibpodInternalServerError) IsClientError() bool
- func (o *VolumeListLibpodInternalServerError) IsCode(code int) bool
- func (o *VolumeListLibpodInternalServerError) IsRedirect() bool
- func (o *VolumeListLibpodInternalServerError) IsServerError() bool
- func (o *VolumeListLibpodInternalServerError) IsSuccess() bool
- func (o *VolumeListLibpodInternalServerError) String() string
- type VolumeListLibpodOK
- func (o *VolumeListLibpodOK) Code() int
- func (o *VolumeListLibpodOK) Error() string
- func (o *VolumeListLibpodOK) GetPayload() []*models.VolumeConfigResponse
- func (o *VolumeListLibpodOK) IsClientError() bool
- func (o *VolumeListLibpodOK) IsCode(code int) bool
- func (o *VolumeListLibpodOK) IsRedirect() bool
- func (o *VolumeListLibpodOK) IsServerError() bool
- func (o *VolumeListLibpodOK) IsSuccess() bool
- func (o *VolumeListLibpodOK) String() string
- type VolumeListLibpodParams
- func NewVolumeListLibpodParams() *VolumeListLibpodParams
- func NewVolumeListLibpodParamsWithContext(ctx context.Context) *VolumeListLibpodParamsdeprecated
- func NewVolumeListLibpodParamsWithHTTPClient(client *http.Client) *VolumeListLibpodParams
- func NewVolumeListLibpodParamsWithTimeout(timeout time.Duration) *VolumeListLibpodParams
- func (o *VolumeListLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *VolumeListLibpodParams) SetDefaults()
- func (o *VolumeListLibpodParams) SetFilters(filters *string)
- func (o *VolumeListLibpodParams) SetHTTPClient(client *http.Client)
- func (o *VolumeListLibpodParams) SetTimeout(timeout time.Duration)
- func (o *VolumeListLibpodParams) WithContext(ctx context.Context) *VolumeListLibpodParamsdeprecated
- func (o *VolumeListLibpodParams) WithDefaults() *VolumeListLibpodParams
- func (o *VolumeListLibpodParams) WithFilters(filters *string) *VolumeListLibpodParams
- func (o *VolumeListLibpodParams) WithHTTPClient(client *http.Client) *VolumeListLibpodParams
- func (o *VolumeListLibpodParams) WithTimeout(timeout time.Duration) *VolumeListLibpodParams
- func (o *VolumeListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeListLibpodReader
- type VolumePruneLibpodInternalServerError
- func (o *VolumePruneLibpodInternalServerError) Code() int
- func (o *VolumePruneLibpodInternalServerError) Error() string
- func (o *VolumePruneLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *VolumePruneLibpodInternalServerError) IsClientError() bool
- func (o *VolumePruneLibpodInternalServerError) IsCode(code int) bool
- func (o *VolumePruneLibpodInternalServerError) IsRedirect() bool
- func (o *VolumePruneLibpodInternalServerError) IsServerError() bool
- func (o *VolumePruneLibpodInternalServerError) IsSuccess() bool
- func (o *VolumePruneLibpodInternalServerError) String() string
- type VolumePruneLibpodOK
- func (o *VolumePruneLibpodOK) Code() int
- func (o *VolumePruneLibpodOK) Error() string
- func (o *VolumePruneLibpodOK) GetPayload() []*models.ReportsPruneReport
- func (o *VolumePruneLibpodOK) IsClientError() bool
- func (o *VolumePruneLibpodOK) IsCode(code int) bool
- func (o *VolumePruneLibpodOK) IsRedirect() bool
- func (o *VolumePruneLibpodOK) IsServerError() bool
- func (o *VolumePruneLibpodOK) IsSuccess() bool
- func (o *VolumePruneLibpodOK) String() string
- type VolumePruneLibpodParams
- func NewVolumePruneLibpodParams() *VolumePruneLibpodParams
- func NewVolumePruneLibpodParamsWithContext(ctx context.Context) *VolumePruneLibpodParamsdeprecated
- func NewVolumePruneLibpodParamsWithHTTPClient(client *http.Client) *VolumePruneLibpodParams
- func NewVolumePruneLibpodParamsWithTimeout(timeout time.Duration) *VolumePruneLibpodParams
- func (o *VolumePruneLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *VolumePruneLibpodParams) SetDefaults()
- func (o *VolumePruneLibpodParams) SetDryrun(dryrun *bool)
- func (o *VolumePruneLibpodParams) SetFilters(filters *string)
- func (o *VolumePruneLibpodParams) SetHTTPClient(client *http.Client)
- func (o *VolumePruneLibpodParams) SetTimeout(timeout time.Duration)
- func (o *VolumePruneLibpodParams) WithContext(ctx context.Context) *VolumePruneLibpodParamsdeprecated
- func (o *VolumePruneLibpodParams) WithDefaults() *VolumePruneLibpodParams
- func (o *VolumePruneLibpodParams) WithDryrun(dryrun *bool) *VolumePruneLibpodParams
- func (o *VolumePruneLibpodParams) WithFilters(filters *string) *VolumePruneLibpodParams
- func (o *VolumePruneLibpodParams) WithHTTPClient(client *http.Client) *VolumePruneLibpodParams
- func (o *VolumePruneLibpodParams) WithTimeout(timeout time.Duration) *VolumePruneLibpodParams
- func (o *VolumePruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumePruneLibpodReader
- type VolumeRenameLibpodBadRequest
- func (o *VolumeRenameLibpodBadRequest) Code() int
- func (o *VolumeRenameLibpodBadRequest) Error() string
- func (o *VolumeRenameLibpodBadRequest) GetPayload() *models.ErrorModel
- func (o *VolumeRenameLibpodBadRequest) IsClientError() bool
- func (o *VolumeRenameLibpodBadRequest) IsCode(code int) bool
- func (o *VolumeRenameLibpodBadRequest) IsRedirect() bool
- func (o *VolumeRenameLibpodBadRequest) IsServerError() bool
- func (o *VolumeRenameLibpodBadRequest) IsSuccess() bool
- func (o *VolumeRenameLibpodBadRequest) String() string
- type VolumeRenameLibpodConflict
- func (o *VolumeRenameLibpodConflict) Code() int
- func (o *VolumeRenameLibpodConflict) Error() string
- func (o *VolumeRenameLibpodConflict) IsClientError() bool
- func (o *VolumeRenameLibpodConflict) IsCode(code int) bool
- func (o *VolumeRenameLibpodConflict) IsRedirect() bool
- func (o *VolumeRenameLibpodConflict) IsServerError() bool
- func (o *VolumeRenameLibpodConflict) IsSuccess() bool
- func (o *VolumeRenameLibpodConflict) String() string
- type VolumeRenameLibpodInternalServerError
- func (o *VolumeRenameLibpodInternalServerError) Code() int
- func (o *VolumeRenameLibpodInternalServerError) Error() string
- func (o *VolumeRenameLibpodInternalServerError) GetPayload() *models.ErrorModel
- func (o *VolumeRenameLibpodInternalServerError) IsClientError() bool
- func (o *VolumeRenameLibpodInternalServerError) IsCode(code int) bool
- func (o *VolumeRenameLibpodInternalServerError) IsRedirect() bool
- func (o *VolumeRenameLibpodInternalServerError) IsServerError() bool
- func (o *VolumeRenameLibpodInternalServerError) IsSuccess() bool
- func (o *VolumeRenameLibpodInternalServerError) String() string
- type VolumeRenameLibpodNoContent
- func (o *VolumeRenameLibpodNoContent) Code() int
- func (o *VolumeRenameLibpodNoContent) Error() string
- func (o *VolumeRenameLibpodNoContent) IsClientError() bool
- func (o *VolumeRenameLibpodNoContent) IsCode(code int) bool
- func (o *VolumeRenameLibpodNoContent) IsRedirect() bool
- func (o *VolumeRenameLibpodNoContent) IsServerError() bool
- func (o *VolumeRenameLibpodNoContent) IsSuccess() bool
- func (o *VolumeRenameLibpodNoContent) String() string
- type VolumeRenameLibpodNotFound
- func (o *VolumeRenameLibpodNotFound) Code() int
- func (o *VolumeRenameLibpodNotFound) Error() string
- func (o *VolumeRenameLibpodNotFound) GetPayload() *models.ErrorModel
- func (o *VolumeRenameLibpodNotFound) IsClientError() bool
- func (o *VolumeRenameLibpodNotFound) IsCode(code int) bool
- func (o *VolumeRenameLibpodNotFound) IsRedirect() bool
- func (o *VolumeRenameLibpodNotFound) IsServerError() bool
- func (o *VolumeRenameLibpodNotFound) IsSuccess() bool
- func (o *VolumeRenameLibpodNotFound) String() string
- type VolumeRenameLibpodParams
- func NewVolumeRenameLibpodParams() *VolumeRenameLibpodParams
- func NewVolumeRenameLibpodParamsWithContext(ctx context.Context) *VolumeRenameLibpodParamsdeprecated
- func NewVolumeRenameLibpodParamsWithHTTPClient(client *http.Client) *VolumeRenameLibpodParams
- func NewVolumeRenameLibpodParamsWithTimeout(timeout time.Duration) *VolumeRenameLibpodParams
- func (o *VolumeRenameLibpodParams) SetContext(ctx context.Context)deprecated
- func (o *VolumeRenameLibpodParams) SetDefaults()
- func (o *VolumeRenameLibpodParams) SetHTTPClient(client *http.Client)
- func (o *VolumeRenameLibpodParams) SetName(name string)
- func (o *VolumeRenameLibpodParams) SetNewName(newName string)
- func (o *VolumeRenameLibpodParams) SetTimeout(timeout time.Duration)
- func (o *VolumeRenameLibpodParams) WithContext(ctx context.Context) *VolumeRenameLibpodParamsdeprecated
- func (o *VolumeRenameLibpodParams) WithDefaults() *VolumeRenameLibpodParams
- func (o *VolumeRenameLibpodParams) WithHTTPClient(client *http.Client) *VolumeRenameLibpodParams
- func (o *VolumeRenameLibpodParams) WithName(name string) *VolumeRenameLibpodParams
- func (o *VolumeRenameLibpodParams) WithNewName(newName string) *VolumeRenameLibpodParams
- func (o *VolumeRenameLibpodParams) WithTimeout(timeout time.Duration) *VolumeRenameLibpodParams
- func (o *VolumeRenameLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeRenameLibpodReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptApplicationxTar ¶
func WithAcceptApplicationxTar(r *runtime.ClientOperation)
WithAcceptApplicationxTar sets the Accept header to "application/x-tar".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxTar ¶
func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
WithContentTypeApplicationxTar sets the Content-Type header to "application/x-tar".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for volumes API.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
func (*Client) VolumeCreateLibpod ¶
func (a *Client) VolumeCreateLibpod(params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)
VolumeCreateLibpod creates a volume.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.VolumeCreateLibpodContext instead.
func (*Client) VolumeCreateLibpodContext ¶
func (a *Client) VolumeCreateLibpodContext(ctx context.Context, params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)
VolumeCreateLibpodContext creates a volume.
Do not use the deprecated [VolumeCreateLibpodParams.Context] with this method: it would be ignored.
func (*Client) VolumeDeleteLibpod ¶
func (a *Client) VolumeDeleteLibpod(params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)
VolumeDeleteLibpod removes volume.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.VolumeDeleteLibpodContext instead.
func (*Client) VolumeDeleteLibpodContext ¶
func (a *Client) VolumeDeleteLibpodContext(ctx context.Context, params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)
VolumeDeleteLibpodContext removes volume.
Do not use the deprecated [VolumeDeleteLibpodParams.Context] with this method: it would be ignored.
func (*Client) VolumeExistsLibpod ¶
func (a *Client) VolumeExistsLibpod(params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)
VolumeExistsLibpod volumes exists.
Check if a volume exists.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.VolumeExistsLibpodContext instead.
func (*Client) VolumeExistsLibpodContext ¶
func (a *Client) VolumeExistsLibpodContext(ctx context.Context, params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)
VolumeExistsLibpodContext volumes exists.
Check if a volume exists.
Do not use the deprecated [VolumeExistsLibpodParams.Context] with this method: it would be ignored.
func (*Client) VolumeExportLibpod ¶
func (a *Client) VolumeExportLibpod(params *VolumeExportLibpodParams, writer io.Writer, opts ...ClientOption) (*VolumeExportLibpodOK, error)
VolumeExportLibpod exports a volume.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.VolumeExportLibpodContext instead.
func (*Client) VolumeExportLibpodContext ¶
func (a *Client) VolumeExportLibpodContext(ctx context.Context, params *VolumeExportLibpodParams, writer io.Writer, opts ...ClientOption) (*VolumeExportLibpodOK, error)
VolumeExportLibpodContext exports a volume.
Do not use the deprecated [VolumeExportLibpodParams.Context] with this method: it would be ignored.
func (*Client) VolumeImportLibpod ¶
func (a *Client) VolumeImportLibpod(params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)
VolumeImportLibpod populates a volume by importing provided tar.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.VolumeImportLibpodContext instead.
func (*Client) VolumeImportLibpodContext ¶
func (a *Client) VolumeImportLibpodContext(ctx context.Context, params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)
VolumeImportLibpodContext populates a volume by importing provided tar.
Do not use the deprecated [VolumeImportLibpodParams.Context] with this method: it would be ignored.
func (*Client) VolumeInspectLibpod ¶
func (a *Client) VolumeInspectLibpod(params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)
VolumeInspectLibpod inspects volume.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.VolumeInspectLibpodContext instead.
func (*Client) VolumeInspectLibpodContext ¶
func (a *Client) VolumeInspectLibpodContext(ctx context.Context, params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)
VolumeInspectLibpodContext inspects volume.
Do not use the deprecated [VolumeInspectLibpodParams.Context] with this method: it would be ignored.
func (*Client) VolumeListLibpod ¶
func (a *Client) VolumeListLibpod(params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)
VolumeListLibpod lists volumes.
Returns a list of volumes.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.VolumeListLibpodContext instead.
func (*Client) VolumeListLibpodContext ¶
func (a *Client) VolumeListLibpodContext(ctx context.Context, params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)
VolumeListLibpodContext lists volumes.
Returns a list of volumes.
Do not use the deprecated [VolumeListLibpodParams.Context] with this method: it would be ignored.
func (*Client) VolumePruneLibpod ¶
func (a *Client) VolumePruneLibpod(params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)
VolumePruneLibpod prunes volumes.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.VolumePruneLibpodContext instead.
func (*Client) VolumePruneLibpodContext ¶
func (a *Client) VolumePruneLibpodContext(ctx context.Context, params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)
VolumePruneLibpodContext prunes volumes.
Do not use the deprecated [VolumePruneLibpodParams.Context] with this method: it would be ignored.
func (*Client) VolumeRenameLibpod ¶
func (a *Client) VolumeRenameLibpod(params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)
VolumeRenameLibpod renames an existing volume.
Rename a volume when the source volume exists, the new name is valid and unused, the volume is not mounted or used by any container, and the volume uses the local driver. .
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.VolumeRenameLibpodContext instead.
func (*Client) VolumeRenameLibpodContext ¶
func (a *Client) VolumeRenameLibpodContext(ctx context.Context, params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)
VolumeRenameLibpodContext renames an existing volume.
Rename a volume when the source volume exists, the new name is valid and unused, the volume is not mounted or used by any container, and the volume uses the local driver. .
Do not use the deprecated [VolumeRenameLibpodParams.Context] with this method: it would be ignored.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
// VolumeCreateLibpod create a volume.
VolumeCreateLibpod(params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)
// VolumeCreateLibpodContext create a volume.
VolumeCreateLibpodContext(ctx context.Context, params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)
// VolumeDeleteLibpod remove volume.
VolumeDeleteLibpod(params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)
// VolumeDeleteLibpodContext remove volume.
VolumeDeleteLibpodContext(ctx context.Context, params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)
// VolumeExistsLibpod volume exists.
VolumeExistsLibpod(params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)
// VolumeExistsLibpodContext volume exists.
VolumeExistsLibpodContext(ctx context.Context, params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)
// VolumeExportLibpod export a volume.
VolumeExportLibpod(params *VolumeExportLibpodParams, writer io.Writer, opts ...ClientOption) (*VolumeExportLibpodOK, error)
// VolumeExportLibpodContext export a volume.
VolumeExportLibpodContext(ctx context.Context, params *VolumeExportLibpodParams, writer io.Writer, opts ...ClientOption) (*VolumeExportLibpodOK, error)
// VolumeImportLibpod populate a volume by importing provided tar.
VolumeImportLibpod(params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)
// VolumeImportLibpodContext populate a volume by importing provided tar.
VolumeImportLibpodContext(ctx context.Context, params *VolumeImportLibpodParams, opts ...ClientOption) (*VolumeImportLibpodNoContent, error)
// VolumeInspectLibpod inspect volume.
VolumeInspectLibpod(params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)
// VolumeInspectLibpodContext inspect volume.
VolumeInspectLibpodContext(ctx context.Context, params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)
// VolumeListLibpod list volumes.
VolumeListLibpod(params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)
// VolumeListLibpodContext list volumes.
VolumeListLibpodContext(ctx context.Context, params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)
// VolumePruneLibpod prune volumes.
VolumePruneLibpod(params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)
// VolumePruneLibpodContext prune volumes.
VolumePruneLibpodContext(ctx context.Context, params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)
// VolumeRenameLibpod rename an existing volume.
VolumeRenameLibpod(params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)
// VolumeRenameLibpodContext rename an existing volume.
VolumeRenameLibpodContext(ctx context.Context, params *VolumeRenameLibpodParams, opts ...ClientOption) (*VolumeRenameLibpodNoContent, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new volumes API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new volumes API client with basic auth credentials.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new volumes API client with a bearer token for authentication.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type VolumeCreateLibpodCreated ¶
type VolumeCreateLibpodCreated struct {
Payload *models.VolumeConfigResponse
}
VolumeCreateLibpodCreated describes a response with status code 201, with default header values.
Volume details
func NewVolumeCreateLibpodCreated ¶
func NewVolumeCreateLibpodCreated() *VolumeCreateLibpodCreated
NewVolumeCreateLibpodCreated creates a VolumeCreateLibpodCreated with default headers values
func (*VolumeCreateLibpodCreated) Code ¶
func (o *VolumeCreateLibpodCreated) Code() int
Code gets the status code for the volume create libpod created response
func (*VolumeCreateLibpodCreated) Error ¶
func (o *VolumeCreateLibpodCreated) Error() string
func (*VolumeCreateLibpodCreated) GetPayload ¶
func (o *VolumeCreateLibpodCreated) GetPayload() *models.VolumeConfigResponse
func (*VolumeCreateLibpodCreated) IsClientError ¶
func (o *VolumeCreateLibpodCreated) IsClientError() bool
IsClientError returns true when this volume create libpod created response has a 4xx status code
func (*VolumeCreateLibpodCreated) IsCode ¶
func (o *VolumeCreateLibpodCreated) IsCode(code int) bool
IsCode returns true when this volume create libpod created response a status code equal to that given
func (*VolumeCreateLibpodCreated) IsRedirect ¶
func (o *VolumeCreateLibpodCreated) IsRedirect() bool
IsRedirect returns true when this volume create libpod created response has a 3xx status code
func (*VolumeCreateLibpodCreated) IsServerError ¶
func (o *VolumeCreateLibpodCreated) IsServerError() bool
IsServerError returns true when this volume create libpod created response has a 5xx status code
func (*VolumeCreateLibpodCreated) IsSuccess ¶
func (o *VolumeCreateLibpodCreated) IsSuccess() bool
IsSuccess returns true when this volume create libpod created response has a 2xx status code
func (*VolumeCreateLibpodCreated) String ¶
func (o *VolumeCreateLibpodCreated) String() string
type VolumeCreateLibpodInternalServerError ¶
type VolumeCreateLibpodInternalServerError struct {
Payload *models.ErrorModel
}
VolumeCreateLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewVolumeCreateLibpodInternalServerError ¶
func NewVolumeCreateLibpodInternalServerError() *VolumeCreateLibpodInternalServerError
NewVolumeCreateLibpodInternalServerError creates a VolumeCreateLibpodInternalServerError with default headers values
func (*VolumeCreateLibpodInternalServerError) Code ¶
func (o *VolumeCreateLibpodInternalServerError) Code() int
Code gets the status code for the volume create libpod internal server error response
func (*VolumeCreateLibpodInternalServerError) Error ¶
func (o *VolumeCreateLibpodInternalServerError) Error() string
func (*VolumeCreateLibpodInternalServerError) GetPayload ¶
func (o *VolumeCreateLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*VolumeCreateLibpodInternalServerError) IsClientError ¶
func (o *VolumeCreateLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this volume create libpod internal server error response has a 4xx status code
func (*VolumeCreateLibpodInternalServerError) IsCode ¶
func (o *VolumeCreateLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this volume create libpod internal server error response a status code equal to that given
func (*VolumeCreateLibpodInternalServerError) IsRedirect ¶
func (o *VolumeCreateLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this volume create libpod internal server error response has a 3xx status code
func (*VolumeCreateLibpodInternalServerError) IsServerError ¶
func (o *VolumeCreateLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this volume create libpod internal server error response has a 5xx status code
func (*VolumeCreateLibpodInternalServerError) IsSuccess ¶
func (o *VolumeCreateLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this volume create libpod internal server error response has a 2xx status code
func (*VolumeCreateLibpodInternalServerError) String ¶
func (o *VolumeCreateLibpodInternalServerError) String() string
type VolumeCreateLibpodParams ¶
type VolumeCreateLibpodParams struct {
// Create.
//
// attributes for creating a volume
Create *models.VolumeCreateOptions
HTTPClient *http.Client
// contains filtered or unexported fields
}
VolumeCreateLibpodParams contains all the parameters to send to the API endpoint
for the volume create libpod operation. Typically these are written to a http.Request.
func NewVolumeCreateLibpodParams ¶
func NewVolumeCreateLibpodParams() *VolumeCreateLibpodParams
NewVolumeCreateLibpodParams creates a new VolumeCreateLibpodParams 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 NewVolumeCreateLibpodParamsWithContext
deprecated
func NewVolumeCreateLibpodParamsWithContext(ctx context.Context) *VolumeCreateLibpodParams
NewVolumeCreateLibpodParamsWithContext creates a new VolumeCreateLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of VolumeCreateLibpodParams.
func NewVolumeCreateLibpodParamsWithHTTPClient ¶
func NewVolumeCreateLibpodParamsWithHTTPClient(client *http.Client) *VolumeCreateLibpodParams
NewVolumeCreateLibpodParamsWithHTTPClient creates a new VolumeCreateLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeCreateLibpodParamsWithTimeout ¶
func NewVolumeCreateLibpodParamsWithTimeout(timeout time.Duration) *VolumeCreateLibpodParams
NewVolumeCreateLibpodParamsWithTimeout creates a new VolumeCreateLibpodParams object with the ability to set a timeout on a request.
func (*VolumeCreateLibpodParams) SetContext
deprecated
func (o *VolumeCreateLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume create libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeCreateLibpodParams.
func (*VolumeCreateLibpodParams) SetCreate ¶
func (o *VolumeCreateLibpodParams) SetCreate(create *models.VolumeCreateOptions)
SetCreate adds the create to the volume create libpod params.
func (*VolumeCreateLibpodParams) SetDefaults ¶
func (o *VolumeCreateLibpodParams) SetDefaults()
SetDefaults hydrates default values in the volume create libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeCreateLibpodParams) SetHTTPClient ¶
func (o *VolumeCreateLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume create libpod params.
func (*VolumeCreateLibpodParams) SetTimeout ¶
func (o *VolumeCreateLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume create libpod params.
func (*VolumeCreateLibpodParams) WithContext
deprecated
func (o *VolumeCreateLibpodParams) WithContext(ctx context.Context) *VolumeCreateLibpodParams
WithContext adds the context to the volume create libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeCreateLibpodParams.
func (*VolumeCreateLibpodParams) WithCreate ¶
func (o *VolumeCreateLibpodParams) WithCreate(create *models.VolumeCreateOptions) *VolumeCreateLibpodParams
WithCreate adds the create to the volume create libpod params.
func (*VolumeCreateLibpodParams) WithDefaults ¶
func (o *VolumeCreateLibpodParams) WithDefaults() *VolumeCreateLibpodParams
WithDefaults hydrates default values in the volume create libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeCreateLibpodParams) WithHTTPClient ¶
func (o *VolumeCreateLibpodParams) WithHTTPClient(client *http.Client) *VolumeCreateLibpodParams
WithHTTPClient adds the HTTPClient to the volume create libpod params.
func (*VolumeCreateLibpodParams) WithTimeout ¶
func (o *VolumeCreateLibpodParams) WithTimeout(timeout time.Duration) *VolumeCreateLibpodParams
WithTimeout adds the timeout to the volume create libpod params.
func (*VolumeCreateLibpodParams) WriteToRequest ¶
func (o *VolumeCreateLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type VolumeCreateLibpodReader ¶
type VolumeCreateLibpodReader struct {
// contains filtered or unexported fields
}
VolumeCreateLibpodReader is a Reader for the VolumeCreateLibpod structure.
func (*VolumeCreateLibpodReader) ReadResponse ¶
func (o *VolumeCreateLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type VolumeDeleteLibpodConflict ¶
type VolumeDeleteLibpodConflict struct {
}
VolumeDeleteLibpodConflict describes a response with status code 409, with default header values.
Volume is in use and cannot be removed
func NewVolumeDeleteLibpodConflict ¶
func NewVolumeDeleteLibpodConflict() *VolumeDeleteLibpodConflict
NewVolumeDeleteLibpodConflict creates a VolumeDeleteLibpodConflict with default headers values
func (*VolumeDeleteLibpodConflict) Code ¶
func (o *VolumeDeleteLibpodConflict) Code() int
Code gets the status code for the volume delete libpod conflict response
func (*VolumeDeleteLibpodConflict) Error ¶
func (o *VolumeDeleteLibpodConflict) Error() string
func (*VolumeDeleteLibpodConflict) IsClientError ¶
func (o *VolumeDeleteLibpodConflict) IsClientError() bool
IsClientError returns true when this volume delete libpod conflict response has a 4xx status code
func (*VolumeDeleteLibpodConflict) IsCode ¶
func (o *VolumeDeleteLibpodConflict) IsCode(code int) bool
IsCode returns true when this volume delete libpod conflict response a status code equal to that given
func (*VolumeDeleteLibpodConflict) IsRedirect ¶
func (o *VolumeDeleteLibpodConflict) IsRedirect() bool
IsRedirect returns true when this volume delete libpod conflict response has a 3xx status code
func (*VolumeDeleteLibpodConflict) IsServerError ¶
func (o *VolumeDeleteLibpodConflict) IsServerError() bool
IsServerError returns true when this volume delete libpod conflict response has a 5xx status code
func (*VolumeDeleteLibpodConflict) IsSuccess ¶
func (o *VolumeDeleteLibpodConflict) IsSuccess() bool
IsSuccess returns true when this volume delete libpod conflict response has a 2xx status code
func (*VolumeDeleteLibpodConflict) String ¶
func (o *VolumeDeleteLibpodConflict) String() string
type VolumeDeleteLibpodInternalServerError ¶
type VolumeDeleteLibpodInternalServerError struct {
Payload *models.ErrorModel
}
VolumeDeleteLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewVolumeDeleteLibpodInternalServerError ¶
func NewVolumeDeleteLibpodInternalServerError() *VolumeDeleteLibpodInternalServerError
NewVolumeDeleteLibpodInternalServerError creates a VolumeDeleteLibpodInternalServerError with default headers values
func (*VolumeDeleteLibpodInternalServerError) Code ¶
func (o *VolumeDeleteLibpodInternalServerError) Code() int
Code gets the status code for the volume delete libpod internal server error response
func (*VolumeDeleteLibpodInternalServerError) Error ¶
func (o *VolumeDeleteLibpodInternalServerError) Error() string
func (*VolumeDeleteLibpodInternalServerError) GetPayload ¶
func (o *VolumeDeleteLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*VolumeDeleteLibpodInternalServerError) IsClientError ¶
func (o *VolumeDeleteLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this volume delete libpod internal server error response has a 4xx status code
func (*VolumeDeleteLibpodInternalServerError) IsCode ¶
func (o *VolumeDeleteLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this volume delete libpod internal server error response a status code equal to that given
func (*VolumeDeleteLibpodInternalServerError) IsRedirect ¶
func (o *VolumeDeleteLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this volume delete libpod internal server error response has a 3xx status code
func (*VolumeDeleteLibpodInternalServerError) IsServerError ¶
func (o *VolumeDeleteLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this volume delete libpod internal server error response has a 5xx status code
func (*VolumeDeleteLibpodInternalServerError) IsSuccess ¶
func (o *VolumeDeleteLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this volume delete libpod internal server error response has a 2xx status code
func (*VolumeDeleteLibpodInternalServerError) String ¶
func (o *VolumeDeleteLibpodInternalServerError) String() string
type VolumeDeleteLibpodNoContent ¶
type VolumeDeleteLibpodNoContent struct {
}
VolumeDeleteLibpodNoContent describes a response with status code 204, with default header values.
no error
func NewVolumeDeleteLibpodNoContent ¶
func NewVolumeDeleteLibpodNoContent() *VolumeDeleteLibpodNoContent
NewVolumeDeleteLibpodNoContent creates a VolumeDeleteLibpodNoContent with default headers values
func (*VolumeDeleteLibpodNoContent) Code ¶
func (o *VolumeDeleteLibpodNoContent) Code() int
Code gets the status code for the volume delete libpod no content response
func (*VolumeDeleteLibpodNoContent) Error ¶
func (o *VolumeDeleteLibpodNoContent) Error() string
func (*VolumeDeleteLibpodNoContent) IsClientError ¶
func (o *VolumeDeleteLibpodNoContent) IsClientError() bool
IsClientError returns true when this volume delete libpod no content response has a 4xx status code
func (*VolumeDeleteLibpodNoContent) IsCode ¶
func (o *VolumeDeleteLibpodNoContent) IsCode(code int) bool
IsCode returns true when this volume delete libpod no content response a status code equal to that given
func (*VolumeDeleteLibpodNoContent) IsRedirect ¶
func (o *VolumeDeleteLibpodNoContent) IsRedirect() bool
IsRedirect returns true when this volume delete libpod no content response has a 3xx status code
func (*VolumeDeleteLibpodNoContent) IsServerError ¶
func (o *VolumeDeleteLibpodNoContent) IsServerError() bool
IsServerError returns true when this volume delete libpod no content response has a 5xx status code
func (*VolumeDeleteLibpodNoContent) IsSuccess ¶
func (o *VolumeDeleteLibpodNoContent) IsSuccess() bool
IsSuccess returns true when this volume delete libpod no content response has a 2xx status code
func (*VolumeDeleteLibpodNoContent) String ¶
func (o *VolumeDeleteLibpodNoContent) String() string
type VolumeDeleteLibpodNotFound ¶
type VolumeDeleteLibpodNotFound struct {
Payload *models.ErrorModel
}
VolumeDeleteLibpodNotFound describes a response with status code 404, with default header values.
No such volume
func NewVolumeDeleteLibpodNotFound ¶
func NewVolumeDeleteLibpodNotFound() *VolumeDeleteLibpodNotFound
NewVolumeDeleteLibpodNotFound creates a VolumeDeleteLibpodNotFound with default headers values
func (*VolumeDeleteLibpodNotFound) Code ¶
func (o *VolumeDeleteLibpodNotFound) Code() int
Code gets the status code for the volume delete libpod not found response
func (*VolumeDeleteLibpodNotFound) Error ¶
func (o *VolumeDeleteLibpodNotFound) Error() string
func (*VolumeDeleteLibpodNotFound) GetPayload ¶
func (o *VolumeDeleteLibpodNotFound) GetPayload() *models.ErrorModel
func (*VolumeDeleteLibpodNotFound) IsClientError ¶
func (o *VolumeDeleteLibpodNotFound) IsClientError() bool
IsClientError returns true when this volume delete libpod not found response has a 4xx status code
func (*VolumeDeleteLibpodNotFound) IsCode ¶
func (o *VolumeDeleteLibpodNotFound) IsCode(code int) bool
IsCode returns true when this volume delete libpod not found response a status code equal to that given
func (*VolumeDeleteLibpodNotFound) IsRedirect ¶
func (o *VolumeDeleteLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this volume delete libpod not found response has a 3xx status code
func (*VolumeDeleteLibpodNotFound) IsServerError ¶
func (o *VolumeDeleteLibpodNotFound) IsServerError() bool
IsServerError returns true when this volume delete libpod not found response has a 5xx status code
func (*VolumeDeleteLibpodNotFound) IsSuccess ¶
func (o *VolumeDeleteLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this volume delete libpod not found response has a 2xx status code
func (*VolumeDeleteLibpodNotFound) String ¶
func (o *VolumeDeleteLibpodNotFound) String() string
type VolumeDeleteLibpodParams ¶
type VolumeDeleteLibpodParams struct {
// Force.
//
// force removal
Force *bool
// Name.
//
// the name or ID of the volume
Name string
// Timeout.
//
// timeout before forcibly killing any containers using the volume
Timeout *int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
VolumeDeleteLibpodParams contains all the parameters to send to the API endpoint
for the volume delete libpod operation. Typically these are written to a http.Request.
func NewVolumeDeleteLibpodParams ¶
func NewVolumeDeleteLibpodParams() *VolumeDeleteLibpodParams
NewVolumeDeleteLibpodParams creates a new VolumeDeleteLibpodParams 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 NewVolumeDeleteLibpodParamsWithContext
deprecated
func NewVolumeDeleteLibpodParamsWithContext(ctx context.Context) *VolumeDeleteLibpodParams
NewVolumeDeleteLibpodParamsWithContext creates a new VolumeDeleteLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of VolumeDeleteLibpodParams.
func NewVolumeDeleteLibpodParamsWithHTTPClient ¶
func NewVolumeDeleteLibpodParamsWithHTTPClient(client *http.Client) *VolumeDeleteLibpodParams
NewVolumeDeleteLibpodParamsWithHTTPClient creates a new VolumeDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeDeleteLibpodParamsWithTimeout ¶
func NewVolumeDeleteLibpodParamsWithTimeout(timeout time.Duration) *VolumeDeleteLibpodParams
NewVolumeDeleteLibpodParamsWithTimeout creates a new VolumeDeleteLibpodParams object with the ability to set a timeout on a request.
func (*VolumeDeleteLibpodParams) SetContext
deprecated
func (o *VolumeDeleteLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume delete libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeDeleteLibpodParams.
func (*VolumeDeleteLibpodParams) SetDefaults ¶
func (o *VolumeDeleteLibpodParams) SetDefaults()
SetDefaults hydrates default values in the volume delete libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeDeleteLibpodParams) SetForce ¶
func (o *VolumeDeleteLibpodParams) SetForce(force *bool)
SetForce adds the force to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) SetHTTPClient ¶
func (o *VolumeDeleteLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) SetName ¶
func (o *VolumeDeleteLibpodParams) SetName(name string)
SetName adds the name to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) SetRequestTimeout ¶
func (o *VolumeDeleteLibpodParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) SetTimeout ¶
func (o *VolumeDeleteLibpodParams) SetTimeout(timeout *int64)
SetTimeout adds the timeout to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) WithContext
deprecated
func (o *VolumeDeleteLibpodParams) WithContext(ctx context.Context) *VolumeDeleteLibpodParams
WithContext adds the context to the volume delete libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeDeleteLibpodParams.
func (*VolumeDeleteLibpodParams) WithDefaults ¶
func (o *VolumeDeleteLibpodParams) WithDefaults() *VolumeDeleteLibpodParams
WithDefaults hydrates default values in the volume delete libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeDeleteLibpodParams) WithForce ¶
func (o *VolumeDeleteLibpodParams) WithForce(force *bool) *VolumeDeleteLibpodParams
WithForce adds the force to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) WithHTTPClient ¶
func (o *VolumeDeleteLibpodParams) WithHTTPClient(client *http.Client) *VolumeDeleteLibpodParams
WithHTTPClient adds the HTTPClient to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) WithName ¶
func (o *VolumeDeleteLibpodParams) WithName(name string) *VolumeDeleteLibpodParams
WithName adds the name to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) WithRequestTimeout ¶
func (o *VolumeDeleteLibpodParams) WithRequestTimeout(timeout time.Duration) *VolumeDeleteLibpodParams
WithRequestTimeout adds the timeout to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) WithTimeout ¶
func (o *VolumeDeleteLibpodParams) WithTimeout(timeout *int64) *VolumeDeleteLibpodParams
WithTimeout adds the timeout to the volume delete libpod params.
func (*VolumeDeleteLibpodParams) WriteToRequest ¶
func (o *VolumeDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type VolumeDeleteLibpodReader ¶
type VolumeDeleteLibpodReader struct {
// contains filtered or unexported fields
}
VolumeDeleteLibpodReader is a Reader for the VolumeDeleteLibpod structure.
func (*VolumeDeleteLibpodReader) ReadResponse ¶
func (o *VolumeDeleteLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type VolumeExistsLibpodInternalServerError ¶
type VolumeExistsLibpodInternalServerError struct {
Payload *models.ErrorModel
}
VolumeExistsLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewVolumeExistsLibpodInternalServerError ¶
func NewVolumeExistsLibpodInternalServerError() *VolumeExistsLibpodInternalServerError
NewVolumeExistsLibpodInternalServerError creates a VolumeExistsLibpodInternalServerError with default headers values
func (*VolumeExistsLibpodInternalServerError) Code ¶
func (o *VolumeExistsLibpodInternalServerError) Code() int
Code gets the status code for the volume exists libpod internal server error response
func (*VolumeExistsLibpodInternalServerError) Error ¶
func (o *VolumeExistsLibpodInternalServerError) Error() string
func (*VolumeExistsLibpodInternalServerError) GetPayload ¶
func (o *VolumeExistsLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*VolumeExistsLibpodInternalServerError) IsClientError ¶
func (o *VolumeExistsLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this volume exists libpod internal server error response has a 4xx status code
func (*VolumeExistsLibpodInternalServerError) IsCode ¶
func (o *VolumeExistsLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this volume exists libpod internal server error response a status code equal to that given
func (*VolumeExistsLibpodInternalServerError) IsRedirect ¶
func (o *VolumeExistsLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this volume exists libpod internal server error response has a 3xx status code
func (*VolumeExistsLibpodInternalServerError) IsServerError ¶
func (o *VolumeExistsLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this volume exists libpod internal server error response has a 5xx status code
func (*VolumeExistsLibpodInternalServerError) IsSuccess ¶
func (o *VolumeExistsLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this volume exists libpod internal server error response has a 2xx status code
func (*VolumeExistsLibpodInternalServerError) String ¶
func (o *VolumeExistsLibpodInternalServerError) String() string
type VolumeExistsLibpodNoContent ¶
type VolumeExistsLibpodNoContent struct {
}
VolumeExistsLibpodNoContent describes a response with status code 204, with default header values.
volume exists
func NewVolumeExistsLibpodNoContent ¶
func NewVolumeExistsLibpodNoContent() *VolumeExistsLibpodNoContent
NewVolumeExistsLibpodNoContent creates a VolumeExistsLibpodNoContent with default headers values
func (*VolumeExistsLibpodNoContent) Code ¶
func (o *VolumeExistsLibpodNoContent) Code() int
Code gets the status code for the volume exists libpod no content response
func (*VolumeExistsLibpodNoContent) Error ¶
func (o *VolumeExistsLibpodNoContent) Error() string
func (*VolumeExistsLibpodNoContent) IsClientError ¶
func (o *VolumeExistsLibpodNoContent) IsClientError() bool
IsClientError returns true when this volume exists libpod no content response has a 4xx status code
func (*VolumeExistsLibpodNoContent) IsCode ¶
func (o *VolumeExistsLibpodNoContent) IsCode(code int) bool
IsCode returns true when this volume exists libpod no content response a status code equal to that given
func (*VolumeExistsLibpodNoContent) IsRedirect ¶
func (o *VolumeExistsLibpodNoContent) IsRedirect() bool
IsRedirect returns true when this volume exists libpod no content response has a 3xx status code
func (*VolumeExistsLibpodNoContent) IsServerError ¶
func (o *VolumeExistsLibpodNoContent) IsServerError() bool
IsServerError returns true when this volume exists libpod no content response has a 5xx status code
func (*VolumeExistsLibpodNoContent) IsSuccess ¶
func (o *VolumeExistsLibpodNoContent) IsSuccess() bool
IsSuccess returns true when this volume exists libpod no content response has a 2xx status code
func (*VolumeExistsLibpodNoContent) String ¶
func (o *VolumeExistsLibpodNoContent) String() string
type VolumeExistsLibpodNotFound ¶
type VolumeExistsLibpodNotFound struct {
Payload *models.ErrorModel
}
VolumeExistsLibpodNotFound describes a response with status code 404, with default header values.
No such volume
func NewVolumeExistsLibpodNotFound ¶
func NewVolumeExistsLibpodNotFound() *VolumeExistsLibpodNotFound
NewVolumeExistsLibpodNotFound creates a VolumeExistsLibpodNotFound with default headers values
func (*VolumeExistsLibpodNotFound) Code ¶
func (o *VolumeExistsLibpodNotFound) Code() int
Code gets the status code for the volume exists libpod not found response
func (*VolumeExistsLibpodNotFound) Error ¶
func (o *VolumeExistsLibpodNotFound) Error() string
func (*VolumeExistsLibpodNotFound) GetPayload ¶
func (o *VolumeExistsLibpodNotFound) GetPayload() *models.ErrorModel
func (*VolumeExistsLibpodNotFound) IsClientError ¶
func (o *VolumeExistsLibpodNotFound) IsClientError() bool
IsClientError returns true when this volume exists libpod not found response has a 4xx status code
func (*VolumeExistsLibpodNotFound) IsCode ¶
func (o *VolumeExistsLibpodNotFound) IsCode(code int) bool
IsCode returns true when this volume exists libpod not found response a status code equal to that given
func (*VolumeExistsLibpodNotFound) IsRedirect ¶
func (o *VolumeExistsLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this volume exists libpod not found response has a 3xx status code
func (*VolumeExistsLibpodNotFound) IsServerError ¶
func (o *VolumeExistsLibpodNotFound) IsServerError() bool
IsServerError returns true when this volume exists libpod not found response has a 5xx status code
func (*VolumeExistsLibpodNotFound) IsSuccess ¶
func (o *VolumeExistsLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this volume exists libpod not found response has a 2xx status code
func (*VolumeExistsLibpodNotFound) String ¶
func (o *VolumeExistsLibpodNotFound) String() string
type VolumeExistsLibpodParams ¶
type VolumeExistsLibpodParams struct {
// Name.
//
// the name of the volume
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
VolumeExistsLibpodParams contains all the parameters to send to the API endpoint
for the volume exists libpod operation. Typically these are written to a http.Request.
func NewVolumeExistsLibpodParams ¶
func NewVolumeExistsLibpodParams() *VolumeExistsLibpodParams
NewVolumeExistsLibpodParams creates a new VolumeExistsLibpodParams 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 NewVolumeExistsLibpodParamsWithContext
deprecated
func NewVolumeExistsLibpodParamsWithContext(ctx context.Context) *VolumeExistsLibpodParams
NewVolumeExistsLibpodParamsWithContext creates a new VolumeExistsLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of VolumeExistsLibpodParams.
func NewVolumeExistsLibpodParamsWithHTTPClient ¶
func NewVolumeExistsLibpodParamsWithHTTPClient(client *http.Client) *VolumeExistsLibpodParams
NewVolumeExistsLibpodParamsWithHTTPClient creates a new VolumeExistsLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeExistsLibpodParamsWithTimeout ¶
func NewVolumeExistsLibpodParamsWithTimeout(timeout time.Duration) *VolumeExistsLibpodParams
NewVolumeExistsLibpodParamsWithTimeout creates a new VolumeExistsLibpodParams object with the ability to set a timeout on a request.
func (*VolumeExistsLibpodParams) SetContext
deprecated
func (o *VolumeExistsLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume exists libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeExistsLibpodParams.
func (*VolumeExistsLibpodParams) SetDefaults ¶
func (o *VolumeExistsLibpodParams) SetDefaults()
SetDefaults hydrates default values in the volume exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeExistsLibpodParams) SetHTTPClient ¶
func (o *VolumeExistsLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume exists libpod params.
func (*VolumeExistsLibpodParams) SetName ¶
func (o *VolumeExistsLibpodParams) SetName(name string)
SetName adds the name to the volume exists libpod params.
func (*VolumeExistsLibpodParams) SetTimeout ¶
func (o *VolumeExistsLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume exists libpod params.
func (*VolumeExistsLibpodParams) WithContext
deprecated
func (o *VolumeExistsLibpodParams) WithContext(ctx context.Context) *VolumeExistsLibpodParams
WithContext adds the context to the volume exists libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeExistsLibpodParams.
func (*VolumeExistsLibpodParams) WithDefaults ¶
func (o *VolumeExistsLibpodParams) WithDefaults() *VolumeExistsLibpodParams
WithDefaults hydrates default values in the volume exists libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeExistsLibpodParams) WithHTTPClient ¶
func (o *VolumeExistsLibpodParams) WithHTTPClient(client *http.Client) *VolumeExistsLibpodParams
WithHTTPClient adds the HTTPClient to the volume exists libpod params.
func (*VolumeExistsLibpodParams) WithName ¶
func (o *VolumeExistsLibpodParams) WithName(name string) *VolumeExistsLibpodParams
WithName adds the name to the volume exists libpod params.
func (*VolumeExistsLibpodParams) WithTimeout ¶
func (o *VolumeExistsLibpodParams) WithTimeout(timeout time.Duration) *VolumeExistsLibpodParams
WithTimeout adds the timeout to the volume exists libpod params.
func (*VolumeExistsLibpodParams) WriteToRequest ¶
func (o *VolumeExistsLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type VolumeExistsLibpodReader ¶
type VolumeExistsLibpodReader struct {
// contains filtered or unexported fields
}
VolumeExistsLibpodReader is a Reader for the VolumeExistsLibpod structure.
func (*VolumeExistsLibpodReader) ReadResponse ¶
func (o *VolumeExistsLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type VolumeExportLibpodInternalServerError ¶
type VolumeExportLibpodInternalServerError struct {
Payload *models.ErrorModel
}
VolumeExportLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewVolumeExportLibpodInternalServerError ¶
func NewVolumeExportLibpodInternalServerError() *VolumeExportLibpodInternalServerError
NewVolumeExportLibpodInternalServerError creates a VolumeExportLibpodInternalServerError with default headers values
func (*VolumeExportLibpodInternalServerError) Code ¶
func (o *VolumeExportLibpodInternalServerError) Code() int
Code gets the status code for the volume export libpod internal server error response
func (*VolumeExportLibpodInternalServerError) Error ¶
func (o *VolumeExportLibpodInternalServerError) Error() string
func (*VolumeExportLibpodInternalServerError) GetPayload ¶
func (o *VolumeExportLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*VolumeExportLibpodInternalServerError) IsClientError ¶
func (o *VolumeExportLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this volume export libpod internal server error response has a 4xx status code
func (*VolumeExportLibpodInternalServerError) IsCode ¶
func (o *VolumeExportLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this volume export libpod internal server error response a status code equal to that given
func (*VolumeExportLibpodInternalServerError) IsRedirect ¶
func (o *VolumeExportLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this volume export libpod internal server error response has a 3xx status code
func (*VolumeExportLibpodInternalServerError) IsServerError ¶
func (o *VolumeExportLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this volume export libpod internal server error response has a 5xx status code
func (*VolumeExportLibpodInternalServerError) IsSuccess ¶
func (o *VolumeExportLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this volume export libpod internal server error response has a 2xx status code
func (*VolumeExportLibpodInternalServerError) String ¶
func (o *VolumeExportLibpodInternalServerError) String() string
type VolumeExportLibpodNotFound ¶
type VolumeExportLibpodNotFound struct {
Payload *models.ErrorModel
}
VolumeExportLibpodNotFound describes a response with status code 404, with default header values.
No such volume
func NewVolumeExportLibpodNotFound ¶
func NewVolumeExportLibpodNotFound() *VolumeExportLibpodNotFound
NewVolumeExportLibpodNotFound creates a VolumeExportLibpodNotFound with default headers values
func (*VolumeExportLibpodNotFound) Code ¶
func (o *VolumeExportLibpodNotFound) Code() int
Code gets the status code for the volume export libpod not found response
func (*VolumeExportLibpodNotFound) Error ¶
func (o *VolumeExportLibpodNotFound) Error() string
func (*VolumeExportLibpodNotFound) GetPayload ¶
func (o *VolumeExportLibpodNotFound) GetPayload() *models.ErrorModel
func (*VolumeExportLibpodNotFound) IsClientError ¶
func (o *VolumeExportLibpodNotFound) IsClientError() bool
IsClientError returns true when this volume export libpod not found response has a 4xx status code
func (*VolumeExportLibpodNotFound) IsCode ¶
func (o *VolumeExportLibpodNotFound) IsCode(code int) bool
IsCode returns true when this volume export libpod not found response a status code equal to that given
func (*VolumeExportLibpodNotFound) IsRedirect ¶
func (o *VolumeExportLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this volume export libpod not found response has a 3xx status code
func (*VolumeExportLibpodNotFound) IsServerError ¶
func (o *VolumeExportLibpodNotFound) IsServerError() bool
IsServerError returns true when this volume export libpod not found response has a 5xx status code
func (*VolumeExportLibpodNotFound) IsSuccess ¶
func (o *VolumeExportLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this volume export libpod not found response has a 2xx status code
func (*VolumeExportLibpodNotFound) String ¶
func (o *VolumeExportLibpodNotFound) String() string
type VolumeExportLibpodOK ¶
VolumeExportLibpodOK describes a response with status code 200, with default header values.
no error
func NewVolumeExportLibpodOK ¶
func NewVolumeExportLibpodOK(writer io.Writer) *VolumeExportLibpodOK
NewVolumeExportLibpodOK creates a VolumeExportLibpodOK with default headers values
func (*VolumeExportLibpodOK) Code ¶
func (o *VolumeExportLibpodOK) Code() int
Code gets the status code for the volume export libpod o k response
func (*VolumeExportLibpodOK) Error ¶
func (o *VolumeExportLibpodOK) Error() string
func (*VolumeExportLibpodOK) GetPayload ¶
func (o *VolumeExportLibpodOK) GetPayload() io.Writer
func (*VolumeExportLibpodOK) IsClientError ¶
func (o *VolumeExportLibpodOK) IsClientError() bool
IsClientError returns true when this volume export libpod o k response has a 4xx status code
func (*VolumeExportLibpodOK) IsCode ¶
func (o *VolumeExportLibpodOK) IsCode(code int) bool
IsCode returns true when this volume export libpod o k response a status code equal to that given
func (*VolumeExportLibpodOK) IsRedirect ¶
func (o *VolumeExportLibpodOK) IsRedirect() bool
IsRedirect returns true when this volume export libpod o k response has a 3xx status code
func (*VolumeExportLibpodOK) IsServerError ¶
func (o *VolumeExportLibpodOK) IsServerError() bool
IsServerError returns true when this volume export libpod o k response has a 5xx status code
func (*VolumeExportLibpodOK) IsSuccess ¶
func (o *VolumeExportLibpodOK) IsSuccess() bool
IsSuccess returns true when this volume export libpod o k response has a 2xx status code
func (*VolumeExportLibpodOK) String ¶
func (o *VolumeExportLibpodOK) String() string
type VolumeExportLibpodParams ¶
type VolumeExportLibpodParams struct {
// Name.
//
// the name or ID of the volume
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
VolumeExportLibpodParams contains all the parameters to send to the API endpoint
for the volume export libpod operation. Typically these are written to a http.Request.
func NewVolumeExportLibpodParams ¶
func NewVolumeExportLibpodParams() *VolumeExportLibpodParams
NewVolumeExportLibpodParams creates a new VolumeExportLibpodParams 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 NewVolumeExportLibpodParamsWithContext
deprecated
func NewVolumeExportLibpodParamsWithContext(ctx context.Context) *VolumeExportLibpodParams
NewVolumeExportLibpodParamsWithContext creates a new VolumeExportLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of VolumeExportLibpodParams.
func NewVolumeExportLibpodParamsWithHTTPClient ¶
func NewVolumeExportLibpodParamsWithHTTPClient(client *http.Client) *VolumeExportLibpodParams
NewVolumeExportLibpodParamsWithHTTPClient creates a new VolumeExportLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeExportLibpodParamsWithTimeout ¶
func NewVolumeExportLibpodParamsWithTimeout(timeout time.Duration) *VolumeExportLibpodParams
NewVolumeExportLibpodParamsWithTimeout creates a new VolumeExportLibpodParams object with the ability to set a timeout on a request.
func (*VolumeExportLibpodParams) SetContext
deprecated
func (o *VolumeExportLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume export libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeExportLibpodParams.
func (*VolumeExportLibpodParams) SetDefaults ¶
func (o *VolumeExportLibpodParams) SetDefaults()
SetDefaults hydrates default values in the volume export libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeExportLibpodParams) SetHTTPClient ¶
func (o *VolumeExportLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume export libpod params.
func (*VolumeExportLibpodParams) SetName ¶
func (o *VolumeExportLibpodParams) SetName(name string)
SetName adds the name to the volume export libpod params.
func (*VolumeExportLibpodParams) SetTimeout ¶
func (o *VolumeExportLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume export libpod params.
func (*VolumeExportLibpodParams) WithContext
deprecated
func (o *VolumeExportLibpodParams) WithContext(ctx context.Context) *VolumeExportLibpodParams
WithContext adds the context to the volume export libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeExportLibpodParams.
func (*VolumeExportLibpodParams) WithDefaults ¶
func (o *VolumeExportLibpodParams) WithDefaults() *VolumeExportLibpodParams
WithDefaults hydrates default values in the volume export libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeExportLibpodParams) WithHTTPClient ¶
func (o *VolumeExportLibpodParams) WithHTTPClient(client *http.Client) *VolumeExportLibpodParams
WithHTTPClient adds the HTTPClient to the volume export libpod params.
func (*VolumeExportLibpodParams) WithName ¶
func (o *VolumeExportLibpodParams) WithName(name string) *VolumeExportLibpodParams
WithName adds the name to the volume export libpod params.
func (*VolumeExportLibpodParams) WithTimeout ¶
func (o *VolumeExportLibpodParams) WithTimeout(timeout time.Duration) *VolumeExportLibpodParams
WithTimeout adds the timeout to the volume export libpod params.
func (*VolumeExportLibpodParams) WriteToRequest ¶
func (o *VolumeExportLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type VolumeExportLibpodReader ¶
type VolumeExportLibpodReader struct {
// contains filtered or unexported fields
}
VolumeExportLibpodReader is a Reader for the VolumeExportLibpod structure.
func (*VolumeExportLibpodReader) ReadResponse ¶
func (o *VolumeExportLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type VolumeImportLibpodInternalServerError ¶
type VolumeImportLibpodInternalServerError struct {
Payload *models.ErrorModel
}
VolumeImportLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewVolumeImportLibpodInternalServerError ¶
func NewVolumeImportLibpodInternalServerError() *VolumeImportLibpodInternalServerError
NewVolumeImportLibpodInternalServerError creates a VolumeImportLibpodInternalServerError with default headers values
func (*VolumeImportLibpodInternalServerError) Code ¶
func (o *VolumeImportLibpodInternalServerError) Code() int
Code gets the status code for the volume import libpod internal server error response
func (*VolumeImportLibpodInternalServerError) Error ¶
func (o *VolumeImportLibpodInternalServerError) Error() string
func (*VolumeImportLibpodInternalServerError) GetPayload ¶
func (o *VolumeImportLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*VolumeImportLibpodInternalServerError) IsClientError ¶
func (o *VolumeImportLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this volume import libpod internal server error response has a 4xx status code
func (*VolumeImportLibpodInternalServerError) IsCode ¶
func (o *VolumeImportLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this volume import libpod internal server error response a status code equal to that given
func (*VolumeImportLibpodInternalServerError) IsRedirect ¶
func (o *VolumeImportLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this volume import libpod internal server error response has a 3xx status code
func (*VolumeImportLibpodInternalServerError) IsServerError ¶
func (o *VolumeImportLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this volume import libpod internal server error response has a 5xx status code
func (*VolumeImportLibpodInternalServerError) IsSuccess ¶
func (o *VolumeImportLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this volume import libpod internal server error response has a 2xx status code
func (*VolumeImportLibpodInternalServerError) String ¶
func (o *VolumeImportLibpodInternalServerError) String() string
type VolumeImportLibpodNoContent ¶
type VolumeImportLibpodNoContent struct {
}
VolumeImportLibpodNoContent describes a response with status code 204, with default header values.
Successful import
func NewVolumeImportLibpodNoContent ¶
func NewVolumeImportLibpodNoContent() *VolumeImportLibpodNoContent
NewVolumeImportLibpodNoContent creates a VolumeImportLibpodNoContent with default headers values
func (*VolumeImportLibpodNoContent) Code ¶
func (o *VolumeImportLibpodNoContent) Code() int
Code gets the status code for the volume import libpod no content response
func (*VolumeImportLibpodNoContent) Error ¶
func (o *VolumeImportLibpodNoContent) Error() string
func (*VolumeImportLibpodNoContent) IsClientError ¶
func (o *VolumeImportLibpodNoContent) IsClientError() bool
IsClientError returns true when this volume import libpod no content response has a 4xx status code
func (*VolumeImportLibpodNoContent) IsCode ¶
func (o *VolumeImportLibpodNoContent) IsCode(code int) bool
IsCode returns true when this volume import libpod no content response a status code equal to that given
func (*VolumeImportLibpodNoContent) IsRedirect ¶
func (o *VolumeImportLibpodNoContent) IsRedirect() bool
IsRedirect returns true when this volume import libpod no content response has a 3xx status code
func (*VolumeImportLibpodNoContent) IsServerError ¶
func (o *VolumeImportLibpodNoContent) IsServerError() bool
IsServerError returns true when this volume import libpod no content response has a 5xx status code
func (*VolumeImportLibpodNoContent) IsSuccess ¶
func (o *VolumeImportLibpodNoContent) IsSuccess() bool
IsSuccess returns true when this volume import libpod no content response has a 2xx status code
func (*VolumeImportLibpodNoContent) String ¶
func (o *VolumeImportLibpodNoContent) String() string
type VolumeImportLibpodNotFound ¶
type VolumeImportLibpodNotFound struct {
Payload *models.ErrorModel
}
VolumeImportLibpodNotFound describes a response with status code 404, with default header values.
No such volume
func NewVolumeImportLibpodNotFound ¶
func NewVolumeImportLibpodNotFound() *VolumeImportLibpodNotFound
NewVolumeImportLibpodNotFound creates a VolumeImportLibpodNotFound with default headers values
func (*VolumeImportLibpodNotFound) Code ¶
func (o *VolumeImportLibpodNotFound) Code() int
Code gets the status code for the volume import libpod not found response
func (*VolumeImportLibpodNotFound) Error ¶
func (o *VolumeImportLibpodNotFound) Error() string
func (*VolumeImportLibpodNotFound) GetPayload ¶
func (o *VolumeImportLibpodNotFound) GetPayload() *models.ErrorModel
func (*VolumeImportLibpodNotFound) IsClientError ¶
func (o *VolumeImportLibpodNotFound) IsClientError() bool
IsClientError returns true when this volume import libpod not found response has a 4xx status code
func (*VolumeImportLibpodNotFound) IsCode ¶
func (o *VolumeImportLibpodNotFound) IsCode(code int) bool
IsCode returns true when this volume import libpod not found response a status code equal to that given
func (*VolumeImportLibpodNotFound) IsRedirect ¶
func (o *VolumeImportLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this volume import libpod not found response has a 3xx status code
func (*VolumeImportLibpodNotFound) IsServerError ¶
func (o *VolumeImportLibpodNotFound) IsServerError() bool
IsServerError returns true when this volume import libpod not found response has a 5xx status code
func (*VolumeImportLibpodNotFound) IsSuccess ¶
func (o *VolumeImportLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this volume import libpod not found response has a 2xx status code
func (*VolumeImportLibpodNotFound) String ¶
func (o *VolumeImportLibpodNotFound) String() string
type VolumeImportLibpodParams ¶
type VolumeImportLibpodParams struct {
// InputStream.
//
// An uncompressed tar archive
//
//
// Format: binary
InputStream io.ReadCloser
// Name.
//
// the name or ID of the volume
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
VolumeImportLibpodParams contains all the parameters to send to the API endpoint
for the volume import libpod operation. Typically these are written to a http.Request.
func NewVolumeImportLibpodParams ¶
func NewVolumeImportLibpodParams() *VolumeImportLibpodParams
NewVolumeImportLibpodParams creates a new VolumeImportLibpodParams 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 NewVolumeImportLibpodParamsWithContext
deprecated
func NewVolumeImportLibpodParamsWithContext(ctx context.Context) *VolumeImportLibpodParams
NewVolumeImportLibpodParamsWithContext creates a new VolumeImportLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of VolumeImportLibpodParams.
func NewVolumeImportLibpodParamsWithHTTPClient ¶
func NewVolumeImportLibpodParamsWithHTTPClient(client *http.Client) *VolumeImportLibpodParams
NewVolumeImportLibpodParamsWithHTTPClient creates a new VolumeImportLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeImportLibpodParamsWithTimeout ¶
func NewVolumeImportLibpodParamsWithTimeout(timeout time.Duration) *VolumeImportLibpodParams
NewVolumeImportLibpodParamsWithTimeout creates a new VolumeImportLibpodParams object with the ability to set a timeout on a request.
func (*VolumeImportLibpodParams) SetContext
deprecated
func (o *VolumeImportLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume import libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeImportLibpodParams.
func (*VolumeImportLibpodParams) SetDefaults ¶
func (o *VolumeImportLibpodParams) SetDefaults()
SetDefaults hydrates default values in the volume import libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeImportLibpodParams) SetHTTPClient ¶
func (o *VolumeImportLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume import libpod params.
func (*VolumeImportLibpodParams) SetInputStream ¶
func (o *VolumeImportLibpodParams) SetInputStream(inputStream io.ReadCloser)
SetInputStream adds the inputStream to the volume import libpod params.
func (*VolumeImportLibpodParams) SetName ¶
func (o *VolumeImportLibpodParams) SetName(name string)
SetName adds the name to the volume import libpod params.
func (*VolumeImportLibpodParams) SetTimeout ¶
func (o *VolumeImportLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume import libpod params.
func (*VolumeImportLibpodParams) WithContext
deprecated
func (o *VolumeImportLibpodParams) WithContext(ctx context.Context) *VolumeImportLibpodParams
WithContext adds the context to the volume import libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeImportLibpodParams.
func (*VolumeImportLibpodParams) WithDefaults ¶
func (o *VolumeImportLibpodParams) WithDefaults() *VolumeImportLibpodParams
WithDefaults hydrates default values in the volume import libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeImportLibpodParams) WithHTTPClient ¶
func (o *VolumeImportLibpodParams) WithHTTPClient(client *http.Client) *VolumeImportLibpodParams
WithHTTPClient adds the HTTPClient to the volume import libpod params.
func (*VolumeImportLibpodParams) WithInputStream ¶
func (o *VolumeImportLibpodParams) WithInputStream(inputStream io.ReadCloser) *VolumeImportLibpodParams
WithInputStream adds the inputStream to the volume import libpod params.
func (*VolumeImportLibpodParams) WithName ¶
func (o *VolumeImportLibpodParams) WithName(name string) *VolumeImportLibpodParams
WithName adds the name to the volume import libpod params.
func (*VolumeImportLibpodParams) WithTimeout ¶
func (o *VolumeImportLibpodParams) WithTimeout(timeout time.Duration) *VolumeImportLibpodParams
WithTimeout adds the timeout to the volume import libpod params.
func (*VolumeImportLibpodParams) WriteToRequest ¶
func (o *VolumeImportLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type VolumeImportLibpodReader ¶
type VolumeImportLibpodReader struct {
// contains filtered or unexported fields
}
VolumeImportLibpodReader is a Reader for the VolumeImportLibpod structure.
func (*VolumeImportLibpodReader) ReadResponse ¶
func (o *VolumeImportLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type VolumeInspectLibpodInternalServerError ¶
type VolumeInspectLibpodInternalServerError struct {
Payload *models.ErrorModel
}
VolumeInspectLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewVolumeInspectLibpodInternalServerError ¶
func NewVolumeInspectLibpodInternalServerError() *VolumeInspectLibpodInternalServerError
NewVolumeInspectLibpodInternalServerError creates a VolumeInspectLibpodInternalServerError with default headers values
func (*VolumeInspectLibpodInternalServerError) Code ¶
func (o *VolumeInspectLibpodInternalServerError) Code() int
Code gets the status code for the volume inspect libpod internal server error response
func (*VolumeInspectLibpodInternalServerError) Error ¶
func (o *VolumeInspectLibpodInternalServerError) Error() string
func (*VolumeInspectLibpodInternalServerError) GetPayload ¶
func (o *VolumeInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*VolumeInspectLibpodInternalServerError) IsClientError ¶
func (o *VolumeInspectLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this volume inspect libpod internal server error response has a 4xx status code
func (*VolumeInspectLibpodInternalServerError) IsCode ¶
func (o *VolumeInspectLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this volume inspect libpod internal server error response a status code equal to that given
func (*VolumeInspectLibpodInternalServerError) IsRedirect ¶
func (o *VolumeInspectLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this volume inspect libpod internal server error response has a 3xx status code
func (*VolumeInspectLibpodInternalServerError) IsServerError ¶
func (o *VolumeInspectLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this volume inspect libpod internal server error response has a 5xx status code
func (*VolumeInspectLibpodInternalServerError) IsSuccess ¶
func (o *VolumeInspectLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this volume inspect libpod internal server error response has a 2xx status code
func (*VolumeInspectLibpodInternalServerError) String ¶
func (o *VolumeInspectLibpodInternalServerError) String() string
type VolumeInspectLibpodNotFound ¶
type VolumeInspectLibpodNotFound struct {
Payload *models.ErrorModel
}
VolumeInspectLibpodNotFound describes a response with status code 404, with default header values.
No such volume
func NewVolumeInspectLibpodNotFound ¶
func NewVolumeInspectLibpodNotFound() *VolumeInspectLibpodNotFound
NewVolumeInspectLibpodNotFound creates a VolumeInspectLibpodNotFound with default headers values
func (*VolumeInspectLibpodNotFound) Code ¶
func (o *VolumeInspectLibpodNotFound) Code() int
Code gets the status code for the volume inspect libpod not found response
func (*VolumeInspectLibpodNotFound) Error ¶
func (o *VolumeInspectLibpodNotFound) Error() string
func (*VolumeInspectLibpodNotFound) GetPayload ¶
func (o *VolumeInspectLibpodNotFound) GetPayload() *models.ErrorModel
func (*VolumeInspectLibpodNotFound) IsClientError ¶
func (o *VolumeInspectLibpodNotFound) IsClientError() bool
IsClientError returns true when this volume inspect libpod not found response has a 4xx status code
func (*VolumeInspectLibpodNotFound) IsCode ¶
func (o *VolumeInspectLibpodNotFound) IsCode(code int) bool
IsCode returns true when this volume inspect libpod not found response a status code equal to that given
func (*VolumeInspectLibpodNotFound) IsRedirect ¶
func (o *VolumeInspectLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this volume inspect libpod not found response has a 3xx status code
func (*VolumeInspectLibpodNotFound) IsServerError ¶
func (o *VolumeInspectLibpodNotFound) IsServerError() bool
IsServerError returns true when this volume inspect libpod not found response has a 5xx status code
func (*VolumeInspectLibpodNotFound) IsSuccess ¶
func (o *VolumeInspectLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this volume inspect libpod not found response has a 2xx status code
func (*VolumeInspectLibpodNotFound) String ¶
func (o *VolumeInspectLibpodNotFound) String() string
type VolumeInspectLibpodOK ¶
type VolumeInspectLibpodOK struct {
Payload *models.VolumeConfigResponse
}
VolumeInspectLibpodOK describes a response with status code 200, with default header values.
Volume details
func NewVolumeInspectLibpodOK ¶
func NewVolumeInspectLibpodOK() *VolumeInspectLibpodOK
NewVolumeInspectLibpodOK creates a VolumeInspectLibpodOK with default headers values
func (*VolumeInspectLibpodOK) Code ¶
func (o *VolumeInspectLibpodOK) Code() int
Code gets the status code for the volume inspect libpod o k response
func (*VolumeInspectLibpodOK) Error ¶
func (o *VolumeInspectLibpodOK) Error() string
func (*VolumeInspectLibpodOK) GetPayload ¶
func (o *VolumeInspectLibpodOK) GetPayload() *models.VolumeConfigResponse
func (*VolumeInspectLibpodOK) IsClientError ¶
func (o *VolumeInspectLibpodOK) IsClientError() bool
IsClientError returns true when this volume inspect libpod o k response has a 4xx status code
func (*VolumeInspectLibpodOK) IsCode ¶
func (o *VolumeInspectLibpodOK) IsCode(code int) bool
IsCode returns true when this volume inspect libpod o k response a status code equal to that given
func (*VolumeInspectLibpodOK) IsRedirect ¶
func (o *VolumeInspectLibpodOK) IsRedirect() bool
IsRedirect returns true when this volume inspect libpod o k response has a 3xx status code
func (*VolumeInspectLibpodOK) IsServerError ¶
func (o *VolumeInspectLibpodOK) IsServerError() bool
IsServerError returns true when this volume inspect libpod o k response has a 5xx status code
func (*VolumeInspectLibpodOK) IsSuccess ¶
func (o *VolumeInspectLibpodOK) IsSuccess() bool
IsSuccess returns true when this volume inspect libpod o k response has a 2xx status code
func (*VolumeInspectLibpodOK) String ¶
func (o *VolumeInspectLibpodOK) String() string
type VolumeInspectLibpodParams ¶
type VolumeInspectLibpodParams struct {
// Name.
//
// the name or ID of the volume
Name string
HTTPClient *http.Client
// contains filtered or unexported fields
}
VolumeInspectLibpodParams contains all the parameters to send to the API endpoint
for the volume inspect libpod operation. Typically these are written to a http.Request.
func NewVolumeInspectLibpodParams ¶
func NewVolumeInspectLibpodParams() *VolumeInspectLibpodParams
NewVolumeInspectLibpodParams creates a new VolumeInspectLibpodParams 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 NewVolumeInspectLibpodParamsWithContext
deprecated
func NewVolumeInspectLibpodParamsWithContext(ctx context.Context) *VolumeInspectLibpodParams
NewVolumeInspectLibpodParamsWithContext creates a new VolumeInspectLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of VolumeInspectLibpodParams.
func NewVolumeInspectLibpodParamsWithHTTPClient ¶
func NewVolumeInspectLibpodParamsWithHTTPClient(client *http.Client) *VolumeInspectLibpodParams
NewVolumeInspectLibpodParamsWithHTTPClient creates a new VolumeInspectLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeInspectLibpodParamsWithTimeout ¶
func NewVolumeInspectLibpodParamsWithTimeout(timeout time.Duration) *VolumeInspectLibpodParams
NewVolumeInspectLibpodParamsWithTimeout creates a new VolumeInspectLibpodParams object with the ability to set a timeout on a request.
func (*VolumeInspectLibpodParams) SetContext
deprecated
func (o *VolumeInspectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeInspectLibpodParams.
func (*VolumeInspectLibpodParams) SetDefaults ¶
func (o *VolumeInspectLibpodParams) SetDefaults()
SetDefaults hydrates default values in the volume inspect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeInspectLibpodParams) SetHTTPClient ¶
func (o *VolumeInspectLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume inspect libpod params.
func (*VolumeInspectLibpodParams) SetName ¶
func (o *VolumeInspectLibpodParams) SetName(name string)
SetName adds the name to the volume inspect libpod params.
func (*VolumeInspectLibpodParams) SetTimeout ¶
func (o *VolumeInspectLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume inspect libpod params.
func (*VolumeInspectLibpodParams) WithContext
deprecated
func (o *VolumeInspectLibpodParams) WithContext(ctx context.Context) *VolumeInspectLibpodParams
WithContext adds the context to the volume inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeInspectLibpodParams.
func (*VolumeInspectLibpodParams) WithDefaults ¶
func (o *VolumeInspectLibpodParams) WithDefaults() *VolumeInspectLibpodParams
WithDefaults hydrates default values in the volume inspect libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeInspectLibpodParams) WithHTTPClient ¶
func (o *VolumeInspectLibpodParams) WithHTTPClient(client *http.Client) *VolumeInspectLibpodParams
WithHTTPClient adds the HTTPClient to the volume inspect libpod params.
func (*VolumeInspectLibpodParams) WithName ¶
func (o *VolumeInspectLibpodParams) WithName(name string) *VolumeInspectLibpodParams
WithName adds the name to the volume inspect libpod params.
func (*VolumeInspectLibpodParams) WithTimeout ¶
func (o *VolumeInspectLibpodParams) WithTimeout(timeout time.Duration) *VolumeInspectLibpodParams
WithTimeout adds the timeout to the volume inspect libpod params.
func (*VolumeInspectLibpodParams) WriteToRequest ¶
func (o *VolumeInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type VolumeInspectLibpodReader ¶
type VolumeInspectLibpodReader struct {
// contains filtered or unexported fields
}
VolumeInspectLibpodReader is a Reader for the VolumeInspectLibpod structure.
func (*VolumeInspectLibpodReader) ReadResponse ¶
func (o *VolumeInspectLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type VolumeListLibpodInternalServerError ¶
type VolumeListLibpodInternalServerError struct {
Payload *models.ErrorModel
}
VolumeListLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewVolumeListLibpodInternalServerError ¶
func NewVolumeListLibpodInternalServerError() *VolumeListLibpodInternalServerError
NewVolumeListLibpodInternalServerError creates a VolumeListLibpodInternalServerError with default headers values
func (*VolumeListLibpodInternalServerError) Code ¶
func (o *VolumeListLibpodInternalServerError) Code() int
Code gets the status code for the volume list libpod internal server error response
func (*VolumeListLibpodInternalServerError) Error ¶
func (o *VolumeListLibpodInternalServerError) Error() string
func (*VolumeListLibpodInternalServerError) GetPayload ¶
func (o *VolumeListLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*VolumeListLibpodInternalServerError) IsClientError ¶
func (o *VolumeListLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this volume list libpod internal server error response has a 4xx status code
func (*VolumeListLibpodInternalServerError) IsCode ¶
func (o *VolumeListLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this volume list libpod internal server error response a status code equal to that given
func (*VolumeListLibpodInternalServerError) IsRedirect ¶
func (o *VolumeListLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this volume list libpod internal server error response has a 3xx status code
func (*VolumeListLibpodInternalServerError) IsServerError ¶
func (o *VolumeListLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this volume list libpod internal server error response has a 5xx status code
func (*VolumeListLibpodInternalServerError) IsSuccess ¶
func (o *VolumeListLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this volume list libpod internal server error response has a 2xx status code
func (*VolumeListLibpodInternalServerError) String ¶
func (o *VolumeListLibpodInternalServerError) String() string
type VolumeListLibpodOK ¶
type VolumeListLibpodOK struct {
Payload []*models.VolumeConfigResponse
}
VolumeListLibpodOK describes a response with status code 200, with default header values.
Volume list
func NewVolumeListLibpodOK ¶
func NewVolumeListLibpodOK() *VolumeListLibpodOK
NewVolumeListLibpodOK creates a VolumeListLibpodOK with default headers values
func (*VolumeListLibpodOK) Code ¶
func (o *VolumeListLibpodOK) Code() int
Code gets the status code for the volume list libpod o k response
func (*VolumeListLibpodOK) Error ¶
func (o *VolumeListLibpodOK) Error() string
func (*VolumeListLibpodOK) GetPayload ¶
func (o *VolumeListLibpodOK) GetPayload() []*models.VolumeConfigResponse
func (*VolumeListLibpodOK) IsClientError ¶
func (o *VolumeListLibpodOK) IsClientError() bool
IsClientError returns true when this volume list libpod o k response has a 4xx status code
func (*VolumeListLibpodOK) IsCode ¶
func (o *VolumeListLibpodOK) IsCode(code int) bool
IsCode returns true when this volume list libpod o k response a status code equal to that given
func (*VolumeListLibpodOK) IsRedirect ¶
func (o *VolumeListLibpodOK) IsRedirect() bool
IsRedirect returns true when this volume list libpod o k response has a 3xx status code
func (*VolumeListLibpodOK) IsServerError ¶
func (o *VolumeListLibpodOK) IsServerError() bool
IsServerError returns true when this volume list libpod o k response has a 5xx status code
func (*VolumeListLibpodOK) IsSuccess ¶
func (o *VolumeListLibpodOK) IsSuccess() bool
IsSuccess returns true when this volume list libpod o k response has a 2xx status code
func (*VolumeListLibpodOK) String ¶
func (o *VolumeListLibpodOK) String() string
type VolumeListLibpodParams ¶
type VolumeListLibpodParams struct {
// Filters.
//
// JSON encoded value of the filters (a map[string][]string) to process on the volumes list. Available filters:
// - driver=<volume-driver-name> Matches volumes based on their driver.
// - label=<key> or label=<key>:<value> Matches volumes based on the presence of a label alone or a label and a value.
// - name=<volume-name> Matches all of volume name.
// - opt=<driver-option> Matches a storage driver options
// - `until=<timestamp>` List volumes created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time.
//
Filters *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
VolumeListLibpodParams contains all the parameters to send to the API endpoint
for the volume list libpod operation. Typically these are written to a http.Request.
func NewVolumeListLibpodParams ¶
func NewVolumeListLibpodParams() *VolumeListLibpodParams
NewVolumeListLibpodParams creates a new VolumeListLibpodParams 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 NewVolumeListLibpodParamsWithContext
deprecated
func NewVolumeListLibpodParamsWithContext(ctx context.Context) *VolumeListLibpodParams
NewVolumeListLibpodParamsWithContext creates a new VolumeListLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of VolumeListLibpodParams.
func NewVolumeListLibpodParamsWithHTTPClient ¶
func NewVolumeListLibpodParamsWithHTTPClient(client *http.Client) *VolumeListLibpodParams
NewVolumeListLibpodParamsWithHTTPClient creates a new VolumeListLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeListLibpodParamsWithTimeout ¶
func NewVolumeListLibpodParamsWithTimeout(timeout time.Duration) *VolumeListLibpodParams
NewVolumeListLibpodParamsWithTimeout creates a new VolumeListLibpodParams object with the ability to set a timeout on a request.
func (*VolumeListLibpodParams) SetContext
deprecated
func (o *VolumeListLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume list libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeListLibpodParams.
func (*VolumeListLibpodParams) SetDefaults ¶
func (o *VolumeListLibpodParams) SetDefaults()
SetDefaults hydrates default values in the volume list libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeListLibpodParams) SetFilters ¶
func (o *VolumeListLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the volume list libpod params.
func (*VolumeListLibpodParams) SetHTTPClient ¶
func (o *VolumeListLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume list libpod params.
func (*VolumeListLibpodParams) SetTimeout ¶
func (o *VolumeListLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume list libpod params.
func (*VolumeListLibpodParams) WithContext
deprecated
func (o *VolumeListLibpodParams) WithContext(ctx context.Context) *VolumeListLibpodParams
WithContext adds the context to the volume list libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeListLibpodParams.
func (*VolumeListLibpodParams) WithDefaults ¶
func (o *VolumeListLibpodParams) WithDefaults() *VolumeListLibpodParams
WithDefaults hydrates default values in the volume list libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeListLibpodParams) WithFilters ¶
func (o *VolumeListLibpodParams) WithFilters(filters *string) *VolumeListLibpodParams
WithFilters adds the filters to the volume list libpod params.
func (*VolumeListLibpodParams) WithHTTPClient ¶
func (o *VolumeListLibpodParams) WithHTTPClient(client *http.Client) *VolumeListLibpodParams
WithHTTPClient adds the HTTPClient to the volume list libpod params.
func (*VolumeListLibpodParams) WithTimeout ¶
func (o *VolumeListLibpodParams) WithTimeout(timeout time.Duration) *VolumeListLibpodParams
WithTimeout adds the timeout to the volume list libpod params.
func (*VolumeListLibpodParams) WriteToRequest ¶
func (o *VolumeListLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type VolumeListLibpodReader ¶
type VolumeListLibpodReader struct {
// contains filtered or unexported fields
}
VolumeListLibpodReader is a Reader for the VolumeListLibpod structure.
func (*VolumeListLibpodReader) ReadResponse ¶
func (o *VolumeListLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type VolumePruneLibpodInternalServerError ¶
type VolumePruneLibpodInternalServerError struct {
Payload *models.ErrorModel
}
VolumePruneLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewVolumePruneLibpodInternalServerError ¶
func NewVolumePruneLibpodInternalServerError() *VolumePruneLibpodInternalServerError
NewVolumePruneLibpodInternalServerError creates a VolumePruneLibpodInternalServerError with default headers values
func (*VolumePruneLibpodInternalServerError) Code ¶
func (o *VolumePruneLibpodInternalServerError) Code() int
Code gets the status code for the volume prune libpod internal server error response
func (*VolumePruneLibpodInternalServerError) Error ¶
func (o *VolumePruneLibpodInternalServerError) Error() string
func (*VolumePruneLibpodInternalServerError) GetPayload ¶
func (o *VolumePruneLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*VolumePruneLibpodInternalServerError) IsClientError ¶
func (o *VolumePruneLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this volume prune libpod internal server error response has a 4xx status code
func (*VolumePruneLibpodInternalServerError) IsCode ¶
func (o *VolumePruneLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this volume prune libpod internal server error response a status code equal to that given
func (*VolumePruneLibpodInternalServerError) IsRedirect ¶
func (o *VolumePruneLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this volume prune libpod internal server error response has a 3xx status code
func (*VolumePruneLibpodInternalServerError) IsServerError ¶
func (o *VolumePruneLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this volume prune libpod internal server error response has a 5xx status code
func (*VolumePruneLibpodInternalServerError) IsSuccess ¶
func (o *VolumePruneLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this volume prune libpod internal server error response has a 2xx status code
func (*VolumePruneLibpodInternalServerError) String ¶
func (o *VolumePruneLibpodInternalServerError) String() string
type VolumePruneLibpodOK ¶
type VolumePruneLibpodOK struct {
Payload []*models.ReportsPruneReport
}
VolumePruneLibpodOK describes a response with status code 200, with default header values.
Volume Prune
func NewVolumePruneLibpodOK ¶
func NewVolumePruneLibpodOK() *VolumePruneLibpodOK
NewVolumePruneLibpodOK creates a VolumePruneLibpodOK with default headers values
func (*VolumePruneLibpodOK) Code ¶
func (o *VolumePruneLibpodOK) Code() int
Code gets the status code for the volume prune libpod o k response
func (*VolumePruneLibpodOK) Error ¶
func (o *VolumePruneLibpodOK) Error() string
func (*VolumePruneLibpodOK) GetPayload ¶
func (o *VolumePruneLibpodOK) GetPayload() []*models.ReportsPruneReport
func (*VolumePruneLibpodOK) IsClientError ¶
func (o *VolumePruneLibpodOK) IsClientError() bool
IsClientError returns true when this volume prune libpod o k response has a 4xx status code
func (*VolumePruneLibpodOK) IsCode ¶
func (o *VolumePruneLibpodOK) IsCode(code int) bool
IsCode returns true when this volume prune libpod o k response a status code equal to that given
func (*VolumePruneLibpodOK) IsRedirect ¶
func (o *VolumePruneLibpodOK) IsRedirect() bool
IsRedirect returns true when this volume prune libpod o k response has a 3xx status code
func (*VolumePruneLibpodOK) IsServerError ¶
func (o *VolumePruneLibpodOK) IsServerError() bool
IsServerError returns true when this volume prune libpod o k response has a 5xx status code
func (*VolumePruneLibpodOK) IsSuccess ¶
func (o *VolumePruneLibpodOK) IsSuccess() bool
IsSuccess returns true when this volume prune libpod o k response has a 2xx status code
func (*VolumePruneLibpodOK) String ¶
func (o *VolumePruneLibpodOK) String() string
type VolumePruneLibpodParams ¶
type VolumePruneLibpodParams struct {
// Dryrun.
//
// Show which volumes would be pruned without removing them.
Dryrun *bool
// Filters.
//
// JSON encoded value of filters (a map[string][]string) to match volumes against before pruning.
// Available filters:
// - `all` When true, prune all unused volumes; when false or unset, only anonymous unused volumes.
// - `anonymous` When true/false, restrict to anonymous or named volumes only.
// - `until=<timestamp>` Prune volumes created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time.
// - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune volumes with (or without, in case `label!=...` is used) the specified labels.
//
Filters *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
VolumePruneLibpodParams contains all the parameters to send to the API endpoint
for the volume prune libpod operation. Typically these are written to a http.Request.
func NewVolumePruneLibpodParams ¶
func NewVolumePruneLibpodParams() *VolumePruneLibpodParams
NewVolumePruneLibpodParams creates a new VolumePruneLibpodParams 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 NewVolumePruneLibpodParamsWithContext
deprecated
func NewVolumePruneLibpodParamsWithContext(ctx context.Context) *VolumePruneLibpodParams
NewVolumePruneLibpodParamsWithContext creates a new VolumePruneLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of VolumePruneLibpodParams.
func NewVolumePruneLibpodParamsWithHTTPClient ¶
func NewVolumePruneLibpodParamsWithHTTPClient(client *http.Client) *VolumePruneLibpodParams
NewVolumePruneLibpodParamsWithHTTPClient creates a new VolumePruneLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewVolumePruneLibpodParamsWithTimeout ¶
func NewVolumePruneLibpodParamsWithTimeout(timeout time.Duration) *VolumePruneLibpodParams
NewVolumePruneLibpodParamsWithTimeout creates a new VolumePruneLibpodParams object with the ability to set a timeout on a request.
func (*VolumePruneLibpodParams) SetContext
deprecated
func (o *VolumePruneLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume prune libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumePruneLibpodParams.
func (*VolumePruneLibpodParams) SetDefaults ¶
func (o *VolumePruneLibpodParams) SetDefaults()
SetDefaults hydrates default values in the volume prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumePruneLibpodParams) SetDryrun ¶
func (o *VolumePruneLibpodParams) SetDryrun(dryrun *bool)
SetDryrun adds the dryrun to the volume prune libpod params.
func (*VolumePruneLibpodParams) SetFilters ¶
func (o *VolumePruneLibpodParams) SetFilters(filters *string)
SetFilters adds the filters to the volume prune libpod params.
func (*VolumePruneLibpodParams) SetHTTPClient ¶
func (o *VolumePruneLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume prune libpod params.
func (*VolumePruneLibpodParams) SetTimeout ¶
func (o *VolumePruneLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume prune libpod params.
func (*VolumePruneLibpodParams) WithContext
deprecated
func (o *VolumePruneLibpodParams) WithContext(ctx context.Context) *VolumePruneLibpodParams
WithContext adds the context to the volume prune libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumePruneLibpodParams.
func (*VolumePruneLibpodParams) WithDefaults ¶
func (o *VolumePruneLibpodParams) WithDefaults() *VolumePruneLibpodParams
WithDefaults hydrates default values in the volume prune libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumePruneLibpodParams) WithDryrun ¶
func (o *VolumePruneLibpodParams) WithDryrun(dryrun *bool) *VolumePruneLibpodParams
WithDryrun adds the dryrun to the volume prune libpod params.
func (*VolumePruneLibpodParams) WithFilters ¶
func (o *VolumePruneLibpodParams) WithFilters(filters *string) *VolumePruneLibpodParams
WithFilters adds the filters to the volume prune libpod params.
func (*VolumePruneLibpodParams) WithHTTPClient ¶
func (o *VolumePruneLibpodParams) WithHTTPClient(client *http.Client) *VolumePruneLibpodParams
WithHTTPClient adds the HTTPClient to the volume prune libpod params.
func (*VolumePruneLibpodParams) WithTimeout ¶
func (o *VolumePruneLibpodParams) WithTimeout(timeout time.Duration) *VolumePruneLibpodParams
WithTimeout adds the timeout to the volume prune libpod params.
func (*VolumePruneLibpodParams) WriteToRequest ¶
func (o *VolumePruneLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type VolumePruneLibpodReader ¶
type VolumePruneLibpodReader struct {
// contains filtered or unexported fields
}
VolumePruneLibpodReader is a Reader for the VolumePruneLibpod structure.
func (*VolumePruneLibpodReader) ReadResponse ¶
func (o *VolumePruneLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type VolumeRenameLibpodBadRequest ¶
type VolumeRenameLibpodBadRequest struct {
Payload *models.ErrorModel
}
VolumeRenameLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewVolumeRenameLibpodBadRequest ¶
func NewVolumeRenameLibpodBadRequest() *VolumeRenameLibpodBadRequest
NewVolumeRenameLibpodBadRequest creates a VolumeRenameLibpodBadRequest with default headers values
func (*VolumeRenameLibpodBadRequest) Code ¶
func (o *VolumeRenameLibpodBadRequest) Code() int
Code gets the status code for the volume rename libpod bad request response
func (*VolumeRenameLibpodBadRequest) Error ¶
func (o *VolumeRenameLibpodBadRequest) Error() string
func (*VolumeRenameLibpodBadRequest) GetPayload ¶
func (o *VolumeRenameLibpodBadRequest) GetPayload() *models.ErrorModel
func (*VolumeRenameLibpodBadRequest) IsClientError ¶
func (o *VolumeRenameLibpodBadRequest) IsClientError() bool
IsClientError returns true when this volume rename libpod bad request response has a 4xx status code
func (*VolumeRenameLibpodBadRequest) IsCode ¶
func (o *VolumeRenameLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this volume rename libpod bad request response a status code equal to that given
func (*VolumeRenameLibpodBadRequest) IsRedirect ¶
func (o *VolumeRenameLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this volume rename libpod bad request response has a 3xx status code
func (*VolumeRenameLibpodBadRequest) IsServerError ¶
func (o *VolumeRenameLibpodBadRequest) IsServerError() bool
IsServerError returns true when this volume rename libpod bad request response has a 5xx status code
func (*VolumeRenameLibpodBadRequest) IsSuccess ¶
func (o *VolumeRenameLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this volume rename libpod bad request response has a 2xx status code
func (*VolumeRenameLibpodBadRequest) String ¶
func (o *VolumeRenameLibpodBadRequest) String() string
type VolumeRenameLibpodConflict ¶
type VolumeRenameLibpodConflict struct {
}
VolumeRenameLibpodConflict describes a response with status code 409, with default header values.
Volume is in use or new name already exists
func NewVolumeRenameLibpodConflict ¶
func NewVolumeRenameLibpodConflict() *VolumeRenameLibpodConflict
NewVolumeRenameLibpodConflict creates a VolumeRenameLibpodConflict with default headers values
func (*VolumeRenameLibpodConflict) Code ¶
func (o *VolumeRenameLibpodConflict) Code() int
Code gets the status code for the volume rename libpod conflict response
func (*VolumeRenameLibpodConflict) Error ¶
func (o *VolumeRenameLibpodConflict) Error() string
func (*VolumeRenameLibpodConflict) IsClientError ¶
func (o *VolumeRenameLibpodConflict) IsClientError() bool
IsClientError returns true when this volume rename libpod conflict response has a 4xx status code
func (*VolumeRenameLibpodConflict) IsCode ¶
func (o *VolumeRenameLibpodConflict) IsCode(code int) bool
IsCode returns true when this volume rename libpod conflict response a status code equal to that given
func (*VolumeRenameLibpodConflict) IsRedirect ¶
func (o *VolumeRenameLibpodConflict) IsRedirect() bool
IsRedirect returns true when this volume rename libpod conflict response has a 3xx status code
func (*VolumeRenameLibpodConflict) IsServerError ¶
func (o *VolumeRenameLibpodConflict) IsServerError() bool
IsServerError returns true when this volume rename libpod conflict response has a 5xx status code
func (*VolumeRenameLibpodConflict) IsSuccess ¶
func (o *VolumeRenameLibpodConflict) IsSuccess() bool
IsSuccess returns true when this volume rename libpod conflict response has a 2xx status code
func (*VolumeRenameLibpodConflict) String ¶
func (o *VolumeRenameLibpodConflict) String() string
type VolumeRenameLibpodInternalServerError ¶
type VolumeRenameLibpodInternalServerError struct {
Payload *models.ErrorModel
}
VolumeRenameLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewVolumeRenameLibpodInternalServerError ¶
func NewVolumeRenameLibpodInternalServerError() *VolumeRenameLibpodInternalServerError
NewVolumeRenameLibpodInternalServerError creates a VolumeRenameLibpodInternalServerError with default headers values
func (*VolumeRenameLibpodInternalServerError) Code ¶
func (o *VolumeRenameLibpodInternalServerError) Code() int
Code gets the status code for the volume rename libpod internal server error response
func (*VolumeRenameLibpodInternalServerError) Error ¶
func (o *VolumeRenameLibpodInternalServerError) Error() string
func (*VolumeRenameLibpodInternalServerError) GetPayload ¶
func (o *VolumeRenameLibpodInternalServerError) GetPayload() *models.ErrorModel
func (*VolumeRenameLibpodInternalServerError) IsClientError ¶
func (o *VolumeRenameLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this volume rename libpod internal server error response has a 4xx status code
func (*VolumeRenameLibpodInternalServerError) IsCode ¶
func (o *VolumeRenameLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this volume rename libpod internal server error response a status code equal to that given
func (*VolumeRenameLibpodInternalServerError) IsRedirect ¶
func (o *VolumeRenameLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this volume rename libpod internal server error response has a 3xx status code
func (*VolumeRenameLibpodInternalServerError) IsServerError ¶
func (o *VolumeRenameLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this volume rename libpod internal server error response has a 5xx status code
func (*VolumeRenameLibpodInternalServerError) IsSuccess ¶
func (o *VolumeRenameLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this volume rename libpod internal server error response has a 2xx status code
func (*VolumeRenameLibpodInternalServerError) String ¶
func (o *VolumeRenameLibpodInternalServerError) String() string
type VolumeRenameLibpodNoContent ¶
type VolumeRenameLibpodNoContent struct {
}
VolumeRenameLibpodNoContent describes a response with status code 204, with default header values.
Volume successfully renamed
func NewVolumeRenameLibpodNoContent ¶
func NewVolumeRenameLibpodNoContent() *VolumeRenameLibpodNoContent
NewVolumeRenameLibpodNoContent creates a VolumeRenameLibpodNoContent with default headers values
func (*VolumeRenameLibpodNoContent) Code ¶
func (o *VolumeRenameLibpodNoContent) Code() int
Code gets the status code for the volume rename libpod no content response
func (*VolumeRenameLibpodNoContent) Error ¶
func (o *VolumeRenameLibpodNoContent) Error() string
func (*VolumeRenameLibpodNoContent) IsClientError ¶
func (o *VolumeRenameLibpodNoContent) IsClientError() bool
IsClientError returns true when this volume rename libpod no content response has a 4xx status code
func (*VolumeRenameLibpodNoContent) IsCode ¶
func (o *VolumeRenameLibpodNoContent) IsCode(code int) bool
IsCode returns true when this volume rename libpod no content response a status code equal to that given
func (*VolumeRenameLibpodNoContent) IsRedirect ¶
func (o *VolumeRenameLibpodNoContent) IsRedirect() bool
IsRedirect returns true when this volume rename libpod no content response has a 3xx status code
func (*VolumeRenameLibpodNoContent) IsServerError ¶
func (o *VolumeRenameLibpodNoContent) IsServerError() bool
IsServerError returns true when this volume rename libpod no content response has a 5xx status code
func (*VolumeRenameLibpodNoContent) IsSuccess ¶
func (o *VolumeRenameLibpodNoContent) IsSuccess() bool
IsSuccess returns true when this volume rename libpod no content response has a 2xx status code
func (*VolumeRenameLibpodNoContent) String ¶
func (o *VolumeRenameLibpodNoContent) String() string
type VolumeRenameLibpodNotFound ¶
type VolumeRenameLibpodNotFound struct {
Payload *models.ErrorModel
}
VolumeRenameLibpodNotFound describes a response with status code 404, with default header values.
No such volume
func NewVolumeRenameLibpodNotFound ¶
func NewVolumeRenameLibpodNotFound() *VolumeRenameLibpodNotFound
NewVolumeRenameLibpodNotFound creates a VolumeRenameLibpodNotFound with default headers values
func (*VolumeRenameLibpodNotFound) Code ¶
func (o *VolumeRenameLibpodNotFound) Code() int
Code gets the status code for the volume rename libpod not found response
func (*VolumeRenameLibpodNotFound) Error ¶
func (o *VolumeRenameLibpodNotFound) Error() string
func (*VolumeRenameLibpodNotFound) GetPayload ¶
func (o *VolumeRenameLibpodNotFound) GetPayload() *models.ErrorModel
func (*VolumeRenameLibpodNotFound) IsClientError ¶
func (o *VolumeRenameLibpodNotFound) IsClientError() bool
IsClientError returns true when this volume rename libpod not found response has a 4xx status code
func (*VolumeRenameLibpodNotFound) IsCode ¶
func (o *VolumeRenameLibpodNotFound) IsCode(code int) bool
IsCode returns true when this volume rename libpod not found response a status code equal to that given
func (*VolumeRenameLibpodNotFound) IsRedirect ¶
func (o *VolumeRenameLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this volume rename libpod not found response has a 3xx status code
func (*VolumeRenameLibpodNotFound) IsServerError ¶
func (o *VolumeRenameLibpodNotFound) IsServerError() bool
IsServerError returns true when this volume rename libpod not found response has a 5xx status code
func (*VolumeRenameLibpodNotFound) IsSuccess ¶
func (o *VolumeRenameLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this volume rename libpod not found response has a 2xx status code
func (*VolumeRenameLibpodNotFound) String ¶
func (o *VolumeRenameLibpodNotFound) String() string
type VolumeRenameLibpodParams ¶
type VolumeRenameLibpodParams struct {
// Name.
//
// the name or ID of the volume
Name string
// NewName.
//
// new volume name
NewName string
HTTPClient *http.Client
// contains filtered or unexported fields
}
VolumeRenameLibpodParams contains all the parameters to send to the API endpoint
for the volume rename libpod operation. Typically these are written to a http.Request.
func NewVolumeRenameLibpodParams ¶
func NewVolumeRenameLibpodParams() *VolumeRenameLibpodParams
NewVolumeRenameLibpodParams creates a new VolumeRenameLibpodParams 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 NewVolumeRenameLibpodParamsWithContext
deprecated
func NewVolumeRenameLibpodParamsWithContext(ctx context.Context) *VolumeRenameLibpodParams
NewVolumeRenameLibpodParamsWithContext creates a new VolumeRenameLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of VolumeRenameLibpodParams.
func NewVolumeRenameLibpodParamsWithHTTPClient ¶
func NewVolumeRenameLibpodParamsWithHTTPClient(client *http.Client) *VolumeRenameLibpodParams
NewVolumeRenameLibpodParamsWithHTTPClient creates a new VolumeRenameLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewVolumeRenameLibpodParamsWithTimeout ¶
func NewVolumeRenameLibpodParamsWithTimeout(timeout time.Duration) *VolumeRenameLibpodParams
NewVolumeRenameLibpodParamsWithTimeout creates a new VolumeRenameLibpodParams object with the ability to set a timeout on a request.
func (*VolumeRenameLibpodParams) SetContext
deprecated
func (o *VolumeRenameLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume rename libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeRenameLibpodParams.
func (*VolumeRenameLibpodParams) SetDefaults ¶
func (o *VolumeRenameLibpodParams) SetDefaults()
SetDefaults hydrates default values in the volume rename libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeRenameLibpodParams) SetHTTPClient ¶
func (o *VolumeRenameLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the volume rename libpod params.
func (*VolumeRenameLibpodParams) SetName ¶
func (o *VolumeRenameLibpodParams) SetName(name string)
SetName adds the name to the volume rename libpod params.
func (*VolumeRenameLibpodParams) SetNewName ¶
func (o *VolumeRenameLibpodParams) SetNewName(newName string)
SetNewName adds the newName to the volume rename libpod params.
func (*VolumeRenameLibpodParams) SetTimeout ¶
func (o *VolumeRenameLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume rename libpod params.
func (*VolumeRenameLibpodParams) WithContext
deprecated
func (o *VolumeRenameLibpodParams) WithContext(ctx context.Context) *VolumeRenameLibpodParams
WithContext adds the context to the volume rename libpod params.
Deprecated: use the operation call with context to pass the context instead of VolumeRenameLibpodParams.
func (*VolumeRenameLibpodParams) WithDefaults ¶
func (o *VolumeRenameLibpodParams) WithDefaults() *VolumeRenameLibpodParams
WithDefaults hydrates default values in the volume rename libpod params (not the query body).
All values with no default are reset to their zero value.
func (*VolumeRenameLibpodParams) WithHTTPClient ¶
func (o *VolumeRenameLibpodParams) WithHTTPClient(client *http.Client) *VolumeRenameLibpodParams
WithHTTPClient adds the HTTPClient to the volume rename libpod params.
func (*VolumeRenameLibpodParams) WithName ¶
func (o *VolumeRenameLibpodParams) WithName(name string) *VolumeRenameLibpodParams
WithName adds the name to the volume rename libpod params.
func (*VolumeRenameLibpodParams) WithNewName ¶
func (o *VolumeRenameLibpodParams) WithNewName(newName string) *VolumeRenameLibpodParams
WithNewName adds the newName to the volume rename libpod params.
func (*VolumeRenameLibpodParams) WithTimeout ¶
func (o *VolumeRenameLibpodParams) WithTimeout(timeout time.Duration) *VolumeRenameLibpodParams
WithTimeout adds the timeout to the volume rename libpod params.
func (*VolumeRenameLibpodParams) WriteToRequest ¶
func (o *VolumeRenameLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type VolumeRenameLibpodReader ¶
type VolumeRenameLibpodReader struct {
// contains filtered or unexported fields
}
VolumeRenameLibpodReader is a Reader for the VolumeRenameLibpod structure.
func (*VolumeRenameLibpodReader) ReadResponse ¶
func (o *VolumeRenameLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- volume_create_libpod_parameters.go
- volume_create_libpod_responses.go
- volume_delete_libpod_parameters.go
- volume_delete_libpod_responses.go
- volume_exists_libpod_parameters.go
- volume_exists_libpod_responses.go
- volume_export_libpod_parameters.go
- volume_export_libpod_responses.go
- volume_import_libpod_parameters.go
- volume_import_libpod_responses.go
- volume_inspect_libpod_parameters.go
- volume_inspect_libpod_responses.go
- volume_list_libpod_parameters.go
- volume_list_libpod_responses.go
- volume_prune_libpod_parameters.go
- volume_prune_libpod_responses.go
- volume_rename_libpod_parameters.go
- volume_rename_libpod_responses.go
- volumes_client.go