Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
- type Client
- func (a *Client) ContainerExecLibpod(params *ContainerExecLibpodParams, opts ...ClientOption) (*ContainerExecLibpodCreated, error)
- func (a *Client) ContainerExecLibpodContext(ctx context.Context, params *ContainerExecLibpodParams, opts ...ClientOption) (*ContainerExecLibpodCreated, error)
- func (a *Client) ExecInspectLibpod(params *ExecInspectLibpodParams, opts ...ClientOption) (*ExecInspectLibpodOK, error)
- func (a *Client) ExecInspectLibpodContext(ctx context.Context, params *ExecInspectLibpodParams, opts ...ClientOption) (*ExecInspectLibpodOK, error)
- func (a *Client) ExecResizeLibpod(params *ExecResizeLibpodParams, opts ...ClientOption) (*ExecResizeLibpodCreated, error)
- func (a *Client) ExecResizeLibpodContext(ctx context.Context, params *ExecResizeLibpodParams, opts ...ClientOption) (*ExecResizeLibpodCreated, error)
- func (a *Client) ExecStartLibpod(params *ExecStartLibpodParams, opts ...ClientOption) (*ExecStartLibpodOK, error)
- func (a *Client) ExecStartLibpodContext(ctx context.Context, params *ExecStartLibpodParams, opts ...ClientOption) (*ExecStartLibpodOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type ContainerExecLibpodBody
- type ContainerExecLibpodConflict
- func (o *ContainerExecLibpodConflict) Code() int
- 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) Code() int
- 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) Code() int
- func (o *ContainerExecLibpodInternalServerError) Error() string
- func (o *ContainerExecLibpodInternalServerError) GetPayload() *models.ErrorModel
- 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 ContainerExecLibpodNotFound
- func (o *ContainerExecLibpodNotFound) Code() int
- func (o *ContainerExecLibpodNotFound) Error() string
- func (o *ContainerExecLibpodNotFound) GetPayload() *models.ErrorModel
- 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 ContainerExecLibpodParams
- func NewContainerExecLibpodParams() *ContainerExecLibpodParams
- func NewContainerExecLibpodParamsWithContext(ctx context.Context) *ContainerExecLibpodParamsdeprecated
- func NewContainerExecLibpodParamsWithHTTPClient(client *http.Client) *ContainerExecLibpodParams
- func NewContainerExecLibpodParamsWithTimeout(timeout time.Duration) *ContainerExecLibpodParams
- func (o *ContainerExecLibpodParams) SetContext(ctx context.Context)deprecated
- 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) *ContainerExecLibpodParamsdeprecated
- 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) Code() int
- func (o *ExecInspectLibpodInternalServerError) Error() string
- func (o *ExecInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
- 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 ExecInspectLibpodNotFound
- func (o *ExecInspectLibpodNotFound) Code() int
- func (o *ExecInspectLibpodNotFound) Error() string
- func (o *ExecInspectLibpodNotFound) GetPayload() *models.ErrorModel
- 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 ExecInspectLibpodOK
- func (o *ExecInspectLibpodOK) Code() int
- 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) *ExecInspectLibpodParamsdeprecated
- func NewExecInspectLibpodParamsWithHTTPClient(client *http.Client) *ExecInspectLibpodParams
- func NewExecInspectLibpodParamsWithTimeout(timeout time.Duration) *ExecInspectLibpodParams
- func (o *ExecInspectLibpodParams) SetContext(ctx context.Context)deprecated
- 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) *ExecInspectLibpodParamsdeprecated
- 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) Code() int
- 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) Code() int
- func (o *ExecResizeLibpodInternalServerError) Error() string
- func (o *ExecResizeLibpodInternalServerError) GetPayload() *models.ErrorModel
- 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 ExecResizeLibpodNotFound
- func (o *ExecResizeLibpodNotFound) Code() int
- func (o *ExecResizeLibpodNotFound) Error() string
- func (o *ExecResizeLibpodNotFound) GetPayload() *models.ErrorModel
- 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 ExecResizeLibpodParams
- func NewExecResizeLibpodParams() *ExecResizeLibpodParams
- func NewExecResizeLibpodParamsWithContext(ctx context.Context) *ExecResizeLibpodParamsdeprecated
- func NewExecResizeLibpodParamsWithHTTPClient(client *http.Client) *ExecResizeLibpodParams
- func NewExecResizeLibpodParamsWithTimeout(timeout time.Duration) *ExecResizeLibpodParams
- func (o *ExecResizeLibpodParams) SetContext(ctx context.Context)deprecated
- 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) SetRunning(running *bool)
- func (o *ExecResizeLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ExecResizeLibpodParams) SetW(w *int64)
- func (o *ExecResizeLibpodParams) WithContext(ctx context.Context) *ExecResizeLibpodParamsdeprecated
- 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) WithRunning(running *bool) *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) Code() int
- 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) Code() int
- func (o *ExecStartLibpodInternalServerError) Error() string
- func (o *ExecStartLibpodInternalServerError) GetPayload() *models.ErrorModel
- 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 ExecStartLibpodNotFound
- func (o *ExecStartLibpodNotFound) Code() int
- func (o *ExecStartLibpodNotFound) Error() string
- func (o *ExecStartLibpodNotFound) GetPayload() *models.ErrorModel
- 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 ExecStartLibpodOK
- func (o *ExecStartLibpodOK) Code() int
- 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) *ExecStartLibpodParamsdeprecated
- func NewExecStartLibpodParamsWithHTTPClient(client *http.Client) *ExecStartLibpodParams
- func NewExecStartLibpodParamsWithTimeout(timeout time.Duration) *ExecStartLibpodParams
- func (o *ExecStartLibpodParams) SetContext(ctx context.Context)deprecated
- 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) *ExecStartLibpodParamsdeprecated
- 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 ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxTar ¶
func WithContentTypeApplicationxTar(r *runtime.ClientOperation)
WithContentTypeApplicationxTar sets the Content-Type header to "application/x-tar".
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..
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.ContainerExecLibpodContext instead.
func (*Client) ContainerExecLibpodContext ¶
func (a *Client) ContainerExecLibpodContext(ctx context.Context, params *ContainerExecLibpodParams, opts ...ClientOption) (*ContainerExecLibpodCreated, error)
ContainerExecLibpodContext 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..
Do not use the deprecated [ContainerExecLibpodParams.Context] with this method: it would be ignored.
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..
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.ExecInspectLibpodContext instead.
func (*Client) ExecInspectLibpodContext ¶
func (a *Client) ExecInspectLibpodContext(ctx context.Context, params *ExecInspectLibpodParams, opts ...ClientOption) (*ExecInspectLibpodOK, error)
ExecInspectLibpodContext inspects an exec instance.
Return low-level information about an exec instance..
Do not use the deprecated [ExecInspectLibpodParams.Context] with this method: it would be ignored.
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. .
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.ExecResizeLibpodContext instead.
func (*Client) ExecResizeLibpodContext ¶
func (a *Client) ExecResizeLibpodContext(ctx context.Context, params *ExecResizeLibpodParams, opts ...ClientOption) (*ExecResizeLibpodCreated, error)
ExecResizeLibpodContext 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. .
Do not use the deprecated [ExecResizeLibpodParams.Context] with this method: it would be ignored.
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. The stream format is the same as the attach endpoint. .
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.ExecStartLibpodContext instead.
func (*Client) ExecStartLibpodContext ¶
func (a *Client) ExecStartLibpodContext(ctx context.Context, params *ExecStartLibpodParams, opts ...ClientOption) (*ExecStartLibpodOK, error)
ExecStartLibpodContext 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. The stream format is the same as the attach endpoint. .
Do not use the deprecated [ExecStartLibpodParams.Context] with this method: it would be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
// ContainerExecLibpod create an exec instance.
ContainerExecLibpod(params *ContainerExecLibpodParams, opts ...ClientOption) (*ContainerExecLibpodCreated, error)
// ContainerExecLibpodContext create an exec instance.
ContainerExecLibpodContext(ctx context.Context, params *ContainerExecLibpodParams, opts ...ClientOption) (*ContainerExecLibpodCreated, error)
// ExecInspectLibpod inspect an exec instance.
ExecInspectLibpod(params *ExecInspectLibpodParams, opts ...ClientOption) (*ExecInspectLibpodOK, error)
// ExecInspectLibpodContext inspect an exec instance.
ExecInspectLibpodContext(ctx context.Context, params *ExecInspectLibpodParams, opts ...ClientOption) (*ExecInspectLibpodOK, error)
// ExecResizeLibpod resize an exec instance.
ExecResizeLibpod(params *ExecResizeLibpodParams, opts ...ClientOption) (*ExecResizeLibpodCreated, error)
// ExecResizeLibpodContext resize an exec instance.
ExecResizeLibpodContext(ctx context.Context, params *ExecResizeLibpodParams, opts ...ClientOption) (*ExecResizeLibpodCreated, error)
// ExecStartLibpod start an exec instance.
ExecStartLibpod(params *ExecStartLibpodParams, opts ...ClientOption) (*ExecStartLibpodOK, error)
// ExecStartLibpodContext start an exec instance.
ExecStartLibpodContext(ctx context.Context, params *ExecStartLibpodParams, opts ...ClientOption) (*ExecStartLibpodOK, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new exec API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new exec API client with basic auth credentials.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new exec API client with a bearer token for authentication.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
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 ¶
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) Code ¶
func (o *ContainerExecLibpodConflict) Code() int
Code gets the status code for the container exec libpod conflict response
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) Code ¶
func (o *ContainerExecLibpodCreated) Code() int
Code gets the status code for the container exec libpod created response
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 *models.ErrorModel
}
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) Code ¶
func (o *ContainerExecLibpodInternalServerError) Code() int
Code gets the status code for the container exec libpod internal server error response
func (*ContainerExecLibpodInternalServerError) Error ¶
func (o *ContainerExecLibpodInternalServerError) Error() string
func (*ContainerExecLibpodInternalServerError) GetPayload ¶
func (o *ContainerExecLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ContainerExecLibpodNotFound ¶
type ContainerExecLibpodNotFound struct {
Payload *models.ErrorModel
}
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) Code ¶
func (o *ContainerExecLibpodNotFound) Code() int
Code gets the status code for the container exec libpod not found response
func (*ContainerExecLibpodNotFound) Error ¶
func (o *ContainerExecLibpodNotFound) Error() string
func (*ContainerExecLibpodNotFound) GetPayload ¶
func (o *ContainerExecLibpodNotFound) GetPayload() *models.ErrorModel
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 ContainerExecLibpodParams ¶
type ContainerExecLibpodParams struct {
// Control.
//
// Attributes for create
Control ContainerExecLibpodBody
// Name.
//
// name of container
Name string
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
deprecated
func NewContainerExecLibpodParamsWithContext(ctx context.Context) *ContainerExecLibpodParams
NewContainerExecLibpodParamsWithContext creates a new ContainerExecLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ContainerExecLibpodParams.
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
deprecated
func (o *ContainerExecLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the container exec libpod params.
Deprecated: use the operation call with context to pass the context instead of ContainerExecLibpodParams.
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
deprecated
func (o *ContainerExecLibpodParams) WithContext(ctx context.Context) *ContainerExecLibpodParams
WithContext adds the context to the container exec libpod params.
Deprecated: use the operation call with context to pass the context instead of ContainerExecLibpodParams.
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 runtime.ClientRequest.
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) (any, error)
ReadResponse reads a server response into the received o.
type ExecInspectLibpodInternalServerError ¶
type ExecInspectLibpodInternalServerError struct {
Payload *models.ErrorModel
}
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) Code ¶
func (o *ExecInspectLibpodInternalServerError) Code() int
Code gets the status code for the exec inspect libpod internal server error response
func (*ExecInspectLibpodInternalServerError) Error ¶
func (o *ExecInspectLibpodInternalServerError) Error() string
func (*ExecInspectLibpodInternalServerError) GetPayload ¶
func (o *ExecInspectLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ExecInspectLibpodNotFound ¶
type ExecInspectLibpodNotFound struct {
Payload *models.ErrorModel
}
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) Code ¶
func (o *ExecInspectLibpodNotFound) Code() int
Code gets the status code for the exec inspect libpod not found response
func (*ExecInspectLibpodNotFound) Error ¶
func (o *ExecInspectLibpodNotFound) Error() string
func (*ExecInspectLibpodNotFound) GetPayload ¶
func (o *ExecInspectLibpodNotFound) GetPayload() *models.ErrorModel
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 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) Code ¶
func (o *ExecInspectLibpodOK) Code() int
Code gets the status code for the exec inspect libpod o k response
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
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
deprecated
func NewExecInspectLibpodParamsWithContext(ctx context.Context) *ExecInspectLibpodParams
NewExecInspectLibpodParamsWithContext creates a new ExecInspectLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ExecInspectLibpodParams.
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
deprecated
func (o *ExecInspectLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the exec inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of ExecInspectLibpodParams.
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
deprecated
func (o *ExecInspectLibpodParams) WithContext(ctx context.Context) *ExecInspectLibpodParams
WithContext adds the context to the exec inspect libpod params.
Deprecated: use the operation call with context to pass the context instead of ExecInspectLibpodParams.
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 runtime.ClientRequest.
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) (any, 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) Code ¶
func (o *ExecResizeLibpodCreated) Code() int
Code gets the status code for the exec resize libpod created response
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 *models.ErrorModel
}
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) Code ¶
func (o *ExecResizeLibpodInternalServerError) Code() int
Code gets the status code for the exec resize libpod internal server error response
func (*ExecResizeLibpodInternalServerError) Error ¶
func (o *ExecResizeLibpodInternalServerError) Error() string
func (*ExecResizeLibpodInternalServerError) GetPayload ¶
func (o *ExecResizeLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ExecResizeLibpodNotFound ¶
type ExecResizeLibpodNotFound struct {
Payload *models.ErrorModel
}
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) Code ¶
func (o *ExecResizeLibpodNotFound) Code() int
Code gets the status code for the exec resize libpod not found response
func (*ExecResizeLibpodNotFound) Error ¶
func (o *ExecResizeLibpodNotFound) Error() string
func (*ExecResizeLibpodNotFound) GetPayload ¶
func (o *ExecResizeLibpodNotFound) GetPayload() *models.ErrorModel
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 ExecResizeLibpodParams ¶
type ExecResizeLibpodParams struct {
// H.
//
// Height of the TTY session in characters
H *int64
// ID.
//
// Exec instance ID
ID string
// Running.
//
// Ignore containers not running errors
Running *bool
// W.
//
// Width of the TTY session in characters
W *int64
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
deprecated
func NewExecResizeLibpodParamsWithContext(ctx context.Context) *ExecResizeLibpodParams
NewExecResizeLibpodParamsWithContext creates a new ExecResizeLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ExecResizeLibpodParams.
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
deprecated
func (o *ExecResizeLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the exec resize libpod params.
Deprecated: use the operation call with context to pass the context instead of ExecResizeLibpodParams.
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) SetRunning ¶
func (o *ExecResizeLibpodParams) SetRunning(running *bool)
SetRunning adds the running 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
deprecated
func (o *ExecResizeLibpodParams) WithContext(ctx context.Context) *ExecResizeLibpodParams
WithContext adds the context to the exec resize libpod params.
Deprecated: use the operation call with context to pass the context instead of ExecResizeLibpodParams.
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) WithRunning ¶
func (o *ExecResizeLibpodParams) WithRunning(running *bool) *ExecResizeLibpodParams
WithRunning adds the running 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 runtime.ClientRequest.
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) (any, 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) Code ¶
func (o *ExecStartLibpodConflict) Code() int
Code gets the status code for the exec start libpod conflict response
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 *models.ErrorModel
}
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) Code ¶
func (o *ExecStartLibpodInternalServerError) Code() int
Code gets the status code for the exec start libpod internal server error response
func (*ExecStartLibpodInternalServerError) Error ¶
func (o *ExecStartLibpodInternalServerError) Error() string
func (*ExecStartLibpodInternalServerError) GetPayload ¶
func (o *ExecStartLibpodInternalServerError) GetPayload() *models.ErrorModel
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 ExecStartLibpodNotFound ¶
type ExecStartLibpodNotFound struct {
Payload *models.ErrorModel
}
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) Code ¶
func (o *ExecStartLibpodNotFound) Code() int
Code gets the status code for the exec start libpod not found response
func (*ExecStartLibpodNotFound) Error ¶
func (o *ExecStartLibpodNotFound) Error() string
func (*ExecStartLibpodNotFound) GetPayload ¶
func (o *ExecStartLibpodNotFound) GetPayload() *models.ErrorModel
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 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) Code ¶
func (o *ExecStartLibpodOK) Code() int
Code gets the status code for the exec start libpod o k response
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
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
deprecated
func NewExecStartLibpodParamsWithContext(ctx context.Context) *ExecStartLibpodParams
NewExecStartLibpodParamsWithContext creates a new ExecStartLibpodParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ExecStartLibpodParams.
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
deprecated
func (o *ExecStartLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the exec start libpod params.
Deprecated: use the operation call with context to pass the context instead of ExecStartLibpodParams.
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
deprecated
func (o *ExecStartLibpodParams) WithContext(ctx context.Context) *ExecStartLibpodParams
WithContext adds the context to the exec start libpod params.
Deprecated: use the operation call with context to pass the context instead of ExecStartLibpodParams.
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 runtime.ClientRequest.
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) (any, error)
ReadResponse reads a server response into the received o.