pods

package
v4.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

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

func (*Client) PodCreateLibpod

func (a *Client) PodCreateLibpod(params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)

PodCreateLibpod creates a pod

func (*Client) PodDeleteLibpod

func (a *Client) PodDeleteLibpod(params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)

PodDeleteLibpod removes pod

func (*Client) PodExistsLibpod

func (a *Client) PodExistsLibpod(params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)

PodExistsLibpod pods exists

Check if a pod exists by name or ID

func (*Client) PodInspectLibpod

func (a *Client) PodInspectLibpod(params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)

PodInspectLibpod inspects pod

func (*Client) PodKillLibpod

func (a *Client) PodKillLibpod(params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)

PodKillLibpod kills a pod

func (*Client) PodListLibpod

func (a *Client) PodListLibpod(params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)

PodListLibpod lists pods

func (*Client) PodPauseLibpod

func (a *Client) PodPauseLibpod(params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)

PodPauseLibpod pauses a pod

Pause a pod

func (*Client) PodPruneLibpod

func (a *Client) PodPruneLibpod(params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)

PodPruneLibpod prunes unused pods

func (*Client) PodRestartLibpod

func (a *Client) PodRestartLibpod(params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)

PodRestartLibpod restarts a pod

func (*Client) PodStartLibpod

func (a *Client) PodStartLibpod(params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)

PodStartLibpod starts a pod

func (*Client) PodStatsAllLibpod

func (a *Client) PodStatsAllLibpod(params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)

PodStatsAllLibpod gets stats for one or more pods

Display a live stream of resource usage statistics for the containers in one or more pods

func (*Client) PodStopLibpod

func (a *Client) PodStopLibpod(params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)

PodStopLibpod stops a pod

func (*Client) PodTopLibpod

func (a *Client) PodTopLibpod(params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)

PodTopLibpod lists processes

List processes running inside a pod

func (*Client) PodUnpauseLibpod

func (a *Client) PodUnpauseLibpod(params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, error)

PodUnpauseLibpod unpauses a pod

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	PodCreateLibpod(params *PodCreateLibpodParams, opts ...ClientOption) (*PodCreateLibpodCreated, error)

	PodDeleteLibpod(params *PodDeleteLibpodParams, opts ...ClientOption) (*PodDeleteLibpodOK, error)

	PodExistsLibpod(params *PodExistsLibpodParams, opts ...ClientOption) (*PodExistsLibpodNoContent, error)

	PodInspectLibpod(params *PodInspectLibpodParams, opts ...ClientOption) (*PodInspectLibpodOK, error)

	PodKillLibpod(params *PodKillLibpodParams, opts ...ClientOption) (*PodKillLibpodOK, error)

	PodListLibpod(params *PodListLibpodParams, opts ...ClientOption) (*PodListLibpodOK, error)

	PodPauseLibpod(params *PodPauseLibpodParams, opts ...ClientOption) (*PodPauseLibpodOK, error)

	PodPruneLibpod(params *PodPruneLibpodParams, opts ...ClientOption) (*PodPruneLibpodOK, error)

	PodRestartLibpod(params *PodRestartLibpodParams, opts ...ClientOption) (*PodRestartLibpodOK, error)

	PodStartLibpod(params *PodStartLibpodParams, opts ...ClientOption) (*PodStartLibpodOK, error)

	PodStatsAllLibpod(params *PodStatsAllLibpodParams, opts ...ClientOption) (*PodStatsAllLibpodOK, error)

	PodStopLibpod(params *PodStopLibpodParams, opts ...ClientOption) (*PodStopLibpodOK, error)

	PodTopLibpod(params *PodTopLibpodParams, opts ...ClientOption) (*PodTopLibpodOK, error)

	PodUnpauseLibpod(params *PodUnpauseLibpodParams, opts ...ClientOption) (*PodUnpauseLibpodOK, 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 pods API client.

type PodCreateLibpodBadRequest

type PodCreateLibpodBadRequest struct {
	Payload *PodCreateLibpodBadRequestBody
}

PodCreateLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodCreateLibpodBadRequest

func NewPodCreateLibpodBadRequest() *PodCreateLibpodBadRequest

NewPodCreateLibpodBadRequest creates a PodCreateLibpodBadRequest with default headers values

func (*PodCreateLibpodBadRequest) Error

func (o *PodCreateLibpodBadRequest) Error() string

func (*PodCreateLibpodBadRequest) GetPayload

func (*PodCreateLibpodBadRequest) IsClientError

func (o *PodCreateLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod create libpod bad request response has a 4xx status code

func (*PodCreateLibpodBadRequest) IsCode

func (o *PodCreateLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod create libpod bad request response a status code equal to that given

func (*PodCreateLibpodBadRequest) IsRedirect

func (o *PodCreateLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod create libpod bad request response has a 3xx status code

func (*PodCreateLibpodBadRequest) IsServerError

func (o *PodCreateLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod create libpod bad request response has a 5xx status code

func (*PodCreateLibpodBadRequest) IsSuccess

func (o *PodCreateLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod create libpod bad request response has a 2xx status code

func (*PodCreateLibpodBadRequest) String

func (o *PodCreateLibpodBadRequest) String() string

type PodCreateLibpodBadRequestBody

type PodCreateLibpodBadRequestBody 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"`
}

PodCreateLibpodBadRequestBody pod create libpod bad request body swagger:model PodCreateLibpodBadRequestBody

func (*PodCreateLibpodBadRequestBody) ContextValidate

func (o *PodCreateLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod create libpod bad request body based on context it is used

func (*PodCreateLibpodBadRequestBody) MarshalBinary

func (o *PodCreateLibpodBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodCreateLibpodBadRequestBody) UnmarshalBinary

func (o *PodCreateLibpodBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodCreateLibpodBadRequestBody) Validate

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

Validate validates this pod create libpod bad request body

type PodCreateLibpodConflict

type PodCreateLibpodConflict struct {
	Payload string
}

PodCreateLibpodConflict describes a response with status code 409, with default header values.

status conflict

func NewPodCreateLibpodConflict

func NewPodCreateLibpodConflict() *PodCreateLibpodConflict

NewPodCreateLibpodConflict creates a PodCreateLibpodConflict with default headers values

func (*PodCreateLibpodConflict) Error

func (o *PodCreateLibpodConflict) Error() string

func (*PodCreateLibpodConflict) GetPayload

func (o *PodCreateLibpodConflict) GetPayload() string

func (*PodCreateLibpodConflict) IsClientError

func (o *PodCreateLibpodConflict) IsClientError() bool

IsClientError returns true when this pod create libpod conflict response has a 4xx status code

func (*PodCreateLibpodConflict) IsCode

func (o *PodCreateLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod create libpod conflict response a status code equal to that given

func (*PodCreateLibpodConflict) IsRedirect

func (o *PodCreateLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod create libpod conflict response has a 3xx status code

func (*PodCreateLibpodConflict) IsServerError

func (o *PodCreateLibpodConflict) IsServerError() bool

IsServerError returns true when this pod create libpod conflict response has a 5xx status code

func (*PodCreateLibpodConflict) IsSuccess

func (o *PodCreateLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod create libpod conflict response has a 2xx status code

func (*PodCreateLibpodConflict) String

func (o *PodCreateLibpodConflict) String() string

type PodCreateLibpodCreated

type PodCreateLibpodCreated struct {
	Payload *models.IDResponse
}

PodCreateLibpodCreated describes a response with status code 201, with default header values.

PodCreateLibpodCreated pod create libpod created

func NewPodCreateLibpodCreated

func NewPodCreateLibpodCreated() *PodCreateLibpodCreated

NewPodCreateLibpodCreated creates a PodCreateLibpodCreated with default headers values

func (*PodCreateLibpodCreated) Error

func (o *PodCreateLibpodCreated) Error() string

func (*PodCreateLibpodCreated) GetPayload

func (o *PodCreateLibpodCreated) GetPayload() *models.IDResponse

func (*PodCreateLibpodCreated) IsClientError

func (o *PodCreateLibpodCreated) IsClientError() bool

IsClientError returns true when this pod create libpod created response has a 4xx status code

func (*PodCreateLibpodCreated) IsCode

func (o *PodCreateLibpodCreated) IsCode(code int) bool

IsCode returns true when this pod create libpod created response a status code equal to that given

func (*PodCreateLibpodCreated) IsRedirect

func (o *PodCreateLibpodCreated) IsRedirect() bool

IsRedirect returns true when this pod create libpod created response has a 3xx status code

func (*PodCreateLibpodCreated) IsServerError

func (o *PodCreateLibpodCreated) IsServerError() bool

IsServerError returns true when this pod create libpod created response has a 5xx status code

func (*PodCreateLibpodCreated) IsSuccess

func (o *PodCreateLibpodCreated) IsSuccess() bool

IsSuccess returns true when this pod create libpod created response has a 2xx status code

func (*PodCreateLibpodCreated) String

func (o *PodCreateLibpodCreated) String() string

type PodCreateLibpodInternalServerError

type PodCreateLibpodInternalServerError struct {
	Payload *PodCreateLibpodInternalServerErrorBody
}

PodCreateLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodCreateLibpodInternalServerError

func NewPodCreateLibpodInternalServerError() *PodCreateLibpodInternalServerError

NewPodCreateLibpodInternalServerError creates a PodCreateLibpodInternalServerError with default headers values

func (*PodCreateLibpodInternalServerError) Error

func (*PodCreateLibpodInternalServerError) GetPayload

func (*PodCreateLibpodInternalServerError) IsClientError

func (o *PodCreateLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod create libpod internal server error response has a 4xx status code

func (*PodCreateLibpodInternalServerError) IsCode

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

func (*PodCreateLibpodInternalServerError) IsRedirect

func (o *PodCreateLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod create libpod internal server error response has a 3xx status code

func (*PodCreateLibpodInternalServerError) IsServerError

func (o *PodCreateLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod create libpod internal server error response has a 5xx status code

func (*PodCreateLibpodInternalServerError) IsSuccess

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

func (*PodCreateLibpodInternalServerError) String

type PodCreateLibpodInternalServerErrorBody

type PodCreateLibpodInternalServerErrorBody 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"`
}

PodCreateLibpodInternalServerErrorBody pod create libpod internal server error body swagger:model PodCreateLibpodInternalServerErrorBody

func (*PodCreateLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this pod create libpod internal server error body based on context it is used

func (*PodCreateLibpodInternalServerErrorBody) MarshalBinary

func (o *PodCreateLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodCreateLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodCreateLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodCreateLibpodInternalServerErrorBody) Validate

Validate validates this pod create libpod internal server error body

type PodCreateLibpodParams

type PodCreateLibpodParams struct {

	/* Create.

	   attributes for creating a pod
	*/
	Create *models.PodSpecGenerator

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

PodCreateLibpodParams contains all the parameters to send to the API endpoint

for the pod create libpod operation.

Typically these are written to a http.Request.

func NewPodCreateLibpodParams

func NewPodCreateLibpodParams() *PodCreateLibpodParams

NewPodCreateLibpodParams creates a new PodCreateLibpodParams 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 NewPodCreateLibpodParamsWithContext

func NewPodCreateLibpodParamsWithContext(ctx context.Context) *PodCreateLibpodParams

NewPodCreateLibpodParamsWithContext creates a new PodCreateLibpodParams object with the ability to set a context for a request.

func NewPodCreateLibpodParamsWithHTTPClient

func NewPodCreateLibpodParamsWithHTTPClient(client *http.Client) *PodCreateLibpodParams

NewPodCreateLibpodParamsWithHTTPClient creates a new PodCreateLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodCreateLibpodParamsWithTimeout

func NewPodCreateLibpodParamsWithTimeout(timeout time.Duration) *PodCreateLibpodParams

NewPodCreateLibpodParamsWithTimeout creates a new PodCreateLibpodParams object with the ability to set a timeout on a request.

func (*PodCreateLibpodParams) SetContext

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

SetContext adds the context to the pod create libpod params

func (*PodCreateLibpodParams) SetCreate

func (o *PodCreateLibpodParams) SetCreate(create *models.PodSpecGenerator)

SetCreate adds the create to the pod create libpod params

func (*PodCreateLibpodParams) SetDefaults

func (o *PodCreateLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod create libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodCreateLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod create libpod params

func (*PodCreateLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod create libpod params

func (*PodCreateLibpodParams) WithContext

WithContext adds the context to the pod create libpod params

func (*PodCreateLibpodParams) WithCreate

WithCreate adds the create to the pod create libpod params

func (*PodCreateLibpodParams) WithDefaults

func (o *PodCreateLibpodParams) WithDefaults() *PodCreateLibpodParams

WithDefaults hydrates default values in the pod create libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodCreateLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod create libpod params

func (*PodCreateLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod create libpod params

func (*PodCreateLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodCreateLibpodReader

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

PodCreateLibpodReader is a Reader for the PodCreateLibpod structure.

func (*PodCreateLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodDeleteLibpodBadRequest

type PodDeleteLibpodBadRequest struct {
	Payload *PodDeleteLibpodBadRequestBody
}

PodDeleteLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodDeleteLibpodBadRequest

func NewPodDeleteLibpodBadRequest() *PodDeleteLibpodBadRequest

NewPodDeleteLibpodBadRequest creates a PodDeleteLibpodBadRequest with default headers values

func (*PodDeleteLibpodBadRequest) Error

func (o *PodDeleteLibpodBadRequest) Error() string

func (*PodDeleteLibpodBadRequest) GetPayload

func (*PodDeleteLibpodBadRequest) IsClientError

func (o *PodDeleteLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod delete libpod bad request response has a 4xx status code

func (*PodDeleteLibpodBadRequest) IsCode

func (o *PodDeleteLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod delete libpod bad request response a status code equal to that given

func (*PodDeleteLibpodBadRequest) IsRedirect

func (o *PodDeleteLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod delete libpod bad request response has a 3xx status code

func (*PodDeleteLibpodBadRequest) IsServerError

func (o *PodDeleteLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod delete libpod bad request response has a 5xx status code

func (*PodDeleteLibpodBadRequest) IsSuccess

func (o *PodDeleteLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod delete libpod bad request response has a 2xx status code

func (*PodDeleteLibpodBadRequest) String

func (o *PodDeleteLibpodBadRequest) String() string

type PodDeleteLibpodBadRequestBody

type PodDeleteLibpodBadRequestBody 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"`
}

PodDeleteLibpodBadRequestBody pod delete libpod bad request body swagger:model PodDeleteLibpodBadRequestBody

func (*PodDeleteLibpodBadRequestBody) ContextValidate

func (o *PodDeleteLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod delete libpod bad request body based on context it is used

func (*PodDeleteLibpodBadRequestBody) MarshalBinary

func (o *PodDeleteLibpodBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodDeleteLibpodBadRequestBody) UnmarshalBinary

func (o *PodDeleteLibpodBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodDeleteLibpodBadRequestBody) Validate

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

Validate validates this pod delete libpod bad request body

type PodDeleteLibpodInternalServerError

type PodDeleteLibpodInternalServerError struct {
	Payload *PodDeleteLibpodInternalServerErrorBody
}

PodDeleteLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodDeleteLibpodInternalServerError

func NewPodDeleteLibpodInternalServerError() *PodDeleteLibpodInternalServerError

NewPodDeleteLibpodInternalServerError creates a PodDeleteLibpodInternalServerError with default headers values

func (*PodDeleteLibpodInternalServerError) Error

func (*PodDeleteLibpodInternalServerError) GetPayload

func (*PodDeleteLibpodInternalServerError) IsClientError

func (o *PodDeleteLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod delete libpod internal server error response has a 4xx status code

func (*PodDeleteLibpodInternalServerError) IsCode

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

func (*PodDeleteLibpodInternalServerError) IsRedirect

func (o *PodDeleteLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod delete libpod internal server error response has a 3xx status code

func (*PodDeleteLibpodInternalServerError) IsServerError

func (o *PodDeleteLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod delete libpod internal server error response has a 5xx status code

func (*PodDeleteLibpodInternalServerError) IsSuccess

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

func (*PodDeleteLibpodInternalServerError) String

type PodDeleteLibpodInternalServerErrorBody

type PodDeleteLibpodInternalServerErrorBody 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"`
}

PodDeleteLibpodInternalServerErrorBody pod delete libpod internal server error body swagger:model PodDeleteLibpodInternalServerErrorBody

func (*PodDeleteLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this pod delete libpod internal server error body based on context it is used

func (*PodDeleteLibpodInternalServerErrorBody) MarshalBinary

func (o *PodDeleteLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodDeleteLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodDeleteLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodDeleteLibpodInternalServerErrorBody) Validate

Validate validates this pod delete libpod internal server error body

type PodDeleteLibpodNotFound

type PodDeleteLibpodNotFound struct {
	Payload *PodDeleteLibpodNotFoundBody
}

PodDeleteLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodDeleteLibpodNotFound

func NewPodDeleteLibpodNotFound() *PodDeleteLibpodNotFound

NewPodDeleteLibpodNotFound creates a PodDeleteLibpodNotFound with default headers values

func (*PodDeleteLibpodNotFound) Error

func (o *PodDeleteLibpodNotFound) Error() string

func (*PodDeleteLibpodNotFound) GetPayload

func (*PodDeleteLibpodNotFound) IsClientError

func (o *PodDeleteLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod delete libpod not found response has a 4xx status code

func (*PodDeleteLibpodNotFound) IsCode

func (o *PodDeleteLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod delete libpod not found response a status code equal to that given

func (*PodDeleteLibpodNotFound) IsRedirect

func (o *PodDeleteLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod delete libpod not found response has a 3xx status code

func (*PodDeleteLibpodNotFound) IsServerError

func (o *PodDeleteLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod delete libpod not found response has a 5xx status code

func (*PodDeleteLibpodNotFound) IsSuccess

func (o *PodDeleteLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod delete libpod not found response has a 2xx status code

func (*PodDeleteLibpodNotFound) String

func (o *PodDeleteLibpodNotFound) String() string

type PodDeleteLibpodNotFoundBody

type PodDeleteLibpodNotFoundBody 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"`
}

PodDeleteLibpodNotFoundBody pod delete libpod not found body swagger:model PodDeleteLibpodNotFoundBody

func (*PodDeleteLibpodNotFoundBody) ContextValidate

func (o *PodDeleteLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod delete libpod not found body based on context it is used

func (*PodDeleteLibpodNotFoundBody) MarshalBinary

func (o *PodDeleteLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodDeleteLibpodNotFoundBody) UnmarshalBinary

func (o *PodDeleteLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodDeleteLibpodNotFoundBody) Validate

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

Validate validates this pod delete libpod not found body

type PodDeleteLibpodOK

type PodDeleteLibpodOK struct {
	Payload *models.PodRmReport
}

PodDeleteLibpodOK describes a response with status code 200, with default header values.

Rm pod

func NewPodDeleteLibpodOK

func NewPodDeleteLibpodOK() *PodDeleteLibpodOK

NewPodDeleteLibpodOK creates a PodDeleteLibpodOK with default headers values

func (*PodDeleteLibpodOK) Error

func (o *PodDeleteLibpodOK) Error() string

func (*PodDeleteLibpodOK) GetPayload

func (o *PodDeleteLibpodOK) GetPayload() *models.PodRmReport

func (*PodDeleteLibpodOK) IsClientError

func (o *PodDeleteLibpodOK) IsClientError() bool

IsClientError returns true when this pod delete libpod o k response has a 4xx status code

func (*PodDeleteLibpodOK) IsCode

func (o *PodDeleteLibpodOK) IsCode(code int) bool

IsCode returns true when this pod delete libpod o k response a status code equal to that given

func (*PodDeleteLibpodOK) IsRedirect

func (o *PodDeleteLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod delete libpod o k response has a 3xx status code

func (*PodDeleteLibpodOK) IsServerError

func (o *PodDeleteLibpodOK) IsServerError() bool

IsServerError returns true when this pod delete libpod o k response has a 5xx status code

func (*PodDeleteLibpodOK) IsSuccess

func (o *PodDeleteLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod delete libpod o k response has a 2xx status code

func (*PodDeleteLibpodOK) String

func (o *PodDeleteLibpodOK) String() string

type PodDeleteLibpodParams

type PodDeleteLibpodParams struct {

	/* Force.

	   force removal of a running pod by first stopping all containers, then removing all containers in the pod
	*/
	Force *bool

	/* Name.

	   the name or ID of the pod
	*/
	Name string

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

PodDeleteLibpodParams contains all the parameters to send to the API endpoint

for the pod delete libpod operation.

Typically these are written to a http.Request.

func NewPodDeleteLibpodParams

func NewPodDeleteLibpodParams() *PodDeleteLibpodParams

NewPodDeleteLibpodParams creates a new PodDeleteLibpodParams 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 NewPodDeleteLibpodParamsWithContext

func NewPodDeleteLibpodParamsWithContext(ctx context.Context) *PodDeleteLibpodParams

NewPodDeleteLibpodParamsWithContext creates a new PodDeleteLibpodParams object with the ability to set a context for a request.

func NewPodDeleteLibpodParamsWithHTTPClient

func NewPodDeleteLibpodParamsWithHTTPClient(client *http.Client) *PodDeleteLibpodParams

NewPodDeleteLibpodParamsWithHTTPClient creates a new PodDeleteLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodDeleteLibpodParamsWithTimeout

func NewPodDeleteLibpodParamsWithTimeout(timeout time.Duration) *PodDeleteLibpodParams

NewPodDeleteLibpodParamsWithTimeout creates a new PodDeleteLibpodParams object with the ability to set a timeout on a request.

func (*PodDeleteLibpodParams) SetContext

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

SetContext adds the context to the pod delete libpod params

func (*PodDeleteLibpodParams) SetDefaults

func (o *PodDeleteLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod delete libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodDeleteLibpodParams) SetForce

func (o *PodDeleteLibpodParams) SetForce(force *bool)

SetForce adds the force to the pod delete libpod params

func (*PodDeleteLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod delete libpod params

func (*PodDeleteLibpodParams) SetName

func (o *PodDeleteLibpodParams) SetName(name string)

SetName adds the name to the pod delete libpod params

func (*PodDeleteLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod delete libpod params

func (*PodDeleteLibpodParams) WithContext

WithContext adds the context to the pod delete libpod params

func (*PodDeleteLibpodParams) WithDefaults

func (o *PodDeleteLibpodParams) WithDefaults() *PodDeleteLibpodParams

WithDefaults hydrates default values in the pod delete libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodDeleteLibpodParams) WithForce

func (o *PodDeleteLibpodParams) WithForce(force *bool) *PodDeleteLibpodParams

WithForce adds the force to the pod delete libpod params

func (*PodDeleteLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod delete libpod params

func (*PodDeleteLibpodParams) WithName

WithName adds the name to the pod delete libpod params

func (*PodDeleteLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod delete libpod params

func (*PodDeleteLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodDeleteLibpodReader

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

PodDeleteLibpodReader is a Reader for the PodDeleteLibpod structure.

func (*PodDeleteLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodExistsLibpodInternalServerError

type PodExistsLibpodInternalServerError struct {
	Payload *PodExistsLibpodInternalServerErrorBody
}

PodExistsLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodExistsLibpodInternalServerError

func NewPodExistsLibpodInternalServerError() *PodExistsLibpodInternalServerError

NewPodExistsLibpodInternalServerError creates a PodExistsLibpodInternalServerError with default headers values

func (*PodExistsLibpodInternalServerError) Error

func (*PodExistsLibpodInternalServerError) GetPayload

func (*PodExistsLibpodInternalServerError) IsClientError

func (o *PodExistsLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod exists libpod internal server error response has a 4xx status code

func (*PodExistsLibpodInternalServerError) IsCode

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

func (*PodExistsLibpodInternalServerError) IsRedirect

func (o *PodExistsLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod exists libpod internal server error response has a 3xx status code

func (*PodExistsLibpodInternalServerError) IsServerError

func (o *PodExistsLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod exists libpod internal server error response has a 5xx status code

func (*PodExistsLibpodInternalServerError) IsSuccess

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

func (*PodExistsLibpodInternalServerError) String

type PodExistsLibpodInternalServerErrorBody

type PodExistsLibpodInternalServerErrorBody 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"`
}

PodExistsLibpodInternalServerErrorBody pod exists libpod internal server error body swagger:model PodExistsLibpodInternalServerErrorBody

func (*PodExistsLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this pod exists libpod internal server error body based on context it is used

func (*PodExistsLibpodInternalServerErrorBody) MarshalBinary

func (o *PodExistsLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodExistsLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodExistsLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodExistsLibpodInternalServerErrorBody) Validate

Validate validates this pod exists libpod internal server error body

type PodExistsLibpodNoContent

type PodExistsLibpodNoContent struct {
}

PodExistsLibpodNoContent describes a response with status code 204, with default header values.

pod exists

func NewPodExistsLibpodNoContent

func NewPodExistsLibpodNoContent() *PodExistsLibpodNoContent

NewPodExistsLibpodNoContent creates a PodExistsLibpodNoContent with default headers values

func (*PodExistsLibpodNoContent) Error

func (o *PodExistsLibpodNoContent) Error() string

func (*PodExistsLibpodNoContent) IsClientError

func (o *PodExistsLibpodNoContent) IsClientError() bool

IsClientError returns true when this pod exists libpod no content response has a 4xx status code

func (*PodExistsLibpodNoContent) IsCode

func (o *PodExistsLibpodNoContent) IsCode(code int) bool

IsCode returns true when this pod exists libpod no content response a status code equal to that given

func (*PodExistsLibpodNoContent) IsRedirect

func (o *PodExistsLibpodNoContent) IsRedirect() bool

IsRedirect returns true when this pod exists libpod no content response has a 3xx status code

func (*PodExistsLibpodNoContent) IsServerError

func (o *PodExistsLibpodNoContent) IsServerError() bool

IsServerError returns true when this pod exists libpod no content response has a 5xx status code

func (*PodExistsLibpodNoContent) IsSuccess

func (o *PodExistsLibpodNoContent) IsSuccess() bool

IsSuccess returns true when this pod exists libpod no content response has a 2xx status code

func (*PodExistsLibpodNoContent) String

func (o *PodExistsLibpodNoContent) String() string

type PodExistsLibpodNotFound

type PodExistsLibpodNotFound struct {
	Payload *PodExistsLibpodNotFoundBody
}

PodExistsLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodExistsLibpodNotFound

func NewPodExistsLibpodNotFound() *PodExistsLibpodNotFound

NewPodExistsLibpodNotFound creates a PodExistsLibpodNotFound with default headers values

func (*PodExistsLibpodNotFound) Error

func (o *PodExistsLibpodNotFound) Error() string

func (*PodExistsLibpodNotFound) GetPayload

func (*PodExistsLibpodNotFound) IsClientError

func (o *PodExistsLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod exists libpod not found response has a 4xx status code

func (*PodExistsLibpodNotFound) IsCode

func (o *PodExistsLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod exists libpod not found response a status code equal to that given

func (*PodExistsLibpodNotFound) IsRedirect

func (o *PodExistsLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod exists libpod not found response has a 3xx status code

func (*PodExistsLibpodNotFound) IsServerError

func (o *PodExistsLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod exists libpod not found response has a 5xx status code

func (*PodExistsLibpodNotFound) IsSuccess

func (o *PodExistsLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod exists libpod not found response has a 2xx status code

func (*PodExistsLibpodNotFound) String

func (o *PodExistsLibpodNotFound) String() string

type PodExistsLibpodNotFoundBody

type PodExistsLibpodNotFoundBody 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"`
}

PodExistsLibpodNotFoundBody pod exists libpod not found body swagger:model PodExistsLibpodNotFoundBody

func (*PodExistsLibpodNotFoundBody) ContextValidate

func (o *PodExistsLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod exists libpod not found body based on context it is used

func (*PodExistsLibpodNotFoundBody) MarshalBinary

func (o *PodExistsLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodExistsLibpodNotFoundBody) UnmarshalBinary

func (o *PodExistsLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodExistsLibpodNotFoundBody) Validate

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

Validate validates this pod exists libpod not found body

type PodExistsLibpodParams

type PodExistsLibpodParams struct {

	/* Name.

	   the name or ID of the pod
	*/
	Name string

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

PodExistsLibpodParams contains all the parameters to send to the API endpoint

for the pod exists libpod operation.

Typically these are written to a http.Request.

func NewPodExistsLibpodParams

func NewPodExistsLibpodParams() *PodExistsLibpodParams

NewPodExistsLibpodParams creates a new PodExistsLibpodParams 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 NewPodExistsLibpodParamsWithContext

func NewPodExistsLibpodParamsWithContext(ctx context.Context) *PodExistsLibpodParams

NewPodExistsLibpodParamsWithContext creates a new PodExistsLibpodParams object with the ability to set a context for a request.

func NewPodExistsLibpodParamsWithHTTPClient

func NewPodExistsLibpodParamsWithHTTPClient(client *http.Client) *PodExistsLibpodParams

NewPodExistsLibpodParamsWithHTTPClient creates a new PodExistsLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodExistsLibpodParamsWithTimeout

func NewPodExistsLibpodParamsWithTimeout(timeout time.Duration) *PodExistsLibpodParams

NewPodExistsLibpodParamsWithTimeout creates a new PodExistsLibpodParams object with the ability to set a timeout on a request.

func (*PodExistsLibpodParams) SetContext

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

SetContext adds the context to the pod exists libpod params

func (*PodExistsLibpodParams) SetDefaults

func (o *PodExistsLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod exists libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodExistsLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod exists libpod params

func (*PodExistsLibpodParams) SetName

func (o *PodExistsLibpodParams) SetName(name string)

SetName adds the name to the pod exists libpod params

func (*PodExistsLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod exists libpod params

func (*PodExistsLibpodParams) WithContext

WithContext adds the context to the pod exists libpod params

func (*PodExistsLibpodParams) WithDefaults

func (o *PodExistsLibpodParams) WithDefaults() *PodExistsLibpodParams

WithDefaults hydrates default values in the pod exists libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodExistsLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod exists libpod params

func (*PodExistsLibpodParams) WithName

WithName adds the name to the pod exists libpod params

func (*PodExistsLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod exists libpod params

func (*PodExistsLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodExistsLibpodReader

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

PodExistsLibpodReader is a Reader for the PodExistsLibpod structure.

func (*PodExistsLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodInspectLibpodInternalServerError

type PodInspectLibpodInternalServerError struct {
	Payload *PodInspectLibpodInternalServerErrorBody
}

PodInspectLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodInspectLibpodInternalServerError

func NewPodInspectLibpodInternalServerError() *PodInspectLibpodInternalServerError

NewPodInspectLibpodInternalServerError creates a PodInspectLibpodInternalServerError with default headers values

func (*PodInspectLibpodInternalServerError) Error

func (*PodInspectLibpodInternalServerError) GetPayload

func (*PodInspectLibpodInternalServerError) IsClientError

func (o *PodInspectLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod inspect libpod internal server error response has a 4xx status code

func (*PodInspectLibpodInternalServerError) IsCode

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

func (*PodInspectLibpodInternalServerError) IsRedirect

func (o *PodInspectLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod inspect libpod internal server error response has a 3xx status code

func (*PodInspectLibpodInternalServerError) IsServerError

func (o *PodInspectLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod inspect libpod internal server error response has a 5xx status code

func (*PodInspectLibpodInternalServerError) IsSuccess

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

func (*PodInspectLibpodInternalServerError) String

type PodInspectLibpodInternalServerErrorBody

type PodInspectLibpodInternalServerErrorBody 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"`
}

PodInspectLibpodInternalServerErrorBody pod inspect libpod internal server error body swagger:model PodInspectLibpodInternalServerErrorBody

func (*PodInspectLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this pod inspect libpod internal server error body based on context it is used

func (*PodInspectLibpodInternalServerErrorBody) MarshalBinary

func (o *PodInspectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodInspectLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodInspectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodInspectLibpodInternalServerErrorBody) Validate

Validate validates this pod inspect libpod internal server error body

type PodInspectLibpodNotFound

type PodInspectLibpodNotFound struct {
	Payload *PodInspectLibpodNotFoundBody
}

PodInspectLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodInspectLibpodNotFound

func NewPodInspectLibpodNotFound() *PodInspectLibpodNotFound

NewPodInspectLibpodNotFound creates a PodInspectLibpodNotFound with default headers values

func (*PodInspectLibpodNotFound) Error

func (o *PodInspectLibpodNotFound) Error() string

func (*PodInspectLibpodNotFound) GetPayload

func (*PodInspectLibpodNotFound) IsClientError

func (o *PodInspectLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod inspect libpod not found response has a 4xx status code

func (*PodInspectLibpodNotFound) IsCode

func (o *PodInspectLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod inspect libpod not found response a status code equal to that given

func (*PodInspectLibpodNotFound) IsRedirect

func (o *PodInspectLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod inspect libpod not found response has a 3xx status code

func (*PodInspectLibpodNotFound) IsServerError

func (o *PodInspectLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod inspect libpod not found response has a 5xx status code

func (*PodInspectLibpodNotFound) IsSuccess

func (o *PodInspectLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod inspect libpod not found response has a 2xx status code

func (*PodInspectLibpodNotFound) String

func (o *PodInspectLibpodNotFound) String() string

type PodInspectLibpodNotFoundBody

type PodInspectLibpodNotFoundBody 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"`
}

PodInspectLibpodNotFoundBody pod inspect libpod not found body swagger:model PodInspectLibpodNotFoundBody

func (*PodInspectLibpodNotFoundBody) ContextValidate

func (o *PodInspectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod inspect libpod not found body based on context it is used

func (*PodInspectLibpodNotFoundBody) MarshalBinary

func (o *PodInspectLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodInspectLibpodNotFoundBody) UnmarshalBinary

func (o *PodInspectLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodInspectLibpodNotFoundBody) Validate

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

Validate validates this pod inspect libpod not found body

type PodInspectLibpodOK

type PodInspectLibpodOK struct {
	Payload *PodInspectLibpodOKBody
}

PodInspectLibpodOK describes a response with status code 200, with default header values.

Inspect pod

func NewPodInspectLibpodOK

func NewPodInspectLibpodOK() *PodInspectLibpodOK

NewPodInspectLibpodOK creates a PodInspectLibpodOK with default headers values

func (*PodInspectLibpodOK) Error

func (o *PodInspectLibpodOK) Error() string

func (*PodInspectLibpodOK) GetPayload

func (o *PodInspectLibpodOK) GetPayload() *PodInspectLibpodOKBody

func (*PodInspectLibpodOK) IsClientError

func (o *PodInspectLibpodOK) IsClientError() bool

IsClientError returns true when this pod inspect libpod o k response has a 4xx status code

func (*PodInspectLibpodOK) IsCode

func (o *PodInspectLibpodOK) IsCode(code int) bool

IsCode returns true when this pod inspect libpod o k response a status code equal to that given

func (*PodInspectLibpodOK) IsRedirect

func (o *PodInspectLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod inspect libpod o k response has a 3xx status code

func (*PodInspectLibpodOK) IsServerError

func (o *PodInspectLibpodOK) IsServerError() bool

IsServerError returns true when this pod inspect libpod o k response has a 5xx status code

func (*PodInspectLibpodOK) IsSuccess

func (o *PodInspectLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod inspect libpod o k response has a 2xx status code

func (*PodInspectLibpodOK) String

func (o *PodInspectLibpodOK) String() string

type PodInspectLibpodOKBody

type PodInspectLibpodOKBody struct {

	// BlkioDeviceReadBps contains the Read/Access limit for the pod's devices
	BlkioDeviceReadBps []*models.InspectBlkioThrottleDevice `json:"device_read_bps"`

	// CPUPeriod contains the CPU period of the pod
	CPUPeriod uint64 `json:"cpu_period,omitempty"`

	// CPUQuota contains the CPU quota of the pod
	CPUQuota int64 `json:"cpu_quota,omitempty"`

	// CPUSetCPUs contains linux specific CPU data for the pod
	CPUSetCPUs string `json:"cpuset_cpus,omitempty"`

	// CgroupParent is the parent of the pod's Cgroup.
	CgroupParent string `json:"CgroupParent,omitempty"`

	// CgroupPath is the path to the pod's Cgroup.
	CgroupPath string `json:"CgroupPath,omitempty"`

	// Containers gives a brief summary of all containers in the pod and
	// their current status.
	Containers []*models.InspectPodContainerInfo `json:"Containers"`

	// CreateCgroup is whether this pod will create its own Cgroup to group
	// containers under.
	CreateCgroup bool `json:"CreateCgroup,omitempty"`

	// CreateCommand is the full command plus arguments of the process the
	// container has been created with.
	CreateCommand []string `json:"CreateCommand"`

	// CreateInfra is whether this pod will create an infra container to
	// share namespaces.
	CreateInfra bool `json:"CreateInfra,omitempty"`

	// Created is the time when the pod was created.
	// Format: date-time
	Created strfmt.DateTime `json:"Created,omitempty"`

	// Devices contains the specified host devices
	Devices []*models.InspectDevice `json:"devices"`

	// Hostname is the hostname that the pod will set.
	Hostname string `json:"Hostname,omitempty"`

	// ID is the ID of the pod.
	ID string `json:"Id,omitempty"`

	// infra config
	InfraConfig *models.InspectPodInfraConfig `json:"InfraConfig,omitempty"`

	// InfraContainerID is the ID of the pod's infra container, if one is
	// present.
	InfraContainerID string `json:"InfraContainerID,omitempty"`

	// Labels is a set of key-value labels that have been applied to the
	// pod.
	Labels map[string]string `json:"Labels,omitempty"`

	// Mounts contains volume related information for the pod
	Mounts []*models.InspectMount `json:"mounts"`

	// Name is the name of the pod.
	Name string `json:"Name,omitempty"`

	// Namespace is the Libpod namespace the pod is placed in.
	Namespace string `json:"Namespace,omitempty"`

	// NumContainers is the number of containers in the pod, including the
	// infra container.
	NumContainers uint64 `json:"NumContainers,omitempty"`

	// SecurityOpt contains the specified security labels and related SELinux information
	SecurityOpts []string `json:"security_opt"`

	// SharedNamespaces contains a list of namespaces that will be shared by
	// containers within the pod. Can only be set if CreateInfra is true.
	SharedNamespaces []string `json:"SharedNamespaces"`

	// State represents the current state of the pod.
	State string `json:"State,omitempty"`

	// VolumesFrom contains the containers that the pod inherits mounts from
	VolumesFrom []string `json:"volumes_from"`
}

PodInspectLibpodOKBody pod inspect libpod o k body swagger:model PodInspectLibpodOKBody

func (*PodInspectLibpodOKBody) ContextValidate

func (o *PodInspectLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pod inspect libpod o k body based on the context it is used

func (*PodInspectLibpodOKBody) MarshalBinary

func (o *PodInspectLibpodOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodInspectLibpodOKBody) UnmarshalBinary

func (o *PodInspectLibpodOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodInspectLibpodOKBody) Validate

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

Validate validates this pod inspect libpod o k body

type PodInspectLibpodParams

type PodInspectLibpodParams struct {

	/* Name.

	   the name or ID of the pod
	*/
	Name string

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

PodInspectLibpodParams contains all the parameters to send to the API endpoint

for the pod inspect libpod operation.

Typically these are written to a http.Request.

func NewPodInspectLibpodParams

func NewPodInspectLibpodParams() *PodInspectLibpodParams

NewPodInspectLibpodParams creates a new PodInspectLibpodParams 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 NewPodInspectLibpodParamsWithContext

func NewPodInspectLibpodParamsWithContext(ctx context.Context) *PodInspectLibpodParams

NewPodInspectLibpodParamsWithContext creates a new PodInspectLibpodParams object with the ability to set a context for a request.

func NewPodInspectLibpodParamsWithHTTPClient

func NewPodInspectLibpodParamsWithHTTPClient(client *http.Client) *PodInspectLibpodParams

NewPodInspectLibpodParamsWithHTTPClient creates a new PodInspectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodInspectLibpodParamsWithTimeout

func NewPodInspectLibpodParamsWithTimeout(timeout time.Duration) *PodInspectLibpodParams

NewPodInspectLibpodParamsWithTimeout creates a new PodInspectLibpodParams object with the ability to set a timeout on a request.

func (*PodInspectLibpodParams) SetContext

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

SetContext adds the context to the pod inspect libpod params

func (*PodInspectLibpodParams) SetDefaults

func (o *PodInspectLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod inspect libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodInspectLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod inspect libpod params

func (*PodInspectLibpodParams) SetName

func (o *PodInspectLibpodParams) SetName(name string)

SetName adds the name to the pod inspect libpod params

func (*PodInspectLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod inspect libpod params

func (*PodInspectLibpodParams) WithContext

WithContext adds the context to the pod inspect libpod params

func (*PodInspectLibpodParams) WithDefaults

WithDefaults hydrates default values in the pod inspect libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodInspectLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod inspect libpod params

func (*PodInspectLibpodParams) WithName

WithName adds the name to the pod inspect libpod params

func (*PodInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the pod inspect libpod params

func (*PodInspectLibpodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PodInspectLibpodReader

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

PodInspectLibpodReader is a Reader for the PodInspectLibpod structure.

func (*PodInspectLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodKillLibpodBadRequest

type PodKillLibpodBadRequest struct {
	Payload *PodKillLibpodBadRequestBody
}

PodKillLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodKillLibpodBadRequest

func NewPodKillLibpodBadRequest() *PodKillLibpodBadRequest

NewPodKillLibpodBadRequest creates a PodKillLibpodBadRequest with default headers values

func (*PodKillLibpodBadRequest) Error

func (o *PodKillLibpodBadRequest) Error() string

func (*PodKillLibpodBadRequest) GetPayload

func (*PodKillLibpodBadRequest) IsClientError

func (o *PodKillLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod kill libpod bad request response has a 4xx status code

func (*PodKillLibpodBadRequest) IsCode

func (o *PodKillLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod kill libpod bad request response a status code equal to that given

func (*PodKillLibpodBadRequest) IsRedirect

func (o *PodKillLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod kill libpod bad request response has a 3xx status code

func (*PodKillLibpodBadRequest) IsServerError

func (o *PodKillLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod kill libpod bad request response has a 5xx status code

func (*PodKillLibpodBadRequest) IsSuccess

func (o *PodKillLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod kill libpod bad request response has a 2xx status code

func (*PodKillLibpodBadRequest) String

func (o *PodKillLibpodBadRequest) String() string

type PodKillLibpodBadRequestBody

type PodKillLibpodBadRequestBody 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"`
}

PodKillLibpodBadRequestBody pod kill libpod bad request body swagger:model PodKillLibpodBadRequestBody

func (*PodKillLibpodBadRequestBody) ContextValidate

func (o *PodKillLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod kill libpod bad request body based on context it is used

func (*PodKillLibpodBadRequestBody) MarshalBinary

func (o *PodKillLibpodBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodKillLibpodBadRequestBody) UnmarshalBinary

func (o *PodKillLibpodBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodKillLibpodBadRequestBody) Validate

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

Validate validates this pod kill libpod bad request body

type PodKillLibpodConflict

type PodKillLibpodConflict struct {
	Payload *models.PodKillReport
}

PodKillLibpodConflict describes a response with status code 409, with default header values.

Kill Pod

func NewPodKillLibpodConflict

func NewPodKillLibpodConflict() *PodKillLibpodConflict

NewPodKillLibpodConflict creates a PodKillLibpodConflict with default headers values

func (*PodKillLibpodConflict) Error

func (o *PodKillLibpodConflict) Error() string

func (*PodKillLibpodConflict) GetPayload

func (o *PodKillLibpodConflict) GetPayload() *models.PodKillReport

func (*PodKillLibpodConflict) IsClientError

func (o *PodKillLibpodConflict) IsClientError() bool

IsClientError returns true when this pod kill libpod conflict response has a 4xx status code

func (*PodKillLibpodConflict) IsCode

func (o *PodKillLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod kill libpod conflict response a status code equal to that given

func (*PodKillLibpodConflict) IsRedirect

func (o *PodKillLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod kill libpod conflict response has a 3xx status code

func (*PodKillLibpodConflict) IsServerError

func (o *PodKillLibpodConflict) IsServerError() bool

IsServerError returns true when this pod kill libpod conflict response has a 5xx status code

func (*PodKillLibpodConflict) IsSuccess

func (o *PodKillLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod kill libpod conflict response has a 2xx status code

func (*PodKillLibpodConflict) String

func (o *PodKillLibpodConflict) String() string

type PodKillLibpodInternalServerError

type PodKillLibpodInternalServerError struct {
	Payload *PodKillLibpodInternalServerErrorBody
}

PodKillLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodKillLibpodInternalServerError

func NewPodKillLibpodInternalServerError() *PodKillLibpodInternalServerError

NewPodKillLibpodInternalServerError creates a PodKillLibpodInternalServerError with default headers values

func (*PodKillLibpodInternalServerError) Error

func (*PodKillLibpodInternalServerError) GetPayload

func (*PodKillLibpodInternalServerError) IsClientError

func (o *PodKillLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod kill libpod internal server error response has a 4xx status code

func (*PodKillLibpodInternalServerError) IsCode

func (o *PodKillLibpodInternalServerError) IsCode(code int) bool

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

func (*PodKillLibpodInternalServerError) IsRedirect

func (o *PodKillLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod kill libpod internal server error response has a 3xx status code

func (*PodKillLibpodInternalServerError) IsServerError

func (o *PodKillLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod kill libpod internal server error response has a 5xx status code

func (*PodKillLibpodInternalServerError) IsSuccess

func (o *PodKillLibpodInternalServerError) IsSuccess() bool

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

func (*PodKillLibpodInternalServerError) String

type PodKillLibpodInternalServerErrorBody

type PodKillLibpodInternalServerErrorBody 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"`
}

PodKillLibpodInternalServerErrorBody pod kill libpod internal server error body swagger:model PodKillLibpodInternalServerErrorBody

func (*PodKillLibpodInternalServerErrorBody) ContextValidate

func (o *PodKillLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod kill libpod internal server error body based on context it is used

func (*PodKillLibpodInternalServerErrorBody) MarshalBinary

func (o *PodKillLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodKillLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodKillLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodKillLibpodInternalServerErrorBody) Validate

Validate validates this pod kill libpod internal server error body

type PodKillLibpodNotFound

type PodKillLibpodNotFound struct {
	Payload *PodKillLibpodNotFoundBody
}

PodKillLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodKillLibpodNotFound

func NewPodKillLibpodNotFound() *PodKillLibpodNotFound

NewPodKillLibpodNotFound creates a PodKillLibpodNotFound with default headers values

func (*PodKillLibpodNotFound) Error

func (o *PodKillLibpodNotFound) Error() string

func (*PodKillLibpodNotFound) GetPayload

func (*PodKillLibpodNotFound) IsClientError

func (o *PodKillLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod kill libpod not found response has a 4xx status code

func (*PodKillLibpodNotFound) IsCode

func (o *PodKillLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod kill libpod not found response a status code equal to that given

func (*PodKillLibpodNotFound) IsRedirect

func (o *PodKillLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod kill libpod not found response has a 3xx status code

func (*PodKillLibpodNotFound) IsServerError

func (o *PodKillLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod kill libpod not found response has a 5xx status code

func (*PodKillLibpodNotFound) IsSuccess

func (o *PodKillLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod kill libpod not found response has a 2xx status code

func (*PodKillLibpodNotFound) String

func (o *PodKillLibpodNotFound) String() string

type PodKillLibpodNotFoundBody

type PodKillLibpodNotFoundBody 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"`
}

PodKillLibpodNotFoundBody pod kill libpod not found body swagger:model PodKillLibpodNotFoundBody

func (*PodKillLibpodNotFoundBody) ContextValidate

func (o *PodKillLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod kill libpod not found body based on context it is used

func (*PodKillLibpodNotFoundBody) MarshalBinary

func (o *PodKillLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodKillLibpodNotFoundBody) UnmarshalBinary

func (o *PodKillLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodKillLibpodNotFoundBody) Validate

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

Validate validates this pod kill libpod not found body

type PodKillLibpodOK

type PodKillLibpodOK struct {
	Payload *models.PodKillReport
}

PodKillLibpodOK describes a response with status code 200, with default header values.

Kill Pod

func NewPodKillLibpodOK

func NewPodKillLibpodOK() *PodKillLibpodOK

NewPodKillLibpodOK creates a PodKillLibpodOK with default headers values

func (*PodKillLibpodOK) Error

func (o *PodKillLibpodOK) Error() string

func (*PodKillLibpodOK) GetPayload

func (o *PodKillLibpodOK) GetPayload() *models.PodKillReport

func (*PodKillLibpodOK) IsClientError

func (o *PodKillLibpodOK) IsClientError() bool

IsClientError returns true when this pod kill libpod o k response has a 4xx status code

func (*PodKillLibpodOK) IsCode

func (o *PodKillLibpodOK) IsCode(code int) bool

IsCode returns true when this pod kill libpod o k response a status code equal to that given

func (*PodKillLibpodOK) IsRedirect

func (o *PodKillLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod kill libpod o k response has a 3xx status code

func (*PodKillLibpodOK) IsServerError

func (o *PodKillLibpodOK) IsServerError() bool

IsServerError returns true when this pod kill libpod o k response has a 5xx status code

func (*PodKillLibpodOK) IsSuccess

func (o *PodKillLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod kill libpod o k response has a 2xx status code

func (*PodKillLibpodOK) String

func (o *PodKillLibpodOK) String() string

type PodKillLibpodParams

type PodKillLibpodParams struct {

	/* Name.

	   the name or ID of the pod
	*/
	Name string

	/* Signal.

	   signal to be sent to pod

	   Default: "SIGKILL"
	*/
	Signal *string

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

PodKillLibpodParams contains all the parameters to send to the API endpoint

for the pod kill libpod operation.

Typically these are written to a http.Request.

func NewPodKillLibpodParams

func NewPodKillLibpodParams() *PodKillLibpodParams

NewPodKillLibpodParams creates a new PodKillLibpodParams 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 NewPodKillLibpodParamsWithContext

func NewPodKillLibpodParamsWithContext(ctx context.Context) *PodKillLibpodParams

NewPodKillLibpodParamsWithContext creates a new PodKillLibpodParams object with the ability to set a context for a request.

func NewPodKillLibpodParamsWithHTTPClient

func NewPodKillLibpodParamsWithHTTPClient(client *http.Client) *PodKillLibpodParams

NewPodKillLibpodParamsWithHTTPClient creates a new PodKillLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodKillLibpodParamsWithTimeout

func NewPodKillLibpodParamsWithTimeout(timeout time.Duration) *PodKillLibpodParams

NewPodKillLibpodParamsWithTimeout creates a new PodKillLibpodParams object with the ability to set a timeout on a request.

func (*PodKillLibpodParams) SetContext

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

SetContext adds the context to the pod kill libpod params

func (*PodKillLibpodParams) SetDefaults

func (o *PodKillLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod kill libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodKillLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod kill libpod params

func (*PodKillLibpodParams) SetName

func (o *PodKillLibpodParams) SetName(name string)

SetName adds the name to the pod kill libpod params

func (*PodKillLibpodParams) SetSignal

func (o *PodKillLibpodParams) SetSignal(signal *string)

SetSignal adds the signal to the pod kill libpod params

func (*PodKillLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod kill libpod params

func (*PodKillLibpodParams) WithContext

WithContext adds the context to the pod kill libpod params

func (*PodKillLibpodParams) WithDefaults

func (o *PodKillLibpodParams) WithDefaults() *PodKillLibpodParams

WithDefaults hydrates default values in the pod kill libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodKillLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod kill libpod params

func (*PodKillLibpodParams) WithName

func (o *PodKillLibpodParams) WithName(name string) *PodKillLibpodParams

WithName adds the name to the pod kill libpod params

func (*PodKillLibpodParams) WithSignal

func (o *PodKillLibpodParams) WithSignal(signal *string) *PodKillLibpodParams

WithSignal adds the signal to the pod kill libpod params

func (*PodKillLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod kill libpod params

func (*PodKillLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodKillLibpodReader

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

PodKillLibpodReader is a Reader for the PodKillLibpod structure.

func (*PodKillLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodListLibpodBadRequest

type PodListLibpodBadRequest struct {
	Payload *PodListLibpodBadRequestBody
}

PodListLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodListLibpodBadRequest

func NewPodListLibpodBadRequest() *PodListLibpodBadRequest

NewPodListLibpodBadRequest creates a PodListLibpodBadRequest with default headers values

func (*PodListLibpodBadRequest) Error

func (o *PodListLibpodBadRequest) Error() string

func (*PodListLibpodBadRequest) GetPayload

func (*PodListLibpodBadRequest) IsClientError

func (o *PodListLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod list libpod bad request response has a 4xx status code

func (*PodListLibpodBadRequest) IsCode

func (o *PodListLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod list libpod bad request response a status code equal to that given

func (*PodListLibpodBadRequest) IsRedirect

func (o *PodListLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod list libpod bad request response has a 3xx status code

func (*PodListLibpodBadRequest) IsServerError

func (o *PodListLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod list libpod bad request response has a 5xx status code

func (*PodListLibpodBadRequest) IsSuccess

func (o *PodListLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod list libpod bad request response has a 2xx status code

func (*PodListLibpodBadRequest) String

func (o *PodListLibpodBadRequest) String() string

type PodListLibpodBadRequestBody

type PodListLibpodBadRequestBody 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"`
}

PodListLibpodBadRequestBody pod list libpod bad request body swagger:model PodListLibpodBadRequestBody

func (*PodListLibpodBadRequestBody) ContextValidate

func (o *PodListLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod list libpod bad request body based on context it is used

func (*PodListLibpodBadRequestBody) MarshalBinary

func (o *PodListLibpodBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodListLibpodBadRequestBody) UnmarshalBinary

func (o *PodListLibpodBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodListLibpodBadRequestBody) Validate

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

Validate validates this pod list libpod bad request body

type PodListLibpodInternalServerError

type PodListLibpodInternalServerError struct {
	Payload *PodListLibpodInternalServerErrorBody
}

PodListLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodListLibpodInternalServerError

func NewPodListLibpodInternalServerError() *PodListLibpodInternalServerError

NewPodListLibpodInternalServerError creates a PodListLibpodInternalServerError with default headers values

func (*PodListLibpodInternalServerError) Error

func (*PodListLibpodInternalServerError) GetPayload

func (*PodListLibpodInternalServerError) IsClientError

func (o *PodListLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod list libpod internal server error response has a 4xx status code

func (*PodListLibpodInternalServerError) IsCode

func (o *PodListLibpodInternalServerError) IsCode(code int) bool

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

func (*PodListLibpodInternalServerError) IsRedirect

func (o *PodListLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod list libpod internal server error response has a 3xx status code

func (*PodListLibpodInternalServerError) IsServerError

func (o *PodListLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod list libpod internal server error response has a 5xx status code

func (*PodListLibpodInternalServerError) IsSuccess

func (o *PodListLibpodInternalServerError) IsSuccess() bool

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

func (*PodListLibpodInternalServerError) String

type PodListLibpodInternalServerErrorBody

type PodListLibpodInternalServerErrorBody 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"`
}

PodListLibpodInternalServerErrorBody pod list libpod internal server error body swagger:model PodListLibpodInternalServerErrorBody

func (*PodListLibpodInternalServerErrorBody) ContextValidate

func (o *PodListLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod list libpod internal server error body based on context it is used

func (*PodListLibpodInternalServerErrorBody) MarshalBinary

func (o *PodListLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodListLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodListLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodListLibpodInternalServerErrorBody) Validate

Validate validates this pod list libpod internal server error body

type PodListLibpodOK

type PodListLibpodOK struct {
	Payload []*models.ListPodsReport
}

PodListLibpodOK describes a response with status code 200, with default header values.

List pods

func NewPodListLibpodOK

func NewPodListLibpodOK() *PodListLibpodOK

NewPodListLibpodOK creates a PodListLibpodOK with default headers values

func (*PodListLibpodOK) Error

func (o *PodListLibpodOK) Error() string

func (*PodListLibpodOK) GetPayload

func (o *PodListLibpodOK) GetPayload() []*models.ListPodsReport

func (*PodListLibpodOK) IsClientError

func (o *PodListLibpodOK) IsClientError() bool

IsClientError returns true when this pod list libpod o k response has a 4xx status code

func (*PodListLibpodOK) IsCode

func (o *PodListLibpodOK) IsCode(code int) bool

IsCode returns true when this pod list libpod o k response a status code equal to that given

func (*PodListLibpodOK) IsRedirect

func (o *PodListLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod list libpod o k response has a 3xx status code

func (*PodListLibpodOK) IsServerError

func (o *PodListLibpodOK) IsServerError() bool

IsServerError returns true when this pod list libpod o k response has a 5xx status code

func (*PodListLibpodOK) IsSuccess

func (o *PodListLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod list libpod o k response has a 2xx status code

func (*PodListLibpodOK) String

func (o *PodListLibpodOK) String() string

type PodListLibpodParams

type PodListLibpodParams struct {

	/* Filters.

	   JSON encoded value of the filters (a map[string][]string) to process on the pods list. Available filters:
	- `id=<pod-id>` Matches all of pod id.
	- `label=<key>` or `label=<key>:<value>` Matches pods based on the presence of a label alone or a label and a value.
	- `name=<pod-name>` Matches all of pod name.
	- `until=<timestamp>` List pods 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.
	- `status=<pod-status>` Pod's status: `stopped`, `running`, `paused`, `exited`, `dead`, `created`, `degraded`.
	- `network=<pod-network>` Name or full ID of network.
	- `ctr-names=<pod-ctr-names>` Container name within the pod.
	- `ctr-ids=<pod-ctr-ids>` Container ID within the pod.
	- `ctr-status=<pod-ctr-status>` Container status within the pod.
	- `ctr-number=<pod-ctr-number>` Number of containers in the pod.

	*/
	Filters *string

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

PodListLibpodParams contains all the parameters to send to the API endpoint

for the pod list libpod operation.

Typically these are written to a http.Request.

func NewPodListLibpodParams

func NewPodListLibpodParams() *PodListLibpodParams

NewPodListLibpodParams creates a new PodListLibpodParams 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 NewPodListLibpodParamsWithContext

func NewPodListLibpodParamsWithContext(ctx context.Context) *PodListLibpodParams

NewPodListLibpodParamsWithContext creates a new PodListLibpodParams object with the ability to set a context for a request.

func NewPodListLibpodParamsWithHTTPClient

func NewPodListLibpodParamsWithHTTPClient(client *http.Client) *PodListLibpodParams

NewPodListLibpodParamsWithHTTPClient creates a new PodListLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodListLibpodParamsWithTimeout

func NewPodListLibpodParamsWithTimeout(timeout time.Duration) *PodListLibpodParams

NewPodListLibpodParamsWithTimeout creates a new PodListLibpodParams object with the ability to set a timeout on a request.

func (*PodListLibpodParams) SetContext

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

SetContext adds the context to the pod list libpod params

func (*PodListLibpodParams) SetDefaults

func (o *PodListLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod list libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodListLibpodParams) SetFilters

func (o *PodListLibpodParams) SetFilters(filters *string)

SetFilters adds the filters to the pod list libpod params

func (*PodListLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod list libpod params

func (*PodListLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod list libpod params

func (*PodListLibpodParams) WithContext

WithContext adds the context to the pod list libpod params

func (*PodListLibpodParams) WithDefaults

func (o *PodListLibpodParams) WithDefaults() *PodListLibpodParams

WithDefaults hydrates default values in the pod list libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodListLibpodParams) WithFilters

func (o *PodListLibpodParams) WithFilters(filters *string) *PodListLibpodParams

WithFilters adds the filters to the pod list libpod params

func (*PodListLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod list libpod params

func (*PodListLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod list libpod params

func (*PodListLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodListLibpodReader

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

PodListLibpodReader is a Reader for the PodListLibpod structure.

func (*PodListLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodPauseLibpodConflict

type PodPauseLibpodConflict struct {
	Payload *models.PodPauseReport
}

PodPauseLibpodConflict describes a response with status code 409, with default header values.

Pause pod

func NewPodPauseLibpodConflict

func NewPodPauseLibpodConflict() *PodPauseLibpodConflict

NewPodPauseLibpodConflict creates a PodPauseLibpodConflict with default headers values

func (*PodPauseLibpodConflict) Error

func (o *PodPauseLibpodConflict) Error() string

func (*PodPauseLibpodConflict) GetPayload

func (o *PodPauseLibpodConflict) GetPayload() *models.PodPauseReport

func (*PodPauseLibpodConflict) IsClientError

func (o *PodPauseLibpodConflict) IsClientError() bool

IsClientError returns true when this pod pause libpod conflict response has a 4xx status code

func (*PodPauseLibpodConflict) IsCode

func (o *PodPauseLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod pause libpod conflict response a status code equal to that given

func (*PodPauseLibpodConflict) IsRedirect

func (o *PodPauseLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod pause libpod conflict response has a 3xx status code

func (*PodPauseLibpodConflict) IsServerError

func (o *PodPauseLibpodConflict) IsServerError() bool

IsServerError returns true when this pod pause libpod conflict response has a 5xx status code

func (*PodPauseLibpodConflict) IsSuccess

func (o *PodPauseLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod pause libpod conflict response has a 2xx status code

func (*PodPauseLibpodConflict) String

func (o *PodPauseLibpodConflict) String() string

type PodPauseLibpodInternalServerError

type PodPauseLibpodInternalServerError struct {
	Payload *PodPauseLibpodInternalServerErrorBody
}

PodPauseLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodPauseLibpodInternalServerError

func NewPodPauseLibpodInternalServerError() *PodPauseLibpodInternalServerError

NewPodPauseLibpodInternalServerError creates a PodPauseLibpodInternalServerError with default headers values

func (*PodPauseLibpodInternalServerError) Error

func (*PodPauseLibpodInternalServerError) GetPayload

func (*PodPauseLibpodInternalServerError) IsClientError

func (o *PodPauseLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod pause libpod internal server error response has a 4xx status code

func (*PodPauseLibpodInternalServerError) IsCode

func (o *PodPauseLibpodInternalServerError) IsCode(code int) bool

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

func (*PodPauseLibpodInternalServerError) IsRedirect

func (o *PodPauseLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod pause libpod internal server error response has a 3xx status code

func (*PodPauseLibpodInternalServerError) IsServerError

func (o *PodPauseLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod pause libpod internal server error response has a 5xx status code

func (*PodPauseLibpodInternalServerError) IsSuccess

func (o *PodPauseLibpodInternalServerError) IsSuccess() bool

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

func (*PodPauseLibpodInternalServerError) String

type PodPauseLibpodInternalServerErrorBody

type PodPauseLibpodInternalServerErrorBody 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"`
}

PodPauseLibpodInternalServerErrorBody pod pause libpod internal server error body swagger:model PodPauseLibpodInternalServerErrorBody

func (*PodPauseLibpodInternalServerErrorBody) ContextValidate

func (o *PodPauseLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod pause libpod internal server error body based on context it is used

func (*PodPauseLibpodInternalServerErrorBody) MarshalBinary

func (o *PodPauseLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodPauseLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodPauseLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodPauseLibpodInternalServerErrorBody) Validate

Validate validates this pod pause libpod internal server error body

type PodPauseLibpodNotFound

type PodPauseLibpodNotFound struct {
	Payload *PodPauseLibpodNotFoundBody
}

PodPauseLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodPauseLibpodNotFound

func NewPodPauseLibpodNotFound() *PodPauseLibpodNotFound

NewPodPauseLibpodNotFound creates a PodPauseLibpodNotFound with default headers values

func (*PodPauseLibpodNotFound) Error

func (o *PodPauseLibpodNotFound) Error() string

func (*PodPauseLibpodNotFound) GetPayload

func (*PodPauseLibpodNotFound) IsClientError

func (o *PodPauseLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod pause libpod not found response has a 4xx status code

func (*PodPauseLibpodNotFound) IsCode

func (o *PodPauseLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod pause libpod not found response a status code equal to that given

func (*PodPauseLibpodNotFound) IsRedirect

func (o *PodPauseLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod pause libpod not found response has a 3xx status code

func (*PodPauseLibpodNotFound) IsServerError

func (o *PodPauseLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod pause libpod not found response has a 5xx status code

func (*PodPauseLibpodNotFound) IsSuccess

func (o *PodPauseLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod pause libpod not found response has a 2xx status code

func (*PodPauseLibpodNotFound) String

func (o *PodPauseLibpodNotFound) String() string

type PodPauseLibpodNotFoundBody

type PodPauseLibpodNotFoundBody 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"`
}

PodPauseLibpodNotFoundBody pod pause libpod not found body swagger:model PodPauseLibpodNotFoundBody

func (*PodPauseLibpodNotFoundBody) ContextValidate

func (o *PodPauseLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod pause libpod not found body based on context it is used

func (*PodPauseLibpodNotFoundBody) MarshalBinary

func (o *PodPauseLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodPauseLibpodNotFoundBody) UnmarshalBinary

func (o *PodPauseLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodPauseLibpodNotFoundBody) Validate

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

Validate validates this pod pause libpod not found body

type PodPauseLibpodOK

type PodPauseLibpodOK struct {
	Payload *models.PodPauseReport
}

PodPauseLibpodOK describes a response with status code 200, with default header values.

Pause pod

func NewPodPauseLibpodOK

func NewPodPauseLibpodOK() *PodPauseLibpodOK

NewPodPauseLibpodOK creates a PodPauseLibpodOK with default headers values

func (*PodPauseLibpodOK) Error

func (o *PodPauseLibpodOK) Error() string

func (*PodPauseLibpodOK) GetPayload

func (o *PodPauseLibpodOK) GetPayload() *models.PodPauseReport

func (*PodPauseLibpodOK) IsClientError

func (o *PodPauseLibpodOK) IsClientError() bool

IsClientError returns true when this pod pause libpod o k response has a 4xx status code

func (*PodPauseLibpodOK) IsCode

func (o *PodPauseLibpodOK) IsCode(code int) bool

IsCode returns true when this pod pause libpod o k response a status code equal to that given

func (*PodPauseLibpodOK) IsRedirect

func (o *PodPauseLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod pause libpod o k response has a 3xx status code

func (*PodPauseLibpodOK) IsServerError

func (o *PodPauseLibpodOK) IsServerError() bool

IsServerError returns true when this pod pause libpod o k response has a 5xx status code

func (*PodPauseLibpodOK) IsSuccess

func (o *PodPauseLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod pause libpod o k response has a 2xx status code

func (*PodPauseLibpodOK) String

func (o *PodPauseLibpodOK) String() string

type PodPauseLibpodParams

type PodPauseLibpodParams struct {

	/* Name.

	   the name or ID of the pod
	*/
	Name string

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

PodPauseLibpodParams contains all the parameters to send to the API endpoint

for the pod pause libpod operation.

Typically these are written to a http.Request.

func NewPodPauseLibpodParams

func NewPodPauseLibpodParams() *PodPauseLibpodParams

NewPodPauseLibpodParams creates a new PodPauseLibpodParams 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 NewPodPauseLibpodParamsWithContext

func NewPodPauseLibpodParamsWithContext(ctx context.Context) *PodPauseLibpodParams

NewPodPauseLibpodParamsWithContext creates a new PodPauseLibpodParams object with the ability to set a context for a request.

func NewPodPauseLibpodParamsWithHTTPClient

func NewPodPauseLibpodParamsWithHTTPClient(client *http.Client) *PodPauseLibpodParams

NewPodPauseLibpodParamsWithHTTPClient creates a new PodPauseLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodPauseLibpodParamsWithTimeout

func NewPodPauseLibpodParamsWithTimeout(timeout time.Duration) *PodPauseLibpodParams

NewPodPauseLibpodParamsWithTimeout creates a new PodPauseLibpodParams object with the ability to set a timeout on a request.

func (*PodPauseLibpodParams) SetContext

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

SetContext adds the context to the pod pause libpod params

func (*PodPauseLibpodParams) SetDefaults

func (o *PodPauseLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod pause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodPauseLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod pause libpod params

func (*PodPauseLibpodParams) SetName

func (o *PodPauseLibpodParams) SetName(name string)

SetName adds the name to the pod pause libpod params

func (*PodPauseLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod pause libpod params

func (*PodPauseLibpodParams) WithContext

WithContext adds the context to the pod pause libpod params

func (*PodPauseLibpodParams) WithDefaults

func (o *PodPauseLibpodParams) WithDefaults() *PodPauseLibpodParams

WithDefaults hydrates default values in the pod pause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodPauseLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod pause libpod params

func (*PodPauseLibpodParams) WithName

WithName adds the name to the pod pause libpod params

func (*PodPauseLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod pause libpod params

func (*PodPauseLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodPauseLibpodReader

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

PodPauseLibpodReader is a Reader for the PodPauseLibpod structure.

func (*PodPauseLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodPruneLibpodBadRequest

type PodPruneLibpodBadRequest struct {
	Payload *PodPruneLibpodBadRequestBody
}

PodPruneLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodPruneLibpodBadRequest

func NewPodPruneLibpodBadRequest() *PodPruneLibpodBadRequest

NewPodPruneLibpodBadRequest creates a PodPruneLibpodBadRequest with default headers values

func (*PodPruneLibpodBadRequest) Error

func (o *PodPruneLibpodBadRequest) Error() string

func (*PodPruneLibpodBadRequest) GetPayload

func (*PodPruneLibpodBadRequest) IsClientError

func (o *PodPruneLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod prune libpod bad request response has a 4xx status code

func (*PodPruneLibpodBadRequest) IsCode

func (o *PodPruneLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod prune libpod bad request response a status code equal to that given

func (*PodPruneLibpodBadRequest) IsRedirect

func (o *PodPruneLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod prune libpod bad request response has a 3xx status code

func (*PodPruneLibpodBadRequest) IsServerError

func (o *PodPruneLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod prune libpod bad request response has a 5xx status code

func (*PodPruneLibpodBadRequest) IsSuccess

func (o *PodPruneLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod prune libpod bad request response has a 2xx status code

func (*PodPruneLibpodBadRequest) String

func (o *PodPruneLibpodBadRequest) String() string

type PodPruneLibpodBadRequestBody

type PodPruneLibpodBadRequestBody 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"`
}

PodPruneLibpodBadRequestBody pod prune libpod bad request body swagger:model PodPruneLibpodBadRequestBody

func (*PodPruneLibpodBadRequestBody) ContextValidate

func (o *PodPruneLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod prune libpod bad request body based on context it is used

func (*PodPruneLibpodBadRequestBody) MarshalBinary

func (o *PodPruneLibpodBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodPruneLibpodBadRequestBody) UnmarshalBinary

func (o *PodPruneLibpodBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodPruneLibpodBadRequestBody) Validate

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

Validate validates this pod prune libpod bad request body

type PodPruneLibpodConflict

type PodPruneLibpodConflict struct {
}

PodPruneLibpodConflict describes a response with status code 409, with default header values.

pod already exists

func NewPodPruneLibpodConflict

func NewPodPruneLibpodConflict() *PodPruneLibpodConflict

NewPodPruneLibpodConflict creates a PodPruneLibpodConflict with default headers values

func (*PodPruneLibpodConflict) Error

func (o *PodPruneLibpodConflict) Error() string

func (*PodPruneLibpodConflict) IsClientError

func (o *PodPruneLibpodConflict) IsClientError() bool

IsClientError returns true when this pod prune libpod conflict response has a 4xx status code

func (*PodPruneLibpodConflict) IsCode

func (o *PodPruneLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod prune libpod conflict response a status code equal to that given

func (*PodPruneLibpodConflict) IsRedirect

func (o *PodPruneLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod prune libpod conflict response has a 3xx status code

func (*PodPruneLibpodConflict) IsServerError

func (o *PodPruneLibpodConflict) IsServerError() bool

IsServerError returns true when this pod prune libpod conflict response has a 5xx status code

func (*PodPruneLibpodConflict) IsSuccess

func (o *PodPruneLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod prune libpod conflict response has a 2xx status code

func (*PodPruneLibpodConflict) String

func (o *PodPruneLibpodConflict) String() string

type PodPruneLibpodInternalServerError

type PodPruneLibpodInternalServerError struct {
	Payload *PodPruneLibpodInternalServerErrorBody
}

PodPruneLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodPruneLibpodInternalServerError

func NewPodPruneLibpodInternalServerError() *PodPruneLibpodInternalServerError

NewPodPruneLibpodInternalServerError creates a PodPruneLibpodInternalServerError with default headers values

func (*PodPruneLibpodInternalServerError) Error

func (*PodPruneLibpodInternalServerError) GetPayload

func (*PodPruneLibpodInternalServerError) IsClientError

func (o *PodPruneLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod prune libpod internal server error response has a 4xx status code

func (*PodPruneLibpodInternalServerError) IsCode

func (o *PodPruneLibpodInternalServerError) IsCode(code int) bool

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

func (*PodPruneLibpodInternalServerError) IsRedirect

func (o *PodPruneLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod prune libpod internal server error response has a 3xx status code

func (*PodPruneLibpodInternalServerError) IsServerError

func (o *PodPruneLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod prune libpod internal server error response has a 5xx status code

func (*PodPruneLibpodInternalServerError) IsSuccess

func (o *PodPruneLibpodInternalServerError) IsSuccess() bool

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

func (*PodPruneLibpodInternalServerError) String

type PodPruneLibpodInternalServerErrorBody

type PodPruneLibpodInternalServerErrorBody 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"`
}

PodPruneLibpodInternalServerErrorBody pod prune libpod internal server error body swagger:model PodPruneLibpodInternalServerErrorBody

func (*PodPruneLibpodInternalServerErrorBody) ContextValidate

func (o *PodPruneLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod prune libpod internal server error body based on context it is used

func (*PodPruneLibpodInternalServerErrorBody) MarshalBinary

func (o *PodPruneLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodPruneLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodPruneLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodPruneLibpodInternalServerErrorBody) Validate

Validate validates this pod prune libpod internal server error body

type PodPruneLibpodOK

type PodPruneLibpodOK struct {
	Payload *models.PodPruneReport
}

PodPruneLibpodOK describes a response with status code 200, with default header values.

Prune pod

func NewPodPruneLibpodOK

func NewPodPruneLibpodOK() *PodPruneLibpodOK

NewPodPruneLibpodOK creates a PodPruneLibpodOK with default headers values

func (*PodPruneLibpodOK) Error

func (o *PodPruneLibpodOK) Error() string

func (*PodPruneLibpodOK) GetPayload

func (o *PodPruneLibpodOK) GetPayload() *models.PodPruneReport

func (*PodPruneLibpodOK) IsClientError

func (o *PodPruneLibpodOK) IsClientError() bool

IsClientError returns true when this pod prune libpod o k response has a 4xx status code

func (*PodPruneLibpodOK) IsCode

func (o *PodPruneLibpodOK) IsCode(code int) bool

IsCode returns true when this pod prune libpod o k response a status code equal to that given

func (*PodPruneLibpodOK) IsRedirect

func (o *PodPruneLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod prune libpod o k response has a 3xx status code

func (*PodPruneLibpodOK) IsServerError

func (o *PodPruneLibpodOK) IsServerError() bool

IsServerError returns true when this pod prune libpod o k response has a 5xx status code

func (*PodPruneLibpodOK) IsSuccess

func (o *PodPruneLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod prune libpod o k response has a 2xx status code

func (*PodPruneLibpodOK) String

func (o *PodPruneLibpodOK) String() string

type PodPruneLibpodParams

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

PodPruneLibpodParams contains all the parameters to send to the API endpoint

for the pod prune libpod operation.

Typically these are written to a http.Request.

func NewPodPruneLibpodParams

func NewPodPruneLibpodParams() *PodPruneLibpodParams

NewPodPruneLibpodParams creates a new PodPruneLibpodParams 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 NewPodPruneLibpodParamsWithContext

func NewPodPruneLibpodParamsWithContext(ctx context.Context) *PodPruneLibpodParams

NewPodPruneLibpodParamsWithContext creates a new PodPruneLibpodParams object with the ability to set a context for a request.

func NewPodPruneLibpodParamsWithHTTPClient

func NewPodPruneLibpodParamsWithHTTPClient(client *http.Client) *PodPruneLibpodParams

NewPodPruneLibpodParamsWithHTTPClient creates a new PodPruneLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodPruneLibpodParamsWithTimeout

func NewPodPruneLibpodParamsWithTimeout(timeout time.Duration) *PodPruneLibpodParams

NewPodPruneLibpodParamsWithTimeout creates a new PodPruneLibpodParams object with the ability to set a timeout on a request.

func (*PodPruneLibpodParams) SetContext

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

SetContext adds the context to the pod prune libpod params

func (*PodPruneLibpodParams) SetDefaults

func (o *PodPruneLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod prune libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodPruneLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod prune libpod params

func (*PodPruneLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod prune libpod params

func (*PodPruneLibpodParams) WithContext

WithContext adds the context to the pod prune libpod params

func (*PodPruneLibpodParams) WithDefaults

func (o *PodPruneLibpodParams) WithDefaults() *PodPruneLibpodParams

WithDefaults hydrates default values in the pod prune libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodPruneLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod prune libpod params

func (*PodPruneLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod prune libpod params

func (*PodPruneLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodPruneLibpodReader

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

PodPruneLibpodReader is a Reader for the PodPruneLibpod structure.

func (*PodPruneLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodRestartLibpodConflict

type PodRestartLibpodConflict struct {
	Payload *models.PodRestartReport
}

PodRestartLibpodConflict describes a response with status code 409, with default header values.

Restart pod

func NewPodRestartLibpodConflict

func NewPodRestartLibpodConflict() *PodRestartLibpodConflict

NewPodRestartLibpodConflict creates a PodRestartLibpodConflict with default headers values

func (*PodRestartLibpodConflict) Error

func (o *PodRestartLibpodConflict) Error() string

func (*PodRestartLibpodConflict) GetPayload

func (*PodRestartLibpodConflict) IsClientError

func (o *PodRestartLibpodConflict) IsClientError() bool

IsClientError returns true when this pod restart libpod conflict response has a 4xx status code

func (*PodRestartLibpodConflict) IsCode

func (o *PodRestartLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod restart libpod conflict response a status code equal to that given

func (*PodRestartLibpodConflict) IsRedirect

func (o *PodRestartLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod restart libpod conflict response has a 3xx status code

func (*PodRestartLibpodConflict) IsServerError

func (o *PodRestartLibpodConflict) IsServerError() bool

IsServerError returns true when this pod restart libpod conflict response has a 5xx status code

func (*PodRestartLibpodConflict) IsSuccess

func (o *PodRestartLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod restart libpod conflict response has a 2xx status code

func (*PodRestartLibpodConflict) String

func (o *PodRestartLibpodConflict) String() string

type PodRestartLibpodInternalServerError

type PodRestartLibpodInternalServerError struct {
	Payload *PodRestartLibpodInternalServerErrorBody
}

PodRestartLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodRestartLibpodInternalServerError

func NewPodRestartLibpodInternalServerError() *PodRestartLibpodInternalServerError

NewPodRestartLibpodInternalServerError creates a PodRestartLibpodInternalServerError with default headers values

func (*PodRestartLibpodInternalServerError) Error

func (*PodRestartLibpodInternalServerError) GetPayload

func (*PodRestartLibpodInternalServerError) IsClientError

func (o *PodRestartLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod restart libpod internal server error response has a 4xx status code

func (*PodRestartLibpodInternalServerError) IsCode

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

func (*PodRestartLibpodInternalServerError) IsRedirect

func (o *PodRestartLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod restart libpod internal server error response has a 3xx status code

func (*PodRestartLibpodInternalServerError) IsServerError

func (o *PodRestartLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod restart libpod internal server error response has a 5xx status code

func (*PodRestartLibpodInternalServerError) IsSuccess

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

func (*PodRestartLibpodInternalServerError) String

type PodRestartLibpodInternalServerErrorBody

type PodRestartLibpodInternalServerErrorBody 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"`
}

PodRestartLibpodInternalServerErrorBody pod restart libpod internal server error body swagger:model PodRestartLibpodInternalServerErrorBody

func (*PodRestartLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this pod restart libpod internal server error body based on context it is used

func (*PodRestartLibpodInternalServerErrorBody) MarshalBinary

func (o *PodRestartLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodRestartLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodRestartLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodRestartLibpodInternalServerErrorBody) Validate

Validate validates this pod restart libpod internal server error body

type PodRestartLibpodNotFound

type PodRestartLibpodNotFound struct {
	Payload *PodRestartLibpodNotFoundBody
}

PodRestartLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodRestartLibpodNotFound

func NewPodRestartLibpodNotFound() *PodRestartLibpodNotFound

NewPodRestartLibpodNotFound creates a PodRestartLibpodNotFound with default headers values

func (*PodRestartLibpodNotFound) Error

func (o *PodRestartLibpodNotFound) Error() string

func (*PodRestartLibpodNotFound) GetPayload

func (*PodRestartLibpodNotFound) IsClientError

func (o *PodRestartLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod restart libpod not found response has a 4xx status code

func (*PodRestartLibpodNotFound) IsCode

func (o *PodRestartLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod restart libpod not found response a status code equal to that given

func (*PodRestartLibpodNotFound) IsRedirect

func (o *PodRestartLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod restart libpod not found response has a 3xx status code

func (*PodRestartLibpodNotFound) IsServerError

func (o *PodRestartLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod restart libpod not found response has a 5xx status code

func (*PodRestartLibpodNotFound) IsSuccess

func (o *PodRestartLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod restart libpod not found response has a 2xx status code

func (*PodRestartLibpodNotFound) String

func (o *PodRestartLibpodNotFound) String() string

type PodRestartLibpodNotFoundBody

type PodRestartLibpodNotFoundBody 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"`
}

PodRestartLibpodNotFoundBody pod restart libpod not found body swagger:model PodRestartLibpodNotFoundBody

func (*PodRestartLibpodNotFoundBody) ContextValidate

func (o *PodRestartLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod restart libpod not found body based on context it is used

func (*PodRestartLibpodNotFoundBody) MarshalBinary

func (o *PodRestartLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodRestartLibpodNotFoundBody) UnmarshalBinary

func (o *PodRestartLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodRestartLibpodNotFoundBody) Validate

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

Validate validates this pod restart libpod not found body

type PodRestartLibpodOK

type PodRestartLibpodOK struct {
	Payload *models.PodRestartReport
}

PodRestartLibpodOK describes a response with status code 200, with default header values.

Restart pod

func NewPodRestartLibpodOK

func NewPodRestartLibpodOK() *PodRestartLibpodOK

NewPodRestartLibpodOK creates a PodRestartLibpodOK with default headers values

func (*PodRestartLibpodOK) Error

func (o *PodRestartLibpodOK) Error() string

func (*PodRestartLibpodOK) GetPayload

func (o *PodRestartLibpodOK) GetPayload() *models.PodRestartReport

func (*PodRestartLibpodOK) IsClientError

func (o *PodRestartLibpodOK) IsClientError() bool

IsClientError returns true when this pod restart libpod o k response has a 4xx status code

func (*PodRestartLibpodOK) IsCode

func (o *PodRestartLibpodOK) IsCode(code int) bool

IsCode returns true when this pod restart libpod o k response a status code equal to that given

func (*PodRestartLibpodOK) IsRedirect

func (o *PodRestartLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod restart libpod o k response has a 3xx status code

func (*PodRestartLibpodOK) IsServerError

func (o *PodRestartLibpodOK) IsServerError() bool

IsServerError returns true when this pod restart libpod o k response has a 5xx status code

func (*PodRestartLibpodOK) IsSuccess

func (o *PodRestartLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod restart libpod o k response has a 2xx status code

func (*PodRestartLibpodOK) String

func (o *PodRestartLibpodOK) String() string

type PodRestartLibpodParams

type PodRestartLibpodParams struct {

	/* Name.

	   the name or ID of the pod
	*/
	Name string

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

PodRestartLibpodParams contains all the parameters to send to the API endpoint

for the pod restart libpod operation.

Typically these are written to a http.Request.

func NewPodRestartLibpodParams

func NewPodRestartLibpodParams() *PodRestartLibpodParams

NewPodRestartLibpodParams creates a new PodRestartLibpodParams 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 NewPodRestartLibpodParamsWithContext

func NewPodRestartLibpodParamsWithContext(ctx context.Context) *PodRestartLibpodParams

NewPodRestartLibpodParamsWithContext creates a new PodRestartLibpodParams object with the ability to set a context for a request.

func NewPodRestartLibpodParamsWithHTTPClient

func NewPodRestartLibpodParamsWithHTTPClient(client *http.Client) *PodRestartLibpodParams

NewPodRestartLibpodParamsWithHTTPClient creates a new PodRestartLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodRestartLibpodParamsWithTimeout

func NewPodRestartLibpodParamsWithTimeout(timeout time.Duration) *PodRestartLibpodParams

NewPodRestartLibpodParamsWithTimeout creates a new PodRestartLibpodParams object with the ability to set a timeout on a request.

func (*PodRestartLibpodParams) SetContext

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

SetContext adds the context to the pod restart libpod params

func (*PodRestartLibpodParams) SetDefaults

func (o *PodRestartLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod restart libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodRestartLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod restart libpod params

func (*PodRestartLibpodParams) SetName

func (o *PodRestartLibpodParams) SetName(name string)

SetName adds the name to the pod restart libpod params

func (*PodRestartLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod restart libpod params

func (*PodRestartLibpodParams) WithContext

WithContext adds the context to the pod restart libpod params

func (*PodRestartLibpodParams) WithDefaults

WithDefaults hydrates default values in the pod restart libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodRestartLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod restart libpod params

func (*PodRestartLibpodParams) WithName

WithName adds the name to the pod restart libpod params

func (*PodRestartLibpodParams) WithTimeout

WithTimeout adds the timeout to the pod restart libpod params

func (*PodRestartLibpodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PodRestartLibpodReader

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

PodRestartLibpodReader is a Reader for the PodRestartLibpod structure.

func (*PodRestartLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodStartLibpodConflict

type PodStartLibpodConflict struct {
	Payload *models.PodStartReport
}

PodStartLibpodConflict describes a response with status code 409, with default header values.

Start pod

func NewPodStartLibpodConflict

func NewPodStartLibpodConflict() *PodStartLibpodConflict

NewPodStartLibpodConflict creates a PodStartLibpodConflict with default headers values

func (*PodStartLibpodConflict) Error

func (o *PodStartLibpodConflict) Error() string

func (*PodStartLibpodConflict) GetPayload

func (o *PodStartLibpodConflict) GetPayload() *models.PodStartReport

func (*PodStartLibpodConflict) IsClientError

func (o *PodStartLibpodConflict) IsClientError() bool

IsClientError returns true when this pod start libpod conflict response has a 4xx status code

func (*PodStartLibpodConflict) IsCode

func (o *PodStartLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod start libpod conflict response a status code equal to that given

func (*PodStartLibpodConflict) IsRedirect

func (o *PodStartLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod start libpod conflict response has a 3xx status code

func (*PodStartLibpodConflict) IsServerError

func (o *PodStartLibpodConflict) IsServerError() bool

IsServerError returns true when this pod start libpod conflict response has a 5xx status code

func (*PodStartLibpodConflict) IsSuccess

func (o *PodStartLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod start libpod conflict response has a 2xx status code

func (*PodStartLibpodConflict) String

func (o *PodStartLibpodConflict) String() string

type PodStartLibpodInternalServerError

type PodStartLibpodInternalServerError struct {
	Payload *PodStartLibpodInternalServerErrorBody
}

PodStartLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodStartLibpodInternalServerError

func NewPodStartLibpodInternalServerError() *PodStartLibpodInternalServerError

NewPodStartLibpodInternalServerError creates a PodStartLibpodInternalServerError with default headers values

func (*PodStartLibpodInternalServerError) Error

func (*PodStartLibpodInternalServerError) GetPayload

func (*PodStartLibpodInternalServerError) IsClientError

func (o *PodStartLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod start libpod internal server error response has a 4xx status code

func (*PodStartLibpodInternalServerError) IsCode

func (o *PodStartLibpodInternalServerError) IsCode(code int) bool

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

func (*PodStartLibpodInternalServerError) IsRedirect

func (o *PodStartLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod start libpod internal server error response has a 3xx status code

func (*PodStartLibpodInternalServerError) IsServerError

func (o *PodStartLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod start libpod internal server error response has a 5xx status code

func (*PodStartLibpodInternalServerError) IsSuccess

func (o *PodStartLibpodInternalServerError) IsSuccess() bool

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

func (*PodStartLibpodInternalServerError) String

type PodStartLibpodInternalServerErrorBody

type PodStartLibpodInternalServerErrorBody 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"`
}

PodStartLibpodInternalServerErrorBody pod start libpod internal server error body swagger:model PodStartLibpodInternalServerErrorBody

func (*PodStartLibpodInternalServerErrorBody) ContextValidate

func (o *PodStartLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod start libpod internal server error body based on context it is used

func (*PodStartLibpodInternalServerErrorBody) MarshalBinary

func (o *PodStartLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStartLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodStartLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStartLibpodInternalServerErrorBody) Validate

Validate validates this pod start libpod internal server error body

type PodStartLibpodNotFound

type PodStartLibpodNotFound struct {
	Payload *PodStartLibpodNotFoundBody
}

PodStartLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodStartLibpodNotFound

func NewPodStartLibpodNotFound() *PodStartLibpodNotFound

NewPodStartLibpodNotFound creates a PodStartLibpodNotFound with default headers values

func (*PodStartLibpodNotFound) Error

func (o *PodStartLibpodNotFound) Error() string

func (*PodStartLibpodNotFound) GetPayload

func (*PodStartLibpodNotFound) IsClientError

func (o *PodStartLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod start libpod not found response has a 4xx status code

func (*PodStartLibpodNotFound) IsCode

func (o *PodStartLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod start libpod not found response a status code equal to that given

func (*PodStartLibpodNotFound) IsRedirect

func (o *PodStartLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod start libpod not found response has a 3xx status code

func (*PodStartLibpodNotFound) IsServerError

func (o *PodStartLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod start libpod not found response has a 5xx status code

func (*PodStartLibpodNotFound) IsSuccess

func (o *PodStartLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod start libpod not found response has a 2xx status code

func (*PodStartLibpodNotFound) String

func (o *PodStartLibpodNotFound) String() string

type PodStartLibpodNotFoundBody

type PodStartLibpodNotFoundBody 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"`
}

PodStartLibpodNotFoundBody pod start libpod not found body swagger:model PodStartLibpodNotFoundBody

func (*PodStartLibpodNotFoundBody) ContextValidate

func (o *PodStartLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod start libpod not found body based on context it is used

func (*PodStartLibpodNotFoundBody) MarshalBinary

func (o *PodStartLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStartLibpodNotFoundBody) UnmarshalBinary

func (o *PodStartLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStartLibpodNotFoundBody) Validate

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

Validate validates this pod start libpod not found body

type PodStartLibpodNotModified

type PodStartLibpodNotModified struct {
	Payload *PodStartLibpodNotModifiedBody
}

PodStartLibpodNotModified describes a response with status code 304, with default header values.

Pod already started

func NewPodStartLibpodNotModified

func NewPodStartLibpodNotModified() *PodStartLibpodNotModified

NewPodStartLibpodNotModified creates a PodStartLibpodNotModified with default headers values

func (*PodStartLibpodNotModified) Error

func (o *PodStartLibpodNotModified) Error() string

func (*PodStartLibpodNotModified) GetPayload

func (*PodStartLibpodNotModified) IsClientError

func (o *PodStartLibpodNotModified) IsClientError() bool

IsClientError returns true when this pod start libpod not modified response has a 4xx status code

func (*PodStartLibpodNotModified) IsCode

func (o *PodStartLibpodNotModified) IsCode(code int) bool

IsCode returns true when this pod start libpod not modified response a status code equal to that given

func (*PodStartLibpodNotModified) IsRedirect

func (o *PodStartLibpodNotModified) IsRedirect() bool

IsRedirect returns true when this pod start libpod not modified response has a 3xx status code

func (*PodStartLibpodNotModified) IsServerError

func (o *PodStartLibpodNotModified) IsServerError() bool

IsServerError returns true when this pod start libpod not modified response has a 5xx status code

func (*PodStartLibpodNotModified) IsSuccess

func (o *PodStartLibpodNotModified) IsSuccess() bool

IsSuccess returns true when this pod start libpod not modified response has a 2xx status code

func (*PodStartLibpodNotModified) String

func (o *PodStartLibpodNotModified) String() string

type PodStartLibpodNotModifiedBody

type PodStartLibpodNotModifiedBody 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"`
}

PodStartLibpodNotModifiedBody pod start libpod not modified body swagger:model PodStartLibpodNotModifiedBody

func (*PodStartLibpodNotModifiedBody) ContextValidate

func (o *PodStartLibpodNotModifiedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod start libpod not modified body based on context it is used

func (*PodStartLibpodNotModifiedBody) MarshalBinary

func (o *PodStartLibpodNotModifiedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStartLibpodNotModifiedBody) UnmarshalBinary

func (o *PodStartLibpodNotModifiedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStartLibpodNotModifiedBody) Validate

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

Validate validates this pod start libpod not modified body

type PodStartLibpodOK

type PodStartLibpodOK struct {
	Payload *models.PodStartReport
}

PodStartLibpodOK describes a response with status code 200, with default header values.

Start pod

func NewPodStartLibpodOK

func NewPodStartLibpodOK() *PodStartLibpodOK

NewPodStartLibpodOK creates a PodStartLibpodOK with default headers values

func (*PodStartLibpodOK) Error

func (o *PodStartLibpodOK) Error() string

func (*PodStartLibpodOK) GetPayload

func (o *PodStartLibpodOK) GetPayload() *models.PodStartReport

func (*PodStartLibpodOK) IsClientError

func (o *PodStartLibpodOK) IsClientError() bool

IsClientError returns true when this pod start libpod o k response has a 4xx status code

func (*PodStartLibpodOK) IsCode

func (o *PodStartLibpodOK) IsCode(code int) bool

IsCode returns true when this pod start libpod o k response a status code equal to that given

func (*PodStartLibpodOK) IsRedirect

func (o *PodStartLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod start libpod o k response has a 3xx status code

func (*PodStartLibpodOK) IsServerError

func (o *PodStartLibpodOK) IsServerError() bool

IsServerError returns true when this pod start libpod o k response has a 5xx status code

func (*PodStartLibpodOK) IsSuccess

func (o *PodStartLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod start libpod o k response has a 2xx status code

func (*PodStartLibpodOK) String

func (o *PodStartLibpodOK) String() string

type PodStartLibpodParams

type PodStartLibpodParams struct {

	/* Name.

	   the name or ID of the pod
	*/
	Name string

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

PodStartLibpodParams contains all the parameters to send to the API endpoint

for the pod start libpod operation.

Typically these are written to a http.Request.

func NewPodStartLibpodParams

func NewPodStartLibpodParams() *PodStartLibpodParams

NewPodStartLibpodParams creates a new PodStartLibpodParams 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 NewPodStartLibpodParamsWithContext

func NewPodStartLibpodParamsWithContext(ctx context.Context) *PodStartLibpodParams

NewPodStartLibpodParamsWithContext creates a new PodStartLibpodParams object with the ability to set a context for a request.

func NewPodStartLibpodParamsWithHTTPClient

func NewPodStartLibpodParamsWithHTTPClient(client *http.Client) *PodStartLibpodParams

NewPodStartLibpodParamsWithHTTPClient creates a new PodStartLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodStartLibpodParamsWithTimeout

func NewPodStartLibpodParamsWithTimeout(timeout time.Duration) *PodStartLibpodParams

NewPodStartLibpodParamsWithTimeout creates a new PodStartLibpodParams object with the ability to set a timeout on a request.

func (*PodStartLibpodParams) SetContext

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

SetContext adds the context to the pod start libpod params

func (*PodStartLibpodParams) SetDefaults

func (o *PodStartLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod start libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStartLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod start libpod params

func (*PodStartLibpodParams) SetName

func (o *PodStartLibpodParams) SetName(name string)

SetName adds the name to the pod start libpod params

func (*PodStartLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod start libpod params

func (*PodStartLibpodParams) WithContext

WithContext adds the context to the pod start libpod params

func (*PodStartLibpodParams) WithDefaults

func (o *PodStartLibpodParams) WithDefaults() *PodStartLibpodParams

WithDefaults hydrates default values in the pod start libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStartLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod start libpod params

func (*PodStartLibpodParams) WithName

WithName adds the name to the pod start libpod params

func (*PodStartLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod start libpod params

func (*PodStartLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodStartLibpodReader

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

PodStartLibpodReader is a Reader for the PodStartLibpod structure.

func (*PodStartLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodStatsAllLibpodInternalServerError

type PodStatsAllLibpodInternalServerError struct {
	Payload *PodStatsAllLibpodInternalServerErrorBody
}

PodStatsAllLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodStatsAllLibpodInternalServerError

func NewPodStatsAllLibpodInternalServerError() *PodStatsAllLibpodInternalServerError

NewPodStatsAllLibpodInternalServerError creates a PodStatsAllLibpodInternalServerError with default headers values

func (*PodStatsAllLibpodInternalServerError) Error

func (*PodStatsAllLibpodInternalServerError) GetPayload

func (*PodStatsAllLibpodInternalServerError) IsClientError

func (o *PodStatsAllLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod stats all libpod internal server error response has a 4xx status code

func (*PodStatsAllLibpodInternalServerError) IsCode

IsCode returns true when this pod stats all libpod internal server error response a status code equal to that given

func (*PodStatsAllLibpodInternalServerError) IsRedirect

IsRedirect returns true when this pod stats all libpod internal server error response has a 3xx status code

func (*PodStatsAllLibpodInternalServerError) IsServerError

func (o *PodStatsAllLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod stats all libpod internal server error response has a 5xx status code

func (*PodStatsAllLibpodInternalServerError) IsSuccess

IsSuccess returns true when this pod stats all libpod internal server error response has a 2xx status code

func (*PodStatsAllLibpodInternalServerError) String

type PodStatsAllLibpodInternalServerErrorBody

type PodStatsAllLibpodInternalServerErrorBody 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"`
}

PodStatsAllLibpodInternalServerErrorBody pod stats all libpod internal server error body swagger:model PodStatsAllLibpodInternalServerErrorBody

func (*PodStatsAllLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this pod stats all libpod internal server error body based on context it is used

func (*PodStatsAllLibpodInternalServerErrorBody) MarshalBinary

func (o *PodStatsAllLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStatsAllLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodStatsAllLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStatsAllLibpodInternalServerErrorBody) Validate

Validate validates this pod stats all libpod internal server error body

type PodStatsAllLibpodNotFound

type PodStatsAllLibpodNotFound struct {
	Payload *PodStatsAllLibpodNotFoundBody
}

PodStatsAllLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodStatsAllLibpodNotFound

func NewPodStatsAllLibpodNotFound() *PodStatsAllLibpodNotFound

NewPodStatsAllLibpodNotFound creates a PodStatsAllLibpodNotFound with default headers values

func (*PodStatsAllLibpodNotFound) Error

func (o *PodStatsAllLibpodNotFound) Error() string

func (*PodStatsAllLibpodNotFound) GetPayload

func (*PodStatsAllLibpodNotFound) IsClientError

func (o *PodStatsAllLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod stats all libpod not found response has a 4xx status code

func (*PodStatsAllLibpodNotFound) IsCode

func (o *PodStatsAllLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod stats all libpod not found response a status code equal to that given

func (*PodStatsAllLibpodNotFound) IsRedirect

func (o *PodStatsAllLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod stats all libpod not found response has a 3xx status code

func (*PodStatsAllLibpodNotFound) IsServerError

func (o *PodStatsAllLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod stats all libpod not found response has a 5xx status code

func (*PodStatsAllLibpodNotFound) IsSuccess

func (o *PodStatsAllLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod stats all libpod not found response has a 2xx status code

func (*PodStatsAllLibpodNotFound) String

func (o *PodStatsAllLibpodNotFound) String() string

type PodStatsAllLibpodNotFoundBody

type PodStatsAllLibpodNotFoundBody 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"`
}

PodStatsAllLibpodNotFoundBody pod stats all libpod not found body swagger:model PodStatsAllLibpodNotFoundBody

func (*PodStatsAllLibpodNotFoundBody) ContextValidate

func (o *PodStatsAllLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod stats all libpod not found body based on context it is used

func (*PodStatsAllLibpodNotFoundBody) MarshalBinary

func (o *PodStatsAllLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStatsAllLibpodNotFoundBody) UnmarshalBinary

func (o *PodStatsAllLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStatsAllLibpodNotFoundBody) Validate

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

Validate validates this pod stats all libpod not found body

type PodStatsAllLibpodOK

type PodStatsAllLibpodOK struct {
	Payload *PodStatsAllLibpodOKBody
}

PodStatsAllLibpodOK describes a response with status code 200, with default header values.

List processes in pod

func NewPodStatsAllLibpodOK

func NewPodStatsAllLibpodOK() *PodStatsAllLibpodOK

NewPodStatsAllLibpodOK creates a PodStatsAllLibpodOK with default headers values

func (*PodStatsAllLibpodOK) Error

func (o *PodStatsAllLibpodOK) Error() string

func (*PodStatsAllLibpodOK) GetPayload

func (*PodStatsAllLibpodOK) IsClientError

func (o *PodStatsAllLibpodOK) IsClientError() bool

IsClientError returns true when this pod stats all libpod o k response has a 4xx status code

func (*PodStatsAllLibpodOK) IsCode

func (o *PodStatsAllLibpodOK) IsCode(code int) bool

IsCode returns true when this pod stats all libpod o k response a status code equal to that given

func (*PodStatsAllLibpodOK) IsRedirect

func (o *PodStatsAllLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod stats all libpod o k response has a 3xx status code

func (*PodStatsAllLibpodOK) IsServerError

func (o *PodStatsAllLibpodOK) IsServerError() bool

IsServerError returns true when this pod stats all libpod o k response has a 5xx status code

func (*PodStatsAllLibpodOK) IsSuccess

func (o *PodStatsAllLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod stats all libpod o k response has a 2xx status code

func (*PodStatsAllLibpodOK) String

func (o *PodStatsAllLibpodOK) String() string

type PodStatsAllLibpodOKBody

type PodStatsAllLibpodOKBody struct {

	// Each process running in the container, where each is process
	// is an array of values corresponding to the titles.
	// Required: true
	Processes [][]string `json:"Processes"`

	// The ps column titles
	// Required: true
	Titles []string `json:"Titles"`
}

PodStatsAllLibpodOKBody pod stats all libpod o k body swagger:model PodStatsAllLibpodOKBody

func (*PodStatsAllLibpodOKBody) ContextValidate

func (o *PodStatsAllLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod stats all libpod o k body based on context it is used

func (*PodStatsAllLibpodOKBody) MarshalBinary

func (o *PodStatsAllLibpodOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStatsAllLibpodOKBody) UnmarshalBinary

func (o *PodStatsAllLibpodOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStatsAllLibpodOKBody) Validate

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

Validate validates this pod stats all libpod o k body

type PodStatsAllLibpodParams

type PodStatsAllLibpodParams struct {

	/* All.

	   Provide statistics for all running pods.
	*/
	All *bool

	/* NamesOrIDs.

	   Names or IDs of pods.
	*/
	NamesOrIDs []string

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

PodStatsAllLibpodParams contains all the parameters to send to the API endpoint

for the pod stats all libpod operation.

Typically these are written to a http.Request.

func NewPodStatsAllLibpodParams

func NewPodStatsAllLibpodParams() *PodStatsAllLibpodParams

NewPodStatsAllLibpodParams creates a new PodStatsAllLibpodParams 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 NewPodStatsAllLibpodParamsWithContext

func NewPodStatsAllLibpodParamsWithContext(ctx context.Context) *PodStatsAllLibpodParams

NewPodStatsAllLibpodParamsWithContext creates a new PodStatsAllLibpodParams object with the ability to set a context for a request.

func NewPodStatsAllLibpodParamsWithHTTPClient

func NewPodStatsAllLibpodParamsWithHTTPClient(client *http.Client) *PodStatsAllLibpodParams

NewPodStatsAllLibpodParamsWithHTTPClient creates a new PodStatsAllLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodStatsAllLibpodParamsWithTimeout

func NewPodStatsAllLibpodParamsWithTimeout(timeout time.Duration) *PodStatsAllLibpodParams

NewPodStatsAllLibpodParamsWithTimeout creates a new PodStatsAllLibpodParams object with the ability to set a timeout on a request.

func (*PodStatsAllLibpodParams) SetAll

func (o *PodStatsAllLibpodParams) SetAll(all *bool)

SetAll adds the all to the pod stats all libpod params

func (*PodStatsAllLibpodParams) SetContext

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

SetContext adds the context to the pod stats all libpod params

func (*PodStatsAllLibpodParams) SetDefaults

func (o *PodStatsAllLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod stats all libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStatsAllLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod stats all libpod params

func (*PodStatsAllLibpodParams) SetNamesOrIDs

func (o *PodStatsAllLibpodParams) SetNamesOrIDs(namesOrIDs []string)

SetNamesOrIDs adds the namesOrIDs to the pod stats all libpod params

func (*PodStatsAllLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod stats all libpod params

func (*PodStatsAllLibpodParams) WithAll

WithAll adds the all to the pod stats all libpod params

func (*PodStatsAllLibpodParams) WithContext

WithContext adds the context to the pod stats all libpod params

func (*PodStatsAllLibpodParams) WithDefaults

WithDefaults hydrates default values in the pod stats all libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStatsAllLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod stats all libpod params

func (*PodStatsAllLibpodParams) WithNamesOrIDs

func (o *PodStatsAllLibpodParams) WithNamesOrIDs(namesOrIDs []string) *PodStatsAllLibpodParams

WithNamesOrIDs adds the namesOrIDs to the pod stats all libpod params

func (*PodStatsAllLibpodParams) WithTimeout

WithTimeout adds the timeout to the pod stats all libpod params

func (*PodStatsAllLibpodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PodStatsAllLibpodReader

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

PodStatsAllLibpodReader is a Reader for the PodStatsAllLibpod structure.

func (*PodStatsAllLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodStopLibpodBadRequest

type PodStopLibpodBadRequest struct {
	Payload *PodStopLibpodBadRequestBody
}

PodStopLibpodBadRequest describes a response with status code 400, with default header values.

Bad parameter in request

func NewPodStopLibpodBadRequest

func NewPodStopLibpodBadRequest() *PodStopLibpodBadRequest

NewPodStopLibpodBadRequest creates a PodStopLibpodBadRequest with default headers values

func (*PodStopLibpodBadRequest) Error

func (o *PodStopLibpodBadRequest) Error() string

func (*PodStopLibpodBadRequest) GetPayload

func (*PodStopLibpodBadRequest) IsClientError

func (o *PodStopLibpodBadRequest) IsClientError() bool

IsClientError returns true when this pod stop libpod bad request response has a 4xx status code

func (*PodStopLibpodBadRequest) IsCode

func (o *PodStopLibpodBadRequest) IsCode(code int) bool

IsCode returns true when this pod stop libpod bad request response a status code equal to that given

func (*PodStopLibpodBadRequest) IsRedirect

func (o *PodStopLibpodBadRequest) IsRedirect() bool

IsRedirect returns true when this pod stop libpod bad request response has a 3xx status code

func (*PodStopLibpodBadRequest) IsServerError

func (o *PodStopLibpodBadRequest) IsServerError() bool

IsServerError returns true when this pod stop libpod bad request response has a 5xx status code

func (*PodStopLibpodBadRequest) IsSuccess

func (o *PodStopLibpodBadRequest) IsSuccess() bool

IsSuccess returns true when this pod stop libpod bad request response has a 2xx status code

func (*PodStopLibpodBadRequest) String

func (o *PodStopLibpodBadRequest) String() string

type PodStopLibpodBadRequestBody

type PodStopLibpodBadRequestBody 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"`
}

PodStopLibpodBadRequestBody pod stop libpod bad request body swagger:model PodStopLibpodBadRequestBody

func (*PodStopLibpodBadRequestBody) ContextValidate

func (o *PodStopLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod stop libpod bad request body based on context it is used

func (*PodStopLibpodBadRequestBody) MarshalBinary

func (o *PodStopLibpodBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStopLibpodBadRequestBody) UnmarshalBinary

func (o *PodStopLibpodBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStopLibpodBadRequestBody) Validate

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

Validate validates this pod stop libpod bad request body

type PodStopLibpodConflict

type PodStopLibpodConflict struct {
	Payload *models.PodStopReport
}

PodStopLibpodConflict describes a response with status code 409, with default header values.

Stop pod

func NewPodStopLibpodConflict

func NewPodStopLibpodConflict() *PodStopLibpodConflict

NewPodStopLibpodConflict creates a PodStopLibpodConflict with default headers values

func (*PodStopLibpodConflict) Error

func (o *PodStopLibpodConflict) Error() string

func (*PodStopLibpodConflict) GetPayload

func (o *PodStopLibpodConflict) GetPayload() *models.PodStopReport

func (*PodStopLibpodConflict) IsClientError

func (o *PodStopLibpodConflict) IsClientError() bool

IsClientError returns true when this pod stop libpod conflict response has a 4xx status code

func (*PodStopLibpodConflict) IsCode

func (o *PodStopLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod stop libpod conflict response a status code equal to that given

func (*PodStopLibpodConflict) IsRedirect

func (o *PodStopLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod stop libpod conflict response has a 3xx status code

func (*PodStopLibpodConflict) IsServerError

func (o *PodStopLibpodConflict) IsServerError() bool

IsServerError returns true when this pod stop libpod conflict response has a 5xx status code

func (*PodStopLibpodConflict) IsSuccess

func (o *PodStopLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod stop libpod conflict response has a 2xx status code

func (*PodStopLibpodConflict) String

func (o *PodStopLibpodConflict) String() string

type PodStopLibpodInternalServerError

type PodStopLibpodInternalServerError struct {
	Payload *PodStopLibpodInternalServerErrorBody
}

PodStopLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodStopLibpodInternalServerError

func NewPodStopLibpodInternalServerError() *PodStopLibpodInternalServerError

NewPodStopLibpodInternalServerError creates a PodStopLibpodInternalServerError with default headers values

func (*PodStopLibpodInternalServerError) Error

func (*PodStopLibpodInternalServerError) GetPayload

func (*PodStopLibpodInternalServerError) IsClientError

func (o *PodStopLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod stop libpod internal server error response has a 4xx status code

func (*PodStopLibpodInternalServerError) IsCode

func (o *PodStopLibpodInternalServerError) IsCode(code int) bool

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

func (*PodStopLibpodInternalServerError) IsRedirect

func (o *PodStopLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod stop libpod internal server error response has a 3xx status code

func (*PodStopLibpodInternalServerError) IsServerError

func (o *PodStopLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod stop libpod internal server error response has a 5xx status code

func (*PodStopLibpodInternalServerError) IsSuccess

func (o *PodStopLibpodInternalServerError) IsSuccess() bool

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

func (*PodStopLibpodInternalServerError) String

type PodStopLibpodInternalServerErrorBody

type PodStopLibpodInternalServerErrorBody 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"`
}

PodStopLibpodInternalServerErrorBody pod stop libpod internal server error body swagger:model PodStopLibpodInternalServerErrorBody

func (*PodStopLibpodInternalServerErrorBody) ContextValidate

func (o *PodStopLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod stop libpod internal server error body based on context it is used

func (*PodStopLibpodInternalServerErrorBody) MarshalBinary

func (o *PodStopLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStopLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodStopLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStopLibpodInternalServerErrorBody) Validate

Validate validates this pod stop libpod internal server error body

type PodStopLibpodNotFound

type PodStopLibpodNotFound struct {
	Payload *PodStopLibpodNotFoundBody
}

PodStopLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodStopLibpodNotFound

func NewPodStopLibpodNotFound() *PodStopLibpodNotFound

NewPodStopLibpodNotFound creates a PodStopLibpodNotFound with default headers values

func (*PodStopLibpodNotFound) Error

func (o *PodStopLibpodNotFound) Error() string

func (*PodStopLibpodNotFound) GetPayload

func (*PodStopLibpodNotFound) IsClientError

func (o *PodStopLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod stop libpod not found response has a 4xx status code

func (*PodStopLibpodNotFound) IsCode

func (o *PodStopLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod stop libpod not found response a status code equal to that given

func (*PodStopLibpodNotFound) IsRedirect

func (o *PodStopLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod stop libpod not found response has a 3xx status code

func (*PodStopLibpodNotFound) IsServerError

func (o *PodStopLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod stop libpod not found response has a 5xx status code

func (*PodStopLibpodNotFound) IsSuccess

func (o *PodStopLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod stop libpod not found response has a 2xx status code

func (*PodStopLibpodNotFound) String

func (o *PodStopLibpodNotFound) String() string

type PodStopLibpodNotFoundBody

type PodStopLibpodNotFoundBody 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"`
}

PodStopLibpodNotFoundBody pod stop libpod not found body swagger:model PodStopLibpodNotFoundBody

func (*PodStopLibpodNotFoundBody) ContextValidate

func (o *PodStopLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod stop libpod not found body based on context it is used

func (*PodStopLibpodNotFoundBody) MarshalBinary

func (o *PodStopLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStopLibpodNotFoundBody) UnmarshalBinary

func (o *PodStopLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStopLibpodNotFoundBody) Validate

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

Validate validates this pod stop libpod not found body

type PodStopLibpodNotModified

type PodStopLibpodNotModified struct {
	Payload *PodStopLibpodNotModifiedBody
}

PodStopLibpodNotModified describes a response with status code 304, with default header values.

Pod already stopped

func NewPodStopLibpodNotModified

func NewPodStopLibpodNotModified() *PodStopLibpodNotModified

NewPodStopLibpodNotModified creates a PodStopLibpodNotModified with default headers values

func (*PodStopLibpodNotModified) Error

func (o *PodStopLibpodNotModified) Error() string

func (*PodStopLibpodNotModified) GetPayload

func (*PodStopLibpodNotModified) IsClientError

func (o *PodStopLibpodNotModified) IsClientError() bool

IsClientError returns true when this pod stop libpod not modified response has a 4xx status code

func (*PodStopLibpodNotModified) IsCode

func (o *PodStopLibpodNotModified) IsCode(code int) bool

IsCode returns true when this pod stop libpod not modified response a status code equal to that given

func (*PodStopLibpodNotModified) IsRedirect

func (o *PodStopLibpodNotModified) IsRedirect() bool

IsRedirect returns true when this pod stop libpod not modified response has a 3xx status code

func (*PodStopLibpodNotModified) IsServerError

func (o *PodStopLibpodNotModified) IsServerError() bool

IsServerError returns true when this pod stop libpod not modified response has a 5xx status code

func (*PodStopLibpodNotModified) IsSuccess

func (o *PodStopLibpodNotModified) IsSuccess() bool

IsSuccess returns true when this pod stop libpod not modified response has a 2xx status code

func (*PodStopLibpodNotModified) String

func (o *PodStopLibpodNotModified) String() string

type PodStopLibpodNotModifiedBody

type PodStopLibpodNotModifiedBody 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"`
}

PodStopLibpodNotModifiedBody pod stop libpod not modified body swagger:model PodStopLibpodNotModifiedBody

func (*PodStopLibpodNotModifiedBody) ContextValidate

func (o *PodStopLibpodNotModifiedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod stop libpod not modified body based on context it is used

func (*PodStopLibpodNotModifiedBody) MarshalBinary

func (o *PodStopLibpodNotModifiedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodStopLibpodNotModifiedBody) UnmarshalBinary

func (o *PodStopLibpodNotModifiedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodStopLibpodNotModifiedBody) Validate

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

Validate validates this pod stop libpod not modified body

type PodStopLibpodOK

type PodStopLibpodOK struct {
	Payload *models.PodStopReport
}

PodStopLibpodOK describes a response with status code 200, with default header values.

Stop pod

func NewPodStopLibpodOK

func NewPodStopLibpodOK() *PodStopLibpodOK

NewPodStopLibpodOK creates a PodStopLibpodOK with default headers values

func (*PodStopLibpodOK) Error

func (o *PodStopLibpodOK) Error() string

func (*PodStopLibpodOK) GetPayload

func (o *PodStopLibpodOK) GetPayload() *models.PodStopReport

func (*PodStopLibpodOK) IsClientError

func (o *PodStopLibpodOK) IsClientError() bool

IsClientError returns true when this pod stop libpod o k response has a 4xx status code

func (*PodStopLibpodOK) IsCode

func (o *PodStopLibpodOK) IsCode(code int) bool

IsCode returns true when this pod stop libpod o k response a status code equal to that given

func (*PodStopLibpodOK) IsRedirect

func (o *PodStopLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod stop libpod o k response has a 3xx status code

func (*PodStopLibpodOK) IsServerError

func (o *PodStopLibpodOK) IsServerError() bool

IsServerError returns true when this pod stop libpod o k response has a 5xx status code

func (*PodStopLibpodOK) IsSuccess

func (o *PodStopLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod stop libpod o k response has a 2xx status code

func (*PodStopLibpodOK) String

func (o *PodStopLibpodOK) String() string

type PodStopLibpodParams

type PodStopLibpodParams struct {

	/* Name.

	   the name or ID of the pod
	*/
	Name string

	/* T.

	   timeout
	*/
	T *int64

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

PodStopLibpodParams contains all the parameters to send to the API endpoint

for the pod stop libpod operation.

Typically these are written to a http.Request.

func NewPodStopLibpodParams

func NewPodStopLibpodParams() *PodStopLibpodParams

NewPodStopLibpodParams creates a new PodStopLibpodParams 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 NewPodStopLibpodParamsWithContext

func NewPodStopLibpodParamsWithContext(ctx context.Context) *PodStopLibpodParams

NewPodStopLibpodParamsWithContext creates a new PodStopLibpodParams object with the ability to set a context for a request.

func NewPodStopLibpodParamsWithHTTPClient

func NewPodStopLibpodParamsWithHTTPClient(client *http.Client) *PodStopLibpodParams

NewPodStopLibpodParamsWithHTTPClient creates a new PodStopLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodStopLibpodParamsWithTimeout

func NewPodStopLibpodParamsWithTimeout(timeout time.Duration) *PodStopLibpodParams

NewPodStopLibpodParamsWithTimeout creates a new PodStopLibpodParams object with the ability to set a timeout on a request.

func (*PodStopLibpodParams) SetContext

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

SetContext adds the context to the pod stop libpod params

func (*PodStopLibpodParams) SetDefaults

func (o *PodStopLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod stop libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStopLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod stop libpod params

func (*PodStopLibpodParams) SetName

func (o *PodStopLibpodParams) SetName(name string)

SetName adds the name to the pod stop libpod params

func (*PodStopLibpodParams) SetT

func (o *PodStopLibpodParams) SetT(t *int64)

SetT adds the t to the pod stop libpod params

func (*PodStopLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod stop libpod params

func (*PodStopLibpodParams) WithContext

WithContext adds the context to the pod stop libpod params

func (*PodStopLibpodParams) WithDefaults

func (o *PodStopLibpodParams) WithDefaults() *PodStopLibpodParams

WithDefaults hydrates default values in the pod stop libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodStopLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod stop libpod params

func (*PodStopLibpodParams) WithName

func (o *PodStopLibpodParams) WithName(name string) *PodStopLibpodParams

WithName adds the name to the pod stop libpod params

func (*PodStopLibpodParams) WithT

WithT adds the t to the pod stop libpod params

func (*PodStopLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod stop libpod params

func (*PodStopLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodStopLibpodReader

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

PodStopLibpodReader is a Reader for the PodStopLibpod structure.

func (*PodStopLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodTopLibpodInternalServerError

type PodTopLibpodInternalServerError struct {
	Payload *PodTopLibpodInternalServerErrorBody
}

PodTopLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodTopLibpodInternalServerError

func NewPodTopLibpodInternalServerError() *PodTopLibpodInternalServerError

NewPodTopLibpodInternalServerError creates a PodTopLibpodInternalServerError with default headers values

func (*PodTopLibpodInternalServerError) Error

func (*PodTopLibpodInternalServerError) GetPayload

func (*PodTopLibpodInternalServerError) IsClientError

func (o *PodTopLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod top libpod internal server error response has a 4xx status code

func (*PodTopLibpodInternalServerError) IsCode

func (o *PodTopLibpodInternalServerError) IsCode(code int) bool

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

func (*PodTopLibpodInternalServerError) IsRedirect

func (o *PodTopLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod top libpod internal server error response has a 3xx status code

func (*PodTopLibpodInternalServerError) IsServerError

func (o *PodTopLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod top libpod internal server error response has a 5xx status code

func (*PodTopLibpodInternalServerError) IsSuccess

func (o *PodTopLibpodInternalServerError) IsSuccess() bool

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

func (*PodTopLibpodInternalServerError) String

type PodTopLibpodInternalServerErrorBody

type PodTopLibpodInternalServerErrorBody 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"`
}

PodTopLibpodInternalServerErrorBody pod top libpod internal server error body swagger:model PodTopLibpodInternalServerErrorBody

func (*PodTopLibpodInternalServerErrorBody) ContextValidate

func (o *PodTopLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod top libpod internal server error body based on context it is used

func (*PodTopLibpodInternalServerErrorBody) MarshalBinary

func (o *PodTopLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodTopLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodTopLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodTopLibpodInternalServerErrorBody) Validate

Validate validates this pod top libpod internal server error body

type PodTopLibpodNotFound

type PodTopLibpodNotFound struct {
	Payload *PodTopLibpodNotFoundBody
}

PodTopLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodTopLibpodNotFound

func NewPodTopLibpodNotFound() *PodTopLibpodNotFound

NewPodTopLibpodNotFound creates a PodTopLibpodNotFound with default headers values

func (*PodTopLibpodNotFound) Error

func (o *PodTopLibpodNotFound) Error() string

func (*PodTopLibpodNotFound) GetPayload

func (*PodTopLibpodNotFound) IsClientError

func (o *PodTopLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod top libpod not found response has a 4xx status code

func (*PodTopLibpodNotFound) IsCode

func (o *PodTopLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod top libpod not found response a status code equal to that given

func (*PodTopLibpodNotFound) IsRedirect

func (o *PodTopLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod top libpod not found response has a 3xx status code

func (*PodTopLibpodNotFound) IsServerError

func (o *PodTopLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod top libpod not found response has a 5xx status code

func (*PodTopLibpodNotFound) IsSuccess

func (o *PodTopLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod top libpod not found response has a 2xx status code

func (*PodTopLibpodNotFound) String

func (o *PodTopLibpodNotFound) String() string

type PodTopLibpodNotFoundBody

type PodTopLibpodNotFoundBody 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"`
}

PodTopLibpodNotFoundBody pod top libpod not found body swagger:model PodTopLibpodNotFoundBody

func (*PodTopLibpodNotFoundBody) ContextValidate

func (o *PodTopLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod top libpod not found body based on context it is used

func (*PodTopLibpodNotFoundBody) MarshalBinary

func (o *PodTopLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodTopLibpodNotFoundBody) UnmarshalBinary

func (o *PodTopLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodTopLibpodNotFoundBody) Validate

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

Validate validates this pod top libpod not found body

type PodTopLibpodOK

type PodTopLibpodOK struct {
	Payload *PodTopLibpodOKBody
}

PodTopLibpodOK describes a response with status code 200, with default header values.

List processes in pod

func NewPodTopLibpodOK

func NewPodTopLibpodOK() *PodTopLibpodOK

NewPodTopLibpodOK creates a PodTopLibpodOK with default headers values

func (*PodTopLibpodOK) Error

func (o *PodTopLibpodOK) Error() string

func (*PodTopLibpodOK) GetPayload

func (o *PodTopLibpodOK) GetPayload() *PodTopLibpodOKBody

func (*PodTopLibpodOK) IsClientError

func (o *PodTopLibpodOK) IsClientError() bool

IsClientError returns true when this pod top libpod o k response has a 4xx status code

func (*PodTopLibpodOK) IsCode

func (o *PodTopLibpodOK) IsCode(code int) bool

IsCode returns true when this pod top libpod o k response a status code equal to that given

func (*PodTopLibpodOK) IsRedirect

func (o *PodTopLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod top libpod o k response has a 3xx status code

func (*PodTopLibpodOK) IsServerError

func (o *PodTopLibpodOK) IsServerError() bool

IsServerError returns true when this pod top libpod o k response has a 5xx status code

func (*PodTopLibpodOK) IsSuccess

func (o *PodTopLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod top libpod o k response has a 2xx status code

func (*PodTopLibpodOK) String

func (o *PodTopLibpodOK) String() string

type PodTopLibpodOKBody

type PodTopLibpodOKBody struct {

	// Each process running in the container, where each is process
	// is an array of values corresponding to the titles.
	// Required: true
	Processes [][]string `json:"Processes"`

	// The ps column titles
	// Required: true
	Titles []string `json:"Titles"`
}

PodTopLibpodOKBody pod top libpod o k body swagger:model PodTopLibpodOKBody

func (*PodTopLibpodOKBody) ContextValidate

func (o *PodTopLibpodOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod top libpod o k body based on context it is used

func (*PodTopLibpodOKBody) MarshalBinary

func (o *PodTopLibpodOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodTopLibpodOKBody) UnmarshalBinary

func (o *PodTopLibpodOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodTopLibpodOKBody) Validate

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

Validate validates this pod top libpod o k body

type PodTopLibpodParams

type PodTopLibpodParams struct {

	/* Delay.

	   if streaming, delay in seconds between updates. Must be >1. (As of version 4.0)

	   Default: 5
	*/
	Delay *int64

	/* Name.

	   Name of pod to query for processes
	*/
	Name string

	/* PsArgs.

	     arguments to pass to ps such as aux.
	Requires ps(1) to be installed in the container if no ps(1) compatible AIX descriptors are used.


	     Default: "-ef"
	*/
	PsArgs *string

	/* Stream.

	   when true, repeatedly stream the latest output (As of version 4.0)
	*/
	Stream *bool

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

PodTopLibpodParams contains all the parameters to send to the API endpoint

for the pod top libpod operation.

Typically these are written to a http.Request.

func NewPodTopLibpodParams

func NewPodTopLibpodParams() *PodTopLibpodParams

NewPodTopLibpodParams creates a new PodTopLibpodParams 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 NewPodTopLibpodParamsWithContext

func NewPodTopLibpodParamsWithContext(ctx context.Context) *PodTopLibpodParams

NewPodTopLibpodParamsWithContext creates a new PodTopLibpodParams object with the ability to set a context for a request.

func NewPodTopLibpodParamsWithHTTPClient

func NewPodTopLibpodParamsWithHTTPClient(client *http.Client) *PodTopLibpodParams

NewPodTopLibpodParamsWithHTTPClient creates a new PodTopLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodTopLibpodParamsWithTimeout

func NewPodTopLibpodParamsWithTimeout(timeout time.Duration) *PodTopLibpodParams

NewPodTopLibpodParamsWithTimeout creates a new PodTopLibpodParams object with the ability to set a timeout on a request.

func (*PodTopLibpodParams) SetContext

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

SetContext adds the context to the pod top libpod params

func (*PodTopLibpodParams) SetDefaults

func (o *PodTopLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod top libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodTopLibpodParams) SetDelay

func (o *PodTopLibpodParams) SetDelay(delay *int64)

SetDelay adds the delay to the pod top libpod params

func (*PodTopLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod top libpod params

func (*PodTopLibpodParams) SetName

func (o *PodTopLibpodParams) SetName(name string)

SetName adds the name to the pod top libpod params

func (*PodTopLibpodParams) SetPsArgs

func (o *PodTopLibpodParams) SetPsArgs(psArgs *string)

SetPsArgs adds the psArgs to the pod top libpod params

func (*PodTopLibpodParams) SetStream

func (o *PodTopLibpodParams) SetStream(stream *bool)

SetStream adds the stream to the pod top libpod params

func (*PodTopLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod top libpod params

func (*PodTopLibpodParams) WithContext

WithContext adds the context to the pod top libpod params

func (*PodTopLibpodParams) WithDefaults

func (o *PodTopLibpodParams) WithDefaults() *PodTopLibpodParams

WithDefaults hydrates default values in the pod top libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodTopLibpodParams) WithDelay

func (o *PodTopLibpodParams) WithDelay(delay *int64) *PodTopLibpodParams

WithDelay adds the delay to the pod top libpod params

func (*PodTopLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod top libpod params

func (*PodTopLibpodParams) WithName

func (o *PodTopLibpodParams) WithName(name string) *PodTopLibpodParams

WithName adds the name to the pod top libpod params

func (*PodTopLibpodParams) WithPsArgs

func (o *PodTopLibpodParams) WithPsArgs(psArgs *string) *PodTopLibpodParams

WithPsArgs adds the psArgs to the pod top libpod params

func (*PodTopLibpodParams) WithStream

func (o *PodTopLibpodParams) WithStream(stream *bool) *PodTopLibpodParams

WithStream adds the stream to the pod top libpod params

func (*PodTopLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the pod top libpod params

func (*PodTopLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PodTopLibpodReader

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

PodTopLibpodReader is a Reader for the PodTopLibpod structure.

func (*PodTopLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PodUnpauseLibpodConflict

type PodUnpauseLibpodConflict struct {
	Payload *models.PodUnpauseReport
}

PodUnpauseLibpodConflict describes a response with status code 409, with default header values.

Unpause pod

func NewPodUnpauseLibpodConflict

func NewPodUnpauseLibpodConflict() *PodUnpauseLibpodConflict

NewPodUnpauseLibpodConflict creates a PodUnpauseLibpodConflict with default headers values

func (*PodUnpauseLibpodConflict) Error

func (o *PodUnpauseLibpodConflict) Error() string

func (*PodUnpauseLibpodConflict) GetPayload

func (*PodUnpauseLibpodConflict) IsClientError

func (o *PodUnpauseLibpodConflict) IsClientError() bool

IsClientError returns true when this pod unpause libpod conflict response has a 4xx status code

func (*PodUnpauseLibpodConflict) IsCode

func (o *PodUnpauseLibpodConflict) IsCode(code int) bool

IsCode returns true when this pod unpause libpod conflict response a status code equal to that given

func (*PodUnpauseLibpodConflict) IsRedirect

func (o *PodUnpauseLibpodConflict) IsRedirect() bool

IsRedirect returns true when this pod unpause libpod conflict response has a 3xx status code

func (*PodUnpauseLibpodConflict) IsServerError

func (o *PodUnpauseLibpodConflict) IsServerError() bool

IsServerError returns true when this pod unpause libpod conflict response has a 5xx status code

func (*PodUnpauseLibpodConflict) IsSuccess

func (o *PodUnpauseLibpodConflict) IsSuccess() bool

IsSuccess returns true when this pod unpause libpod conflict response has a 2xx status code

func (*PodUnpauseLibpodConflict) String

func (o *PodUnpauseLibpodConflict) String() string

type PodUnpauseLibpodInternalServerError

type PodUnpauseLibpodInternalServerError struct {
	Payload *PodUnpauseLibpodInternalServerErrorBody
}

PodUnpauseLibpodInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewPodUnpauseLibpodInternalServerError

func NewPodUnpauseLibpodInternalServerError() *PodUnpauseLibpodInternalServerError

NewPodUnpauseLibpodInternalServerError creates a PodUnpauseLibpodInternalServerError with default headers values

func (*PodUnpauseLibpodInternalServerError) Error

func (*PodUnpauseLibpodInternalServerError) GetPayload

func (*PodUnpauseLibpodInternalServerError) IsClientError

func (o *PodUnpauseLibpodInternalServerError) IsClientError() bool

IsClientError returns true when this pod unpause libpod internal server error response has a 4xx status code

func (*PodUnpauseLibpodInternalServerError) IsCode

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

func (*PodUnpauseLibpodInternalServerError) IsRedirect

func (o *PodUnpauseLibpodInternalServerError) IsRedirect() bool

IsRedirect returns true when this pod unpause libpod internal server error response has a 3xx status code

func (*PodUnpauseLibpodInternalServerError) IsServerError

func (o *PodUnpauseLibpodInternalServerError) IsServerError() bool

IsServerError returns true when this pod unpause libpod internal server error response has a 5xx status code

func (*PodUnpauseLibpodInternalServerError) IsSuccess

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

func (*PodUnpauseLibpodInternalServerError) String

type PodUnpauseLibpodInternalServerErrorBody

type PodUnpauseLibpodInternalServerErrorBody 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"`
}

PodUnpauseLibpodInternalServerErrorBody pod unpause libpod internal server error body swagger:model PodUnpauseLibpodInternalServerErrorBody

func (*PodUnpauseLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this pod unpause libpod internal server error body based on context it is used

func (*PodUnpauseLibpodInternalServerErrorBody) MarshalBinary

func (o *PodUnpauseLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodUnpauseLibpodInternalServerErrorBody) UnmarshalBinary

func (o *PodUnpauseLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodUnpauseLibpodInternalServerErrorBody) Validate

Validate validates this pod unpause libpod internal server error body

type PodUnpauseLibpodNotFound

type PodUnpauseLibpodNotFound struct {
	Payload *PodUnpauseLibpodNotFoundBody
}

PodUnpauseLibpodNotFound describes a response with status code 404, with default header values.

No such pod

func NewPodUnpauseLibpodNotFound

func NewPodUnpauseLibpodNotFound() *PodUnpauseLibpodNotFound

NewPodUnpauseLibpodNotFound creates a PodUnpauseLibpodNotFound with default headers values

func (*PodUnpauseLibpodNotFound) Error

func (o *PodUnpauseLibpodNotFound) Error() string

func (*PodUnpauseLibpodNotFound) GetPayload

func (*PodUnpauseLibpodNotFound) IsClientError

func (o *PodUnpauseLibpodNotFound) IsClientError() bool

IsClientError returns true when this pod unpause libpod not found response has a 4xx status code

func (*PodUnpauseLibpodNotFound) IsCode

func (o *PodUnpauseLibpodNotFound) IsCode(code int) bool

IsCode returns true when this pod unpause libpod not found response a status code equal to that given

func (*PodUnpauseLibpodNotFound) IsRedirect

func (o *PodUnpauseLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this pod unpause libpod not found response has a 3xx status code

func (*PodUnpauseLibpodNotFound) IsServerError

func (o *PodUnpauseLibpodNotFound) IsServerError() bool

IsServerError returns true when this pod unpause libpod not found response has a 5xx status code

func (*PodUnpauseLibpodNotFound) IsSuccess

func (o *PodUnpauseLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this pod unpause libpod not found response has a 2xx status code

func (*PodUnpauseLibpodNotFound) String

func (o *PodUnpauseLibpodNotFound) String() string

type PodUnpauseLibpodNotFoundBody

type PodUnpauseLibpodNotFoundBody 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"`
}

PodUnpauseLibpodNotFoundBody pod unpause libpod not found body swagger:model PodUnpauseLibpodNotFoundBody

func (*PodUnpauseLibpodNotFoundBody) ContextValidate

func (o *PodUnpauseLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod unpause libpod not found body based on context it is used

func (*PodUnpauseLibpodNotFoundBody) MarshalBinary

func (o *PodUnpauseLibpodNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodUnpauseLibpodNotFoundBody) UnmarshalBinary

func (o *PodUnpauseLibpodNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodUnpauseLibpodNotFoundBody) Validate

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

Validate validates this pod unpause libpod not found body

type PodUnpauseLibpodOK

type PodUnpauseLibpodOK struct {
	Payload *models.PodUnpauseReport
}

PodUnpauseLibpodOK describes a response with status code 200, with default header values.

Unpause pod

func NewPodUnpauseLibpodOK

func NewPodUnpauseLibpodOK() *PodUnpauseLibpodOK

NewPodUnpauseLibpodOK creates a PodUnpauseLibpodOK with default headers values

func (*PodUnpauseLibpodOK) Error

func (o *PodUnpauseLibpodOK) Error() string

func (*PodUnpauseLibpodOK) GetPayload

func (o *PodUnpauseLibpodOK) GetPayload() *models.PodUnpauseReport

func (*PodUnpauseLibpodOK) IsClientError

func (o *PodUnpauseLibpodOK) IsClientError() bool

IsClientError returns true when this pod unpause libpod o k response has a 4xx status code

func (*PodUnpauseLibpodOK) IsCode

func (o *PodUnpauseLibpodOK) IsCode(code int) bool

IsCode returns true when this pod unpause libpod o k response a status code equal to that given

func (*PodUnpauseLibpodOK) IsRedirect

func (o *PodUnpauseLibpodOK) IsRedirect() bool

IsRedirect returns true when this pod unpause libpod o k response has a 3xx status code

func (*PodUnpauseLibpodOK) IsServerError

func (o *PodUnpauseLibpodOK) IsServerError() bool

IsServerError returns true when this pod unpause libpod o k response has a 5xx status code

func (*PodUnpauseLibpodOK) IsSuccess

func (o *PodUnpauseLibpodOK) IsSuccess() bool

IsSuccess returns true when this pod unpause libpod o k response has a 2xx status code

func (*PodUnpauseLibpodOK) String

func (o *PodUnpauseLibpodOK) String() string

type PodUnpauseLibpodParams

type PodUnpauseLibpodParams struct {

	/* Name.

	   the name or ID of the pod
	*/
	Name string

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

PodUnpauseLibpodParams contains all the parameters to send to the API endpoint

for the pod unpause libpod operation.

Typically these are written to a http.Request.

func NewPodUnpauseLibpodParams

func NewPodUnpauseLibpodParams() *PodUnpauseLibpodParams

NewPodUnpauseLibpodParams creates a new PodUnpauseLibpodParams 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 NewPodUnpauseLibpodParamsWithContext

func NewPodUnpauseLibpodParamsWithContext(ctx context.Context) *PodUnpauseLibpodParams

NewPodUnpauseLibpodParamsWithContext creates a new PodUnpauseLibpodParams object with the ability to set a context for a request.

func NewPodUnpauseLibpodParamsWithHTTPClient

func NewPodUnpauseLibpodParamsWithHTTPClient(client *http.Client) *PodUnpauseLibpodParams

NewPodUnpauseLibpodParamsWithHTTPClient creates a new PodUnpauseLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewPodUnpauseLibpodParamsWithTimeout

func NewPodUnpauseLibpodParamsWithTimeout(timeout time.Duration) *PodUnpauseLibpodParams

NewPodUnpauseLibpodParamsWithTimeout creates a new PodUnpauseLibpodParams object with the ability to set a timeout on a request.

func (*PodUnpauseLibpodParams) SetContext

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

SetContext adds the context to the pod unpause libpod params

func (*PodUnpauseLibpodParams) SetDefaults

func (o *PodUnpauseLibpodParams) SetDefaults()

SetDefaults hydrates default values in the pod unpause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodUnpauseLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pod unpause libpod params

func (*PodUnpauseLibpodParams) SetName

func (o *PodUnpauseLibpodParams) SetName(name string)

SetName adds the name to the pod unpause libpod params

func (*PodUnpauseLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the pod unpause libpod params

func (*PodUnpauseLibpodParams) WithContext

WithContext adds the context to the pod unpause libpod params

func (*PodUnpauseLibpodParams) WithDefaults

WithDefaults hydrates default values in the pod unpause libpod params (not the query body).

All values with no default are reset to their zero value.

func (*PodUnpauseLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pod unpause libpod params

func (*PodUnpauseLibpodParams) WithName

WithName adds the name to the pod unpause libpod params

func (*PodUnpauseLibpodParams) WithTimeout

WithTimeout adds the timeout to the pod unpause libpod params

func (*PodUnpauseLibpodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PodUnpauseLibpodReader

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

PodUnpauseLibpodReader is a Reader for the PodUnpauseLibpod structure.

func (*PodUnpauseLibpodReader) ReadResponse

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