volumes

package
v4.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*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

func (*VolumeCreateLibpodCreatedBody) Validate

func (o *VolumeCreateLibpodCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this volume create libpod created body

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 (*VolumeCreateLibpodInternalServerError) GetPayload

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

IsCode returns true when this volume create libpod internal server error response a status code equal to that given

func (*VolumeCreateLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this volume create libpod internal server error response has a 2xx status code

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

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

func (*VolumeCreateLibpodInternalServerErrorBody) Validate

Validate validates this volume create libpod internal server error body

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

WithContext adds the context to the volume create libpod params

func (*VolumeCreateLibpodParams) WithCreate

WithCreate adds the create to the volume create libpod params

func (*VolumeCreateLibpodParams) WithDefaults

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

WithTimeout adds the timeout to the volume create libpod params

func (*VolumeCreateLibpodParams) WriteToRequest

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 (*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 (*VolumeDeleteLibpodInternalServerError) GetPayload

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

IsCode returns true when this volume delete libpod internal server error response a status code equal to that given

func (*VolumeDeleteLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this volume delete libpod internal server error response has a 2xx status code

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

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

func (*VolumeDeleteLibpodInternalServerErrorBody) Validate

Validate validates this volume delete libpod internal server error body

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 (*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 (*VolumeDeleteLibpodNotFound) GetPayload

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

func (*VolumeDeleteLibpodNotFoundBody) Validate

func (o *VolumeDeleteLibpodNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this volume delete libpod not found body

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

WithContext adds the context to the volume delete libpod params

func (*VolumeDeleteLibpodParams) WithDefaults

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

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

WithName adds the name to the volume delete libpod params

func (*VolumeDeleteLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume delete libpod params

func (*VolumeDeleteLibpodParams) WriteToRequest

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 (*VolumeExistsLibpodInternalServerError) GetPayload

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

IsCode returns true when this volume exists libpod internal server error response a status code equal to that given

func (*VolumeExistsLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this volume exists libpod internal server error response has a 2xx status code

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

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

func (*VolumeExistsLibpodInternalServerErrorBody) Validate

Validate validates this volume exists libpod internal server error body

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 (*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 (*VolumeExistsLibpodNotFound) GetPayload

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

func (*VolumeExistsLibpodNotFoundBody) Validate

func (o *VolumeExistsLibpodNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this volume exists libpod not found body

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

WithContext adds the context to the volume exists libpod params

func (*VolumeExistsLibpodParams) WithDefaults

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

WithName adds the name to the volume exists libpod params

func (*VolumeExistsLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume exists libpod params

func (*VolumeExistsLibpodParams) WriteToRequest

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 (*VolumeInspectLibpodInternalServerError) GetPayload

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

IsCode returns true when this volume inspect libpod internal server error response a status code equal to that given

func (*VolumeInspectLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this volume inspect libpod internal server error response has a 2xx status code

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

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

func (*VolumeInspectLibpodInternalServerErrorBody) Validate

Validate validates this volume inspect libpod internal server error body

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 (*VolumeInspectLibpodNotFound) GetPayload

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

func (*VolumeInspectLibpodNotFoundBody) Validate

Validate validates this volume inspect libpod not found body

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

func (*VolumeInspectLibpodOKBody) Validate

func (o *VolumeInspectLibpodOKBody) Validate(formats strfmt.Registry) error

Validate validates this volume inspect libpod o k body

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

WithContext adds the context to the volume inspect libpod params

func (*VolumeInspectLibpodParams) WithDefaults

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

WithName adds the name to the volume inspect libpod params

func (*VolumeInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the volume inspect libpod params

func (*VolumeInspectLibpodParams) WriteToRequest

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 (*VolumeListLibpodInternalServerError) GetPayload

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

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

IsSuccess returns true when this volume list libpod internal server error response has a 2xx status code

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

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

func (*VolumeListLibpodInternalServerErrorBody) Validate

Validate validates this volume list libpod internal server error body

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

WithContext adds the context to the volume list libpod params

func (*VolumeListLibpodParams) WithDefaults

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

WithTimeout adds the timeout to the volume list libpod params

func (*VolumeListLibpodParams) WriteToRequest

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 (*VolumePruneLibpodInternalServerError) GetPayload

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

IsCode returns true when this volume prune libpod internal server error response a status code equal to that given

func (*VolumePruneLibpodInternalServerError) IsRedirect

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

IsSuccess returns true when this volume prune libpod internal server error response has a 2xx status code

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

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

func (*VolumePruneLibpodInternalServerErrorBody) Validate

Validate validates this volume prune libpod internal server error body

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

WithContext adds the context to the volume prune libpod params

func (*VolumePruneLibpodParams) WithDefaults

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

WithTimeout adds the timeout to the volume prune libpod params

func (*VolumePruneLibpodParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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