Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateContainer(params *CreateContainerParams) (*CreateContainerCreated, error)
- func (a *Client) DeleteContainer(params *DeleteContainerParams) (*DeleteContainerOK, error)
- func (a *Client) DeleteContainerByname(params *DeleteContainerBynameParams) (*DeleteContainerBynameOK, error)
- func (a *Client) GetContainer(params *GetContainerParams) (*GetContainerOK, error)
- func (a *Client) GetContainerByname(params *GetContainerBynameParams) (*GetContainerBynameOK, error)
- func (a *Client) ListContainers(params *ListContainersParams) (*ListContainersOK, error)
- func (a *Client) SetContainerState(params *SetContainerStateParams) (*SetContainerStateOK, error)
- func (a *Client) SetContainerStateByname(params *SetContainerStateBynameParams) (*SetContainerStateBynameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateContainerCreated
- type CreateContainerDefault
- type CreateContainerParams
- func NewCreateContainerParams() *CreateContainerParams
- func NewCreateContainerParamsWithContext(ctx context.Context) *CreateContainerParams
- func NewCreateContainerParamsWithHTTPClient(client *http.Client) *CreateContainerParams
- func NewCreateContainerParamsWithTimeout(timeout time.Duration) *CreateContainerParams
- func (o *CreateContainerParams) SetContainer(container *models.Container)
- func (o *CreateContainerParams) SetContext(ctx context.Context)
- func (o *CreateContainerParams) SetHTTPClient(client *http.Client)
- func (o *CreateContainerParams) SetTimeout(timeout time.Duration)
- func (o *CreateContainerParams) WithContainer(container *models.Container) *CreateContainerParams
- func (o *CreateContainerParams) WithContext(ctx context.Context) *CreateContainerParams
- func (o *CreateContainerParams) WithHTTPClient(client *http.Client) *CreateContainerParams
- func (o *CreateContainerParams) WithTimeout(timeout time.Duration) *CreateContainerParams
- func (o *CreateContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateContainerReader
- type DeleteContainerBynameDefault
- type DeleteContainerBynameOK
- type DeleteContainerBynameParams
- func NewDeleteContainerBynameParams() *DeleteContainerBynameParams
- func NewDeleteContainerBynameParamsWithContext(ctx context.Context) *DeleteContainerBynameParams
- func NewDeleteContainerBynameParamsWithHTTPClient(client *http.Client) *DeleteContainerBynameParams
- func NewDeleteContainerBynameParamsWithTimeout(timeout time.Duration) *DeleteContainerBynameParams
- func (o *DeleteContainerBynameParams) SetContext(ctx context.Context)
- func (o *DeleteContainerBynameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteContainerBynameParams) SetName(name string)
- func (o *DeleteContainerBynameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteContainerBynameParams) WithContext(ctx context.Context) *DeleteContainerBynameParams
- func (o *DeleteContainerBynameParams) WithHTTPClient(client *http.Client) *DeleteContainerBynameParams
- func (o *DeleteContainerBynameParams) WithName(name string) *DeleteContainerBynameParams
- func (o *DeleteContainerBynameParams) WithTimeout(timeout time.Duration) *DeleteContainerBynameParams
- func (o *DeleteContainerBynameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContainerBynameReader
- type DeleteContainerDefault
- type DeleteContainerOK
- type DeleteContainerParams
- func NewDeleteContainerParams() *DeleteContainerParams
- func NewDeleteContainerParamsWithContext(ctx context.Context) *DeleteContainerParams
- func NewDeleteContainerParamsWithHTTPClient(client *http.Client) *DeleteContainerParams
- func NewDeleteContainerParamsWithTimeout(timeout time.Duration) *DeleteContainerParams
- func (o *DeleteContainerParams) SetContext(ctx context.Context)
- func (o *DeleteContainerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteContainerParams) SetID(id int64)
- func (o *DeleteContainerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteContainerParams) WithContext(ctx context.Context) *DeleteContainerParams
- func (o *DeleteContainerParams) WithHTTPClient(client *http.Client) *DeleteContainerParams
- func (o *DeleteContainerParams) WithID(id int64) *DeleteContainerParams
- func (o *DeleteContainerParams) WithTimeout(timeout time.Duration) *DeleteContainerParams
- func (o *DeleteContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContainerReader
- type GetContainerBynameDefault
- type GetContainerBynameOK
- type GetContainerBynameParams
- func NewGetContainerBynameParams() *GetContainerBynameParams
- func NewGetContainerBynameParamsWithContext(ctx context.Context) *GetContainerBynameParams
- func NewGetContainerBynameParamsWithHTTPClient(client *http.Client) *GetContainerBynameParams
- func NewGetContainerBynameParamsWithTimeout(timeout time.Duration) *GetContainerBynameParams
- func (o *GetContainerBynameParams) SetContext(ctx context.Context)
- func (o *GetContainerBynameParams) SetHTTPClient(client *http.Client)
- func (o *GetContainerBynameParams) SetName(name string)
- func (o *GetContainerBynameParams) SetTimeout(timeout time.Duration)
- func (o *GetContainerBynameParams) WithContext(ctx context.Context) *GetContainerBynameParams
- func (o *GetContainerBynameParams) WithHTTPClient(client *http.Client) *GetContainerBynameParams
- func (o *GetContainerBynameParams) WithName(name string) *GetContainerBynameParams
- func (o *GetContainerBynameParams) WithTimeout(timeout time.Duration) *GetContainerBynameParams
- func (o *GetContainerBynameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContainerBynameReader
- type GetContainerDefault
- type GetContainerOK
- type GetContainerParams
- func (o *GetContainerParams) SetContext(ctx context.Context)
- func (o *GetContainerParams) SetHTTPClient(client *http.Client)
- func (o *GetContainerParams) SetID(id int64)
- func (o *GetContainerParams) SetTimeout(timeout time.Duration)
- func (o *GetContainerParams) WithContext(ctx context.Context) *GetContainerParams
- func (o *GetContainerParams) WithHTTPClient(client *http.Client) *GetContainerParams
- func (o *GetContainerParams) WithID(id int64) *GetContainerParams
- func (o *GetContainerParams) WithTimeout(timeout time.Duration) *GetContainerParams
- func (o *GetContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContainerReader
- type ListContainersDefault
- type ListContainersOK
- type ListContainersParams
- func NewListContainersParams() *ListContainersParams
- func NewListContainersParamsWithContext(ctx context.Context) *ListContainersParams
- func NewListContainersParamsWithHTTPClient(client *http.Client) *ListContainersParams
- func NewListContainersParamsWithTimeout(timeout time.Duration) *ListContainersParams
- func (o *ListContainersParams) SetContext(ctx context.Context)
- func (o *ListContainersParams) SetHTTPClient(client *http.Client)
- func (o *ListContainersParams) SetTimeout(timeout time.Duration)
- func (o *ListContainersParams) WithContext(ctx context.Context) *ListContainersParams
- func (o *ListContainersParams) WithHTTPClient(client *http.Client) *ListContainersParams
- func (o *ListContainersParams) WithTimeout(timeout time.Duration) *ListContainersParams
- func (o *ListContainersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListContainersReader
- type SetContainerStateBynameDefault
- type SetContainerStateBynameOK
- type SetContainerStateBynameParams
- func NewSetContainerStateBynameParams() *SetContainerStateBynameParams
- func NewSetContainerStateBynameParamsWithContext(ctx context.Context) *SetContainerStateBynameParams
- func NewSetContainerStateBynameParamsWithHTTPClient(client *http.Client) *SetContainerStateBynameParams
- func NewSetContainerStateBynameParamsWithTimeout(timeout time.Duration) *SetContainerStateBynameParams
- func (o *SetContainerStateBynameParams) SetContext(ctx context.Context)
- func (o *SetContainerStateBynameParams) SetHTTPClient(client *http.Client)
- func (o *SetContainerStateBynameParams) SetName(name string)
- func (o *SetContainerStateBynameParams) SetState(state string)
- func (o *SetContainerStateBynameParams) SetTimeout(timeout time.Duration)
- func (o *SetContainerStateBynameParams) WithContext(ctx context.Context) *SetContainerStateBynameParams
- func (o *SetContainerStateBynameParams) WithHTTPClient(client *http.Client) *SetContainerStateBynameParams
- func (o *SetContainerStateBynameParams) WithName(name string) *SetContainerStateBynameParams
- func (o *SetContainerStateBynameParams) WithState(state string) *SetContainerStateBynameParams
- func (o *SetContainerStateBynameParams) WithTimeout(timeout time.Duration) *SetContainerStateBynameParams
- func (o *SetContainerStateBynameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetContainerStateBynameReader
- type SetContainerStateDefault
- type SetContainerStateOK
- type SetContainerStateParams
- func NewSetContainerStateParams() *SetContainerStateParams
- func NewSetContainerStateParamsWithContext(ctx context.Context) *SetContainerStateParams
- func NewSetContainerStateParamsWithHTTPClient(client *http.Client) *SetContainerStateParams
- func NewSetContainerStateParamsWithTimeout(timeout time.Duration) *SetContainerStateParams
- func (o *SetContainerStateParams) SetContext(ctx context.Context)
- func (o *SetContainerStateParams) SetHTTPClient(client *http.Client)
- func (o *SetContainerStateParams) SetID(id int64)
- func (o *SetContainerStateParams) SetState(state string)
- func (o *SetContainerStateParams) SetTimeout(timeout time.Duration)
- func (o *SetContainerStateParams) WithContext(ctx context.Context) *SetContainerStateParams
- func (o *SetContainerStateParams) WithHTTPClient(client *http.Client) *SetContainerStateParams
- func (o *SetContainerStateParams) WithID(id int64) *SetContainerStateParams
- func (o *SetContainerStateParams) WithState(state string) *SetContainerStateParams
- func (o *SetContainerStateParams) WithTimeout(timeout time.Duration) *SetContainerStateParams
- func (o *SetContainerStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetContainerStateReader
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 containers API
func (*Client) CreateContainer ¶
func (a *Client) CreateContainer(params *CreateContainerParams) (*CreateContainerCreated, error)
CreateContainer Create a container
func (*Client) DeleteContainer ¶
func (a *Client) DeleteContainer(params *DeleteContainerParams) (*DeleteContainerOK, error)
DeleteContainer Delete a container defition.
This will stop running containers.
func (*Client) DeleteContainerByname ¶
func (a *Client) DeleteContainerByname(params *DeleteContainerBynameParams) (*DeleteContainerBynameOK, error)
DeleteContainerByname Delete a container defition.
This will stop running containers.
func (*Client) GetContainer ¶
func (a *Client) GetContainer(params *GetContainerParams) (*GetContainerOK, error)
GetContainer Get a container definition
func (*Client) GetContainerByname ¶
func (a *Client) GetContainerByname(params *GetContainerBynameParams) (*GetContainerBynameOK, error)
GetContainerByname Get a container definition
func (*Client) ListContainers ¶
func (a *Client) ListContainers(params *ListContainersParams) (*ListContainersOK, error)
ListContainers Get a list of containers
func (*Client) SetContainerState ¶
func (a *Client) SetContainerState(params *SetContainerStateParams) (*SetContainerStateOK, error)
SetContainerState Request a (valid) state for a container.
Valid states to request include: `running`, `exited`, `paused` (paused is not yet implemented)
func (*Client) SetContainerStateByname ¶
func (a *Client) SetContainerStateByname(params *SetContainerStateBynameParams) (*SetContainerStateBynameOK, error)
SetContainerStateByname Request a (valid) state for a container.
Valid states to request include: `running`, `exited`, `paused` (paused is not yet implemented)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateContainer(params *CreateContainerParams) (*CreateContainerCreated, error) DeleteContainer(params *DeleteContainerParams) (*DeleteContainerOK, error) DeleteContainerByname(params *DeleteContainerBynameParams) (*DeleteContainerBynameOK, error) GetContainer(params *GetContainerParams) (*GetContainerOK, error) GetContainerByname(params *GetContainerBynameParams) (*GetContainerBynameOK, error) ListContainers(params *ListContainersParams) (*ListContainersOK, error) SetContainerState(params *SetContainerStateParams) (*SetContainerStateOK, error) SetContainerStateByname(params *SetContainerStateBynameParams) (*SetContainerStateBynameOK, 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 containers API client.
type CreateContainerCreated ¶
CreateContainerCreated handles this case with default header values.
Container creation succeed
func NewCreateContainerCreated ¶
func NewCreateContainerCreated() *CreateContainerCreated
NewCreateContainerCreated creates a CreateContainerCreated with default headers values
func (*CreateContainerCreated) Error ¶
func (o *CreateContainerCreated) Error() string
func (*CreateContainerCreated) GetPayload ¶
func (o *CreateContainerCreated) GetPayload() *models.Container
type CreateContainerDefault ¶
type CreateContainerDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateContainerDefault handles this case with default header values.
error
func NewCreateContainerDefault ¶
func NewCreateContainerDefault(code int) *CreateContainerDefault
NewCreateContainerDefault creates a CreateContainerDefault with default headers values
func (*CreateContainerDefault) Code ¶
func (o *CreateContainerDefault) Code() int
Code gets the status code for the create container default response
func (*CreateContainerDefault) Error ¶
func (o *CreateContainerDefault) Error() string
func (*CreateContainerDefault) GetPayload ¶
func (o *CreateContainerDefault) GetPayload() *models.Error
type CreateContainerParams ¶
type CreateContainerParams struct { /*Container*/ Container *models.Container Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateContainerParams contains all the parameters to send to the API endpoint for the create container operation typically these are written to a http.Request
func NewCreateContainerParams ¶
func NewCreateContainerParams() *CreateContainerParams
NewCreateContainerParams creates a new CreateContainerParams object with the default values initialized.
func NewCreateContainerParamsWithContext ¶
func NewCreateContainerParamsWithContext(ctx context.Context) *CreateContainerParams
NewCreateContainerParamsWithContext creates a new CreateContainerParams object with the default values initialized, and the ability to set a context for a request
func NewCreateContainerParamsWithHTTPClient ¶
func NewCreateContainerParamsWithHTTPClient(client *http.Client) *CreateContainerParams
NewCreateContainerParamsWithHTTPClient creates a new CreateContainerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateContainerParamsWithTimeout ¶
func NewCreateContainerParamsWithTimeout(timeout time.Duration) *CreateContainerParams
NewCreateContainerParamsWithTimeout creates a new CreateContainerParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateContainerParams) SetContainer ¶
func (o *CreateContainerParams) SetContainer(container *models.Container)
SetContainer adds the container to the create container params
func (*CreateContainerParams) SetContext ¶
func (o *CreateContainerParams) SetContext(ctx context.Context)
SetContext adds the context to the create container params
func (*CreateContainerParams) SetHTTPClient ¶
func (o *CreateContainerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create container params
func (*CreateContainerParams) SetTimeout ¶
func (o *CreateContainerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create container params
func (*CreateContainerParams) WithContainer ¶
func (o *CreateContainerParams) WithContainer(container *models.Container) *CreateContainerParams
WithContainer adds the container to the create container params
func (*CreateContainerParams) WithContext ¶
func (o *CreateContainerParams) WithContext(ctx context.Context) *CreateContainerParams
WithContext adds the context to the create container params
func (*CreateContainerParams) WithHTTPClient ¶
func (o *CreateContainerParams) WithHTTPClient(client *http.Client) *CreateContainerParams
WithHTTPClient adds the HTTPClient to the create container params
func (*CreateContainerParams) WithTimeout ¶
func (o *CreateContainerParams) WithTimeout(timeout time.Duration) *CreateContainerParams
WithTimeout adds the timeout to the create container params
func (*CreateContainerParams) WriteToRequest ¶
func (o *CreateContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateContainerReader ¶
type CreateContainerReader struct {
// contains filtered or unexported fields
}
CreateContainerReader is a Reader for the CreateContainer structure.
func (*CreateContainerReader) ReadResponse ¶
func (o *CreateContainerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContainerBynameDefault ¶
type DeleteContainerBynameDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteContainerBynameDefault handles this case with default header values.
error
func NewDeleteContainerBynameDefault ¶
func NewDeleteContainerBynameDefault(code int) *DeleteContainerBynameDefault
NewDeleteContainerBynameDefault creates a DeleteContainerBynameDefault with default headers values
func (*DeleteContainerBynameDefault) Code ¶
func (o *DeleteContainerBynameDefault) Code() int
Code gets the status code for the delete container byname default response
func (*DeleteContainerBynameDefault) Error ¶
func (o *DeleteContainerBynameDefault) Error() string
func (*DeleteContainerBynameDefault) GetPayload ¶
func (o *DeleteContainerBynameDefault) GetPayload() *models.Error
type DeleteContainerBynameOK ¶
DeleteContainerBynameOK handles this case with default header values.
Container deleted
func NewDeleteContainerBynameOK ¶
func NewDeleteContainerBynameOK() *DeleteContainerBynameOK
NewDeleteContainerBynameOK creates a DeleteContainerBynameOK with default headers values
func (*DeleteContainerBynameOK) Error ¶
func (o *DeleteContainerBynameOK) Error() string
func (*DeleteContainerBynameOK) GetPayload ¶
func (o *DeleteContainerBynameOK) GetPayload() *models.Container
type DeleteContainerBynameParams ¶
type DeleteContainerBynameParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteContainerBynameParams contains all the parameters to send to the API endpoint for the delete container byname operation typically these are written to a http.Request
func NewDeleteContainerBynameParams ¶
func NewDeleteContainerBynameParams() *DeleteContainerBynameParams
NewDeleteContainerBynameParams creates a new DeleteContainerBynameParams object with the default values initialized.
func NewDeleteContainerBynameParamsWithContext ¶
func NewDeleteContainerBynameParamsWithContext(ctx context.Context) *DeleteContainerBynameParams
NewDeleteContainerBynameParamsWithContext creates a new DeleteContainerBynameParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteContainerBynameParamsWithHTTPClient ¶
func NewDeleteContainerBynameParamsWithHTTPClient(client *http.Client) *DeleteContainerBynameParams
NewDeleteContainerBynameParamsWithHTTPClient creates a new DeleteContainerBynameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteContainerBynameParamsWithTimeout ¶
func NewDeleteContainerBynameParamsWithTimeout(timeout time.Duration) *DeleteContainerBynameParams
NewDeleteContainerBynameParamsWithTimeout creates a new DeleteContainerBynameParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteContainerBynameParams) SetContext ¶
func (o *DeleteContainerBynameParams) SetContext(ctx context.Context)
SetContext adds the context to the delete container byname params
func (*DeleteContainerBynameParams) SetHTTPClient ¶
func (o *DeleteContainerBynameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete container byname params
func (*DeleteContainerBynameParams) SetName ¶
func (o *DeleteContainerBynameParams) SetName(name string)
SetName adds the name to the delete container byname params
func (*DeleteContainerBynameParams) SetTimeout ¶
func (o *DeleteContainerBynameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete container byname params
func (*DeleteContainerBynameParams) WithContext ¶
func (o *DeleteContainerBynameParams) WithContext(ctx context.Context) *DeleteContainerBynameParams
WithContext adds the context to the delete container byname params
func (*DeleteContainerBynameParams) WithHTTPClient ¶
func (o *DeleteContainerBynameParams) WithHTTPClient(client *http.Client) *DeleteContainerBynameParams
WithHTTPClient adds the HTTPClient to the delete container byname params
func (*DeleteContainerBynameParams) WithName ¶
func (o *DeleteContainerBynameParams) WithName(name string) *DeleteContainerBynameParams
WithName adds the name to the delete container byname params
func (*DeleteContainerBynameParams) WithTimeout ¶
func (o *DeleteContainerBynameParams) WithTimeout(timeout time.Duration) *DeleteContainerBynameParams
WithTimeout adds the timeout to the delete container byname params
func (*DeleteContainerBynameParams) WriteToRequest ¶
func (o *DeleteContainerBynameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContainerBynameReader ¶
type DeleteContainerBynameReader struct {
// contains filtered or unexported fields
}
DeleteContainerBynameReader is a Reader for the DeleteContainerByname structure.
func (*DeleteContainerBynameReader) ReadResponse ¶
func (o *DeleteContainerBynameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContainerDefault ¶
type DeleteContainerDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteContainerDefault handles this case with default header values.
error
func NewDeleteContainerDefault ¶
func NewDeleteContainerDefault(code int) *DeleteContainerDefault
NewDeleteContainerDefault creates a DeleteContainerDefault with default headers values
func (*DeleteContainerDefault) Code ¶
func (o *DeleteContainerDefault) Code() int
Code gets the status code for the delete container default response
func (*DeleteContainerDefault) Error ¶
func (o *DeleteContainerDefault) Error() string
func (*DeleteContainerDefault) GetPayload ¶
func (o *DeleteContainerDefault) GetPayload() *models.Error
type DeleteContainerOK ¶
DeleteContainerOK handles this case with default header values.
Container deleted
func NewDeleteContainerOK ¶
func NewDeleteContainerOK() *DeleteContainerOK
NewDeleteContainerOK creates a DeleteContainerOK with default headers values
func (*DeleteContainerOK) Error ¶
func (o *DeleteContainerOK) Error() string
func (*DeleteContainerOK) GetPayload ¶
func (o *DeleteContainerOK) GetPayload() *models.Container
type DeleteContainerParams ¶
type DeleteContainerParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteContainerParams contains all the parameters to send to the API endpoint for the delete container operation typically these are written to a http.Request
func NewDeleteContainerParams ¶
func NewDeleteContainerParams() *DeleteContainerParams
NewDeleteContainerParams creates a new DeleteContainerParams object with the default values initialized.
func NewDeleteContainerParamsWithContext ¶
func NewDeleteContainerParamsWithContext(ctx context.Context) *DeleteContainerParams
NewDeleteContainerParamsWithContext creates a new DeleteContainerParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteContainerParamsWithHTTPClient ¶
func NewDeleteContainerParamsWithHTTPClient(client *http.Client) *DeleteContainerParams
NewDeleteContainerParamsWithHTTPClient creates a new DeleteContainerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteContainerParamsWithTimeout ¶
func NewDeleteContainerParamsWithTimeout(timeout time.Duration) *DeleteContainerParams
NewDeleteContainerParamsWithTimeout creates a new DeleteContainerParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteContainerParams) SetContext ¶
func (o *DeleteContainerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete container params
func (*DeleteContainerParams) SetHTTPClient ¶
func (o *DeleteContainerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete container params
func (*DeleteContainerParams) SetID ¶
func (o *DeleteContainerParams) SetID(id int64)
SetID adds the id to the delete container params
func (*DeleteContainerParams) SetTimeout ¶
func (o *DeleteContainerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete container params
func (*DeleteContainerParams) WithContext ¶
func (o *DeleteContainerParams) WithContext(ctx context.Context) *DeleteContainerParams
WithContext adds the context to the delete container params
func (*DeleteContainerParams) WithHTTPClient ¶
func (o *DeleteContainerParams) WithHTTPClient(client *http.Client) *DeleteContainerParams
WithHTTPClient adds the HTTPClient to the delete container params
func (*DeleteContainerParams) WithID ¶
func (o *DeleteContainerParams) WithID(id int64) *DeleteContainerParams
WithID adds the id to the delete container params
func (*DeleteContainerParams) WithTimeout ¶
func (o *DeleteContainerParams) WithTimeout(timeout time.Duration) *DeleteContainerParams
WithTimeout adds the timeout to the delete container params
func (*DeleteContainerParams) WriteToRequest ¶
func (o *DeleteContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContainerReader ¶
type DeleteContainerReader struct {
// contains filtered or unexported fields
}
DeleteContainerReader is a Reader for the DeleteContainer structure.
func (*DeleteContainerReader) ReadResponse ¶
func (o *DeleteContainerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContainerBynameDefault ¶
type GetContainerBynameDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetContainerBynameDefault handles this case with default header values.
error
func NewGetContainerBynameDefault ¶
func NewGetContainerBynameDefault(code int) *GetContainerBynameDefault
NewGetContainerBynameDefault creates a GetContainerBynameDefault with default headers values
func (*GetContainerBynameDefault) Code ¶
func (o *GetContainerBynameDefault) Code() int
Code gets the status code for the get container byname default response
func (*GetContainerBynameDefault) Error ¶
func (o *GetContainerBynameDefault) Error() string
func (*GetContainerBynameDefault) GetPayload ¶
func (o *GetContainerBynameDefault) GetPayload() *models.Error
type GetContainerBynameOK ¶
GetContainerBynameOK handles this case with default header values.
Container entry
func NewGetContainerBynameOK ¶
func NewGetContainerBynameOK() *GetContainerBynameOK
NewGetContainerBynameOK creates a GetContainerBynameOK with default headers values
func (*GetContainerBynameOK) Error ¶
func (o *GetContainerBynameOK) Error() string
func (*GetContainerBynameOK) GetPayload ¶
func (o *GetContainerBynameOK) GetPayload() *models.Container
type GetContainerBynameParams ¶
type GetContainerBynameParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContainerBynameParams contains all the parameters to send to the API endpoint for the get container byname operation typically these are written to a http.Request
func NewGetContainerBynameParams ¶
func NewGetContainerBynameParams() *GetContainerBynameParams
NewGetContainerBynameParams creates a new GetContainerBynameParams object with the default values initialized.
func NewGetContainerBynameParamsWithContext ¶
func NewGetContainerBynameParamsWithContext(ctx context.Context) *GetContainerBynameParams
NewGetContainerBynameParamsWithContext creates a new GetContainerBynameParams object with the default values initialized, and the ability to set a context for a request
func NewGetContainerBynameParamsWithHTTPClient ¶
func NewGetContainerBynameParamsWithHTTPClient(client *http.Client) *GetContainerBynameParams
NewGetContainerBynameParamsWithHTTPClient creates a new GetContainerBynameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetContainerBynameParamsWithTimeout ¶
func NewGetContainerBynameParamsWithTimeout(timeout time.Duration) *GetContainerBynameParams
NewGetContainerBynameParamsWithTimeout creates a new GetContainerBynameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetContainerBynameParams) SetContext ¶
func (o *GetContainerBynameParams) SetContext(ctx context.Context)
SetContext adds the context to the get container byname params
func (*GetContainerBynameParams) SetHTTPClient ¶
func (o *GetContainerBynameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get container byname params
func (*GetContainerBynameParams) SetName ¶
func (o *GetContainerBynameParams) SetName(name string)
SetName adds the name to the get container byname params
func (*GetContainerBynameParams) SetTimeout ¶
func (o *GetContainerBynameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get container byname params
func (*GetContainerBynameParams) WithContext ¶
func (o *GetContainerBynameParams) WithContext(ctx context.Context) *GetContainerBynameParams
WithContext adds the context to the get container byname params
func (*GetContainerBynameParams) WithHTTPClient ¶
func (o *GetContainerBynameParams) WithHTTPClient(client *http.Client) *GetContainerBynameParams
WithHTTPClient adds the HTTPClient to the get container byname params
func (*GetContainerBynameParams) WithName ¶
func (o *GetContainerBynameParams) WithName(name string) *GetContainerBynameParams
WithName adds the name to the get container byname params
func (*GetContainerBynameParams) WithTimeout ¶
func (o *GetContainerBynameParams) WithTimeout(timeout time.Duration) *GetContainerBynameParams
WithTimeout adds the timeout to the get container byname params
func (*GetContainerBynameParams) WriteToRequest ¶
func (o *GetContainerBynameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContainerBynameReader ¶
type GetContainerBynameReader struct {
// contains filtered or unexported fields
}
GetContainerBynameReader is a Reader for the GetContainerByname structure.
func (*GetContainerBynameReader) ReadResponse ¶
func (o *GetContainerBynameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContainerDefault ¶
GetContainerDefault handles this case with default header values.
error
func NewGetContainerDefault ¶
func NewGetContainerDefault(code int) *GetContainerDefault
NewGetContainerDefault creates a GetContainerDefault with default headers values
func (*GetContainerDefault) Code ¶
func (o *GetContainerDefault) Code() int
Code gets the status code for the get container default response
func (*GetContainerDefault) Error ¶
func (o *GetContainerDefault) Error() string
func (*GetContainerDefault) GetPayload ¶
func (o *GetContainerDefault) GetPayload() *models.Error
type GetContainerOK ¶
GetContainerOK handles this case with default header values.
Container entry
func NewGetContainerOK ¶
func NewGetContainerOK() *GetContainerOK
NewGetContainerOK creates a GetContainerOK with default headers values
func (*GetContainerOK) Error ¶
func (o *GetContainerOK) Error() string
func (*GetContainerOK) GetPayload ¶
func (o *GetContainerOK) GetPayload() *models.Container
type GetContainerParams ¶
type GetContainerParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContainerParams contains all the parameters to send to the API endpoint for the get container operation typically these are written to a http.Request
func NewGetContainerParams ¶
func NewGetContainerParams() *GetContainerParams
NewGetContainerParams creates a new GetContainerParams object with the default values initialized.
func NewGetContainerParamsWithContext ¶
func NewGetContainerParamsWithContext(ctx context.Context) *GetContainerParams
NewGetContainerParamsWithContext creates a new GetContainerParams object with the default values initialized, and the ability to set a context for a request
func NewGetContainerParamsWithHTTPClient ¶
func NewGetContainerParamsWithHTTPClient(client *http.Client) *GetContainerParams
NewGetContainerParamsWithHTTPClient creates a new GetContainerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetContainerParamsWithTimeout ¶
func NewGetContainerParamsWithTimeout(timeout time.Duration) *GetContainerParams
NewGetContainerParamsWithTimeout creates a new GetContainerParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetContainerParams) SetContext ¶
func (o *GetContainerParams) SetContext(ctx context.Context)
SetContext adds the context to the get container params
func (*GetContainerParams) SetHTTPClient ¶
func (o *GetContainerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get container params
func (*GetContainerParams) SetID ¶
func (o *GetContainerParams) SetID(id int64)
SetID adds the id to the get container params
func (*GetContainerParams) SetTimeout ¶
func (o *GetContainerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get container params
func (*GetContainerParams) WithContext ¶
func (o *GetContainerParams) WithContext(ctx context.Context) *GetContainerParams
WithContext adds the context to the get container params
func (*GetContainerParams) WithHTTPClient ¶
func (o *GetContainerParams) WithHTTPClient(client *http.Client) *GetContainerParams
WithHTTPClient adds the HTTPClient to the get container params
func (*GetContainerParams) WithID ¶
func (o *GetContainerParams) WithID(id int64) *GetContainerParams
WithID adds the id to the get container params
func (*GetContainerParams) WithTimeout ¶
func (o *GetContainerParams) WithTimeout(timeout time.Duration) *GetContainerParams
WithTimeout adds the timeout to the get container params
func (*GetContainerParams) WriteToRequest ¶
func (o *GetContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContainerReader ¶
type GetContainerReader struct {
// contains filtered or unexported fields
}
GetContainerReader is a Reader for the GetContainer structure.
func (*GetContainerReader) ReadResponse ¶
func (o *GetContainerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListContainersDefault ¶
type ListContainersDefault struct { Payload *models.Error // contains filtered or unexported fields }
ListContainersDefault handles this case with default header values.
error
func NewListContainersDefault ¶
func NewListContainersDefault(code int) *ListContainersDefault
NewListContainersDefault creates a ListContainersDefault with default headers values
func (*ListContainersDefault) Code ¶
func (o *ListContainersDefault) Code() int
Code gets the status code for the list containers default response
func (*ListContainersDefault) Error ¶
func (o *ListContainersDefault) Error() string
func (*ListContainersDefault) GetPayload ¶
func (o *ListContainersDefault) GetPayload() *models.Error
type ListContainersOK ¶
ListContainersOK handles this case with default header values.
List of containers
func NewListContainersOK ¶
func NewListContainersOK() *ListContainersOK
NewListContainersOK creates a ListContainersOK with default headers values
func (*ListContainersOK) Error ¶
func (o *ListContainersOK) Error() string
func (*ListContainersOK) GetPayload ¶
func (o *ListContainersOK) GetPayload() []*models.Container
type ListContainersParams ¶
type ListContainersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListContainersParams contains all the parameters to send to the API endpoint for the list containers operation typically these are written to a http.Request
func NewListContainersParams ¶
func NewListContainersParams() *ListContainersParams
NewListContainersParams creates a new ListContainersParams object with the default values initialized.
func NewListContainersParamsWithContext ¶
func NewListContainersParamsWithContext(ctx context.Context) *ListContainersParams
NewListContainersParamsWithContext creates a new ListContainersParams object with the default values initialized, and the ability to set a context for a request
func NewListContainersParamsWithHTTPClient ¶
func NewListContainersParamsWithHTTPClient(client *http.Client) *ListContainersParams
NewListContainersParamsWithHTTPClient creates a new ListContainersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListContainersParamsWithTimeout ¶
func NewListContainersParamsWithTimeout(timeout time.Duration) *ListContainersParams
NewListContainersParamsWithTimeout creates a new ListContainersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListContainersParams) SetContext ¶
func (o *ListContainersParams) SetContext(ctx context.Context)
SetContext adds the context to the list containers params
func (*ListContainersParams) SetHTTPClient ¶
func (o *ListContainersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list containers params
func (*ListContainersParams) SetTimeout ¶
func (o *ListContainersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list containers params
func (*ListContainersParams) WithContext ¶
func (o *ListContainersParams) WithContext(ctx context.Context) *ListContainersParams
WithContext adds the context to the list containers params
func (*ListContainersParams) WithHTTPClient ¶
func (o *ListContainersParams) WithHTTPClient(client *http.Client) *ListContainersParams
WithHTTPClient adds the HTTPClient to the list containers params
func (*ListContainersParams) WithTimeout ¶
func (o *ListContainersParams) WithTimeout(timeout time.Duration) *ListContainersParams
WithTimeout adds the timeout to the list containers params
func (*ListContainersParams) WriteToRequest ¶
func (o *ListContainersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListContainersReader ¶
type ListContainersReader struct {
// contains filtered or unexported fields
}
ListContainersReader is a Reader for the ListContainers structure.
func (*ListContainersReader) ReadResponse ¶
func (o *ListContainersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetContainerStateBynameDefault ¶
type SetContainerStateBynameDefault struct { Payload *models.Error // contains filtered or unexported fields }
SetContainerStateBynameDefault handles this case with default header values.
error
func NewSetContainerStateBynameDefault ¶
func NewSetContainerStateBynameDefault(code int) *SetContainerStateBynameDefault
NewSetContainerStateBynameDefault creates a SetContainerStateBynameDefault with default headers values
func (*SetContainerStateBynameDefault) Code ¶
func (o *SetContainerStateBynameDefault) Code() int
Code gets the status code for the set container state byname default response
func (*SetContainerStateBynameDefault) Error ¶
func (o *SetContainerStateBynameDefault) Error() string
func (*SetContainerStateBynameDefault) GetPayload ¶
func (o *SetContainerStateBynameDefault) GetPayload() *models.Error
type SetContainerStateBynameOK ¶
SetContainerStateBynameOK handles this case with default header values.
Container state changed
func NewSetContainerStateBynameOK ¶
func NewSetContainerStateBynameOK() *SetContainerStateBynameOK
NewSetContainerStateBynameOK creates a SetContainerStateBynameOK with default headers values
func (*SetContainerStateBynameOK) Error ¶
func (o *SetContainerStateBynameOK) Error() string
func (*SetContainerStateBynameOK) GetPayload ¶
func (o *SetContainerStateBynameOK) GetPayload() *models.Container
type SetContainerStateBynameParams ¶
type SetContainerStateBynameParams struct { /*Name*/ Name string /*State*/ State string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetContainerStateBynameParams contains all the parameters to send to the API endpoint for the set container state byname operation typically these are written to a http.Request
func NewSetContainerStateBynameParams ¶
func NewSetContainerStateBynameParams() *SetContainerStateBynameParams
NewSetContainerStateBynameParams creates a new SetContainerStateBynameParams object with the default values initialized.
func NewSetContainerStateBynameParamsWithContext ¶
func NewSetContainerStateBynameParamsWithContext(ctx context.Context) *SetContainerStateBynameParams
NewSetContainerStateBynameParamsWithContext creates a new SetContainerStateBynameParams object with the default values initialized, and the ability to set a context for a request
func NewSetContainerStateBynameParamsWithHTTPClient ¶
func NewSetContainerStateBynameParamsWithHTTPClient(client *http.Client) *SetContainerStateBynameParams
NewSetContainerStateBynameParamsWithHTTPClient creates a new SetContainerStateBynameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetContainerStateBynameParamsWithTimeout ¶
func NewSetContainerStateBynameParamsWithTimeout(timeout time.Duration) *SetContainerStateBynameParams
NewSetContainerStateBynameParamsWithTimeout creates a new SetContainerStateBynameParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetContainerStateBynameParams) SetContext ¶
func (o *SetContainerStateBynameParams) SetContext(ctx context.Context)
SetContext adds the context to the set container state byname params
func (*SetContainerStateBynameParams) SetHTTPClient ¶
func (o *SetContainerStateBynameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set container state byname params
func (*SetContainerStateBynameParams) SetName ¶
func (o *SetContainerStateBynameParams) SetName(name string)
SetName adds the name to the set container state byname params
func (*SetContainerStateBynameParams) SetState ¶
func (o *SetContainerStateBynameParams) SetState(state string)
SetState adds the state to the set container state byname params
func (*SetContainerStateBynameParams) SetTimeout ¶
func (o *SetContainerStateBynameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set container state byname params
func (*SetContainerStateBynameParams) WithContext ¶
func (o *SetContainerStateBynameParams) WithContext(ctx context.Context) *SetContainerStateBynameParams
WithContext adds the context to the set container state byname params
func (*SetContainerStateBynameParams) WithHTTPClient ¶
func (o *SetContainerStateBynameParams) WithHTTPClient(client *http.Client) *SetContainerStateBynameParams
WithHTTPClient adds the HTTPClient to the set container state byname params
func (*SetContainerStateBynameParams) WithName ¶
func (o *SetContainerStateBynameParams) WithName(name string) *SetContainerStateBynameParams
WithName adds the name to the set container state byname params
func (*SetContainerStateBynameParams) WithState ¶
func (o *SetContainerStateBynameParams) WithState(state string) *SetContainerStateBynameParams
WithState adds the state to the set container state byname params
func (*SetContainerStateBynameParams) WithTimeout ¶
func (o *SetContainerStateBynameParams) WithTimeout(timeout time.Duration) *SetContainerStateBynameParams
WithTimeout adds the timeout to the set container state byname params
func (*SetContainerStateBynameParams) WriteToRequest ¶
func (o *SetContainerStateBynameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetContainerStateBynameReader ¶
type SetContainerStateBynameReader struct {
// contains filtered or unexported fields
}
SetContainerStateBynameReader is a Reader for the SetContainerStateByname structure.
func (*SetContainerStateBynameReader) ReadResponse ¶
func (o *SetContainerStateBynameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetContainerStateDefault ¶
type SetContainerStateDefault struct { Payload *models.Error // contains filtered or unexported fields }
SetContainerStateDefault handles this case with default header values.
error
func NewSetContainerStateDefault ¶
func NewSetContainerStateDefault(code int) *SetContainerStateDefault
NewSetContainerStateDefault creates a SetContainerStateDefault with default headers values
func (*SetContainerStateDefault) Code ¶
func (o *SetContainerStateDefault) Code() int
Code gets the status code for the set container state default response
func (*SetContainerStateDefault) Error ¶
func (o *SetContainerStateDefault) Error() string
func (*SetContainerStateDefault) GetPayload ¶
func (o *SetContainerStateDefault) GetPayload() *models.Error
type SetContainerStateOK ¶
SetContainerStateOK handles this case with default header values.
Container state changed
func NewSetContainerStateOK ¶
func NewSetContainerStateOK() *SetContainerStateOK
NewSetContainerStateOK creates a SetContainerStateOK with default headers values
func (*SetContainerStateOK) Error ¶
func (o *SetContainerStateOK) Error() string
func (*SetContainerStateOK) GetPayload ¶
func (o *SetContainerStateOK) GetPayload() *models.Container
type SetContainerStateParams ¶
type SetContainerStateParams struct { /*ID*/ ID int64 /*State*/ State string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetContainerStateParams contains all the parameters to send to the API endpoint for the set container state operation typically these are written to a http.Request
func NewSetContainerStateParams ¶
func NewSetContainerStateParams() *SetContainerStateParams
NewSetContainerStateParams creates a new SetContainerStateParams object with the default values initialized.
func NewSetContainerStateParamsWithContext ¶
func NewSetContainerStateParamsWithContext(ctx context.Context) *SetContainerStateParams
NewSetContainerStateParamsWithContext creates a new SetContainerStateParams object with the default values initialized, and the ability to set a context for a request
func NewSetContainerStateParamsWithHTTPClient ¶
func NewSetContainerStateParamsWithHTTPClient(client *http.Client) *SetContainerStateParams
NewSetContainerStateParamsWithHTTPClient creates a new SetContainerStateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetContainerStateParamsWithTimeout ¶
func NewSetContainerStateParamsWithTimeout(timeout time.Duration) *SetContainerStateParams
NewSetContainerStateParamsWithTimeout creates a new SetContainerStateParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetContainerStateParams) SetContext ¶
func (o *SetContainerStateParams) SetContext(ctx context.Context)
SetContext adds the context to the set container state params
func (*SetContainerStateParams) SetHTTPClient ¶
func (o *SetContainerStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set container state params
func (*SetContainerStateParams) SetID ¶
func (o *SetContainerStateParams) SetID(id int64)
SetID adds the id to the set container state params
func (*SetContainerStateParams) SetState ¶
func (o *SetContainerStateParams) SetState(state string)
SetState adds the state to the set container state params
func (*SetContainerStateParams) SetTimeout ¶
func (o *SetContainerStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set container state params
func (*SetContainerStateParams) WithContext ¶
func (o *SetContainerStateParams) WithContext(ctx context.Context) *SetContainerStateParams
WithContext adds the context to the set container state params
func (*SetContainerStateParams) WithHTTPClient ¶
func (o *SetContainerStateParams) WithHTTPClient(client *http.Client) *SetContainerStateParams
WithHTTPClient adds the HTTPClient to the set container state params
func (*SetContainerStateParams) WithID ¶
func (o *SetContainerStateParams) WithID(id int64) *SetContainerStateParams
WithID adds the id to the set container state params
func (*SetContainerStateParams) WithState ¶
func (o *SetContainerStateParams) WithState(state string) *SetContainerStateParams
WithState adds the state to the set container state params
func (*SetContainerStateParams) WithTimeout ¶
func (o *SetContainerStateParams) WithTimeout(timeout time.Duration) *SetContainerStateParams
WithTimeout adds the timeout to the set container state params
func (*SetContainerStateParams) WriteToRequest ¶
func (o *SetContainerStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetContainerStateReader ¶
type SetContainerStateReader struct {
// contains filtered or unexported fields
}
SetContainerStateReader is a Reader for the SetContainerState structure.
func (*SetContainerStateReader) ReadResponse ¶
func (o *SetContainerStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- containers_client.go
- create_container_parameters.go
- create_container_responses.go
- delete_container_byname_parameters.go
- delete_container_byname_responses.go
- delete_container_parameters.go
- delete_container_responses.go
- get_container_byname_parameters.go
- get_container_byname_responses.go
- get_container_parameters.go
- get_container_responses.go
- list_containers_parameters.go
- list_containers_responses.go
- set_container_state_byname_parameters.go
- set_container_state_byname_responses.go
- set_container_state_parameters.go
- set_container_state_responses.go