exec

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: 10 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 exec API

func (*Client) ContainerExecLibpod

func (a *Client) ContainerExecLibpod(params *ContainerExecLibpodParams, opts ...ClientOption) (*ContainerExecLibpodCreated, error)

ContainerExecLibpod creates an exec instance

Create an exec session to run a command inside a running container. Exec sessions will be automatically removed 5 minutes after they exit.

func (*Client) ExecInspectLibpod

func (a *Client) ExecInspectLibpod(params *ExecInspectLibpodParams, opts ...ClientOption) (*ExecInspectLibpodOK, error)

ExecInspectLibpod inspects an exec instance

Return low-level information about an exec instance.

func (*Client) ExecResizeLibpod

func (a *Client) ExecResizeLibpod(params *ExecResizeLibpodParams, opts ...ClientOption) (*ExecResizeLibpodCreated, error)

ExecResizeLibpod resizes an exec instance

Resize the TTY session used by an exec instance. This endpoint only works if tty was specified as part of creating and starting the exec instance.

func (*Client) ExecStartLibpod

func (a *Client) ExecStartLibpod(params *ExecStartLibpodParams, opts ...ClientOption) (*ExecStartLibpodOK, error)

ExecStartLibpod starts an exec instance

Starts a previously set up exec instance. If detach is true, this endpoint returns immediately after starting the command. Otherwise, it sets up an interactive session with the command.

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 {
	ContainerExecLibpod(params *ContainerExecLibpodParams, opts ...ClientOption) (*ContainerExecLibpodCreated, error)

	ExecInspectLibpod(params *ExecInspectLibpodParams, opts ...ClientOption) (*ExecInspectLibpodOK, error)

	ExecResizeLibpod(params *ExecResizeLibpodParams, opts ...ClientOption) (*ExecResizeLibpodCreated, error)

	ExecStartLibpod(params *ExecStartLibpodParams, opts ...ClientOption) (*ExecStartLibpodOK, 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 exec API client.

type ContainerExecLibpodBody

type ContainerExecLibpodBody struct {

	// Attach to stderr of the exec command
	AttachStderr bool `json:"AttachStderr,omitempty"`

	// Attach to stdin of the exec command
	AttachStdin bool `json:"AttachStdin,omitempty"`

	// Attach to stdout of the exec command
	AttachStdout bool `json:"AttachStdout,omitempty"`

	// Command to run, as a string or array of strings.
	Cmd []string `json:"Cmd"`

	// "Override the key sequence for detaching a container. Format is a single character [a-Z] or ctrl-<value> where <value> is one of: a-z, @, ^, [, , or _."
	//
	DetachKeys string `json:"DetachKeys,omitempty"`

	// A list of environment variables in the form ["VAR=value", ...]
	Env []string `json:"Env"`

	// Runs the exec process with extended privileges
	Privileged *bool `json:"Privileged,omitempty"`

	// Allocate a pseudo-TTY
	Tty bool `json:"Tty,omitempty"`

	// "The user, and optionally, group to run the exec process inside the container. Format is one of: user, user:group, uid, or uid:gid."
	//
	User string `json:"User,omitempty"`

	// The working directory for the exec process inside the container.
	WorkingDir string `json:"WorkingDir,omitempty"`
}

ContainerExecLibpodBody container exec libpod body swagger:model ContainerExecLibpodBody

func (*ContainerExecLibpodBody) ContextValidate

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

ContextValidate validates this container exec libpod body based on context it is used

func (*ContainerExecLibpodBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerExecLibpodBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerExecLibpodBody) Validate

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

Validate validates this container exec libpod body

type ContainerExecLibpodConflict

type ContainerExecLibpodConflict struct {
}

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

container is paused

func NewContainerExecLibpodConflict

func NewContainerExecLibpodConflict() *ContainerExecLibpodConflict

NewContainerExecLibpodConflict creates a ContainerExecLibpodConflict with default headers values

func (*ContainerExecLibpodConflict) Error

func (*ContainerExecLibpodConflict) IsClientError

func (o *ContainerExecLibpodConflict) IsClientError() bool

IsClientError returns true when this container exec libpod conflict response has a 4xx status code

func (*ContainerExecLibpodConflict) IsCode

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

IsCode returns true when this container exec libpod conflict response a status code equal to that given

func (*ContainerExecLibpodConflict) IsRedirect

func (o *ContainerExecLibpodConflict) IsRedirect() bool

IsRedirect returns true when this container exec libpod conflict response has a 3xx status code

func (*ContainerExecLibpodConflict) IsServerError

func (o *ContainerExecLibpodConflict) IsServerError() bool

IsServerError returns true when this container exec libpod conflict response has a 5xx status code

func (*ContainerExecLibpodConflict) IsSuccess

func (o *ContainerExecLibpodConflict) IsSuccess() bool

IsSuccess returns true when this container exec libpod conflict response has a 2xx status code

func (*ContainerExecLibpodConflict) String

func (o *ContainerExecLibpodConflict) String() string

type ContainerExecLibpodCreated

type ContainerExecLibpodCreated struct {
}

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

no error

func NewContainerExecLibpodCreated

func NewContainerExecLibpodCreated() *ContainerExecLibpodCreated

NewContainerExecLibpodCreated creates a ContainerExecLibpodCreated with default headers values

func (*ContainerExecLibpodCreated) Error

func (*ContainerExecLibpodCreated) IsClientError

func (o *ContainerExecLibpodCreated) IsClientError() bool

IsClientError returns true when this container exec libpod created response has a 4xx status code

func (*ContainerExecLibpodCreated) IsCode

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

IsCode returns true when this container exec libpod created response a status code equal to that given

func (*ContainerExecLibpodCreated) IsRedirect

func (o *ContainerExecLibpodCreated) IsRedirect() bool

IsRedirect returns true when this container exec libpod created response has a 3xx status code

func (*ContainerExecLibpodCreated) IsServerError

func (o *ContainerExecLibpodCreated) IsServerError() bool

IsServerError returns true when this container exec libpod created response has a 5xx status code

func (*ContainerExecLibpodCreated) IsSuccess

func (o *ContainerExecLibpodCreated) IsSuccess() bool

IsSuccess returns true when this container exec libpod created response has a 2xx status code

func (*ContainerExecLibpodCreated) String

func (o *ContainerExecLibpodCreated) String() string

type ContainerExecLibpodInternalServerError

type ContainerExecLibpodInternalServerError struct {
	Payload *ContainerExecLibpodInternalServerErrorBody
}

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

Internal server error

func NewContainerExecLibpodInternalServerError

func NewContainerExecLibpodInternalServerError() *ContainerExecLibpodInternalServerError

NewContainerExecLibpodInternalServerError creates a ContainerExecLibpodInternalServerError with default headers values

func (*ContainerExecLibpodInternalServerError) Error

func (*ContainerExecLibpodInternalServerError) GetPayload

func (*ContainerExecLibpodInternalServerError) IsClientError

func (o *ContainerExecLibpodInternalServerError) IsClientError() bool

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

func (*ContainerExecLibpodInternalServerError) IsCode

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

func (*ContainerExecLibpodInternalServerError) IsRedirect

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

func (*ContainerExecLibpodInternalServerError) IsServerError

func (o *ContainerExecLibpodInternalServerError) IsServerError() bool

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

func (*ContainerExecLibpodInternalServerError) IsSuccess

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

func (*ContainerExecLibpodInternalServerError) String

type ContainerExecLibpodInternalServerErrorBody

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

ContainerExecLibpodInternalServerErrorBody container exec libpod internal server error body swagger:model ContainerExecLibpodInternalServerErrorBody

func (*ContainerExecLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this container exec libpod internal server error body based on context it is used

func (*ContainerExecLibpodInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerExecLibpodInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerExecLibpodInternalServerErrorBody) Validate

Validate validates this container exec libpod internal server error body

type ContainerExecLibpodNotFound

type ContainerExecLibpodNotFound struct {
	Payload *ContainerExecLibpodNotFoundBody
}

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

No such container

func NewContainerExecLibpodNotFound

func NewContainerExecLibpodNotFound() *ContainerExecLibpodNotFound

NewContainerExecLibpodNotFound creates a ContainerExecLibpodNotFound with default headers values

func (*ContainerExecLibpodNotFound) Error

func (*ContainerExecLibpodNotFound) GetPayload

func (*ContainerExecLibpodNotFound) IsClientError

func (o *ContainerExecLibpodNotFound) IsClientError() bool

IsClientError returns true when this container exec libpod not found response has a 4xx status code

func (*ContainerExecLibpodNotFound) IsCode

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

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

func (*ContainerExecLibpodNotFound) IsRedirect

func (o *ContainerExecLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this container exec libpod not found response has a 3xx status code

func (*ContainerExecLibpodNotFound) IsServerError

func (o *ContainerExecLibpodNotFound) IsServerError() bool

IsServerError returns true when this container exec libpod not found response has a 5xx status code

func (*ContainerExecLibpodNotFound) IsSuccess

func (o *ContainerExecLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this container exec libpod not found response has a 2xx status code

func (*ContainerExecLibpodNotFound) String

func (o *ContainerExecLibpodNotFound) String() string

type ContainerExecLibpodNotFoundBody

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

ContainerExecLibpodNotFoundBody container exec libpod not found body swagger:model ContainerExecLibpodNotFoundBody

func (*ContainerExecLibpodNotFoundBody) ContextValidate

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

ContextValidate validates this container exec libpod not found body based on context it is used

func (*ContainerExecLibpodNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerExecLibpodNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerExecLibpodNotFoundBody) Validate

Validate validates this container exec libpod not found body

type ContainerExecLibpodParams

type ContainerExecLibpodParams struct {

	/* Control.

	   Attributes for create
	*/
	Control ContainerExecLibpodBody

	/* Name.

	   name of container
	*/
	Name string

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

ContainerExecLibpodParams contains all the parameters to send to the API endpoint

for the container exec libpod operation.

Typically these are written to a http.Request.

func NewContainerExecLibpodParams

func NewContainerExecLibpodParams() *ContainerExecLibpodParams

NewContainerExecLibpodParams creates a new ContainerExecLibpodParams 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 NewContainerExecLibpodParamsWithContext

func NewContainerExecLibpodParamsWithContext(ctx context.Context) *ContainerExecLibpodParams

NewContainerExecLibpodParamsWithContext creates a new ContainerExecLibpodParams object with the ability to set a context for a request.

func NewContainerExecLibpodParamsWithHTTPClient

func NewContainerExecLibpodParamsWithHTTPClient(client *http.Client) *ContainerExecLibpodParams

NewContainerExecLibpodParamsWithHTTPClient creates a new ContainerExecLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewContainerExecLibpodParamsWithTimeout

func NewContainerExecLibpodParamsWithTimeout(timeout time.Duration) *ContainerExecLibpodParams

NewContainerExecLibpodParamsWithTimeout creates a new ContainerExecLibpodParams object with the ability to set a timeout on a request.

func (*ContainerExecLibpodParams) SetContext

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

SetContext adds the context to the container exec libpod params

func (*ContainerExecLibpodParams) SetControl

func (o *ContainerExecLibpodParams) SetControl(control ContainerExecLibpodBody)

SetControl adds the control to the container exec libpod params

func (*ContainerExecLibpodParams) SetDefaults

func (o *ContainerExecLibpodParams) SetDefaults()

SetDefaults hydrates default values in the container exec libpod params (not the query body).

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

func (*ContainerExecLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the container exec libpod params

func (*ContainerExecLibpodParams) SetName

func (o *ContainerExecLibpodParams) SetName(name string)

SetName adds the name to the container exec libpod params

func (*ContainerExecLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the container exec libpod params

func (*ContainerExecLibpodParams) WithContext

WithContext adds the context to the container exec libpod params

func (*ContainerExecLibpodParams) WithControl

WithControl adds the control to the container exec libpod params

func (*ContainerExecLibpodParams) WithDefaults

WithDefaults hydrates default values in the container exec libpod params (not the query body).

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

func (*ContainerExecLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the container exec libpod params

func (*ContainerExecLibpodParams) WithName

WithName adds the name to the container exec libpod params

func (*ContainerExecLibpodParams) WithTimeout

WithTimeout adds the timeout to the container exec libpod params

func (*ContainerExecLibpodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContainerExecLibpodReader

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

ContainerExecLibpodReader is a Reader for the ContainerExecLibpod structure.

func (*ContainerExecLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExecInspectLibpodInternalServerError

type ExecInspectLibpodInternalServerError struct {
	Payload *ExecInspectLibpodInternalServerErrorBody
}

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

Internal server error

func NewExecInspectLibpodInternalServerError

func NewExecInspectLibpodInternalServerError() *ExecInspectLibpodInternalServerError

NewExecInspectLibpodInternalServerError creates a ExecInspectLibpodInternalServerError with default headers values

func (*ExecInspectLibpodInternalServerError) Error

func (*ExecInspectLibpodInternalServerError) GetPayload

func (*ExecInspectLibpodInternalServerError) IsClientError

func (o *ExecInspectLibpodInternalServerError) IsClientError() bool

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

func (*ExecInspectLibpodInternalServerError) IsCode

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

func (*ExecInspectLibpodInternalServerError) IsRedirect

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

func (*ExecInspectLibpodInternalServerError) IsServerError

func (o *ExecInspectLibpodInternalServerError) IsServerError() bool

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

func (*ExecInspectLibpodInternalServerError) IsSuccess

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

func (*ExecInspectLibpodInternalServerError) String

type ExecInspectLibpodInternalServerErrorBody

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

ExecInspectLibpodInternalServerErrorBody exec inspect libpod internal server error body swagger:model ExecInspectLibpodInternalServerErrorBody

func (*ExecInspectLibpodInternalServerErrorBody) ContextValidate

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

func (*ExecInspectLibpodInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ExecInspectLibpodInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExecInspectLibpodInternalServerErrorBody) Validate

Validate validates this exec inspect libpod internal server error body

type ExecInspectLibpodNotFound

type ExecInspectLibpodNotFound struct {
	Payload *ExecInspectLibpodNotFoundBody
}

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

No such exec instance

func NewExecInspectLibpodNotFound

func NewExecInspectLibpodNotFound() *ExecInspectLibpodNotFound

NewExecInspectLibpodNotFound creates a ExecInspectLibpodNotFound with default headers values

func (*ExecInspectLibpodNotFound) Error

func (o *ExecInspectLibpodNotFound) Error() string

func (*ExecInspectLibpodNotFound) GetPayload

func (*ExecInspectLibpodNotFound) IsClientError

func (o *ExecInspectLibpodNotFound) IsClientError() bool

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

func (*ExecInspectLibpodNotFound) IsCode

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

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

func (*ExecInspectLibpodNotFound) IsRedirect

func (o *ExecInspectLibpodNotFound) IsRedirect() bool

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

func (*ExecInspectLibpodNotFound) IsServerError

func (o *ExecInspectLibpodNotFound) IsServerError() bool

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

func (*ExecInspectLibpodNotFound) IsSuccess

func (o *ExecInspectLibpodNotFound) IsSuccess() bool

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

func (*ExecInspectLibpodNotFound) String

func (o *ExecInspectLibpodNotFound) String() string

type ExecInspectLibpodNotFoundBody

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

ExecInspectLibpodNotFoundBody exec inspect libpod not found body swagger:model ExecInspectLibpodNotFoundBody

func (*ExecInspectLibpodNotFoundBody) ContextValidate

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

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

func (*ExecInspectLibpodNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ExecInspectLibpodNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExecInspectLibpodNotFoundBody) Validate

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

Validate validates this exec inspect libpod not found body

type ExecInspectLibpodOK

type ExecInspectLibpodOK struct {
}

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

no error

func NewExecInspectLibpodOK

func NewExecInspectLibpodOK() *ExecInspectLibpodOK

NewExecInspectLibpodOK creates a ExecInspectLibpodOK with default headers values

func (*ExecInspectLibpodOK) Error

func (o *ExecInspectLibpodOK) Error() string

func (*ExecInspectLibpodOK) IsClientError

func (o *ExecInspectLibpodOK) IsClientError() bool

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

func (*ExecInspectLibpodOK) IsCode

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

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

func (*ExecInspectLibpodOK) IsRedirect

func (o *ExecInspectLibpodOK) IsRedirect() bool

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

func (*ExecInspectLibpodOK) IsServerError

func (o *ExecInspectLibpodOK) IsServerError() bool

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

func (*ExecInspectLibpodOK) IsSuccess

func (o *ExecInspectLibpodOK) IsSuccess() bool

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

func (*ExecInspectLibpodOK) String

func (o *ExecInspectLibpodOK) String() string

type ExecInspectLibpodParams

type ExecInspectLibpodParams struct {

	/* ID.

	   Exec instance ID
	*/
	ID string

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

ExecInspectLibpodParams contains all the parameters to send to the API endpoint

for the exec inspect libpod operation.

Typically these are written to a http.Request.

func NewExecInspectLibpodParams

func NewExecInspectLibpodParams() *ExecInspectLibpodParams

NewExecInspectLibpodParams creates a new ExecInspectLibpodParams 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 NewExecInspectLibpodParamsWithContext

func NewExecInspectLibpodParamsWithContext(ctx context.Context) *ExecInspectLibpodParams

NewExecInspectLibpodParamsWithContext creates a new ExecInspectLibpodParams object with the ability to set a context for a request.

func NewExecInspectLibpodParamsWithHTTPClient

func NewExecInspectLibpodParamsWithHTTPClient(client *http.Client) *ExecInspectLibpodParams

NewExecInspectLibpodParamsWithHTTPClient creates a new ExecInspectLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewExecInspectLibpodParamsWithTimeout

func NewExecInspectLibpodParamsWithTimeout(timeout time.Duration) *ExecInspectLibpodParams

NewExecInspectLibpodParamsWithTimeout creates a new ExecInspectLibpodParams object with the ability to set a timeout on a request.

func (*ExecInspectLibpodParams) SetContext

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

SetContext adds the context to the exec inspect libpod params

func (*ExecInspectLibpodParams) SetDefaults

func (o *ExecInspectLibpodParams) SetDefaults()

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

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

func (*ExecInspectLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the exec inspect libpod params

func (*ExecInspectLibpodParams) SetID

func (o *ExecInspectLibpodParams) SetID(id string)

SetID adds the id to the exec inspect libpod params

func (*ExecInspectLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the exec inspect libpod params

func (*ExecInspectLibpodParams) WithContext

WithContext adds the context to the exec inspect libpod params

func (*ExecInspectLibpodParams) WithDefaults

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

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

func (*ExecInspectLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the exec inspect libpod params

func (*ExecInspectLibpodParams) WithID

WithID adds the id to the exec inspect libpod params

func (*ExecInspectLibpodParams) WithTimeout

WithTimeout adds the timeout to the exec inspect libpod params

func (*ExecInspectLibpodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExecInspectLibpodReader

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

ExecInspectLibpodReader is a Reader for the ExecInspectLibpod structure.

func (*ExecInspectLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExecResizeLibpodCreated

type ExecResizeLibpodCreated struct {
}

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

no error

func NewExecResizeLibpodCreated

func NewExecResizeLibpodCreated() *ExecResizeLibpodCreated

NewExecResizeLibpodCreated creates a ExecResizeLibpodCreated with default headers values

func (*ExecResizeLibpodCreated) Error

func (o *ExecResizeLibpodCreated) Error() string

func (*ExecResizeLibpodCreated) IsClientError

func (o *ExecResizeLibpodCreated) IsClientError() bool

IsClientError returns true when this exec resize libpod created response has a 4xx status code

func (*ExecResizeLibpodCreated) IsCode

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

IsCode returns true when this exec resize libpod created response a status code equal to that given

func (*ExecResizeLibpodCreated) IsRedirect

func (o *ExecResizeLibpodCreated) IsRedirect() bool

IsRedirect returns true when this exec resize libpod created response has a 3xx status code

func (*ExecResizeLibpodCreated) IsServerError

func (o *ExecResizeLibpodCreated) IsServerError() bool

IsServerError returns true when this exec resize libpod created response has a 5xx status code

func (*ExecResizeLibpodCreated) IsSuccess

func (o *ExecResizeLibpodCreated) IsSuccess() bool

IsSuccess returns true when this exec resize libpod created response has a 2xx status code

func (*ExecResizeLibpodCreated) String

func (o *ExecResizeLibpodCreated) String() string

type ExecResizeLibpodInternalServerError

type ExecResizeLibpodInternalServerError struct {
	Payload *ExecResizeLibpodInternalServerErrorBody
}

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

Internal server error

func NewExecResizeLibpodInternalServerError

func NewExecResizeLibpodInternalServerError() *ExecResizeLibpodInternalServerError

NewExecResizeLibpodInternalServerError creates a ExecResizeLibpodInternalServerError with default headers values

func (*ExecResizeLibpodInternalServerError) Error

func (*ExecResizeLibpodInternalServerError) GetPayload

func (*ExecResizeLibpodInternalServerError) IsClientError

func (o *ExecResizeLibpodInternalServerError) IsClientError() bool

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

func (*ExecResizeLibpodInternalServerError) IsCode

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

func (*ExecResizeLibpodInternalServerError) IsRedirect

func (o *ExecResizeLibpodInternalServerError) IsRedirect() bool

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

func (*ExecResizeLibpodInternalServerError) IsServerError

func (o *ExecResizeLibpodInternalServerError) IsServerError() bool

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

func (*ExecResizeLibpodInternalServerError) IsSuccess

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

func (*ExecResizeLibpodInternalServerError) String

type ExecResizeLibpodInternalServerErrorBody

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

ExecResizeLibpodInternalServerErrorBody exec resize libpod internal server error body swagger:model ExecResizeLibpodInternalServerErrorBody

func (*ExecResizeLibpodInternalServerErrorBody) ContextValidate

ContextValidate validates this exec resize libpod internal server error body based on context it is used

func (*ExecResizeLibpodInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ExecResizeLibpodInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExecResizeLibpodInternalServerErrorBody) Validate

Validate validates this exec resize libpod internal server error body

type ExecResizeLibpodNotFound

type ExecResizeLibpodNotFound struct {
	Payload *ExecResizeLibpodNotFoundBody
}

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

No such exec instance

func NewExecResizeLibpodNotFound

func NewExecResizeLibpodNotFound() *ExecResizeLibpodNotFound

NewExecResizeLibpodNotFound creates a ExecResizeLibpodNotFound with default headers values

func (*ExecResizeLibpodNotFound) Error

func (o *ExecResizeLibpodNotFound) Error() string

func (*ExecResizeLibpodNotFound) GetPayload

func (*ExecResizeLibpodNotFound) IsClientError

func (o *ExecResizeLibpodNotFound) IsClientError() bool

IsClientError returns true when this exec resize libpod not found response has a 4xx status code

func (*ExecResizeLibpodNotFound) IsCode

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

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

func (*ExecResizeLibpodNotFound) IsRedirect

func (o *ExecResizeLibpodNotFound) IsRedirect() bool

IsRedirect returns true when this exec resize libpod not found response has a 3xx status code

func (*ExecResizeLibpodNotFound) IsServerError

func (o *ExecResizeLibpodNotFound) IsServerError() bool

IsServerError returns true when this exec resize libpod not found response has a 5xx status code

func (*ExecResizeLibpodNotFound) IsSuccess

func (o *ExecResizeLibpodNotFound) IsSuccess() bool

IsSuccess returns true when this exec resize libpod not found response has a 2xx status code

func (*ExecResizeLibpodNotFound) String

func (o *ExecResizeLibpodNotFound) String() string

type ExecResizeLibpodNotFoundBody

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

ExecResizeLibpodNotFoundBody exec resize libpod not found body swagger:model ExecResizeLibpodNotFoundBody

func (*ExecResizeLibpodNotFoundBody) ContextValidate

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

ContextValidate validates this exec resize libpod not found body based on context it is used

func (*ExecResizeLibpodNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ExecResizeLibpodNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExecResizeLibpodNotFoundBody) Validate

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

Validate validates this exec resize libpod not found body

type ExecResizeLibpodParams

type ExecResizeLibpodParams struct {

	/* H.

	   Height of the TTY session in characters
	*/
	H *int64

	/* ID.

	   Exec instance ID
	*/
	ID string

	/* W.

	   Width of the TTY session in characters
	*/
	W *int64

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

ExecResizeLibpodParams contains all the parameters to send to the API endpoint

for the exec resize libpod operation.

Typically these are written to a http.Request.

func NewExecResizeLibpodParams

func NewExecResizeLibpodParams() *ExecResizeLibpodParams

NewExecResizeLibpodParams creates a new ExecResizeLibpodParams 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 NewExecResizeLibpodParamsWithContext

func NewExecResizeLibpodParamsWithContext(ctx context.Context) *ExecResizeLibpodParams

NewExecResizeLibpodParamsWithContext creates a new ExecResizeLibpodParams object with the ability to set a context for a request.

func NewExecResizeLibpodParamsWithHTTPClient

func NewExecResizeLibpodParamsWithHTTPClient(client *http.Client) *ExecResizeLibpodParams

NewExecResizeLibpodParamsWithHTTPClient creates a new ExecResizeLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewExecResizeLibpodParamsWithTimeout

func NewExecResizeLibpodParamsWithTimeout(timeout time.Duration) *ExecResizeLibpodParams

NewExecResizeLibpodParamsWithTimeout creates a new ExecResizeLibpodParams object with the ability to set a timeout on a request.

func (*ExecResizeLibpodParams) SetContext

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

SetContext adds the context to the exec resize libpod params

func (*ExecResizeLibpodParams) SetDefaults

func (o *ExecResizeLibpodParams) SetDefaults()

SetDefaults hydrates default values in the exec resize libpod params (not the query body).

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

func (*ExecResizeLibpodParams) SetH

func (o *ExecResizeLibpodParams) SetH(h *int64)

SetH adds the h to the exec resize libpod params

func (*ExecResizeLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the exec resize libpod params

func (*ExecResizeLibpodParams) SetID

func (o *ExecResizeLibpodParams) SetID(id string)

SetID adds the id to the exec resize libpod params

func (*ExecResizeLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the exec resize libpod params

func (*ExecResizeLibpodParams) SetW

func (o *ExecResizeLibpodParams) SetW(w *int64)

SetW adds the w to the exec resize libpod params

func (*ExecResizeLibpodParams) WithContext

WithContext adds the context to the exec resize libpod params

func (*ExecResizeLibpodParams) WithDefaults

WithDefaults hydrates default values in the exec resize libpod params (not the query body).

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

func (*ExecResizeLibpodParams) WithH

WithH adds the h to the exec resize libpod params

func (*ExecResizeLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the exec resize libpod params

func (*ExecResizeLibpodParams) WithID

WithID adds the id to the exec resize libpod params

func (*ExecResizeLibpodParams) WithTimeout

WithTimeout adds the timeout to the exec resize libpod params

func (*ExecResizeLibpodParams) WithW

WithW adds the w to the exec resize libpod params

func (*ExecResizeLibpodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExecResizeLibpodReader

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

ExecResizeLibpodReader is a Reader for the ExecResizeLibpod structure.

func (*ExecResizeLibpodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExecStartLibpodBody

type ExecStartLibpodBody struct {

	// Detach from the command.
	Detach bool `json:"Detach,omitempty"`

	// Allocate a pseudo-TTY.
	Tty bool `json:"Tty,omitempty"`

	// Height of the TTY session in characters. Tty must be set to true to use it.
	H int64 `json:"h,omitempty"`

	// Width of the TTY session in characters. Tty must be set to true to use it.
	W int64 `json:"w,omitempty"`
}

ExecStartLibpodBody exec start libpod body swagger:model ExecStartLibpodBody

func (*ExecStartLibpodBody) ContextValidate

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

ContextValidate validates this exec start libpod body based on context it is used

func (*ExecStartLibpodBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ExecStartLibpodBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExecStartLibpodBody) Validate

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

Validate validates this exec start libpod body

type ExecStartLibpodConflict

type ExecStartLibpodConflict struct {
}

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

container is not running.

func NewExecStartLibpodConflict

func NewExecStartLibpodConflict() *ExecStartLibpodConflict

NewExecStartLibpodConflict creates a ExecStartLibpodConflict with default headers values

func (*ExecStartLibpodConflict) Error

func (o *ExecStartLibpodConflict) Error() string

func (*ExecStartLibpodConflict) IsClientError

func (o *ExecStartLibpodConflict) IsClientError() bool

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

func (*ExecStartLibpodConflict) IsCode

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

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

func (*ExecStartLibpodConflict) IsRedirect

func (o *ExecStartLibpodConflict) IsRedirect() bool

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

func (*ExecStartLibpodConflict) IsServerError

func (o *ExecStartLibpodConflict) IsServerError() bool

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

func (*ExecStartLibpodConflict) IsSuccess

func (o *ExecStartLibpodConflict) IsSuccess() bool

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

func (*ExecStartLibpodConflict) String

func (o *ExecStartLibpodConflict) String() string

type ExecStartLibpodInternalServerError

type ExecStartLibpodInternalServerError struct {
	Payload *ExecStartLibpodInternalServerErrorBody
}

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

Internal server error

func NewExecStartLibpodInternalServerError

func NewExecStartLibpodInternalServerError() *ExecStartLibpodInternalServerError

NewExecStartLibpodInternalServerError creates a ExecStartLibpodInternalServerError with default headers values

func (*ExecStartLibpodInternalServerError) Error

func (*ExecStartLibpodInternalServerError) GetPayload

func (*ExecStartLibpodInternalServerError) IsClientError

func (o *ExecStartLibpodInternalServerError) IsClientError() bool

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

func (*ExecStartLibpodInternalServerError) IsCode

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

func (*ExecStartLibpodInternalServerError) IsRedirect

func (o *ExecStartLibpodInternalServerError) IsRedirect() bool

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

func (*ExecStartLibpodInternalServerError) IsServerError

func (o *ExecStartLibpodInternalServerError) IsServerError() bool

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

func (*ExecStartLibpodInternalServerError) IsSuccess

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

func (*ExecStartLibpodInternalServerError) String

type ExecStartLibpodInternalServerErrorBody

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

ExecStartLibpodInternalServerErrorBody exec start libpod internal server error body swagger:model ExecStartLibpodInternalServerErrorBody

func (*ExecStartLibpodInternalServerErrorBody) ContextValidate

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

func (*ExecStartLibpodInternalServerErrorBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ExecStartLibpodInternalServerErrorBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExecStartLibpodInternalServerErrorBody) Validate

Validate validates this exec start libpod internal server error body

type ExecStartLibpodNotFound

type ExecStartLibpodNotFound struct {
	Payload *ExecStartLibpodNotFoundBody
}

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

No such exec instance

func NewExecStartLibpodNotFound

func NewExecStartLibpodNotFound() *ExecStartLibpodNotFound

NewExecStartLibpodNotFound creates a ExecStartLibpodNotFound with default headers values

func (*ExecStartLibpodNotFound) Error

func (o *ExecStartLibpodNotFound) Error() string

func (*ExecStartLibpodNotFound) GetPayload

func (*ExecStartLibpodNotFound) IsClientError

func (o *ExecStartLibpodNotFound) IsClientError() bool

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

func (*ExecStartLibpodNotFound) IsCode

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

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

func (*ExecStartLibpodNotFound) IsRedirect

func (o *ExecStartLibpodNotFound) IsRedirect() bool

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

func (*ExecStartLibpodNotFound) IsServerError

func (o *ExecStartLibpodNotFound) IsServerError() bool

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

func (*ExecStartLibpodNotFound) IsSuccess

func (o *ExecStartLibpodNotFound) IsSuccess() bool

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

func (*ExecStartLibpodNotFound) String

func (o *ExecStartLibpodNotFound) String() string

type ExecStartLibpodNotFoundBody

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

ExecStartLibpodNotFoundBody exec start libpod not found body swagger:model ExecStartLibpodNotFoundBody

func (*ExecStartLibpodNotFoundBody) ContextValidate

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

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

func (*ExecStartLibpodNotFoundBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ExecStartLibpodNotFoundBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExecStartLibpodNotFoundBody) Validate

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

Validate validates this exec start libpod not found body

type ExecStartLibpodOK

type ExecStartLibpodOK struct {
}

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

no error

func NewExecStartLibpodOK

func NewExecStartLibpodOK() *ExecStartLibpodOK

NewExecStartLibpodOK creates a ExecStartLibpodOK with default headers values

func (*ExecStartLibpodOK) Error

func (o *ExecStartLibpodOK) Error() string

func (*ExecStartLibpodOK) IsClientError

func (o *ExecStartLibpodOK) IsClientError() bool

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

func (*ExecStartLibpodOK) IsCode

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

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

func (*ExecStartLibpodOK) IsRedirect

func (o *ExecStartLibpodOK) IsRedirect() bool

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

func (*ExecStartLibpodOK) IsServerError

func (o *ExecStartLibpodOK) IsServerError() bool

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

func (*ExecStartLibpodOK) IsSuccess

func (o *ExecStartLibpodOK) IsSuccess() bool

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

func (*ExecStartLibpodOK) String

func (o *ExecStartLibpodOK) String() string

type ExecStartLibpodParams

type ExecStartLibpodParams struct {

	/* Control.

	   Attributes for start
	*/
	Control ExecStartLibpodBody

	/* ID.

	   Exec instance ID
	*/
	ID string

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

ExecStartLibpodParams contains all the parameters to send to the API endpoint

for the exec start libpod operation.

Typically these are written to a http.Request.

func NewExecStartLibpodParams

func NewExecStartLibpodParams() *ExecStartLibpodParams

NewExecStartLibpodParams creates a new ExecStartLibpodParams 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 NewExecStartLibpodParamsWithContext

func NewExecStartLibpodParamsWithContext(ctx context.Context) *ExecStartLibpodParams

NewExecStartLibpodParamsWithContext creates a new ExecStartLibpodParams object with the ability to set a context for a request.

func NewExecStartLibpodParamsWithHTTPClient

func NewExecStartLibpodParamsWithHTTPClient(client *http.Client) *ExecStartLibpodParams

NewExecStartLibpodParamsWithHTTPClient creates a new ExecStartLibpodParams object with the ability to set a custom HTTPClient for a request.

func NewExecStartLibpodParamsWithTimeout

func NewExecStartLibpodParamsWithTimeout(timeout time.Duration) *ExecStartLibpodParams

NewExecStartLibpodParamsWithTimeout creates a new ExecStartLibpodParams object with the ability to set a timeout on a request.

func (*ExecStartLibpodParams) SetContext

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

SetContext adds the context to the exec start libpod params

func (*ExecStartLibpodParams) SetControl

func (o *ExecStartLibpodParams) SetControl(control ExecStartLibpodBody)

SetControl adds the control to the exec start libpod params

func (*ExecStartLibpodParams) SetDefaults

func (o *ExecStartLibpodParams) SetDefaults()

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

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

func (*ExecStartLibpodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the exec start libpod params

func (*ExecStartLibpodParams) SetID

func (o *ExecStartLibpodParams) SetID(id string)

SetID adds the id to the exec start libpod params

func (*ExecStartLibpodParams) SetTimeout

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

SetTimeout adds the timeout to the exec start libpod params

func (*ExecStartLibpodParams) WithContext

WithContext adds the context to the exec start libpod params

func (*ExecStartLibpodParams) WithControl

WithControl adds the control to the exec start libpod params

func (*ExecStartLibpodParams) WithDefaults

func (o *ExecStartLibpodParams) WithDefaults() *ExecStartLibpodParams

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

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

func (*ExecStartLibpodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the exec start libpod params

func (*ExecStartLibpodParams) WithID

WithID adds the id to the exec start libpod params

func (*ExecStartLibpodParams) WithTimeout

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

WithTimeout adds the timeout to the exec start libpod params

func (*ExecStartLibpodParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ExecStartLibpodReader

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

ExecStartLibpodReader is a Reader for the ExecStartLibpod structure.

func (*ExecStartLibpodReader) ReadResponse

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