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) GetPayload() *models.ErrorResponse
- 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) GetPayload() *models.IDResponse
- 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() *models.ErrorResponse
- 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 ContainerExecNotFound
- func (o *ContainerExecNotFound) Error() string
- func (o *ContainerExecNotFound) GetPayload() *models.ErrorResponse
- 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 ContainerExecParams
- func (o *ContainerExecParams) SetContext(ctx context.Context)
- func (o *ContainerExecParams) SetDefaults()
- func (o *ContainerExecParams) SetExecConfig(execConfig ContainerExecBody)
- func (o *ContainerExecParams) SetHTTPClient(client *http.Client)
- func (o *ContainerExecParams) SetID(id string)
- func (o *ContainerExecParams) SetTimeout(timeout time.Duration)
- func (o *ContainerExecParams) WithContext(ctx context.Context) *ContainerExecParams
- func (o *ContainerExecParams) WithDefaults() *ContainerExecParams
- func (o *ContainerExecParams) WithExecConfig(execConfig ContainerExecBody) *ContainerExecParams
- func (o *ContainerExecParams) WithHTTPClient(client *http.Client) *ContainerExecParams
- func (o *ContainerExecParams) WithID(id 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() *models.ErrorResponse
- 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 ExecInspectNotFound
- func (o *ExecInspectNotFound) Error() string
- func (o *ExecInspectNotFound) GetPayload() *models.ErrorResponse
- 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 ExecInspectOK
- func (o *ExecInspectOK) Error() string
- func (o *ExecInspectOK) GetPayload() *ExecInspectOKBody
- func (o *ExecInspectOK) IsClientError() bool
- func (o *ExecInspectOK) IsCode(code int) bool
- func (o *ExecInspectOK) IsRedirect() bool
- func (o *ExecInspectOK) IsServerError() bool
- func (o *ExecInspectOK) IsSuccess() bool
- func (o *ExecInspectOK) String() string
- type ExecInspectOKBody
- 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 ExecResizeNotFound
- func (o *ExecResizeNotFound) Error() string
- func (o *ExecResizeNotFound) GetPayload() *models.ErrorResponse
- 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 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) 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) 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) GetPayload() *models.ErrorResponse
- 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 ExecStartNotFound
- func (o *ExecStartNotFound) Error() string
- func (o *ExecStartNotFound) GetPayload() *models.ErrorResponse
- 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 ExecStartOK
- type ExecStartParams
- func (o *ExecStartParams) SetContext(ctx context.Context)
- func (o *ExecStartParams) SetDefaults()
- func (o *ExecStartParams) SetExecStartConfig(execStartConfig ExecStartBody)
- 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) WithDefaults() *ExecStartParams
- func (o *ExecStartParams) WithExecStartConfig(execStartConfig ExecStartBody) *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 API
func (*Client) ContainerExec ¶
func (a *Client) ContainerExec(params *ContainerExecParams, opts ...ClientOption) (*ContainerExecCreated, error)
ContainerExec creates an exec instance
Run a command inside a running container.
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 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 // Example: {"AttachStderr":true,"AttachStdin":false,"AttachStdout":true,"Cmd":["date"],"DetachKeys":"ctrl-p,ctrl-q","Env":["FOO=bar","BAZ=quux"],"Tty":false} 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 {
Payload *models.ErrorResponse
}
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) GetPayload ¶
func (o *ContainerExecConflict) GetPayload() *models.ErrorResponse
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 {
Payload *models.IDResponse
}
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) GetPayload ¶
func (o *ContainerExecCreated) GetPayload() *models.IDResponse
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 *models.ErrorResponse
}
ContainerExecInternalServerError describes a response with status code 500, with default header values.
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() *models.ErrorResponse
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 ContainerExecNotFound ¶
type ContainerExecNotFound struct {
Payload *models.ErrorResponse
}
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() *models.ErrorResponse
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 ContainerExecParams ¶
type ContainerExecParams struct { /* ExecConfig. Exec configuration */ ExecConfig ContainerExecBody /* ID. ID or name of container */ ID 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) 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) SetExecConfig ¶
func (o *ContainerExecParams) SetExecConfig(execConfig ContainerExecBody)
SetExecConfig adds the execConfig to the container exec params
func (*ContainerExecParams) SetHTTPClient ¶
func (o *ContainerExecParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container exec params
func (*ContainerExecParams) SetID ¶
func (o *ContainerExecParams) SetID(id string)
SetID adds the id 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) 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) WithExecConfig ¶
func (o *ContainerExecParams) WithExecConfig(execConfig ContainerExecBody) *ContainerExecParams
WithExecConfig adds the execConfig to the container exec params
func (*ContainerExecParams) WithHTTPClient ¶
func (o *ContainerExecParams) WithHTTPClient(client *http.Client) *ContainerExecParams
WithHTTPClient adds the HTTPClient to the container exec params
func (*ContainerExecParams) WithID ¶
func (o *ContainerExecParams) WithID(id string) *ContainerExecParams
WithID adds the id 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 *models.ErrorResponse
}
ExecInspectInternalServerError describes a response with status code 500, with default header values.
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() *models.ErrorResponse
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 ExecInspectNotFound ¶
type ExecInspectNotFound struct {
Payload *models.ErrorResponse
}
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() *models.ErrorResponse
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 ExecInspectOK ¶
type ExecInspectOK struct {
Payload *ExecInspectOKBody
}
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) GetPayload ¶
func (o *ExecInspectOK) GetPayload() *ExecInspectOKBody
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 ExecInspectOKBody ¶
type ExecInspectOKBody struct { // can remove CanRemove bool `json:"CanRemove,omitempty"` // container ID ContainerID string `json:"ContainerID,omitempty"` // detach keys DetachKeys string `json:"DetachKeys,omitempty"` // exit code ExitCode int64 `json:"ExitCode,omitempty"` // ID ID string `json:"ID,omitempty"` // open stderr OpenStderr bool `json:"OpenStderr,omitempty"` // open stdin OpenStdin bool `json:"OpenStdin,omitempty"` // open stdout OpenStdout bool `json:"OpenStdout,omitempty"` // The system process ID for the exec process. Pid int64 `json:"Pid,omitempty"` // process config ProcessConfig *models.ProcessConfig `json:"ProcessConfig,omitempty"` // running Running bool `json:"Running,omitempty"` }
ExecInspectOKBody ExecInspectResponse swagger:model ExecInspectOKBody
func (*ExecInspectOKBody) ContextValidate ¶
ContextValidate validate this exec inspect o k body based on the context it is used
func (*ExecInspectOKBody) MarshalBinary ¶
func (o *ExecInspectOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExecInspectOKBody) UnmarshalBinary ¶
func (o *ExecInspectOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ExecResizeNotFound ¶
type ExecResizeNotFound struct {
Payload *models.ErrorResponse
}
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() *models.ErrorResponse
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 ExecResizeParams ¶
type ExecResizeParams struct { /* H. Height of the TTY session in characters */ H *int64 /* ID. Exec instance ID */ ID string /* W. Width of the TTY session in characters */ W *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
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) 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) 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. Detach bool `json:"Detach,omitempty"` // Allocate a pseudo-TTY. Tty bool `json:"Tty,omitempty"` }
ExecStartBody exec start body // Example: {"Detach":false,"Tty":false} 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 {
Payload *models.ErrorResponse
}
ExecStartConflict describes a response with status code 409, with default header values.
Container is stopped or paused
func NewExecStartConflict ¶
func NewExecStartConflict() *ExecStartConflict
NewExecStartConflict creates a ExecStartConflict with default headers values
func (*ExecStartConflict) Error ¶
func (o *ExecStartConflict) Error() string
func (*ExecStartConflict) GetPayload ¶
func (o *ExecStartConflict) GetPayload() *models.ErrorResponse
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 ExecStartNotFound ¶
type ExecStartNotFound struct {
Payload *models.ErrorResponse
}
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() *models.ErrorResponse
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 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 { // ExecStartConfig. ExecStartConfig 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) 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) SetExecStartConfig ¶
func (o *ExecStartParams) SetExecStartConfig(execStartConfig ExecStartBody)
SetExecStartConfig adds the execStartConfig to the exec start params
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) 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) WithExecStartConfig ¶
func (o *ExecStartParams) WithExecStartConfig(execStartConfig ExecStartBody) *ExecStartParams
WithExecStartConfig adds the execStartConfig to the exec start params
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.