Documentation
¶
Index ¶
- type Client
- func (a *Client) ContainerExecLibpod(params *ContainerExecLibpodParams, opts ...ClientOption) (*ContainerExecLibpodCreated, error)
- func (a *Client) ExecInspectLibpod(params *ExecInspectLibpodParams, opts ...ClientOption) (*ExecInspectLibpodOK, error)
- func (a *Client) ExecResizeLibpod(params *ExecResizeLibpodParams, opts ...ClientOption) (*ExecResizeLibpodCreated, error)
- func (a *Client) ExecStartLibpod(params *ExecStartLibpodParams, opts ...ClientOption) (*ExecStartLibpodOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ContainerExecLibpodBody
- func (o *ContainerExecLibpodBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerExecLibpodBody) MarshalBinary() ([]byte, error)
- func (o *ContainerExecLibpodBody) UnmarshalBinary(b []byte) error
- func (o *ContainerExecLibpodBody) Validate(formats strfmt.Registry) error
- type ContainerExecLibpodConflict
- func (o *ContainerExecLibpodConflict) Error() string
- func (o *ContainerExecLibpodConflict) IsClientError() bool
- func (o *ContainerExecLibpodConflict) IsCode(code int) bool
- func (o *ContainerExecLibpodConflict) IsRedirect() bool
- func (o *ContainerExecLibpodConflict) IsServerError() bool
- func (o *ContainerExecLibpodConflict) IsSuccess() bool
- func (o *ContainerExecLibpodConflict) String() string
- type ContainerExecLibpodCreated
- func (o *ContainerExecLibpodCreated) Error() string
- func (o *ContainerExecLibpodCreated) IsClientError() bool
- func (o *ContainerExecLibpodCreated) IsCode(code int) bool
- func (o *ContainerExecLibpodCreated) IsRedirect() bool
- func (o *ContainerExecLibpodCreated) IsServerError() bool
- func (o *ContainerExecLibpodCreated) IsSuccess() bool
- func (o *ContainerExecLibpodCreated) String() string
- type ContainerExecLibpodInternalServerError
- func (o *ContainerExecLibpodInternalServerError) Error() string
- func (o *ContainerExecLibpodInternalServerError) GetPayload() *ContainerExecLibpodInternalServerErrorBody
- func (o *ContainerExecLibpodInternalServerError) IsClientError() bool
- func (o *ContainerExecLibpodInternalServerError) IsCode(code int) bool
- func (o *ContainerExecLibpodInternalServerError) IsRedirect() bool
- func (o *ContainerExecLibpodInternalServerError) IsServerError() bool
- func (o *ContainerExecLibpodInternalServerError) IsSuccess() bool
- func (o *ContainerExecLibpodInternalServerError) String() string
- type ContainerExecLibpodInternalServerErrorBody
- func (o *ContainerExecLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerExecLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerExecLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerExecLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerExecLibpodNotFound
- func (o *ContainerExecLibpodNotFound) Error() string
- func (o *ContainerExecLibpodNotFound) GetPayload() *ContainerExecLibpodNotFoundBody
- func (o *ContainerExecLibpodNotFound) IsClientError() bool
- func (o *ContainerExecLibpodNotFound) IsCode(code int) bool
- func (o *ContainerExecLibpodNotFound) IsRedirect() bool
- func (o *ContainerExecLibpodNotFound) IsServerError() bool
- func (o *ContainerExecLibpodNotFound) IsSuccess() bool
- func (o *ContainerExecLibpodNotFound) String() string
- type ContainerExecLibpodNotFoundBody
- func (o *ContainerExecLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerExecLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerExecLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerExecLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerExecLibpodParams
- func NewContainerExecLibpodParams() *ContainerExecLibpodParams
- func NewContainerExecLibpodParamsWithContext(ctx context.Context) *ContainerExecLibpodParams
- func NewContainerExecLibpodParamsWithHTTPClient(client *http.Client) *ContainerExecLibpodParams
- func NewContainerExecLibpodParamsWithTimeout(timeout time.Duration) *ContainerExecLibpodParams
- func (o *ContainerExecLibpodParams) SetContext(ctx context.Context)
- func (o *ContainerExecLibpodParams) SetControl(control ContainerExecLibpodBody)
- func (o *ContainerExecLibpodParams) SetDefaults()
- func (o *ContainerExecLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ContainerExecLibpodParams) SetName(name string)
- func (o *ContainerExecLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ContainerExecLibpodParams) WithContext(ctx context.Context) *ContainerExecLibpodParams
- func (o *ContainerExecLibpodParams) WithControl(control ContainerExecLibpodBody) *ContainerExecLibpodParams
- func (o *ContainerExecLibpodParams) WithDefaults() *ContainerExecLibpodParams
- func (o *ContainerExecLibpodParams) WithHTTPClient(client *http.Client) *ContainerExecLibpodParams
- func (o *ContainerExecLibpodParams) WithName(name string) *ContainerExecLibpodParams
- func (o *ContainerExecLibpodParams) WithTimeout(timeout time.Duration) *ContainerExecLibpodParams
- func (o *ContainerExecLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerExecLibpodReader
- type ExecInspectLibpodInternalServerError
- func (o *ExecInspectLibpodInternalServerError) Error() string
- func (o *ExecInspectLibpodInternalServerError) GetPayload() *ExecInspectLibpodInternalServerErrorBody
- func (o *ExecInspectLibpodInternalServerError) IsClientError() bool
- func (o *ExecInspectLibpodInternalServerError) IsCode(code int) bool
- func (o *ExecInspectLibpodInternalServerError) IsRedirect() bool
- func (o *ExecInspectLibpodInternalServerError) IsServerError() bool
- func (o *ExecInspectLibpodInternalServerError) IsSuccess() bool
- func (o *ExecInspectLibpodInternalServerError) String() string
- type ExecInspectLibpodInternalServerErrorBody
- func (o *ExecInspectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecInspectLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ExecInspectLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ExecInspectLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ExecInspectLibpodNotFound
- func (o *ExecInspectLibpodNotFound) Error() string
- func (o *ExecInspectLibpodNotFound) GetPayload() *ExecInspectLibpodNotFoundBody
- func (o *ExecInspectLibpodNotFound) IsClientError() bool
- func (o *ExecInspectLibpodNotFound) IsCode(code int) bool
- func (o *ExecInspectLibpodNotFound) IsRedirect() bool
- func (o *ExecInspectLibpodNotFound) IsServerError() bool
- func (o *ExecInspectLibpodNotFound) IsSuccess() bool
- func (o *ExecInspectLibpodNotFound) String() string
- type ExecInspectLibpodNotFoundBody
- func (o *ExecInspectLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecInspectLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ExecInspectLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ExecInspectLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type ExecInspectLibpodOK
- func (o *ExecInspectLibpodOK) Error() string
- func (o *ExecInspectLibpodOK) IsClientError() bool
- func (o *ExecInspectLibpodOK) IsCode(code int) bool
- func (o *ExecInspectLibpodOK) IsRedirect() bool
- func (o *ExecInspectLibpodOK) IsServerError() bool
- func (o *ExecInspectLibpodOK) IsSuccess() bool
- func (o *ExecInspectLibpodOK) String() string
- type ExecInspectLibpodParams
- func NewExecInspectLibpodParams() *ExecInspectLibpodParams
- func NewExecInspectLibpodParamsWithContext(ctx context.Context) *ExecInspectLibpodParams
- func NewExecInspectLibpodParamsWithHTTPClient(client *http.Client) *ExecInspectLibpodParams
- func NewExecInspectLibpodParamsWithTimeout(timeout time.Duration) *ExecInspectLibpodParams
- func (o *ExecInspectLibpodParams) SetContext(ctx context.Context)
- func (o *ExecInspectLibpodParams) SetDefaults()
- func (o *ExecInspectLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ExecInspectLibpodParams) SetID(id string)
- func (o *ExecInspectLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ExecInspectLibpodParams) WithContext(ctx context.Context) *ExecInspectLibpodParams
- func (o *ExecInspectLibpodParams) WithDefaults() *ExecInspectLibpodParams
- func (o *ExecInspectLibpodParams) WithHTTPClient(client *http.Client) *ExecInspectLibpodParams
- func (o *ExecInspectLibpodParams) WithID(id string) *ExecInspectLibpodParams
- func (o *ExecInspectLibpodParams) WithTimeout(timeout time.Duration) *ExecInspectLibpodParams
- func (o *ExecInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecInspectLibpodReader
- type ExecResizeLibpodCreated
- func (o *ExecResizeLibpodCreated) Error() string
- func (o *ExecResizeLibpodCreated) IsClientError() bool
- func (o *ExecResizeLibpodCreated) IsCode(code int) bool
- func (o *ExecResizeLibpodCreated) IsRedirect() bool
- func (o *ExecResizeLibpodCreated) IsServerError() bool
- func (o *ExecResizeLibpodCreated) IsSuccess() bool
- func (o *ExecResizeLibpodCreated) String() string
- type ExecResizeLibpodInternalServerError
- func (o *ExecResizeLibpodInternalServerError) Error() string
- func (o *ExecResizeLibpodInternalServerError) GetPayload() *ExecResizeLibpodInternalServerErrorBody
- func (o *ExecResizeLibpodInternalServerError) IsClientError() bool
- func (o *ExecResizeLibpodInternalServerError) IsCode(code int) bool
- func (o *ExecResizeLibpodInternalServerError) IsRedirect() bool
- func (o *ExecResizeLibpodInternalServerError) IsServerError() bool
- func (o *ExecResizeLibpodInternalServerError) IsSuccess() bool
- func (o *ExecResizeLibpodInternalServerError) String() string
- type ExecResizeLibpodInternalServerErrorBody
- func (o *ExecResizeLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecResizeLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ExecResizeLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ExecResizeLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ExecResizeLibpodNotFound
- func (o *ExecResizeLibpodNotFound) Error() string
- func (o *ExecResizeLibpodNotFound) GetPayload() *ExecResizeLibpodNotFoundBody
- func (o *ExecResizeLibpodNotFound) IsClientError() bool
- func (o *ExecResizeLibpodNotFound) IsCode(code int) bool
- func (o *ExecResizeLibpodNotFound) IsRedirect() bool
- func (o *ExecResizeLibpodNotFound) IsServerError() bool
- func (o *ExecResizeLibpodNotFound) IsSuccess() bool
- func (o *ExecResizeLibpodNotFound) String() string
- type ExecResizeLibpodNotFoundBody
- func (o *ExecResizeLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecResizeLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ExecResizeLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ExecResizeLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type ExecResizeLibpodParams
- func NewExecResizeLibpodParams() *ExecResizeLibpodParams
- func NewExecResizeLibpodParamsWithContext(ctx context.Context) *ExecResizeLibpodParams
- func NewExecResizeLibpodParamsWithHTTPClient(client *http.Client) *ExecResizeLibpodParams
- func NewExecResizeLibpodParamsWithTimeout(timeout time.Duration) *ExecResizeLibpodParams
- func (o *ExecResizeLibpodParams) SetContext(ctx context.Context)
- func (o *ExecResizeLibpodParams) SetDefaults()
- func (o *ExecResizeLibpodParams) SetH(h *int64)
- func (o *ExecResizeLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ExecResizeLibpodParams) SetID(id string)
- func (o *ExecResizeLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ExecResizeLibpodParams) SetW(w *int64)
- func (o *ExecResizeLibpodParams) WithContext(ctx context.Context) *ExecResizeLibpodParams
- func (o *ExecResizeLibpodParams) WithDefaults() *ExecResizeLibpodParams
- func (o *ExecResizeLibpodParams) WithH(h *int64) *ExecResizeLibpodParams
- func (o *ExecResizeLibpodParams) WithHTTPClient(client *http.Client) *ExecResizeLibpodParams
- func (o *ExecResizeLibpodParams) WithID(id string) *ExecResizeLibpodParams
- func (o *ExecResizeLibpodParams) WithTimeout(timeout time.Duration) *ExecResizeLibpodParams
- func (o *ExecResizeLibpodParams) WithW(w *int64) *ExecResizeLibpodParams
- func (o *ExecResizeLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecResizeLibpodReader
- type ExecStartLibpodBody
- type ExecStartLibpodConflict
- func (o *ExecStartLibpodConflict) Error() string
- func (o *ExecStartLibpodConflict) IsClientError() bool
- func (o *ExecStartLibpodConflict) IsCode(code int) bool
- func (o *ExecStartLibpodConflict) IsRedirect() bool
- func (o *ExecStartLibpodConflict) IsServerError() bool
- func (o *ExecStartLibpodConflict) IsSuccess() bool
- func (o *ExecStartLibpodConflict) String() string
- type ExecStartLibpodInternalServerError
- func (o *ExecStartLibpodInternalServerError) Error() string
- func (o *ExecStartLibpodInternalServerError) GetPayload() *ExecStartLibpodInternalServerErrorBody
- func (o *ExecStartLibpodInternalServerError) IsClientError() bool
- func (o *ExecStartLibpodInternalServerError) IsCode(code int) bool
- func (o *ExecStartLibpodInternalServerError) IsRedirect() bool
- func (o *ExecStartLibpodInternalServerError) IsServerError() bool
- func (o *ExecStartLibpodInternalServerError) IsSuccess() bool
- func (o *ExecStartLibpodInternalServerError) String() string
- type ExecStartLibpodInternalServerErrorBody
- func (o *ExecStartLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecStartLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ExecStartLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ExecStartLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ExecStartLibpodNotFound
- func (o *ExecStartLibpodNotFound) Error() string
- func (o *ExecStartLibpodNotFound) GetPayload() *ExecStartLibpodNotFoundBody
- func (o *ExecStartLibpodNotFound) IsClientError() bool
- func (o *ExecStartLibpodNotFound) IsCode(code int) bool
- func (o *ExecStartLibpodNotFound) IsRedirect() bool
- func (o *ExecStartLibpodNotFound) IsServerError() bool
- func (o *ExecStartLibpodNotFound) IsSuccess() bool
- func (o *ExecStartLibpodNotFound) String() string
- type ExecStartLibpodNotFoundBody
- func (o *ExecStartLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecStartLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ExecStartLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ExecStartLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type ExecStartLibpodOK
- func (o *ExecStartLibpodOK) Error() string
- func (o *ExecStartLibpodOK) IsClientError() bool
- func (o *ExecStartLibpodOK) IsCode(code int) bool
- func (o *ExecStartLibpodOK) IsRedirect() bool
- func (o *ExecStartLibpodOK) IsServerError() bool
- func (o *ExecStartLibpodOK) IsSuccess() bool
- func (o *ExecStartLibpodOK) String() string
- type ExecStartLibpodParams
- func NewExecStartLibpodParams() *ExecStartLibpodParams
- func NewExecStartLibpodParamsWithContext(ctx context.Context) *ExecStartLibpodParams
- func NewExecStartLibpodParamsWithHTTPClient(client *http.Client) *ExecStartLibpodParams
- func NewExecStartLibpodParamsWithTimeout(timeout time.Duration) *ExecStartLibpodParams
- func (o *ExecStartLibpodParams) SetContext(ctx context.Context)
- func (o *ExecStartLibpodParams) SetControl(control ExecStartLibpodBody)
- func (o *ExecStartLibpodParams) SetDefaults()
- func (o *ExecStartLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ExecStartLibpodParams) SetID(id string)
- func (o *ExecStartLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ExecStartLibpodParams) WithContext(ctx context.Context) *ExecStartLibpodParams
- func (o *ExecStartLibpodParams) WithControl(control ExecStartLibpodBody) *ExecStartLibpodParams
- func (o *ExecStartLibpodParams) WithDefaults() *ExecStartLibpodParams
- func (o *ExecStartLibpodParams) WithHTTPClient(client *http.Client) *ExecStartLibpodParams
- func (o *ExecStartLibpodParams) WithID(id string) *ExecStartLibpodParams
- func (o *ExecStartLibpodParams) WithTimeout(timeout time.Duration) *ExecStartLibpodParams
- func (o *ExecStartLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecStartLibpodReader
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
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 (o *ContainerExecLibpodConflict) Error() string
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 (o *ContainerExecLibpodCreated) Error() string
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 (o *ContainerExecLibpodInternalServerError) Error() string
func (*ContainerExecLibpodInternalServerError) GetPayload ¶
func (o *ContainerExecLibpodInternalServerError) GetPayload() *ContainerExecLibpodInternalServerErrorBody
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 ¶
func (o *ContainerExecLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this container exec libpod internal server error response a status code equal to that given
func (*ContainerExecLibpodInternalServerError) IsRedirect ¶
func (o *ContainerExecLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *ContainerExecLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this container exec libpod internal server error response has a 2xx status code
func (*ContainerExecLibpodInternalServerError) String ¶
func (o *ContainerExecLibpodInternalServerError) String() 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 ¶
func (o *ContainerExecLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 (o *ContainerExecLibpodNotFound) Error() string
func (*ContainerExecLibpodNotFound) GetPayload ¶
func (o *ContainerExecLibpodNotFound) GetPayload() *ContainerExecLibpodNotFoundBody
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
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 ¶
func (o *ContainerExecLibpodParams) WithContext(ctx context.Context) *ContainerExecLibpodParams
WithContext adds the context to the container exec libpod params
func (*ContainerExecLibpodParams) WithControl ¶
func (o *ContainerExecLibpodParams) WithControl(control ContainerExecLibpodBody) *ContainerExecLibpodParams
WithControl adds the control to the container exec libpod params
func (*ContainerExecLibpodParams) WithDefaults ¶
func (o *ContainerExecLibpodParams) WithDefaults() *ContainerExecLibpodParams
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 ¶
func (o *ContainerExecLibpodParams) WithName(name string) *ContainerExecLibpodParams
WithName adds the name to the container exec libpod params
func (*ContainerExecLibpodParams) WithTimeout ¶
func (o *ContainerExecLibpodParams) WithTimeout(timeout time.Duration) *ContainerExecLibpodParams
WithTimeout adds the timeout to the container exec libpod params
func (*ContainerExecLibpodParams) WriteToRequest ¶
func (o *ContainerExecLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ExecInspectLibpodInternalServerError) Error() string
func (*ExecInspectLibpodInternalServerError) GetPayload ¶
func (o *ExecInspectLibpodInternalServerError) GetPayload() *ExecInspectLibpodInternalServerErrorBody
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 ¶
func (o *ExecInspectLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this exec inspect libpod internal server error response a status code equal to that given
func (*ExecInspectLibpodInternalServerError) IsRedirect ¶
func (o *ExecInspectLibpodInternalServerError) IsRedirect() bool
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 ¶
func (o *ExecInspectLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this exec inspect libpod internal server error response has a 2xx status code
func (*ExecInspectLibpodInternalServerError) String ¶
func (o *ExecInspectLibpodInternalServerError) String() 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 ¶
func (o *ExecInspectLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 (o *ExecInspectLibpodNotFound) GetPayload() *ExecInspectLibpodNotFoundBody
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
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 ¶
func (o *ExecInspectLibpodParams) WithContext(ctx context.Context) *ExecInspectLibpodParams
WithContext adds the context to the exec inspect libpod params
func (*ExecInspectLibpodParams) WithDefaults ¶
func (o *ExecInspectLibpodParams) WithDefaults() *ExecInspectLibpodParams
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 ¶
func (o *ExecInspectLibpodParams) WithID(id string) *ExecInspectLibpodParams
WithID adds the id to the exec inspect libpod params
func (*ExecInspectLibpodParams) WithTimeout ¶
func (o *ExecInspectLibpodParams) WithTimeout(timeout time.Duration) *ExecInspectLibpodParams
WithTimeout adds the timeout to the exec inspect libpod params
func (*ExecInspectLibpodParams) WriteToRequest ¶
func (o *ExecInspectLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ExecResizeLibpodInternalServerError) Error() string
func (*ExecResizeLibpodInternalServerError) GetPayload ¶
func (o *ExecResizeLibpodInternalServerError) GetPayload() *ExecResizeLibpodInternalServerErrorBody
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 ¶
func (o *ExecResizeLibpodInternalServerError) IsCode(code int) bool
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 ¶
func (o *ExecResizeLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this exec resize libpod internal server error response has a 2xx status code
func (*ExecResizeLibpodInternalServerError) String ¶
func (o *ExecResizeLibpodInternalServerError) String() 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 ¶
func (o *ExecResizeLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 (o *ExecResizeLibpodNotFound) GetPayload() *ExecResizeLibpodNotFoundBody
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
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 ¶
func (o *ExecResizeLibpodParams) WithContext(ctx context.Context) *ExecResizeLibpodParams
WithContext adds the context to the exec resize libpod params
func (*ExecResizeLibpodParams) WithDefaults ¶
func (o *ExecResizeLibpodParams) WithDefaults() *ExecResizeLibpodParams
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 ¶
func (o *ExecResizeLibpodParams) WithH(h *int64) *ExecResizeLibpodParams
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 ¶
func (o *ExecResizeLibpodParams) WithID(id string) *ExecResizeLibpodParams
WithID adds the id to the exec resize libpod params
func (*ExecResizeLibpodParams) WithTimeout ¶
func (o *ExecResizeLibpodParams) WithTimeout(timeout time.Duration) *ExecResizeLibpodParams
WithTimeout adds the timeout to the exec resize libpod params
func (*ExecResizeLibpodParams) WithW ¶
func (o *ExecResizeLibpodParams) WithW(w *int64) *ExecResizeLibpodParams
WithW adds the w to the exec resize libpod params
func (*ExecResizeLibpodParams) WriteToRequest ¶
func (o *ExecResizeLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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
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 (o *ExecStartLibpodInternalServerError) Error() string
func (*ExecStartLibpodInternalServerError) GetPayload ¶
func (o *ExecStartLibpodInternalServerError) GetPayload() *ExecStartLibpodInternalServerErrorBody
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 ¶
func (o *ExecStartLibpodInternalServerError) IsCode(code int) bool
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 ¶
func (o *ExecStartLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this exec start libpod internal server error response has a 2xx status code
func (*ExecStartLibpodInternalServerError) String ¶
func (o *ExecStartLibpodInternalServerError) String() 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 ¶
func (o *ExecStartLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 (o *ExecStartLibpodNotFound) GetPayload() *ExecStartLibpodNotFoundBody
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
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 ¶
func (o *ExecStartLibpodParams) WithContext(ctx context.Context) *ExecStartLibpodParams
WithContext adds the context to the exec start libpod params
func (*ExecStartLibpodParams) WithControl ¶
func (o *ExecStartLibpodParams) WithControl(control ExecStartLibpodBody) *ExecStartLibpodParams
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 ¶
func (o *ExecStartLibpodParams) WithID(id string) *ExecStartLibpodParams
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.