exec_compat

package
v4.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for exec 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

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

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

func (*ContainerExecBody) Validate

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

Validate validates this container exec body

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 (*ContainerExecInternalServerError) GetPayload

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

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

func (*ContainerExecInternalServerErrorBody) Validate

Validate validates this container exec internal server error body

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 (*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

func (*ContainerExecNotFoundBody) Validate

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

Validate validates this container exec not found body

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

WithContext adds the context to the container exec params

func (*ContainerExecParams) WithControl

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 (*ExecInspectInternalServerError) GetPayload

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

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

func (*ExecInspectInternalServerErrorBody) Validate

Validate validates this exec inspect internal server error body

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 (*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

func (*ExecInspectNotFoundBody) Validate

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

Validate validates this exec inspect not found body

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

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 (*ExecResizeInternalServerError) GetPayload

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

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

func (*ExecResizeInternalServerErrorBody) Validate

Validate validates this exec resize internal server error body

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

func (*ExecResizeNotFoundBody) Validate

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

Validate validates this exec resize not found body

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

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

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

func (*ExecStartBody) Validate

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

Validate validates this exec start body

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 (*ExecStartInternalServerError) GetPayload

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

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

func (*ExecStartInternalServerErrorBody) Validate

Validate validates this exec start internal server error body

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

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

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

func (*ExecStartNotFoundBody) Validate

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

Validate validates this exec start not found body

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL