Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) VolumeCreateLibpod(params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)
- func (a *Client) VolumeDeleteLibpod(params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)
- func (a *Client) VolumeExistsLibpod(params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)
- func (a *Client) VolumeInspectLibpod(params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)
- func (a *Client) VolumeListLibpod(params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)
- func (a *Client) VolumePruneLibpod(params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)
- type ClientOption
- type ClientService
- type VolumeCreateLibpodCreated
- func (o *VolumeCreateLibpodCreated) Error() string
- func (o *VolumeCreateLibpodCreated) GetPayload() *VolumeCreateLibpodCreatedBody
- 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 VolumeCreateLibpodCreatedBody
- func (o *VolumeCreateLibpodCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeCreateLibpodCreatedBody) MarshalBinary() ([]byte, error)
- func (o *VolumeCreateLibpodCreatedBody) UnmarshalBinary(b []byte) error
- func (o *VolumeCreateLibpodCreatedBody) Validate(formats strfmt.Registry) error
- type VolumeCreateLibpodInternalServerError
- func (o *VolumeCreateLibpodInternalServerError) Error() string
- func (o *VolumeCreateLibpodInternalServerError) GetPayload() *VolumeCreateLibpodInternalServerErrorBody
- 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 VolumeCreateLibpodInternalServerErrorBody
- func (o *VolumeCreateLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeCreateLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *VolumeCreateLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *VolumeCreateLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type VolumeCreateLibpodParams
- func NewVolumeCreateLibpodParams() *VolumeCreateLibpodParams
- func NewVolumeCreateLibpodParamsWithContext(ctx context.Context) *VolumeCreateLibpodParams
- func NewVolumeCreateLibpodParamsWithHTTPClient(client *http.Client) *VolumeCreateLibpodParams
- func NewVolumeCreateLibpodParamsWithTimeout(timeout time.Duration) *VolumeCreateLibpodParams
- func (o *VolumeCreateLibpodParams) SetContext(ctx context.Context)
- 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) *VolumeCreateLibpodParams
- 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) 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) Error() string
- func (o *VolumeDeleteLibpodInternalServerError) GetPayload() *VolumeDeleteLibpodInternalServerErrorBody
- 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 VolumeDeleteLibpodInternalServerErrorBody
- func (o *VolumeDeleteLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeDeleteLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *VolumeDeleteLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *VolumeDeleteLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type VolumeDeleteLibpodNoContent
- 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) Error() string
- func (o *VolumeDeleteLibpodNotFound) GetPayload() *VolumeDeleteLibpodNotFoundBody
- 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 VolumeDeleteLibpodNotFoundBody
- func (o *VolumeDeleteLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeDeleteLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *VolumeDeleteLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *VolumeDeleteLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type VolumeDeleteLibpodParams
- func NewVolumeDeleteLibpodParams() *VolumeDeleteLibpodParams
- func NewVolumeDeleteLibpodParamsWithContext(ctx context.Context) *VolumeDeleteLibpodParams
- func NewVolumeDeleteLibpodParamsWithHTTPClient(client *http.Client) *VolumeDeleteLibpodParams
- func NewVolumeDeleteLibpodParamsWithTimeout(timeout time.Duration) *VolumeDeleteLibpodParams
- func (o *VolumeDeleteLibpodParams) SetContext(ctx context.Context)
- 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) SetTimeout(timeout time.Duration)
- func (o *VolumeDeleteLibpodParams) WithContext(ctx context.Context) *VolumeDeleteLibpodParams
- 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) WithTimeout(timeout time.Duration) *VolumeDeleteLibpodParams
- func (o *VolumeDeleteLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VolumeDeleteLibpodReader
- type VolumeExistsLibpodInternalServerError
- func (o *VolumeExistsLibpodInternalServerError) Error() string
- func (o *VolumeExistsLibpodInternalServerError) GetPayload() *VolumeExistsLibpodInternalServerErrorBody
- 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 VolumeExistsLibpodInternalServerErrorBody
- func (o *VolumeExistsLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeExistsLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *VolumeExistsLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *VolumeExistsLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type VolumeExistsLibpodNoContent
- 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) Error() string
- func (o *VolumeExistsLibpodNotFound) GetPayload() *VolumeExistsLibpodNotFoundBody
- 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 VolumeExistsLibpodNotFoundBody
- func (o *VolumeExistsLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeExistsLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *VolumeExistsLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *VolumeExistsLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type VolumeExistsLibpodParams
- func NewVolumeExistsLibpodParams() *VolumeExistsLibpodParams
- func NewVolumeExistsLibpodParamsWithContext(ctx context.Context) *VolumeExistsLibpodParams
- func NewVolumeExistsLibpodParamsWithHTTPClient(client *http.Client) *VolumeExistsLibpodParams
- func NewVolumeExistsLibpodParamsWithTimeout(timeout time.Duration) *VolumeExistsLibpodParams
- func (o *VolumeExistsLibpodParams) SetContext(ctx context.Context)
- 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) *VolumeExistsLibpodParams
- 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 VolumeInspectLibpodInternalServerError
- func (o *VolumeInspectLibpodInternalServerError) Error() string
- func (o *VolumeInspectLibpodInternalServerError) GetPayload() *VolumeInspectLibpodInternalServerErrorBody
- 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 VolumeInspectLibpodInternalServerErrorBody
- func (o *VolumeInspectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeInspectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *VolumeInspectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *VolumeInspectLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type VolumeInspectLibpodNotFound
- func (o *VolumeInspectLibpodNotFound) Error() string
- func (o *VolumeInspectLibpodNotFound) GetPayload() *VolumeInspectLibpodNotFoundBody
- 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 VolumeInspectLibpodNotFoundBody
- func (o *VolumeInspectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeInspectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *VolumeInspectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *VolumeInspectLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type VolumeInspectLibpodOK
- func (o *VolumeInspectLibpodOK) Error() string
- func (o *VolumeInspectLibpodOK) GetPayload() *VolumeInspectLibpodOKBody
- 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 VolumeInspectLibpodOKBody
- func (o *VolumeInspectLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeInspectLibpodOKBody) MarshalBinary() ([]byte, error)
- func (o *VolumeInspectLibpodOKBody) UnmarshalBinary(b []byte) error
- func (o *VolumeInspectLibpodOKBody) Validate(formats strfmt.Registry) error
- type VolumeInspectLibpodParams
- func NewVolumeInspectLibpodParams() *VolumeInspectLibpodParams
- func NewVolumeInspectLibpodParamsWithContext(ctx context.Context) *VolumeInspectLibpodParams
- func NewVolumeInspectLibpodParamsWithHTTPClient(client *http.Client) *VolumeInspectLibpodParams
- func NewVolumeInspectLibpodParamsWithTimeout(timeout time.Duration) *VolumeInspectLibpodParams
- func (o *VolumeInspectLibpodParams) SetContext(ctx context.Context)
- 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) *VolumeInspectLibpodParams
- 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) Error() string
- func (o *VolumeListLibpodInternalServerError) GetPayload() *VolumeListLibpodInternalServerErrorBody
- 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 VolumeListLibpodInternalServerErrorBody
- func (o *VolumeListLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumeListLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *VolumeListLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *VolumeListLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type VolumeListLibpodOK
- 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) *VolumeListLibpodParams
- func NewVolumeListLibpodParamsWithHTTPClient(client *http.Client) *VolumeListLibpodParams
- func NewVolumeListLibpodParamsWithTimeout(timeout time.Duration) *VolumeListLibpodParams
- func (o *VolumeListLibpodParams) SetContext(ctx context.Context)
- 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) *VolumeListLibpodParams
- 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) Error() string
- func (o *VolumePruneLibpodInternalServerError) GetPayload() *VolumePruneLibpodInternalServerErrorBody
- 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 VolumePruneLibpodInternalServerErrorBody
- func (o *VolumePruneLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *VolumePruneLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *VolumePruneLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *VolumePruneLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type VolumePruneLibpodOK
- func (o *VolumePruneLibpodOK) Error() string
- func (o *VolumePruneLibpodOK) GetPayload() []*models.PruneReport
- 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) *VolumePruneLibpodParams
- func NewVolumePruneLibpodParamsWithHTTPClient(client *http.Client) *VolumePruneLibpodParams
- func NewVolumePruneLibpodParamsWithTimeout(timeout time.Duration) *VolumePruneLibpodParams
- func (o *VolumePruneLibpodParams) SetContext(ctx context.Context)
- func (o *VolumePruneLibpodParams) SetDefaults()
- 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) *VolumePruneLibpodParams
- func (o *VolumePruneLibpodParams) WithDefaults() *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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for volumes API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) VolumeCreateLibpod ¶
func (a *Client) VolumeCreateLibpod(params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error)
VolumeCreateLibpod creates a volume
func (*Client) VolumeDeleteLibpod ¶
func (a *Client) VolumeDeleteLibpod(params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error)
VolumeDeleteLibpod removes volume
func (*Client) VolumeExistsLibpod ¶
func (a *Client) VolumeExistsLibpod(params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error)
VolumeExistsLibpod volumes exists
Check if a volume exists
func (*Client) VolumeInspectLibpod ¶
func (a *Client) VolumeInspectLibpod(params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error)
VolumeInspectLibpod inspects volume
func (*Client) VolumeListLibpod ¶
func (a *Client) VolumeListLibpod(params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error)
VolumeListLibpod lists volumes
Returns a list of volumes
func (*Client) VolumePruneLibpod ¶
func (a *Client) VolumePruneLibpod(params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error)
VolumePruneLibpod prunes volumes
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { VolumeCreateLibpod(params *VolumeCreateLibpodParams, opts ...ClientOption) (*VolumeCreateLibpodCreated, error) VolumeDeleteLibpod(params *VolumeDeleteLibpodParams, opts ...ClientOption) (*VolumeDeleteLibpodNoContent, error) VolumeExistsLibpod(params *VolumeExistsLibpodParams, opts ...ClientOption) (*VolumeExistsLibpodNoContent, error) VolumeInspectLibpod(params *VolumeInspectLibpodParams, opts ...ClientOption) (*VolumeInspectLibpodOK, error) VolumeListLibpod(params *VolumeListLibpodParams, opts ...ClientOption) (*VolumeListLibpodOK, error) VolumePruneLibpod(params *VolumePruneLibpodParams, opts ...ClientOption) (*VolumePruneLibpodOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new volumes API client.
type VolumeCreateLibpodCreated ¶
type VolumeCreateLibpodCreated struct {
Payload *VolumeCreateLibpodCreatedBody
}
VolumeCreateLibpodCreated describes a response with status code 201, with default header values.
Volume create response
func NewVolumeCreateLibpodCreated ¶
func NewVolumeCreateLibpodCreated() *VolumeCreateLibpodCreated
NewVolumeCreateLibpodCreated creates a VolumeCreateLibpodCreated with default headers values
func (*VolumeCreateLibpodCreated) Error ¶
func (o *VolumeCreateLibpodCreated) Error() string
func (*VolumeCreateLibpodCreated) GetPayload ¶
func (o *VolumeCreateLibpodCreated) GetPayload() *VolumeCreateLibpodCreatedBody
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 VolumeCreateLibpodCreatedBody ¶
type VolumeCreateLibpodCreatedBody struct { // Anonymous indicates that the volume was created as an anonymous // volume for a specific container, and will be be removed when any // container using it is removed. Anonymous bool `json:"Anonymous,omitempty"` // CreatedAt is the date and time the volume was created at. This is not // stored for older Libpod volumes; if so, it will be omitted. // Format: date-time CreatedAt strfmt.DateTime `json:"CreatedAt,omitempty"` // Driver is the driver used to create the volume. // If set to "local" or "", the Local driver (Podman built-in code) is // used to service the volume; otherwise, a volume plugin with the given // name is used to mount and manage the volume. Driver string `json:"Driver,omitempty"` // GID is the GID that the volume was created with. GID int64 `json:"GID,omitempty"` // Labels includes the volume's configured labels, key:value pairs that // can be passed during volume creation to provide information for third // party tools. Labels map[string]string `json:"Labels,omitempty"` // MountCount is the number of times this volume has been mounted. MountCount uint64 `json:"MountCount,omitempty"` // Mountpoint is the path on the host where the volume is mounted. Mountpoint string `json:"Mountpoint,omitempty"` // Name is the name of the volume. Name string `json:"Name,omitempty"` // NeedsChown indicates that the next time the volume is mounted into // a container, the container will chown the volume to the container process // UID/GID. NeedsChown bool `json:"NeedsChown,omitempty"` // NeedsCopyUp indicates that the next time the volume is mounted into NeedsCopyUp bool `json:"NeedsCopyUp,omitempty"` // Options is a set of options that were used when creating the volume. // For the Local driver, these are mount options that will be used to // determine how a local filesystem is mounted; they are handled as // parameters to Mount in a manner described in the volume create // manpage. // For non-local drivers, these are passed as-is to the volume plugin. Options map[string]string `json:"Options,omitempty"` // Scope is unused and provided solely for Docker compatibility. It is // unconditionally set to "local". Scope string `json:"Scope,omitempty"` // Status is used to return information on the volume's current state, // if the volume was created using a volume plugin (uses a Driver that // is not the local driver). // Status is provided to us by an external program, so no guarantees are // made about its format or contents. Further, it is an optional field, // so it may not be set even in cases where a volume plugin is in use. Status map[string]interface{} `json:"Status,omitempty"` // UID is the UID that the volume was created with. UID int64 `json:"UID,omitempty"` }
VolumeCreateLibpodCreatedBody volume create libpod created body swagger:model VolumeCreateLibpodCreatedBody
func (*VolumeCreateLibpodCreatedBody) ContextValidate ¶
func (o *VolumeCreateLibpodCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume create libpod created body based on context it is used
func (*VolumeCreateLibpodCreatedBody) MarshalBinary ¶
func (o *VolumeCreateLibpodCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeCreateLibpodCreatedBody) UnmarshalBinary ¶
func (o *VolumeCreateLibpodCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeCreateLibpodInternalServerError ¶
type VolumeCreateLibpodInternalServerError struct {
Payload *VolumeCreateLibpodInternalServerErrorBody
}
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) Error ¶
func (o *VolumeCreateLibpodInternalServerError) Error() string
func (*VolumeCreateLibpodInternalServerError) GetPayload ¶
func (o *VolumeCreateLibpodInternalServerError) GetPayload() *VolumeCreateLibpodInternalServerErrorBody
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 VolumeCreateLibpodInternalServerErrorBody ¶
type VolumeCreateLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
VolumeCreateLibpodInternalServerErrorBody volume create libpod internal server error body swagger:model VolumeCreateLibpodInternalServerErrorBody
func (*VolumeCreateLibpodInternalServerErrorBody) ContextValidate ¶
func (o *VolumeCreateLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume create libpod internal server error body based on context it is used
func (*VolumeCreateLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *VolumeCreateLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeCreateLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *VolumeCreateLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeCreateLibpodParams ¶
type VolumeCreateLibpodParams struct { /* Create. attributes for creating a volume */ Create *models.VolumeCreateOptions Context context.Context 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 ¶
func NewVolumeCreateLibpodParamsWithContext(ctx context.Context) *VolumeCreateLibpodParams
NewVolumeCreateLibpodParamsWithContext creates a new VolumeCreateLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *VolumeCreateLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume create libpod params
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 ¶
func (o *VolumeCreateLibpodParams) WithContext(ctx context.Context) *VolumeCreateLibpodParams
WithContext adds the context to the volume create libpod params
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 swagger request
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) (interface{}, 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) 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 *VolumeDeleteLibpodInternalServerErrorBody
}
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) Error ¶
func (o *VolumeDeleteLibpodInternalServerError) Error() string
func (*VolumeDeleteLibpodInternalServerError) GetPayload ¶
func (o *VolumeDeleteLibpodInternalServerError) GetPayload() *VolumeDeleteLibpodInternalServerErrorBody
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 VolumeDeleteLibpodInternalServerErrorBody ¶
type VolumeDeleteLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
VolumeDeleteLibpodInternalServerErrorBody volume delete libpod internal server error body swagger:model VolumeDeleteLibpodInternalServerErrorBody
func (*VolumeDeleteLibpodInternalServerErrorBody) ContextValidate ¶
func (o *VolumeDeleteLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume delete libpod internal server error body based on context it is used
func (*VolumeDeleteLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *VolumeDeleteLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeDeleteLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *VolumeDeleteLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 *VolumeDeleteLibpodNotFoundBody
}
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) Error ¶
func (o *VolumeDeleteLibpodNotFound) Error() string
func (*VolumeDeleteLibpodNotFound) GetPayload ¶
func (o *VolumeDeleteLibpodNotFound) GetPayload() *VolumeDeleteLibpodNotFoundBody
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 VolumeDeleteLibpodNotFoundBody ¶
type VolumeDeleteLibpodNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
VolumeDeleteLibpodNotFoundBody volume delete libpod not found body swagger:model VolumeDeleteLibpodNotFoundBody
func (*VolumeDeleteLibpodNotFoundBody) ContextValidate ¶
func (o *VolumeDeleteLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume delete libpod not found body based on context it is used
func (*VolumeDeleteLibpodNotFoundBody) MarshalBinary ¶
func (o *VolumeDeleteLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeDeleteLibpodNotFoundBody) UnmarshalBinary ¶
func (o *VolumeDeleteLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeDeleteLibpodParams ¶
type VolumeDeleteLibpodParams struct { /* Force. force removal */ Force *bool /* Name. the name or ID of the volume */ Name string Context context.Context 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 ¶
func NewVolumeDeleteLibpodParamsWithContext(ctx context.Context) *VolumeDeleteLibpodParams
NewVolumeDeleteLibpodParamsWithContext creates a new VolumeDeleteLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *VolumeDeleteLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume delete libpod params
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) SetTimeout ¶
func (o *VolumeDeleteLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the volume delete libpod params
func (*VolumeDeleteLibpodParams) WithContext ¶
func (o *VolumeDeleteLibpodParams) WithContext(ctx context.Context) *VolumeDeleteLibpodParams
WithContext adds the context to the volume delete libpod params
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) WithTimeout ¶
func (o *VolumeDeleteLibpodParams) WithTimeout(timeout time.Duration) *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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type VolumeExistsLibpodInternalServerError ¶
type VolumeExistsLibpodInternalServerError struct {
Payload *VolumeExistsLibpodInternalServerErrorBody
}
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) Error ¶
func (o *VolumeExistsLibpodInternalServerError) Error() string
func (*VolumeExistsLibpodInternalServerError) GetPayload ¶
func (o *VolumeExistsLibpodInternalServerError) GetPayload() *VolumeExistsLibpodInternalServerErrorBody
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 VolumeExistsLibpodInternalServerErrorBody ¶
type VolumeExistsLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
VolumeExistsLibpodInternalServerErrorBody volume exists libpod internal server error body swagger:model VolumeExistsLibpodInternalServerErrorBody
func (*VolumeExistsLibpodInternalServerErrorBody) ContextValidate ¶
func (o *VolumeExistsLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume exists libpod internal server error body based on context it is used
func (*VolumeExistsLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *VolumeExistsLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeExistsLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *VolumeExistsLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 *VolumeExistsLibpodNotFoundBody
}
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) Error ¶
func (o *VolumeExistsLibpodNotFound) Error() string
func (*VolumeExistsLibpodNotFound) GetPayload ¶
func (o *VolumeExistsLibpodNotFound) GetPayload() *VolumeExistsLibpodNotFoundBody
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 VolumeExistsLibpodNotFoundBody ¶
type VolumeExistsLibpodNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
VolumeExistsLibpodNotFoundBody volume exists libpod not found body swagger:model VolumeExistsLibpodNotFoundBody
func (*VolumeExistsLibpodNotFoundBody) ContextValidate ¶
func (o *VolumeExistsLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume exists libpod not found body based on context it is used
func (*VolumeExistsLibpodNotFoundBody) MarshalBinary ¶
func (o *VolumeExistsLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeExistsLibpodNotFoundBody) UnmarshalBinary ¶
func (o *VolumeExistsLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeExistsLibpodParams ¶
type VolumeExistsLibpodParams struct { /* Name. the name of the volume */ Name string Context context.Context 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 ¶
func NewVolumeExistsLibpodParamsWithContext(ctx context.Context) *VolumeExistsLibpodParams
NewVolumeExistsLibpodParamsWithContext creates a new VolumeExistsLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *VolumeExistsLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume exists libpod params
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 ¶
func (o *VolumeExistsLibpodParams) WithContext(ctx context.Context) *VolumeExistsLibpodParams
WithContext adds the context to the volume exists libpod params
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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type VolumeInspectLibpodInternalServerError ¶
type VolumeInspectLibpodInternalServerError struct {
Payload *VolumeInspectLibpodInternalServerErrorBody
}
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) Error ¶
func (o *VolumeInspectLibpodInternalServerError) Error() string
func (*VolumeInspectLibpodInternalServerError) GetPayload ¶
func (o *VolumeInspectLibpodInternalServerError) GetPayload() *VolumeInspectLibpodInternalServerErrorBody
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 VolumeInspectLibpodInternalServerErrorBody ¶
type VolumeInspectLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
VolumeInspectLibpodInternalServerErrorBody volume inspect libpod internal server error body swagger:model VolumeInspectLibpodInternalServerErrorBody
func (*VolumeInspectLibpodInternalServerErrorBody) ContextValidate ¶
func (o *VolumeInspectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume inspect libpod internal server error body based on context it is used
func (*VolumeInspectLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *VolumeInspectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeInspectLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *VolumeInspectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeInspectLibpodNotFound ¶
type VolumeInspectLibpodNotFound struct {
Payload *VolumeInspectLibpodNotFoundBody
}
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) Error ¶
func (o *VolumeInspectLibpodNotFound) Error() string
func (*VolumeInspectLibpodNotFound) GetPayload ¶
func (o *VolumeInspectLibpodNotFound) GetPayload() *VolumeInspectLibpodNotFoundBody
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 VolumeInspectLibpodNotFoundBody ¶
type VolumeInspectLibpodNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
VolumeInspectLibpodNotFoundBody volume inspect libpod not found body swagger:model VolumeInspectLibpodNotFoundBody
func (*VolumeInspectLibpodNotFoundBody) ContextValidate ¶
func (o *VolumeInspectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume inspect libpod not found body based on context it is used
func (*VolumeInspectLibpodNotFoundBody) MarshalBinary ¶
func (o *VolumeInspectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeInspectLibpodNotFoundBody) UnmarshalBinary ¶
func (o *VolumeInspectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeInspectLibpodOK ¶
type VolumeInspectLibpodOK struct {
Payload *VolumeInspectLibpodOKBody
}
VolumeInspectLibpodOK describes a response with status code 200, with default header values.
Volume create response
func NewVolumeInspectLibpodOK ¶
func NewVolumeInspectLibpodOK() *VolumeInspectLibpodOK
NewVolumeInspectLibpodOK creates a VolumeInspectLibpodOK with default headers values
func (*VolumeInspectLibpodOK) Error ¶
func (o *VolumeInspectLibpodOK) Error() string
func (*VolumeInspectLibpodOK) GetPayload ¶
func (o *VolumeInspectLibpodOK) GetPayload() *VolumeInspectLibpodOKBody
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 VolumeInspectLibpodOKBody ¶
type VolumeInspectLibpodOKBody struct { // Anonymous indicates that the volume was created as an anonymous // volume for a specific container, and will be be removed when any // container using it is removed. Anonymous bool `json:"Anonymous,omitempty"` // CreatedAt is the date and time the volume was created at. This is not // stored for older Libpod volumes; if so, it will be omitted. // Format: date-time CreatedAt strfmt.DateTime `json:"CreatedAt,omitempty"` // Driver is the driver used to create the volume. // If set to "local" or "", the Local driver (Podman built-in code) is // used to service the volume; otherwise, a volume plugin with the given // name is used to mount and manage the volume. Driver string `json:"Driver,omitempty"` // GID is the GID that the volume was created with. GID int64 `json:"GID,omitempty"` // Labels includes the volume's configured labels, key:value pairs that // can be passed during volume creation to provide information for third // party tools. Labels map[string]string `json:"Labels,omitempty"` // MountCount is the number of times this volume has been mounted. MountCount uint64 `json:"MountCount,omitempty"` // Mountpoint is the path on the host where the volume is mounted. Mountpoint string `json:"Mountpoint,omitempty"` // Name is the name of the volume. Name string `json:"Name,omitempty"` // NeedsChown indicates that the next time the volume is mounted into // a container, the container will chown the volume to the container process // UID/GID. NeedsChown bool `json:"NeedsChown,omitempty"` // NeedsCopyUp indicates that the next time the volume is mounted into NeedsCopyUp bool `json:"NeedsCopyUp,omitempty"` // Options is a set of options that were used when creating the volume. // For the Local driver, these are mount options that will be used to // determine how a local filesystem is mounted; they are handled as // parameters to Mount in a manner described in the volume create // manpage. // For non-local drivers, these are passed as-is to the volume plugin. Options map[string]string `json:"Options,omitempty"` // Scope is unused and provided solely for Docker compatibility. It is // unconditionally set to "local". Scope string `json:"Scope,omitempty"` // Status is used to return information on the volume's current state, // if the volume was created using a volume plugin (uses a Driver that // is not the local driver). // Status is provided to us by an external program, so no guarantees are // made about its format or contents. Further, it is an optional field, // so it may not be set even in cases where a volume plugin is in use. Status map[string]interface{} `json:"Status,omitempty"` // UID is the UID that the volume was created with. UID int64 `json:"UID,omitempty"` }
VolumeInspectLibpodOKBody volume inspect libpod o k body swagger:model VolumeInspectLibpodOKBody
func (*VolumeInspectLibpodOKBody) ContextValidate ¶
func (o *VolumeInspectLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume inspect libpod o k body based on context it is used
func (*VolumeInspectLibpodOKBody) MarshalBinary ¶
func (o *VolumeInspectLibpodOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeInspectLibpodOKBody) UnmarshalBinary ¶
func (o *VolumeInspectLibpodOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumeInspectLibpodParams ¶
type VolumeInspectLibpodParams struct { /* Name. the name or ID of the volume */ Name string Context context.Context 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 ¶
func NewVolumeInspectLibpodParamsWithContext(ctx context.Context) *VolumeInspectLibpodParams
NewVolumeInspectLibpodParamsWithContext creates a new VolumeInspectLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *VolumeInspectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume inspect libpod params
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 ¶
func (o *VolumeInspectLibpodParams) WithContext(ctx context.Context) *VolumeInspectLibpodParams
WithContext adds the context to the volume inspect libpod params
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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type VolumeListLibpodInternalServerError ¶
type VolumeListLibpodInternalServerError struct {
Payload *VolumeListLibpodInternalServerErrorBody
}
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) Error ¶
func (o *VolumeListLibpodInternalServerError) Error() string
func (*VolumeListLibpodInternalServerError) GetPayload ¶
func (o *VolumeListLibpodInternalServerError) GetPayload() *VolumeListLibpodInternalServerErrorBody
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 VolumeListLibpodInternalServerErrorBody ¶
type VolumeListLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
VolumeListLibpodInternalServerErrorBody volume list libpod internal server error body swagger:model VolumeListLibpodInternalServerErrorBody
func (*VolumeListLibpodInternalServerErrorBody) ContextValidate ¶
func (o *VolumeListLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume list libpod internal server error body based on context it is used
func (*VolumeListLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *VolumeListLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeListLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *VolumeListLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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) 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 Context context.Context 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 ¶
func NewVolumeListLibpodParamsWithContext(ctx context.Context) *VolumeListLibpodParams
NewVolumeListLibpodParamsWithContext creates a new VolumeListLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *VolumeListLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume list libpod params
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 ¶
func (o *VolumeListLibpodParams) WithContext(ctx context.Context) *VolumeListLibpodParams
WithContext adds the context to the volume list libpod params
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 swagger request
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) (interface{}, error)
ReadResponse reads a server response into the received o.
type VolumePruneLibpodInternalServerError ¶
type VolumePruneLibpodInternalServerError struct {
Payload *VolumePruneLibpodInternalServerErrorBody
}
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) Error ¶
func (o *VolumePruneLibpodInternalServerError) Error() string
func (*VolumePruneLibpodInternalServerError) GetPayload ¶
func (o *VolumePruneLibpodInternalServerError) GetPayload() *VolumePruneLibpodInternalServerErrorBody
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 VolumePruneLibpodInternalServerErrorBody ¶
type VolumePruneLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
VolumePruneLibpodInternalServerErrorBody volume prune libpod internal server error body swagger:model VolumePruneLibpodInternalServerErrorBody
func (*VolumePruneLibpodInternalServerErrorBody) ContextValidate ¶
func (o *VolumePruneLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this volume prune libpod internal server error body based on context it is used
func (*VolumePruneLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *VolumePruneLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumePruneLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *VolumePruneLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VolumePruneLibpodOK ¶
type VolumePruneLibpodOK struct {
Payload []*models.PruneReport
}
VolumePruneLibpodOK describes a response with status code 200, with default header values.
Volume prune response
func NewVolumePruneLibpodOK ¶
func NewVolumePruneLibpodOK() *VolumePruneLibpodOK
NewVolumePruneLibpodOK creates a VolumePruneLibpodOK with default headers values
func (*VolumePruneLibpodOK) Error ¶
func (o *VolumePruneLibpodOK) Error() string
func (*VolumePruneLibpodOK) GetPayload ¶
func (o *VolumePruneLibpodOK) GetPayload() []*models.PruneReport
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 { /* Filters. JSON encoded value of filters (a map[string][]string) to match volumes against before pruning. Available filters: - `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 Context context.Context 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 ¶
func NewVolumePruneLibpodParamsWithContext(ctx context.Context) *VolumePruneLibpodParams
NewVolumePruneLibpodParamsWithContext creates a new VolumePruneLibpodParams object with the ability to set a context for a request.
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 ¶
func (o *VolumePruneLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the volume prune libpod params
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) 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 ¶
func (o *VolumePruneLibpodParams) WithContext(ctx context.Context) *VolumePruneLibpodParams
WithContext adds the context to the volume prune libpod params
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) 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 swagger request
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) (interface{}, 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_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
- volumes_client.go