Documentation ¶
Index ¶
- type Client
- func (a *Client) ContainerExec(params *ContainerExecParams, opts ...ClientOption) (*ContainerExecCreated, error)
- func (a *Client) ExecInspect(params *ExecInspectParams, opts ...ClientOption) (*ExecInspectOK, error)
- func (a *Client) ExecResize(params *ExecResizeParams, opts ...ClientOption) (*ExecResizeCreated, error)
- func (a *Client) ExecStart(params *ExecStartParams, opts ...ClientOption) (*ExecStartOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ContainerExecBody
- type ContainerExecConflict
- func (o *ContainerExecConflict) Error() string
- func (o *ContainerExecConflict) IsClientError() bool
- func (o *ContainerExecConflict) IsCode(code int) bool
- func (o *ContainerExecConflict) IsRedirect() bool
- func (o *ContainerExecConflict) IsServerError() bool
- func (o *ContainerExecConflict) IsSuccess() bool
- func (o *ContainerExecConflict) String() string
- type ContainerExecCreated
- func (o *ContainerExecCreated) Error() string
- func (o *ContainerExecCreated) IsClientError() bool
- func (o *ContainerExecCreated) IsCode(code int) bool
- func (o *ContainerExecCreated) IsRedirect() bool
- func (o *ContainerExecCreated) IsServerError() bool
- func (o *ContainerExecCreated) IsSuccess() bool
- func (o *ContainerExecCreated) String() string
- type ContainerExecInternalServerError
- func (o *ContainerExecInternalServerError) Error() string
- func (o *ContainerExecInternalServerError) GetPayload() *ContainerExecInternalServerErrorBody
- func (o *ContainerExecInternalServerError) IsClientError() bool
- func (o *ContainerExecInternalServerError) IsCode(code int) bool
- func (o *ContainerExecInternalServerError) IsRedirect() bool
- func (o *ContainerExecInternalServerError) IsServerError() bool
- func (o *ContainerExecInternalServerError) IsSuccess() bool
- func (o *ContainerExecInternalServerError) String() string
- type ContainerExecInternalServerErrorBody
- func (o *ContainerExecInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerExecInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerExecInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerExecInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerExecNotFound
- func (o *ContainerExecNotFound) Error() string
- func (o *ContainerExecNotFound) GetPayload() *ContainerExecNotFoundBody
- func (o *ContainerExecNotFound) IsClientError() bool
- func (o *ContainerExecNotFound) IsCode(code int) bool
- func (o *ContainerExecNotFound) IsRedirect() bool
- func (o *ContainerExecNotFound) IsServerError() bool
- func (o *ContainerExecNotFound) IsSuccess() bool
- func (o *ContainerExecNotFound) String() string
- type ContainerExecNotFoundBody
- func (o *ContainerExecNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerExecNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerExecNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerExecNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerExecParams
- func (o *ContainerExecParams) SetContext(ctx context.Context)
- func (o *ContainerExecParams) SetControl(control ContainerExecBody)
- func (o *ContainerExecParams) SetDefaults()
- func (o *ContainerExecParams) SetHTTPClient(client *http.Client)
- func (o *ContainerExecParams) SetName(name string)
- func (o *ContainerExecParams) SetTimeout(timeout time.Duration)
- func (o *ContainerExecParams) WithContext(ctx context.Context) *ContainerExecParams
- func (o *ContainerExecParams) WithControl(control ContainerExecBody) *ContainerExecParams
- func (o *ContainerExecParams) WithDefaults() *ContainerExecParams
- func (o *ContainerExecParams) WithHTTPClient(client *http.Client) *ContainerExecParams
- func (o *ContainerExecParams) WithName(name string) *ContainerExecParams
- func (o *ContainerExecParams) WithTimeout(timeout time.Duration) *ContainerExecParams
- func (o *ContainerExecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerExecReader
- type ExecInspectInternalServerError
- func (o *ExecInspectInternalServerError) Error() string
- func (o *ExecInspectInternalServerError) GetPayload() *ExecInspectInternalServerErrorBody
- func (o *ExecInspectInternalServerError) IsClientError() bool
- func (o *ExecInspectInternalServerError) IsCode(code int) bool
- func (o *ExecInspectInternalServerError) IsRedirect() bool
- func (o *ExecInspectInternalServerError) IsServerError() bool
- func (o *ExecInspectInternalServerError) IsSuccess() bool
- func (o *ExecInspectInternalServerError) String() string
- type ExecInspectInternalServerErrorBody
- func (o *ExecInspectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecInspectInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ExecInspectInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ExecInspectInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ExecInspectNotFound
- func (o *ExecInspectNotFound) Error() string
- func (o *ExecInspectNotFound) GetPayload() *ExecInspectNotFoundBody
- func (o *ExecInspectNotFound) IsClientError() bool
- func (o *ExecInspectNotFound) IsCode(code int) bool
- func (o *ExecInspectNotFound) IsRedirect() bool
- func (o *ExecInspectNotFound) IsServerError() bool
- func (o *ExecInspectNotFound) IsSuccess() bool
- func (o *ExecInspectNotFound) String() string
- type ExecInspectNotFoundBody
- func (o *ExecInspectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecInspectNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ExecInspectNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ExecInspectNotFoundBody) Validate(formats strfmt.Registry) error
- type ExecInspectOK
- type ExecInspectParams
- func (o *ExecInspectParams) SetContext(ctx context.Context)
- func (o *ExecInspectParams) SetDefaults()
- func (o *ExecInspectParams) SetHTTPClient(client *http.Client)
- func (o *ExecInspectParams) SetID(id string)
- func (o *ExecInspectParams) SetTimeout(timeout time.Duration)
- func (o *ExecInspectParams) WithContext(ctx context.Context) *ExecInspectParams
- func (o *ExecInspectParams) WithDefaults() *ExecInspectParams
- func (o *ExecInspectParams) WithHTTPClient(client *http.Client) *ExecInspectParams
- func (o *ExecInspectParams) WithID(id string) *ExecInspectParams
- func (o *ExecInspectParams) WithTimeout(timeout time.Duration) *ExecInspectParams
- func (o *ExecInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecInspectReader
- type ExecResizeCreated
- func (o *ExecResizeCreated) Error() string
- func (o *ExecResizeCreated) IsClientError() bool
- func (o *ExecResizeCreated) IsCode(code int) bool
- func (o *ExecResizeCreated) IsRedirect() bool
- func (o *ExecResizeCreated) IsServerError() bool
- func (o *ExecResizeCreated) IsSuccess() bool
- func (o *ExecResizeCreated) String() string
- type ExecResizeInternalServerError
- func (o *ExecResizeInternalServerError) Error() string
- func (o *ExecResizeInternalServerError) GetPayload() *ExecResizeInternalServerErrorBody
- func (o *ExecResizeInternalServerError) IsClientError() bool
- func (o *ExecResizeInternalServerError) IsCode(code int) bool
- func (o *ExecResizeInternalServerError) IsRedirect() bool
- func (o *ExecResizeInternalServerError) IsServerError() bool
- func (o *ExecResizeInternalServerError) IsSuccess() bool
- func (o *ExecResizeInternalServerError) String() string
- type ExecResizeInternalServerErrorBody
- func (o *ExecResizeInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecResizeInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ExecResizeInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ExecResizeInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ExecResizeNotFound
- func (o *ExecResizeNotFound) Error() string
- func (o *ExecResizeNotFound) GetPayload() *ExecResizeNotFoundBody
- func (o *ExecResizeNotFound) IsClientError() bool
- func (o *ExecResizeNotFound) IsCode(code int) bool
- func (o *ExecResizeNotFound) IsRedirect() bool
- func (o *ExecResizeNotFound) IsServerError() bool
- func (o *ExecResizeNotFound) IsSuccess() bool
- func (o *ExecResizeNotFound) String() string
- type ExecResizeNotFoundBody
- func (o *ExecResizeNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecResizeNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ExecResizeNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ExecResizeNotFoundBody) Validate(formats strfmt.Registry) error
- type ExecResizeParams
- func (o *ExecResizeParams) SetContext(ctx context.Context)
- func (o *ExecResizeParams) SetDefaults()
- func (o *ExecResizeParams) SetH(h *int64)
- func (o *ExecResizeParams) SetHTTPClient(client *http.Client)
- func (o *ExecResizeParams) SetID(id string)
- func (o *ExecResizeParams) SetRunning(running *bool)
- func (o *ExecResizeParams) SetTimeout(timeout time.Duration)
- func (o *ExecResizeParams) SetW(w *int64)
- func (o *ExecResizeParams) WithContext(ctx context.Context) *ExecResizeParams
- func (o *ExecResizeParams) WithDefaults() *ExecResizeParams
- func (o *ExecResizeParams) WithH(h *int64) *ExecResizeParams
- func (o *ExecResizeParams) WithHTTPClient(client *http.Client) *ExecResizeParams
- func (o *ExecResizeParams) WithID(id string) *ExecResizeParams
- func (o *ExecResizeParams) WithRunning(running *bool) *ExecResizeParams
- func (o *ExecResizeParams) WithTimeout(timeout time.Duration) *ExecResizeParams
- func (o *ExecResizeParams) WithW(w *int64) *ExecResizeParams
- func (o *ExecResizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecResizeReader
- type ExecStartBody
- type ExecStartConflict
- func (o *ExecStartConflict) Error() string
- func (o *ExecStartConflict) IsClientError() bool
- func (o *ExecStartConflict) IsCode(code int) bool
- func (o *ExecStartConflict) IsRedirect() bool
- func (o *ExecStartConflict) IsServerError() bool
- func (o *ExecStartConflict) IsSuccess() bool
- func (o *ExecStartConflict) String() string
- type ExecStartInternalServerError
- func (o *ExecStartInternalServerError) Error() string
- func (o *ExecStartInternalServerError) GetPayload() *ExecStartInternalServerErrorBody
- func (o *ExecStartInternalServerError) IsClientError() bool
- func (o *ExecStartInternalServerError) IsCode(code int) bool
- func (o *ExecStartInternalServerError) IsRedirect() bool
- func (o *ExecStartInternalServerError) IsServerError() bool
- func (o *ExecStartInternalServerError) IsSuccess() bool
- func (o *ExecStartInternalServerError) String() string
- type ExecStartInternalServerErrorBody
- func (o *ExecStartInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ExecStartInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ExecStartInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ExecStartInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ExecStartNotFound
- func (o *ExecStartNotFound) Error() string
- func (o *ExecStartNotFound) GetPayload() *ExecStartNotFoundBody
- func (o *ExecStartNotFound) IsClientError() bool
- func (o *ExecStartNotFound) IsCode(code int) bool
- func (o *ExecStartNotFound) IsRedirect() bool
- func (o *ExecStartNotFound) IsServerError() bool
- func (o *ExecStartNotFound) IsSuccess() bool
- func (o *ExecStartNotFound) String() string
- type ExecStartNotFoundBody
- type ExecStartOK
- type ExecStartParams
- func (o *ExecStartParams) SetContext(ctx context.Context)
- func (o *ExecStartParams) SetControl(control ExecStartBody)
- func (o *ExecStartParams) SetDefaults()
- func (o *ExecStartParams) SetHTTPClient(client *http.Client)
- func (o *ExecStartParams) SetID(id string)
- func (o *ExecStartParams) SetTimeout(timeout time.Duration)
- func (o *ExecStartParams) WithContext(ctx context.Context) *ExecStartParams
- func (o *ExecStartParams) WithControl(control ExecStartBody) *ExecStartParams
- func (o *ExecStartParams) WithDefaults() *ExecStartParams
- func (o *ExecStartParams) WithHTTPClient(client *http.Client) *ExecStartParams
- func (o *ExecStartParams) WithID(id string) *ExecStartParams
- func (o *ExecStartParams) WithTimeout(timeout time.Duration) *ExecStartParams
- func (o *ExecStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExecStartReader
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 compat API
func (*Client) ContainerExec ¶
func (a *Client) ContainerExec(params *ContainerExecParams, opts ...ClientOption) (*ContainerExecCreated, error)
ContainerExec 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) ExecInspect ¶
func (a *Client) ExecInspect(params *ExecInspectParams, opts ...ClientOption) (*ExecInspectOK, error)
ExecInspect inspects an exec instance
Return low-level information about an exec instance.
func (*Client) ExecResize ¶
func (a *Client) ExecResize(params *ExecResizeParams, opts ...ClientOption) (*ExecResizeCreated, error)
ExecResize 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) ExecStart ¶
func (a *Client) ExecStart(params *ExecStartParams, opts ...ClientOption) (*ExecStartOK, error)
ExecStart 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 { ContainerExec(params *ContainerExecParams, opts ...ClientOption) (*ContainerExecCreated, error) ExecInspect(params *ExecInspectParams, opts ...ClientOption) (*ExecInspectOK, error) ExecResize(params *ExecResizeParams, opts ...ClientOption) (*ExecResizeCreated, error) ExecStart(params *ExecStartParams, opts ...ClientOption) (*ExecStartOK, 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 compat API client.
type ContainerExecBody ¶
type ContainerExecBody 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"` }
ContainerExecBody container exec body swagger:model ContainerExecBody
func (*ContainerExecBody) ContextValidate ¶
ContextValidate validates this container exec body based on context it is used
func (*ContainerExecBody) MarshalBinary ¶
func (o *ContainerExecBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerExecBody) UnmarshalBinary ¶
func (o *ContainerExecBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerExecConflict ¶
type ContainerExecConflict struct { }
ContainerExecConflict describes a response with status code 409, with default header values.
container is paused
func NewContainerExecConflict ¶
func NewContainerExecConflict() *ContainerExecConflict
NewContainerExecConflict creates a ContainerExecConflict with default headers values
func (*ContainerExecConflict) Error ¶
func (o *ContainerExecConflict) Error() string
func (*ContainerExecConflict) IsClientError ¶
func (o *ContainerExecConflict) IsClientError() bool
IsClientError returns true when this container exec conflict response has a 4xx status code
func (*ContainerExecConflict) IsCode ¶
func (o *ContainerExecConflict) IsCode(code int) bool
IsCode returns true when this container exec conflict response a status code equal to that given
func (*ContainerExecConflict) IsRedirect ¶
func (o *ContainerExecConflict) IsRedirect() bool
IsRedirect returns true when this container exec conflict response has a 3xx status code
func (*ContainerExecConflict) IsServerError ¶
func (o *ContainerExecConflict) IsServerError() bool
IsServerError returns true when this container exec conflict response has a 5xx status code
func (*ContainerExecConflict) IsSuccess ¶
func (o *ContainerExecConflict) IsSuccess() bool
IsSuccess returns true when this container exec conflict response has a 2xx status code
func (*ContainerExecConflict) String ¶
func (o *ContainerExecConflict) String() string
type ContainerExecCreated ¶
type ContainerExecCreated struct { }
ContainerExecCreated describes a response with status code 201, with default header values.
no error
func NewContainerExecCreated ¶
func NewContainerExecCreated() *ContainerExecCreated
NewContainerExecCreated creates a ContainerExecCreated with default headers values
func (*ContainerExecCreated) Error ¶
func (o *ContainerExecCreated) Error() string
func (*ContainerExecCreated) IsClientError ¶
func (o *ContainerExecCreated) IsClientError() bool
IsClientError returns true when this container exec created response has a 4xx status code
func (*ContainerExecCreated) IsCode ¶
func (o *ContainerExecCreated) IsCode(code int) bool
IsCode returns true when this container exec created response a status code equal to that given
func (*ContainerExecCreated) IsRedirect ¶
func (o *ContainerExecCreated) IsRedirect() bool
IsRedirect returns true when this container exec created response has a 3xx status code
func (*ContainerExecCreated) IsServerError ¶
func (o *ContainerExecCreated) IsServerError() bool
IsServerError returns true when this container exec created response has a 5xx status code
func (*ContainerExecCreated) IsSuccess ¶
func (o *ContainerExecCreated) IsSuccess() bool
IsSuccess returns true when this container exec created response has a 2xx status code
func (*ContainerExecCreated) String ¶
func (o *ContainerExecCreated) String() string
type ContainerExecInternalServerError ¶
type ContainerExecInternalServerError struct {
Payload *ContainerExecInternalServerErrorBody
}
ContainerExecInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerExecInternalServerError ¶
func NewContainerExecInternalServerError() *ContainerExecInternalServerError
NewContainerExecInternalServerError creates a ContainerExecInternalServerError with default headers values
func (*ContainerExecInternalServerError) Error ¶
func (o *ContainerExecInternalServerError) Error() string
func (*ContainerExecInternalServerError) GetPayload ¶
func (o *ContainerExecInternalServerError) GetPayload() *ContainerExecInternalServerErrorBody
func (*ContainerExecInternalServerError) IsClientError ¶
func (o *ContainerExecInternalServerError) IsClientError() bool
IsClientError returns true when this container exec internal server error response has a 4xx status code
func (*ContainerExecInternalServerError) IsCode ¶
func (o *ContainerExecInternalServerError) IsCode(code int) bool
IsCode returns true when this container exec internal server error response a status code equal to that given
func (*ContainerExecInternalServerError) IsRedirect ¶
func (o *ContainerExecInternalServerError) IsRedirect() bool
IsRedirect returns true when this container exec internal server error response has a 3xx status code
func (*ContainerExecInternalServerError) IsServerError ¶
func (o *ContainerExecInternalServerError) IsServerError() bool
IsServerError returns true when this container exec internal server error response has a 5xx status code
func (*ContainerExecInternalServerError) IsSuccess ¶
func (o *ContainerExecInternalServerError) IsSuccess() bool
IsSuccess returns true when this container exec internal server error response has a 2xx status code
func (*ContainerExecInternalServerError) String ¶
func (o *ContainerExecInternalServerError) String() string
type ContainerExecInternalServerErrorBody ¶
type ContainerExecInternalServerErrorBody 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"` }
ContainerExecInternalServerErrorBody container exec internal server error body swagger:model ContainerExecInternalServerErrorBody
func (*ContainerExecInternalServerErrorBody) ContextValidate ¶
func (o *ContainerExecInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container exec internal server error body based on context it is used
func (*ContainerExecInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerExecInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerExecInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerExecInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerExecNotFound ¶
type ContainerExecNotFound struct {
Payload *ContainerExecNotFoundBody
}
ContainerExecNotFound describes a response with status code 404, with default header values.
No such container
func NewContainerExecNotFound ¶
func NewContainerExecNotFound() *ContainerExecNotFound
NewContainerExecNotFound creates a ContainerExecNotFound with default headers values
func (*ContainerExecNotFound) Error ¶
func (o *ContainerExecNotFound) Error() string
func (*ContainerExecNotFound) GetPayload ¶
func (o *ContainerExecNotFound) GetPayload() *ContainerExecNotFoundBody
func (*ContainerExecNotFound) IsClientError ¶
func (o *ContainerExecNotFound) IsClientError() bool
IsClientError returns true when this container exec not found response has a 4xx status code
func (*ContainerExecNotFound) IsCode ¶
func (o *ContainerExecNotFound) IsCode(code int) bool
IsCode returns true when this container exec not found response a status code equal to that given
func (*ContainerExecNotFound) IsRedirect ¶
func (o *ContainerExecNotFound) IsRedirect() bool
IsRedirect returns true when this container exec not found response has a 3xx status code
func (*ContainerExecNotFound) IsServerError ¶
func (o *ContainerExecNotFound) IsServerError() bool
IsServerError returns true when this container exec not found response has a 5xx status code
func (*ContainerExecNotFound) IsSuccess ¶
func (o *ContainerExecNotFound) IsSuccess() bool
IsSuccess returns true when this container exec not found response has a 2xx status code
func (*ContainerExecNotFound) String ¶
func (o *ContainerExecNotFound) String() string
type ContainerExecNotFoundBody ¶
type ContainerExecNotFoundBody 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"` }
ContainerExecNotFoundBody container exec not found body swagger:model ContainerExecNotFoundBody
func (*ContainerExecNotFoundBody) ContextValidate ¶
func (o *ContainerExecNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container exec not found body based on context it is used
func (*ContainerExecNotFoundBody) MarshalBinary ¶
func (o *ContainerExecNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerExecNotFoundBody) UnmarshalBinary ¶
func (o *ContainerExecNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerExecParams ¶
type ContainerExecParams struct { /* Control. Attributes for create */ Control ContainerExecBody /* Name. name of container */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerExecParams contains all the parameters to send to the API endpoint
for the container exec operation. Typically these are written to a http.Request.
func NewContainerExecParams ¶
func NewContainerExecParams() *ContainerExecParams
NewContainerExecParams creates a new ContainerExecParams 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 NewContainerExecParamsWithContext ¶
func NewContainerExecParamsWithContext(ctx context.Context) *ContainerExecParams
NewContainerExecParamsWithContext creates a new ContainerExecParams object with the ability to set a context for a request.
func NewContainerExecParamsWithHTTPClient ¶
func NewContainerExecParamsWithHTTPClient(client *http.Client) *ContainerExecParams
NewContainerExecParamsWithHTTPClient creates a new ContainerExecParams object with the ability to set a custom HTTPClient for a request.
func NewContainerExecParamsWithTimeout ¶
func NewContainerExecParamsWithTimeout(timeout time.Duration) *ContainerExecParams
NewContainerExecParamsWithTimeout creates a new ContainerExecParams object with the ability to set a timeout on a request.
func (*ContainerExecParams) SetContext ¶
func (o *ContainerExecParams) SetContext(ctx context.Context)
SetContext adds the context to the container exec params
func (*ContainerExecParams) SetControl ¶
func (o *ContainerExecParams) SetControl(control ContainerExecBody)
SetControl adds the control to the container exec params
func (*ContainerExecParams) SetDefaults ¶
func (o *ContainerExecParams) SetDefaults()
SetDefaults hydrates default values in the container exec params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerExecParams) SetHTTPClient ¶
func (o *ContainerExecParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container exec params
func (*ContainerExecParams) SetName ¶
func (o *ContainerExecParams) SetName(name string)
SetName adds the name to the container exec params
func (*ContainerExecParams) SetTimeout ¶
func (o *ContainerExecParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container exec params
func (*ContainerExecParams) WithContext ¶
func (o *ContainerExecParams) WithContext(ctx context.Context) *ContainerExecParams
WithContext adds the context to the container exec params
func (*ContainerExecParams) WithControl ¶
func (o *ContainerExecParams) WithControl(control ContainerExecBody) *ContainerExecParams
WithControl adds the control to the container exec params
func (*ContainerExecParams) WithDefaults ¶
func (o *ContainerExecParams) WithDefaults() *ContainerExecParams
WithDefaults hydrates default values in the container exec params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerExecParams) WithHTTPClient ¶
func (o *ContainerExecParams) WithHTTPClient(client *http.Client) *ContainerExecParams
WithHTTPClient adds the HTTPClient to the container exec params
func (*ContainerExecParams) WithName ¶
func (o *ContainerExecParams) WithName(name string) *ContainerExecParams
WithName adds the name to the container exec params
func (*ContainerExecParams) WithTimeout ¶
func (o *ContainerExecParams) WithTimeout(timeout time.Duration) *ContainerExecParams
WithTimeout adds the timeout to the container exec params
func (*ContainerExecParams) WriteToRequest ¶
func (o *ContainerExecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerExecReader ¶
type ContainerExecReader struct {
// contains filtered or unexported fields
}
ContainerExecReader is a Reader for the ContainerExec structure.
func (*ContainerExecReader) ReadResponse ¶
func (o *ContainerExecReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExecInspectInternalServerError ¶
type ExecInspectInternalServerError struct {
Payload *ExecInspectInternalServerErrorBody
}
ExecInspectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewExecInspectInternalServerError ¶
func NewExecInspectInternalServerError() *ExecInspectInternalServerError
NewExecInspectInternalServerError creates a ExecInspectInternalServerError with default headers values
func (*ExecInspectInternalServerError) Error ¶
func (o *ExecInspectInternalServerError) Error() string
func (*ExecInspectInternalServerError) GetPayload ¶
func (o *ExecInspectInternalServerError) GetPayload() *ExecInspectInternalServerErrorBody
func (*ExecInspectInternalServerError) IsClientError ¶
func (o *ExecInspectInternalServerError) IsClientError() bool
IsClientError returns true when this exec inspect internal server error response has a 4xx status code
func (*ExecInspectInternalServerError) IsCode ¶
func (o *ExecInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this exec inspect internal server error response a status code equal to that given
func (*ExecInspectInternalServerError) IsRedirect ¶
func (o *ExecInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this exec inspect internal server error response has a 3xx status code
func (*ExecInspectInternalServerError) IsServerError ¶
func (o *ExecInspectInternalServerError) IsServerError() bool
IsServerError returns true when this exec inspect internal server error response has a 5xx status code
func (*ExecInspectInternalServerError) IsSuccess ¶
func (o *ExecInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this exec inspect internal server error response has a 2xx status code
func (*ExecInspectInternalServerError) String ¶
func (o *ExecInspectInternalServerError) String() string
type ExecInspectInternalServerErrorBody ¶
type ExecInspectInternalServerErrorBody 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"` }
ExecInspectInternalServerErrorBody exec inspect internal server error body swagger:model ExecInspectInternalServerErrorBody
func (*ExecInspectInternalServerErrorBody) ContextValidate ¶
func (o *ExecInspectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this exec inspect internal server error body based on context it is used
func (*ExecInspectInternalServerErrorBody) MarshalBinary ¶
func (o *ExecInspectInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExecInspectInternalServerErrorBody) UnmarshalBinary ¶
func (o *ExecInspectInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExecInspectNotFound ¶
type ExecInspectNotFound struct {
Payload *ExecInspectNotFoundBody
}
ExecInspectNotFound describes a response with status code 404, with default header values.
No such exec instance
func NewExecInspectNotFound ¶
func NewExecInspectNotFound() *ExecInspectNotFound
NewExecInspectNotFound creates a ExecInspectNotFound with default headers values
func (*ExecInspectNotFound) Error ¶
func (o *ExecInspectNotFound) Error() string
func (*ExecInspectNotFound) GetPayload ¶
func (o *ExecInspectNotFound) GetPayload() *ExecInspectNotFoundBody
func (*ExecInspectNotFound) IsClientError ¶
func (o *ExecInspectNotFound) IsClientError() bool
IsClientError returns true when this exec inspect not found response has a 4xx status code
func (*ExecInspectNotFound) IsCode ¶
func (o *ExecInspectNotFound) IsCode(code int) bool
IsCode returns true when this exec inspect not found response a status code equal to that given
func (*ExecInspectNotFound) IsRedirect ¶
func (o *ExecInspectNotFound) IsRedirect() bool
IsRedirect returns true when this exec inspect not found response has a 3xx status code
func (*ExecInspectNotFound) IsServerError ¶
func (o *ExecInspectNotFound) IsServerError() bool
IsServerError returns true when this exec inspect not found response has a 5xx status code
func (*ExecInspectNotFound) IsSuccess ¶
func (o *ExecInspectNotFound) IsSuccess() bool
IsSuccess returns true when this exec inspect not found response has a 2xx status code
func (*ExecInspectNotFound) String ¶
func (o *ExecInspectNotFound) String() string
type ExecInspectNotFoundBody ¶
type ExecInspectNotFoundBody 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"` }
ExecInspectNotFoundBody exec inspect not found body swagger:model ExecInspectNotFoundBody
func (*ExecInspectNotFoundBody) ContextValidate ¶
func (o *ExecInspectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this exec inspect not found body based on context it is used
func (*ExecInspectNotFoundBody) MarshalBinary ¶
func (o *ExecInspectNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExecInspectNotFoundBody) UnmarshalBinary ¶
func (o *ExecInspectNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExecInspectOK ¶
type ExecInspectOK struct { }
ExecInspectOK describes a response with status code 200, with default header values.
no error
func NewExecInspectOK ¶
func NewExecInspectOK() *ExecInspectOK
NewExecInspectOK creates a ExecInspectOK with default headers values
func (*ExecInspectOK) Error ¶
func (o *ExecInspectOK) Error() string
func (*ExecInspectOK) IsClientError ¶
func (o *ExecInspectOK) IsClientError() bool
IsClientError returns true when this exec inspect o k response has a 4xx status code
func (*ExecInspectOK) IsCode ¶
func (o *ExecInspectOK) IsCode(code int) bool
IsCode returns true when this exec inspect o k response a status code equal to that given
func (*ExecInspectOK) IsRedirect ¶
func (o *ExecInspectOK) IsRedirect() bool
IsRedirect returns true when this exec inspect o k response has a 3xx status code
func (*ExecInspectOK) IsServerError ¶
func (o *ExecInspectOK) IsServerError() bool
IsServerError returns true when this exec inspect o k response has a 5xx status code
func (*ExecInspectOK) IsSuccess ¶
func (o *ExecInspectOK) IsSuccess() bool
IsSuccess returns true when this exec inspect o k response has a 2xx status code
func (*ExecInspectOK) String ¶
func (o *ExecInspectOK) String() string
type ExecInspectParams ¶
type ExecInspectParams struct { /* ID. Exec instance ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExecInspectParams contains all the parameters to send to the API endpoint
for the exec inspect operation. Typically these are written to a http.Request.
func NewExecInspectParams ¶
func NewExecInspectParams() *ExecInspectParams
NewExecInspectParams creates a new ExecInspectParams 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 NewExecInspectParamsWithContext ¶
func NewExecInspectParamsWithContext(ctx context.Context) *ExecInspectParams
NewExecInspectParamsWithContext creates a new ExecInspectParams object with the ability to set a context for a request.
func NewExecInspectParamsWithHTTPClient ¶
func NewExecInspectParamsWithHTTPClient(client *http.Client) *ExecInspectParams
NewExecInspectParamsWithHTTPClient creates a new ExecInspectParams object with the ability to set a custom HTTPClient for a request.
func NewExecInspectParamsWithTimeout ¶
func NewExecInspectParamsWithTimeout(timeout time.Duration) *ExecInspectParams
NewExecInspectParamsWithTimeout creates a new ExecInspectParams object with the ability to set a timeout on a request.
func (*ExecInspectParams) SetContext ¶
func (o *ExecInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the exec inspect params
func (*ExecInspectParams) SetDefaults ¶
func (o *ExecInspectParams) SetDefaults()
SetDefaults hydrates default values in the exec inspect params (not the query body).
All values with no default are reset to their zero value.
func (*ExecInspectParams) SetHTTPClient ¶
func (o *ExecInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the exec inspect params
func (*ExecInspectParams) SetID ¶
func (o *ExecInspectParams) SetID(id string)
SetID adds the id to the exec inspect params
func (*ExecInspectParams) SetTimeout ¶
func (o *ExecInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the exec inspect params
func (*ExecInspectParams) WithContext ¶
func (o *ExecInspectParams) WithContext(ctx context.Context) *ExecInspectParams
WithContext adds the context to the exec inspect params
func (*ExecInspectParams) WithDefaults ¶
func (o *ExecInspectParams) WithDefaults() *ExecInspectParams
WithDefaults hydrates default values in the exec inspect params (not the query body).
All values with no default are reset to their zero value.
func (*ExecInspectParams) WithHTTPClient ¶
func (o *ExecInspectParams) WithHTTPClient(client *http.Client) *ExecInspectParams
WithHTTPClient adds the HTTPClient to the exec inspect params
func (*ExecInspectParams) WithID ¶
func (o *ExecInspectParams) WithID(id string) *ExecInspectParams
WithID adds the id to the exec inspect params
func (*ExecInspectParams) WithTimeout ¶
func (o *ExecInspectParams) WithTimeout(timeout time.Duration) *ExecInspectParams
WithTimeout adds the timeout to the exec inspect params
func (*ExecInspectParams) WriteToRequest ¶
func (o *ExecInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExecInspectReader ¶
type ExecInspectReader struct {
// contains filtered or unexported fields
}
ExecInspectReader is a Reader for the ExecInspect structure.
func (*ExecInspectReader) ReadResponse ¶
func (o *ExecInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExecResizeCreated ¶
type ExecResizeCreated struct { }
ExecResizeCreated describes a response with status code 201, with default header values.
no error
func NewExecResizeCreated ¶
func NewExecResizeCreated() *ExecResizeCreated
NewExecResizeCreated creates a ExecResizeCreated with default headers values
func (*ExecResizeCreated) Error ¶
func (o *ExecResizeCreated) Error() string
func (*ExecResizeCreated) IsClientError ¶
func (o *ExecResizeCreated) IsClientError() bool
IsClientError returns true when this exec resize created response has a 4xx status code
func (*ExecResizeCreated) IsCode ¶
func (o *ExecResizeCreated) IsCode(code int) bool
IsCode returns true when this exec resize created response a status code equal to that given
func (*ExecResizeCreated) IsRedirect ¶
func (o *ExecResizeCreated) IsRedirect() bool
IsRedirect returns true when this exec resize created response has a 3xx status code
func (*ExecResizeCreated) IsServerError ¶
func (o *ExecResizeCreated) IsServerError() bool
IsServerError returns true when this exec resize created response has a 5xx status code
func (*ExecResizeCreated) IsSuccess ¶
func (o *ExecResizeCreated) IsSuccess() bool
IsSuccess returns true when this exec resize created response has a 2xx status code
func (*ExecResizeCreated) String ¶
func (o *ExecResizeCreated) String() string
type ExecResizeInternalServerError ¶
type ExecResizeInternalServerError struct {
Payload *ExecResizeInternalServerErrorBody
}
ExecResizeInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewExecResizeInternalServerError ¶
func NewExecResizeInternalServerError() *ExecResizeInternalServerError
NewExecResizeInternalServerError creates a ExecResizeInternalServerError with default headers values
func (*ExecResizeInternalServerError) Error ¶
func (o *ExecResizeInternalServerError) Error() string
func (*ExecResizeInternalServerError) GetPayload ¶
func (o *ExecResizeInternalServerError) GetPayload() *ExecResizeInternalServerErrorBody
func (*ExecResizeInternalServerError) IsClientError ¶
func (o *ExecResizeInternalServerError) IsClientError() bool
IsClientError returns true when this exec resize internal server error response has a 4xx status code
func (*ExecResizeInternalServerError) IsCode ¶
func (o *ExecResizeInternalServerError) IsCode(code int) bool
IsCode returns true when this exec resize internal server error response a status code equal to that given
func (*ExecResizeInternalServerError) IsRedirect ¶
func (o *ExecResizeInternalServerError) IsRedirect() bool
IsRedirect returns true when this exec resize internal server error response has a 3xx status code
func (*ExecResizeInternalServerError) IsServerError ¶
func (o *ExecResizeInternalServerError) IsServerError() bool
IsServerError returns true when this exec resize internal server error response has a 5xx status code
func (*ExecResizeInternalServerError) IsSuccess ¶
func (o *ExecResizeInternalServerError) IsSuccess() bool
IsSuccess returns true when this exec resize internal server error response has a 2xx status code
func (*ExecResizeInternalServerError) String ¶
func (o *ExecResizeInternalServerError) String() string
type ExecResizeInternalServerErrorBody ¶
type ExecResizeInternalServerErrorBody 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"` }
ExecResizeInternalServerErrorBody exec resize internal server error body swagger:model ExecResizeInternalServerErrorBody
func (*ExecResizeInternalServerErrorBody) ContextValidate ¶
func (o *ExecResizeInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this exec resize internal server error body based on context it is used
func (*ExecResizeInternalServerErrorBody) MarshalBinary ¶
func (o *ExecResizeInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExecResizeInternalServerErrorBody) UnmarshalBinary ¶
func (o *ExecResizeInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExecResizeNotFound ¶
type ExecResizeNotFound struct {
Payload *ExecResizeNotFoundBody
}
ExecResizeNotFound describes a response with status code 404, with default header values.
No such exec instance
func NewExecResizeNotFound ¶
func NewExecResizeNotFound() *ExecResizeNotFound
NewExecResizeNotFound creates a ExecResizeNotFound with default headers values
func (*ExecResizeNotFound) Error ¶
func (o *ExecResizeNotFound) Error() string
func (*ExecResizeNotFound) GetPayload ¶
func (o *ExecResizeNotFound) GetPayload() *ExecResizeNotFoundBody
func (*ExecResizeNotFound) IsClientError ¶
func (o *ExecResizeNotFound) IsClientError() bool
IsClientError returns true when this exec resize not found response has a 4xx status code
func (*ExecResizeNotFound) IsCode ¶
func (o *ExecResizeNotFound) IsCode(code int) bool
IsCode returns true when this exec resize not found response a status code equal to that given
func (*ExecResizeNotFound) IsRedirect ¶
func (o *ExecResizeNotFound) IsRedirect() bool
IsRedirect returns true when this exec resize not found response has a 3xx status code
func (*ExecResizeNotFound) IsServerError ¶
func (o *ExecResizeNotFound) IsServerError() bool
IsServerError returns true when this exec resize not found response has a 5xx status code
func (*ExecResizeNotFound) IsSuccess ¶
func (o *ExecResizeNotFound) IsSuccess() bool
IsSuccess returns true when this exec resize not found response has a 2xx status code
func (*ExecResizeNotFound) String ¶
func (o *ExecResizeNotFound) String() string
type ExecResizeNotFoundBody ¶
type ExecResizeNotFoundBody 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"` }
ExecResizeNotFoundBody exec resize not found body swagger:model ExecResizeNotFoundBody
func (*ExecResizeNotFoundBody) ContextValidate ¶
func (o *ExecResizeNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this exec resize not found body based on context it is used
func (*ExecResizeNotFoundBody) MarshalBinary ¶
func (o *ExecResizeNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExecResizeNotFoundBody) UnmarshalBinary ¶
func (o *ExecResizeNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExecResizeParams ¶
type ExecResizeParams 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExecResizeParams contains all the parameters to send to the API endpoint
for the exec resize operation. Typically these are written to a http.Request.
func NewExecResizeParams ¶
func NewExecResizeParams() *ExecResizeParams
NewExecResizeParams creates a new ExecResizeParams 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 NewExecResizeParamsWithContext ¶
func NewExecResizeParamsWithContext(ctx context.Context) *ExecResizeParams
NewExecResizeParamsWithContext creates a new ExecResizeParams object with the ability to set a context for a request.
func NewExecResizeParamsWithHTTPClient ¶
func NewExecResizeParamsWithHTTPClient(client *http.Client) *ExecResizeParams
NewExecResizeParamsWithHTTPClient creates a new ExecResizeParams object with the ability to set a custom HTTPClient for a request.
func NewExecResizeParamsWithTimeout ¶
func NewExecResizeParamsWithTimeout(timeout time.Duration) *ExecResizeParams
NewExecResizeParamsWithTimeout creates a new ExecResizeParams object with the ability to set a timeout on a request.
func (*ExecResizeParams) SetContext ¶
func (o *ExecResizeParams) SetContext(ctx context.Context)
SetContext adds the context to the exec resize params
func (*ExecResizeParams) SetDefaults ¶
func (o *ExecResizeParams) SetDefaults()
SetDefaults hydrates default values in the exec resize params (not the query body).
All values with no default are reset to their zero value.
func (*ExecResizeParams) SetH ¶
func (o *ExecResizeParams) SetH(h *int64)
SetH adds the h to the exec resize params
func (*ExecResizeParams) SetHTTPClient ¶
func (o *ExecResizeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the exec resize params
func (*ExecResizeParams) SetID ¶
func (o *ExecResizeParams) SetID(id string)
SetID adds the id to the exec resize params
func (*ExecResizeParams) SetRunning ¶
func (o *ExecResizeParams) SetRunning(running *bool)
SetRunning adds the running to the exec resize params
func (*ExecResizeParams) SetTimeout ¶
func (o *ExecResizeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the exec resize params
func (*ExecResizeParams) SetW ¶
func (o *ExecResizeParams) SetW(w *int64)
SetW adds the w to the exec resize params
func (*ExecResizeParams) WithContext ¶
func (o *ExecResizeParams) WithContext(ctx context.Context) *ExecResizeParams
WithContext adds the context to the exec resize params
func (*ExecResizeParams) WithDefaults ¶
func (o *ExecResizeParams) WithDefaults() *ExecResizeParams
WithDefaults hydrates default values in the exec resize params (not the query body).
All values with no default are reset to their zero value.
func (*ExecResizeParams) WithH ¶
func (o *ExecResizeParams) WithH(h *int64) *ExecResizeParams
WithH adds the h to the exec resize params
func (*ExecResizeParams) WithHTTPClient ¶
func (o *ExecResizeParams) WithHTTPClient(client *http.Client) *ExecResizeParams
WithHTTPClient adds the HTTPClient to the exec resize params
func (*ExecResizeParams) WithID ¶
func (o *ExecResizeParams) WithID(id string) *ExecResizeParams
WithID adds the id to the exec resize params
func (*ExecResizeParams) WithRunning ¶
func (o *ExecResizeParams) WithRunning(running *bool) *ExecResizeParams
WithRunning adds the running to the exec resize params
func (*ExecResizeParams) WithTimeout ¶
func (o *ExecResizeParams) WithTimeout(timeout time.Duration) *ExecResizeParams
WithTimeout adds the timeout to the exec resize params
func (*ExecResizeParams) WithW ¶
func (o *ExecResizeParams) WithW(w *int64) *ExecResizeParams
WithW adds the w to the exec resize params
func (*ExecResizeParams) WriteToRequest ¶
func (o *ExecResizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExecResizeReader ¶
type ExecResizeReader struct {
// contains filtered or unexported fields
}
ExecResizeReader is a Reader for the ExecResize structure.
func (*ExecResizeReader) ReadResponse ¶
func (o *ExecResizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExecStartBody ¶
type ExecStartBody struct { // Detach from the command. Not presently supported. Detach bool `json:"Detach,omitempty"` // Allocate a pseudo-TTY. Presently ignored. Tty bool `json:"Tty,omitempty"` }
ExecStartBody exec start body swagger:model ExecStartBody
func (*ExecStartBody) ContextValidate ¶
ContextValidate validates this exec start body based on context it is used
func (*ExecStartBody) MarshalBinary ¶
func (o *ExecStartBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExecStartBody) UnmarshalBinary ¶
func (o *ExecStartBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExecStartConflict ¶
type ExecStartConflict struct { }
ExecStartConflict describes a response with status code 409, with default header values.
container is not running
func NewExecStartConflict ¶
func NewExecStartConflict() *ExecStartConflict
NewExecStartConflict creates a ExecStartConflict with default headers values
func (*ExecStartConflict) Error ¶
func (o *ExecStartConflict) Error() string
func (*ExecStartConflict) IsClientError ¶
func (o *ExecStartConflict) IsClientError() bool
IsClientError returns true when this exec start conflict response has a 4xx status code
func (*ExecStartConflict) IsCode ¶
func (o *ExecStartConflict) IsCode(code int) bool
IsCode returns true when this exec start conflict response a status code equal to that given
func (*ExecStartConflict) IsRedirect ¶
func (o *ExecStartConflict) IsRedirect() bool
IsRedirect returns true when this exec start conflict response has a 3xx status code
func (*ExecStartConflict) IsServerError ¶
func (o *ExecStartConflict) IsServerError() bool
IsServerError returns true when this exec start conflict response has a 5xx status code
func (*ExecStartConflict) IsSuccess ¶
func (o *ExecStartConflict) IsSuccess() bool
IsSuccess returns true when this exec start conflict response has a 2xx status code
func (*ExecStartConflict) String ¶
func (o *ExecStartConflict) String() string
type ExecStartInternalServerError ¶
type ExecStartInternalServerError struct {
Payload *ExecStartInternalServerErrorBody
}
ExecStartInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewExecStartInternalServerError ¶
func NewExecStartInternalServerError() *ExecStartInternalServerError
NewExecStartInternalServerError creates a ExecStartInternalServerError with default headers values
func (*ExecStartInternalServerError) Error ¶
func (o *ExecStartInternalServerError) Error() string
func (*ExecStartInternalServerError) GetPayload ¶
func (o *ExecStartInternalServerError) GetPayload() *ExecStartInternalServerErrorBody
func (*ExecStartInternalServerError) IsClientError ¶
func (o *ExecStartInternalServerError) IsClientError() bool
IsClientError returns true when this exec start internal server error response has a 4xx status code
func (*ExecStartInternalServerError) IsCode ¶
func (o *ExecStartInternalServerError) IsCode(code int) bool
IsCode returns true when this exec start internal server error response a status code equal to that given
func (*ExecStartInternalServerError) IsRedirect ¶
func (o *ExecStartInternalServerError) IsRedirect() bool
IsRedirect returns true when this exec start internal server error response has a 3xx status code
func (*ExecStartInternalServerError) IsServerError ¶
func (o *ExecStartInternalServerError) IsServerError() bool
IsServerError returns true when this exec start internal server error response has a 5xx status code
func (*ExecStartInternalServerError) IsSuccess ¶
func (o *ExecStartInternalServerError) IsSuccess() bool
IsSuccess returns true when this exec start internal server error response has a 2xx status code
func (*ExecStartInternalServerError) String ¶
func (o *ExecStartInternalServerError) String() string
type ExecStartInternalServerErrorBody ¶
type ExecStartInternalServerErrorBody 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"` }
ExecStartInternalServerErrorBody exec start internal server error body swagger:model ExecStartInternalServerErrorBody
func (*ExecStartInternalServerErrorBody) ContextValidate ¶
func (o *ExecStartInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this exec start internal server error body based on context it is used
func (*ExecStartInternalServerErrorBody) MarshalBinary ¶
func (o *ExecStartInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExecStartInternalServerErrorBody) UnmarshalBinary ¶
func (o *ExecStartInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExecStartNotFound ¶
type ExecStartNotFound struct {
Payload *ExecStartNotFoundBody
}
ExecStartNotFound describes a response with status code 404, with default header values.
No such exec instance
func NewExecStartNotFound ¶
func NewExecStartNotFound() *ExecStartNotFound
NewExecStartNotFound creates a ExecStartNotFound with default headers values
func (*ExecStartNotFound) Error ¶
func (o *ExecStartNotFound) Error() string
func (*ExecStartNotFound) GetPayload ¶
func (o *ExecStartNotFound) GetPayload() *ExecStartNotFoundBody
func (*ExecStartNotFound) IsClientError ¶
func (o *ExecStartNotFound) IsClientError() bool
IsClientError returns true when this exec start not found response has a 4xx status code
func (*ExecStartNotFound) IsCode ¶
func (o *ExecStartNotFound) IsCode(code int) bool
IsCode returns true when this exec start not found response a status code equal to that given
func (*ExecStartNotFound) IsRedirect ¶
func (o *ExecStartNotFound) IsRedirect() bool
IsRedirect returns true when this exec start not found response has a 3xx status code
func (*ExecStartNotFound) IsServerError ¶
func (o *ExecStartNotFound) IsServerError() bool
IsServerError returns true when this exec start not found response has a 5xx status code
func (*ExecStartNotFound) IsSuccess ¶
func (o *ExecStartNotFound) IsSuccess() bool
IsSuccess returns true when this exec start not found response has a 2xx status code
func (*ExecStartNotFound) String ¶
func (o *ExecStartNotFound) String() string
type ExecStartNotFoundBody ¶
type ExecStartNotFoundBody 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"` }
ExecStartNotFoundBody exec start not found body swagger:model ExecStartNotFoundBody
func (*ExecStartNotFoundBody) ContextValidate ¶
ContextValidate validates this exec start not found body based on context it is used
func (*ExecStartNotFoundBody) MarshalBinary ¶
func (o *ExecStartNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExecStartNotFoundBody) UnmarshalBinary ¶
func (o *ExecStartNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExecStartOK ¶
type ExecStartOK struct { }
ExecStartOK describes a response with status code 200, with default header values.
no error
func NewExecStartOK ¶
func NewExecStartOK() *ExecStartOK
NewExecStartOK creates a ExecStartOK with default headers values
func (*ExecStartOK) Error ¶
func (o *ExecStartOK) Error() string
func (*ExecStartOK) IsClientError ¶
func (o *ExecStartOK) IsClientError() bool
IsClientError returns true when this exec start o k response has a 4xx status code
func (*ExecStartOK) IsCode ¶
func (o *ExecStartOK) IsCode(code int) bool
IsCode returns true when this exec start o k response a status code equal to that given
func (*ExecStartOK) IsRedirect ¶
func (o *ExecStartOK) IsRedirect() bool
IsRedirect returns true when this exec start o k response has a 3xx status code
func (*ExecStartOK) IsServerError ¶
func (o *ExecStartOK) IsServerError() bool
IsServerError returns true when this exec start o k response has a 5xx status code
func (*ExecStartOK) IsSuccess ¶
func (o *ExecStartOK) IsSuccess() bool
IsSuccess returns true when this exec start o k response has a 2xx status code
func (*ExecStartOK) String ¶
func (o *ExecStartOK) String() string
type ExecStartParams ¶
type ExecStartParams struct { /* Control. Attributes for start */ Control ExecStartBody /* ID. Exec instance ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExecStartParams contains all the parameters to send to the API endpoint
for the exec start operation. Typically these are written to a http.Request.
func NewExecStartParams ¶
func NewExecStartParams() *ExecStartParams
NewExecStartParams creates a new ExecStartParams 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 NewExecStartParamsWithContext ¶
func NewExecStartParamsWithContext(ctx context.Context) *ExecStartParams
NewExecStartParamsWithContext creates a new ExecStartParams object with the ability to set a context for a request.
func NewExecStartParamsWithHTTPClient ¶
func NewExecStartParamsWithHTTPClient(client *http.Client) *ExecStartParams
NewExecStartParamsWithHTTPClient creates a new ExecStartParams object with the ability to set a custom HTTPClient for a request.
func NewExecStartParamsWithTimeout ¶
func NewExecStartParamsWithTimeout(timeout time.Duration) *ExecStartParams
NewExecStartParamsWithTimeout creates a new ExecStartParams object with the ability to set a timeout on a request.
func (*ExecStartParams) SetContext ¶
func (o *ExecStartParams) SetContext(ctx context.Context)
SetContext adds the context to the exec start params
func (*ExecStartParams) SetControl ¶
func (o *ExecStartParams) SetControl(control ExecStartBody)
SetControl adds the control to the exec start params
func (*ExecStartParams) SetDefaults ¶
func (o *ExecStartParams) SetDefaults()
SetDefaults hydrates default values in the exec start params (not the query body).
All values with no default are reset to their zero value.
func (*ExecStartParams) SetHTTPClient ¶
func (o *ExecStartParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the exec start params
func (*ExecStartParams) SetID ¶
func (o *ExecStartParams) SetID(id string)
SetID adds the id to the exec start params
func (*ExecStartParams) SetTimeout ¶
func (o *ExecStartParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the exec start params
func (*ExecStartParams) WithContext ¶
func (o *ExecStartParams) WithContext(ctx context.Context) *ExecStartParams
WithContext adds the context to the exec start params
func (*ExecStartParams) WithControl ¶
func (o *ExecStartParams) WithControl(control ExecStartBody) *ExecStartParams
WithControl adds the control to the exec start params
func (*ExecStartParams) WithDefaults ¶
func (o *ExecStartParams) WithDefaults() *ExecStartParams
WithDefaults hydrates default values in the exec start params (not the query body).
All values with no default are reset to their zero value.
func (*ExecStartParams) WithHTTPClient ¶
func (o *ExecStartParams) WithHTTPClient(client *http.Client) *ExecStartParams
WithHTTPClient adds the HTTPClient to the exec start params
func (*ExecStartParams) WithID ¶
func (o *ExecStartParams) WithID(id string) *ExecStartParams
WithID adds the id to the exec start params
func (*ExecStartParams) WithTimeout ¶
func (o *ExecStartParams) WithTimeout(timeout time.Duration) *ExecStartParams
WithTimeout adds the timeout to the exec start params
func (*ExecStartParams) WriteToRequest ¶
func (o *ExecStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExecStartReader ¶
type ExecStartReader struct {
// contains filtered or unexported fields
}
ExecStartReader is a Reader for the ExecStart structure.
func (*ExecStartReader) ReadResponse ¶
func (o *ExecStartReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.