Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) ContainerArchive(params *ContainerArchiveParams) (*ContainerArchiveOK, error)
- func (a *Client) ContainerArchiveInfo(params *ContainerArchiveInfoParams) (*ContainerArchiveInfoOK, error)
- func (a *Client) ContainerAttach(params *ContainerAttachParams) (*ContainerAttachOK, error)
- func (a *Client) ContainerAttachWebsocket(params *ContainerAttachWebsocketParams) (*ContainerAttachWebsocketOK, error)
- func (a *Client) ContainerChanges(params *ContainerChangesParams) (*ContainerChangesOK, error)
- func (a *Client) ContainerCreate(params *ContainerCreateParams) (*ContainerCreateCreated, error)
- func (a *Client) ContainerDelete(params *ContainerDeleteParams) (*ContainerDeleteNoContent, error)
- func (a *Client) ContainerExport(params *ContainerExportParams) (*ContainerExportOK, error)
- func (a *Client) ContainerInspect(params *ContainerInspectParams) (*ContainerInspectOK, error)
- func (a *Client) ContainerKill(params *ContainerKillParams) (*ContainerKillNoContent, error)
- func (a *Client) ContainerList(params *ContainerListParams) (*ContainerListOK, error)
- func (a *Client) ContainerLogs(params *ContainerLogsParams, writer io.Writer) (*ContainerLogsOK, error)
- func (a *Client) ContainerPause(params *ContainerPauseParams) (*ContainerPauseNoContent, error)
- func (a *Client) ContainerPrune(params *ContainerPruneParams) (*ContainerPruneOK, error)
- func (a *Client) ContainerRename(params *ContainerRenameParams) (*ContainerRenameNoContent, error)
- func (a *Client) ContainerResize(params *ContainerResizeParams) (*ContainerResizeOK, error)
- func (a *Client) ContainerRestart(params *ContainerRestartParams) (*ContainerRestartNoContent, error)
- func (a *Client) ContainerStart(params *ContainerStartParams) (*ContainerStartNoContent, error)
- func (a *Client) ContainerStats(params *ContainerStatsParams) (*ContainerStatsOK, error)
- func (a *Client) ContainerStop(params *ContainerStopParams) (*ContainerStopNoContent, error)
- func (a *Client) ContainerTop(params *ContainerTopParams) (*ContainerTopOK, error)
- func (a *Client) ContainerUnpause(params *ContainerUnpauseParams) (*ContainerUnpauseNoContent, error)
- func (a *Client) ContainerUpdate(params *ContainerUpdateParams) (*ContainerUpdateOK, error)
- func (a *Client) ContainerWait(params *ContainerWaitParams) (*ContainerWaitOK, error)
- func (a *Client) PutContainerArchive(params *PutContainerArchiveParams) (*PutContainerArchiveOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ContainerArchiveBadRequest
- type ContainerArchiveBadRequestBody
- func (o *ContainerArchiveBadRequestBody) MarshalBinary() ([]byte, error)
- func (o ContainerArchiveBadRequestBody) MarshalJSON() ([]byte, error)
- func (o *ContainerArchiveBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ContainerArchiveBadRequestBody) UnmarshalJSON(raw []byte) error
- func (o *ContainerArchiveBadRequestBody) Validate(formats strfmt.Registry) error
- type ContainerArchiveInfoBadRequest
- type ContainerArchiveInfoBadRequestBody
- func (o *ContainerArchiveInfoBadRequestBody) MarshalBinary() ([]byte, error)
- func (o ContainerArchiveInfoBadRequestBody) MarshalJSON() ([]byte, error)
- func (o *ContainerArchiveInfoBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ContainerArchiveInfoBadRequestBody) UnmarshalJSON(raw []byte) error
- func (o *ContainerArchiveInfoBadRequestBody) Validate(formats strfmt.Registry) error
- type ContainerArchiveInfoInternalServerError
- type ContainerArchiveInfoNotFound
- type ContainerArchiveInfoOK
- type ContainerArchiveInfoParams
- func NewContainerArchiveInfoParams() *ContainerArchiveInfoParams
- func NewContainerArchiveInfoParamsWithContext(ctx context.Context) *ContainerArchiveInfoParams
- func NewContainerArchiveInfoParamsWithHTTPClient(client *http.Client) *ContainerArchiveInfoParams
- func NewContainerArchiveInfoParamsWithTimeout(timeout time.Duration) *ContainerArchiveInfoParams
- func (o *ContainerArchiveInfoParams) SetContext(ctx context.Context)
- func (o *ContainerArchiveInfoParams) SetHTTPClient(client *http.Client)
- func (o *ContainerArchiveInfoParams) SetID(id string)
- func (o *ContainerArchiveInfoParams) SetPath(path string)
- func (o *ContainerArchiveInfoParams) SetTimeout(timeout time.Duration)
- func (o *ContainerArchiveInfoParams) WithContext(ctx context.Context) *ContainerArchiveInfoParams
- func (o *ContainerArchiveInfoParams) WithHTTPClient(client *http.Client) *ContainerArchiveInfoParams
- func (o *ContainerArchiveInfoParams) WithID(id string) *ContainerArchiveInfoParams
- func (o *ContainerArchiveInfoParams) WithPath(path string) *ContainerArchiveInfoParams
- func (o *ContainerArchiveInfoParams) WithTimeout(timeout time.Duration) *ContainerArchiveInfoParams
- func (o *ContainerArchiveInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerArchiveInfoReader
- type ContainerArchiveInternalServerError
- type ContainerArchiveNotFound
- type ContainerArchiveOK
- type ContainerArchiveParams
- func NewContainerArchiveParams() *ContainerArchiveParams
- func NewContainerArchiveParamsWithContext(ctx context.Context) *ContainerArchiveParams
- func NewContainerArchiveParamsWithHTTPClient(client *http.Client) *ContainerArchiveParams
- func NewContainerArchiveParamsWithTimeout(timeout time.Duration) *ContainerArchiveParams
- func (o *ContainerArchiveParams) SetContext(ctx context.Context)
- func (o *ContainerArchiveParams) SetHTTPClient(client *http.Client)
- func (o *ContainerArchiveParams) SetID(id string)
- func (o *ContainerArchiveParams) SetPath(path string)
- func (o *ContainerArchiveParams) SetTimeout(timeout time.Duration)
- func (o *ContainerArchiveParams) WithContext(ctx context.Context) *ContainerArchiveParams
- func (o *ContainerArchiveParams) WithHTTPClient(client *http.Client) *ContainerArchiveParams
- func (o *ContainerArchiveParams) WithID(id string) *ContainerArchiveParams
- func (o *ContainerArchiveParams) WithPath(path string) *ContainerArchiveParams
- func (o *ContainerArchiveParams) WithTimeout(timeout time.Duration) *ContainerArchiveParams
- func (o *ContainerArchiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerArchiveReader
- type ContainerAttachBadRequest
- type ContainerAttachInternalServerError
- type ContainerAttachNotFound
- type ContainerAttachOK
- type ContainerAttachParams
- func NewContainerAttachParams() *ContainerAttachParams
- func NewContainerAttachParamsWithContext(ctx context.Context) *ContainerAttachParams
- func NewContainerAttachParamsWithHTTPClient(client *http.Client) *ContainerAttachParams
- func NewContainerAttachParamsWithTimeout(timeout time.Duration) *ContainerAttachParams
- func (o *ContainerAttachParams) SetContext(ctx context.Context)
- func (o *ContainerAttachParams) SetDetachKeys(detachKeys *string)
- func (o *ContainerAttachParams) SetHTTPClient(client *http.Client)
- func (o *ContainerAttachParams) SetID(id string)
- func (o *ContainerAttachParams) SetLogs(logs *bool)
- func (o *ContainerAttachParams) SetStderr(stderr *bool)
- func (o *ContainerAttachParams) SetStdin(stdin *bool)
- func (o *ContainerAttachParams) SetStdout(stdout *bool)
- func (o *ContainerAttachParams) SetStream(stream *bool)
- func (o *ContainerAttachParams) SetTimeout(timeout time.Duration)
- func (o *ContainerAttachParams) WithContext(ctx context.Context) *ContainerAttachParams
- func (o *ContainerAttachParams) WithDetachKeys(detachKeys *string) *ContainerAttachParams
- func (o *ContainerAttachParams) WithHTTPClient(client *http.Client) *ContainerAttachParams
- func (o *ContainerAttachParams) WithID(id string) *ContainerAttachParams
- func (o *ContainerAttachParams) WithLogs(logs *bool) *ContainerAttachParams
- func (o *ContainerAttachParams) WithStderr(stderr *bool) *ContainerAttachParams
- func (o *ContainerAttachParams) WithStdin(stdin *bool) *ContainerAttachParams
- func (o *ContainerAttachParams) WithStdout(stdout *bool) *ContainerAttachParams
- func (o *ContainerAttachParams) WithStream(stream *bool) *ContainerAttachParams
- func (o *ContainerAttachParams) WithTimeout(timeout time.Duration) *ContainerAttachParams
- func (o *ContainerAttachParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerAttachReader
- type ContainerAttachSwitchingProtocols
- type ContainerAttachWebsocketBadRequest
- type ContainerAttachWebsocketInternalServerError
- type ContainerAttachWebsocketNotFound
- type ContainerAttachWebsocketOK
- type ContainerAttachWebsocketParams
- func NewContainerAttachWebsocketParams() *ContainerAttachWebsocketParams
- func NewContainerAttachWebsocketParamsWithContext(ctx context.Context) *ContainerAttachWebsocketParams
- func NewContainerAttachWebsocketParamsWithHTTPClient(client *http.Client) *ContainerAttachWebsocketParams
- func NewContainerAttachWebsocketParamsWithTimeout(timeout time.Duration) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) SetContext(ctx context.Context)
- func (o *ContainerAttachWebsocketParams) SetDetachKeys(detachKeys *string)
- func (o *ContainerAttachWebsocketParams) SetHTTPClient(client *http.Client)
- func (o *ContainerAttachWebsocketParams) SetID(id string)
- func (o *ContainerAttachWebsocketParams) SetLogs(logs *bool)
- func (o *ContainerAttachWebsocketParams) SetStderr(stderr *bool)
- func (o *ContainerAttachWebsocketParams) SetStdin(stdin *bool)
- func (o *ContainerAttachWebsocketParams) SetStdout(stdout *bool)
- func (o *ContainerAttachWebsocketParams) SetStream(stream *bool)
- func (o *ContainerAttachWebsocketParams) SetTimeout(timeout time.Duration)
- func (o *ContainerAttachWebsocketParams) WithContext(ctx context.Context) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WithDetachKeys(detachKeys *string) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WithHTTPClient(client *http.Client) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WithID(id string) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WithLogs(logs *bool) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WithStderr(stderr *bool) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WithStdin(stdin *bool) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WithStdout(stdout *bool) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WithStream(stream *bool) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WithTimeout(timeout time.Duration) *ContainerAttachWebsocketParams
- func (o *ContainerAttachWebsocketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerAttachWebsocketReader
- type ContainerAttachWebsocketSwitchingProtocols
- type ContainerChangeResponseItem
- type ContainerChangesInternalServerError
- type ContainerChangesNotFound
- type ContainerChangesOK
- type ContainerChangesParams
- func NewContainerChangesParams() *ContainerChangesParams
- func NewContainerChangesParamsWithContext(ctx context.Context) *ContainerChangesParams
- func NewContainerChangesParamsWithHTTPClient(client *http.Client) *ContainerChangesParams
- func NewContainerChangesParamsWithTimeout(timeout time.Duration) *ContainerChangesParams
- func (o *ContainerChangesParams) SetContext(ctx context.Context)
- func (o *ContainerChangesParams) SetHTTPClient(client *http.Client)
- func (o *ContainerChangesParams) SetID(id string)
- func (o *ContainerChangesParams) SetTimeout(timeout time.Duration)
- func (o *ContainerChangesParams) WithContext(ctx context.Context) *ContainerChangesParams
- func (o *ContainerChangesParams) WithHTTPClient(client *http.Client) *ContainerChangesParams
- func (o *ContainerChangesParams) WithID(id string) *ContainerChangesParams
- func (o *ContainerChangesParams) WithTimeout(timeout time.Duration) *ContainerChangesParams
- func (o *ContainerChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerChangesReader
- type ContainerCreateBadRequest
- type ContainerCreateBody
- func (o *ContainerCreateBody) MarshalBinary() ([]byte, error)
- func (o ContainerCreateBody) MarshalJSON() ([]byte, error)
- func (o *ContainerCreateBody) UnmarshalBinary(b []byte) error
- func (o *ContainerCreateBody) UnmarshalJSON(raw []byte) error
- func (o *ContainerCreateBody) Validate(formats strfmt.Registry) error
- type ContainerCreateConflict
- type ContainerCreateCreated
- type ContainerCreateCreatedBody
- type ContainerCreateInternalServerError
- type ContainerCreateNotFound
- type ContainerCreateParams
- func NewContainerCreateParams() *ContainerCreateParams
- func NewContainerCreateParamsWithContext(ctx context.Context) *ContainerCreateParams
- func NewContainerCreateParamsWithHTTPClient(client *http.Client) *ContainerCreateParams
- func NewContainerCreateParamsWithTimeout(timeout time.Duration) *ContainerCreateParams
- func (o *ContainerCreateParams) SetBody(body ContainerCreateBody)
- func (o *ContainerCreateParams) SetContext(ctx context.Context)
- func (o *ContainerCreateParams) SetHTTPClient(client *http.Client)
- func (o *ContainerCreateParams) SetName(name *string)
- func (o *ContainerCreateParams) SetTimeout(timeout time.Duration)
- func (o *ContainerCreateParams) WithBody(body ContainerCreateBody) *ContainerCreateParams
- func (o *ContainerCreateParams) WithContext(ctx context.Context) *ContainerCreateParams
- func (o *ContainerCreateParams) WithHTTPClient(client *http.Client) *ContainerCreateParams
- func (o *ContainerCreateParams) WithName(name *string) *ContainerCreateParams
- func (o *ContainerCreateParams) WithTimeout(timeout time.Duration) *ContainerCreateParams
- func (o *ContainerCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerCreateParamsBodyAO1NetworkingConfig
- type ContainerCreateReader
- type ContainerDeleteBadRequest
- type ContainerDeleteConflict
- type ContainerDeleteInternalServerError
- type ContainerDeleteNoContent
- type ContainerDeleteNotFound
- type ContainerDeleteParams
- func NewContainerDeleteParams() *ContainerDeleteParams
- func NewContainerDeleteParamsWithContext(ctx context.Context) *ContainerDeleteParams
- func NewContainerDeleteParamsWithHTTPClient(client *http.Client) *ContainerDeleteParams
- func NewContainerDeleteParamsWithTimeout(timeout time.Duration) *ContainerDeleteParams
- func (o *ContainerDeleteParams) SetContext(ctx context.Context)
- func (o *ContainerDeleteParams) SetForce(force *bool)
- func (o *ContainerDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ContainerDeleteParams) SetID(id string)
- func (o *ContainerDeleteParams) SetLink(link *bool)
- func (o *ContainerDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ContainerDeleteParams) SetV(v *bool)
- func (o *ContainerDeleteParams) WithContext(ctx context.Context) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithForce(force *bool) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithHTTPClient(client *http.Client) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithID(id string) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithLink(link *bool) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithTimeout(timeout time.Duration) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithV(v *bool) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerDeleteReader
- type ContainerExportInternalServerError
- type ContainerExportNotFound
- type ContainerExportOK
- type ContainerExportParams
- func NewContainerExportParams() *ContainerExportParams
- func NewContainerExportParamsWithContext(ctx context.Context) *ContainerExportParams
- func NewContainerExportParamsWithHTTPClient(client *http.Client) *ContainerExportParams
- func NewContainerExportParamsWithTimeout(timeout time.Duration) *ContainerExportParams
- func (o *ContainerExportParams) SetContext(ctx context.Context)
- func (o *ContainerExportParams) SetHTTPClient(client *http.Client)
- func (o *ContainerExportParams) SetID(id string)
- func (o *ContainerExportParams) SetTimeout(timeout time.Duration)
- func (o *ContainerExportParams) WithContext(ctx context.Context) *ContainerExportParams
- func (o *ContainerExportParams) WithHTTPClient(client *http.Client) *ContainerExportParams
- func (o *ContainerExportParams) WithID(id string) *ContainerExportParams
- func (o *ContainerExportParams) WithTimeout(timeout time.Duration) *ContainerExportParams
- func (o *ContainerExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerExportReader
- type ContainerInspectInternalServerError
- type ContainerInspectNotFound
- type ContainerInspectOK
- type ContainerInspectOKBody
- type ContainerInspectOKBodyState
- type ContainerInspectParams
- func NewContainerInspectParams() *ContainerInspectParams
- func NewContainerInspectParamsWithContext(ctx context.Context) *ContainerInspectParams
- func NewContainerInspectParamsWithHTTPClient(client *http.Client) *ContainerInspectParams
- func NewContainerInspectParamsWithTimeout(timeout time.Duration) *ContainerInspectParams
- func (o *ContainerInspectParams) SetContext(ctx context.Context)
- func (o *ContainerInspectParams) SetHTTPClient(client *http.Client)
- func (o *ContainerInspectParams) SetID(id string)
- func (o *ContainerInspectParams) SetSize(size *bool)
- func (o *ContainerInspectParams) SetTimeout(timeout time.Duration)
- func (o *ContainerInspectParams) WithContext(ctx context.Context) *ContainerInspectParams
- func (o *ContainerInspectParams) WithHTTPClient(client *http.Client) *ContainerInspectParams
- func (o *ContainerInspectParams) WithID(id string) *ContainerInspectParams
- func (o *ContainerInspectParams) WithSize(size *bool) *ContainerInspectParams
- func (o *ContainerInspectParams) WithTimeout(timeout time.Duration) *ContainerInspectParams
- func (o *ContainerInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerInspectReader
- type ContainerKillConflict
- type ContainerKillInternalServerError
- type ContainerKillNoContent
- type ContainerKillNotFound
- type ContainerKillParams
- func (o *ContainerKillParams) SetContext(ctx context.Context)
- func (o *ContainerKillParams) SetHTTPClient(client *http.Client)
- func (o *ContainerKillParams) SetID(id string)
- func (o *ContainerKillParams) SetSignal(signal *string)
- func (o *ContainerKillParams) SetTimeout(timeout time.Duration)
- func (o *ContainerKillParams) WithContext(ctx context.Context) *ContainerKillParams
- func (o *ContainerKillParams) WithHTTPClient(client *http.Client) *ContainerKillParams
- func (o *ContainerKillParams) WithID(id string) *ContainerKillParams
- func (o *ContainerKillParams) WithSignal(signal *string) *ContainerKillParams
- func (o *ContainerKillParams) WithTimeout(timeout time.Duration) *ContainerKillParams
- func (o *ContainerKillParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerKillReader
- type ContainerListBadRequest
- type ContainerListInternalServerError
- type ContainerListOK
- type ContainerListParams
- func (o *ContainerListParams) SetAll(all *bool)
- func (o *ContainerListParams) SetContext(ctx context.Context)
- func (o *ContainerListParams) SetFilters(filters *string)
- func (o *ContainerListParams) SetHTTPClient(client *http.Client)
- func (o *ContainerListParams) SetLimit(limit *int64)
- func (o *ContainerListParams) SetSize(size *bool)
- func (o *ContainerListParams) SetTimeout(timeout time.Duration)
- func (o *ContainerListParams) WithAll(all *bool) *ContainerListParams
- func (o *ContainerListParams) WithContext(ctx context.Context) *ContainerListParams
- func (o *ContainerListParams) WithFilters(filters *string) *ContainerListParams
- func (o *ContainerListParams) WithHTTPClient(client *http.Client) *ContainerListParams
- func (o *ContainerListParams) WithLimit(limit *int64) *ContainerListParams
- func (o *ContainerListParams) WithSize(size *bool) *ContainerListParams
- func (o *ContainerListParams) WithTimeout(timeout time.Duration) *ContainerListParams
- func (o *ContainerListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerListReader
- type ContainerLogsInternalServerError
- type ContainerLogsNotFound
- type ContainerLogsOK
- type ContainerLogsParams
- func (o *ContainerLogsParams) SetContext(ctx context.Context)
- func (o *ContainerLogsParams) SetFollow(follow *bool)
- func (o *ContainerLogsParams) SetHTTPClient(client *http.Client)
- func (o *ContainerLogsParams) SetID(id string)
- func (o *ContainerLogsParams) SetSince(since *int64)
- func (o *ContainerLogsParams) SetStderr(stderr *bool)
- func (o *ContainerLogsParams) SetStdout(stdout *bool)
- func (o *ContainerLogsParams) SetTail(tail *string)
- func (o *ContainerLogsParams) SetTimeout(timeout time.Duration)
- func (o *ContainerLogsParams) SetTimestamps(timestamps *bool)
- func (o *ContainerLogsParams) SetUntil(until *int64)
- func (o *ContainerLogsParams) WithContext(ctx context.Context) *ContainerLogsParams
- func (o *ContainerLogsParams) WithFollow(follow *bool) *ContainerLogsParams
- func (o *ContainerLogsParams) WithHTTPClient(client *http.Client) *ContainerLogsParams
- func (o *ContainerLogsParams) WithID(id string) *ContainerLogsParams
- func (o *ContainerLogsParams) WithSince(since *int64) *ContainerLogsParams
- func (o *ContainerLogsParams) WithStderr(stderr *bool) *ContainerLogsParams
- func (o *ContainerLogsParams) WithStdout(stdout *bool) *ContainerLogsParams
- func (o *ContainerLogsParams) WithTail(tail *string) *ContainerLogsParams
- func (o *ContainerLogsParams) WithTimeout(timeout time.Duration) *ContainerLogsParams
- func (o *ContainerLogsParams) WithTimestamps(timestamps *bool) *ContainerLogsParams
- func (o *ContainerLogsParams) WithUntil(until *int64) *ContainerLogsParams
- func (o *ContainerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerLogsReader
- type ContainerPauseInternalServerError
- type ContainerPauseNoContent
- type ContainerPauseNotFound
- type ContainerPauseParams
- func NewContainerPauseParams() *ContainerPauseParams
- func NewContainerPauseParamsWithContext(ctx context.Context) *ContainerPauseParams
- func NewContainerPauseParamsWithHTTPClient(client *http.Client) *ContainerPauseParams
- func NewContainerPauseParamsWithTimeout(timeout time.Duration) *ContainerPauseParams
- func (o *ContainerPauseParams) SetContext(ctx context.Context)
- func (o *ContainerPauseParams) SetHTTPClient(client *http.Client)
- func (o *ContainerPauseParams) SetID(id string)
- func (o *ContainerPauseParams) SetTimeout(timeout time.Duration)
- func (o *ContainerPauseParams) WithContext(ctx context.Context) *ContainerPauseParams
- func (o *ContainerPauseParams) WithHTTPClient(client *http.Client) *ContainerPauseParams
- func (o *ContainerPauseParams) WithID(id string) *ContainerPauseParams
- func (o *ContainerPauseParams) WithTimeout(timeout time.Duration) *ContainerPauseParams
- func (o *ContainerPauseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerPauseReader
- type ContainerPruneInternalServerError
- type ContainerPruneOK
- type ContainerPruneOKBody
- type ContainerPruneParams
- func NewContainerPruneParams() *ContainerPruneParams
- func NewContainerPruneParamsWithContext(ctx context.Context) *ContainerPruneParams
- func NewContainerPruneParamsWithHTTPClient(client *http.Client) *ContainerPruneParams
- func NewContainerPruneParamsWithTimeout(timeout time.Duration) *ContainerPruneParams
- func (o *ContainerPruneParams) SetContext(ctx context.Context)
- func (o *ContainerPruneParams) SetFilters(filters *string)
- func (o *ContainerPruneParams) SetHTTPClient(client *http.Client)
- func (o *ContainerPruneParams) SetTimeout(timeout time.Duration)
- func (o *ContainerPruneParams) WithContext(ctx context.Context) *ContainerPruneParams
- func (o *ContainerPruneParams) WithFilters(filters *string) *ContainerPruneParams
- func (o *ContainerPruneParams) WithHTTPClient(client *http.Client) *ContainerPruneParams
- func (o *ContainerPruneParams) WithTimeout(timeout time.Duration) *ContainerPruneParams
- func (o *ContainerPruneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerPruneReader
- type ContainerRenameConflict
- type ContainerRenameInternalServerError
- type ContainerRenameNoContent
- type ContainerRenameNotFound
- type ContainerRenameParams
- func NewContainerRenameParams() *ContainerRenameParams
- func NewContainerRenameParamsWithContext(ctx context.Context) *ContainerRenameParams
- func NewContainerRenameParamsWithHTTPClient(client *http.Client) *ContainerRenameParams
- func NewContainerRenameParamsWithTimeout(timeout time.Duration) *ContainerRenameParams
- func (o *ContainerRenameParams) SetContext(ctx context.Context)
- func (o *ContainerRenameParams) SetHTTPClient(client *http.Client)
- func (o *ContainerRenameParams) SetID(id string)
- func (o *ContainerRenameParams) SetName(name string)
- func (o *ContainerRenameParams) SetTimeout(timeout time.Duration)
- func (o *ContainerRenameParams) WithContext(ctx context.Context) *ContainerRenameParams
- func (o *ContainerRenameParams) WithHTTPClient(client *http.Client) *ContainerRenameParams
- func (o *ContainerRenameParams) WithID(id string) *ContainerRenameParams
- func (o *ContainerRenameParams) WithName(name string) *ContainerRenameParams
- func (o *ContainerRenameParams) WithTimeout(timeout time.Duration) *ContainerRenameParams
- func (o *ContainerRenameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerRenameReader
- type ContainerResizeInternalServerError
- type ContainerResizeNotFound
- type ContainerResizeOK
- type ContainerResizeParams
- func NewContainerResizeParams() *ContainerResizeParams
- func NewContainerResizeParamsWithContext(ctx context.Context) *ContainerResizeParams
- func NewContainerResizeParamsWithHTTPClient(client *http.Client) *ContainerResizeParams
- func NewContainerResizeParamsWithTimeout(timeout time.Duration) *ContainerResizeParams
- func (o *ContainerResizeParams) SetContext(ctx context.Context)
- func (o *ContainerResizeParams) SetH(h *int64)
- func (o *ContainerResizeParams) SetHTTPClient(client *http.Client)
- func (o *ContainerResizeParams) SetID(id string)
- func (o *ContainerResizeParams) SetTimeout(timeout time.Duration)
- func (o *ContainerResizeParams) SetW(w *int64)
- func (o *ContainerResizeParams) WithContext(ctx context.Context) *ContainerResizeParams
- func (o *ContainerResizeParams) WithH(h *int64) *ContainerResizeParams
- func (o *ContainerResizeParams) WithHTTPClient(client *http.Client) *ContainerResizeParams
- func (o *ContainerResizeParams) WithID(id string) *ContainerResizeParams
- func (o *ContainerResizeParams) WithTimeout(timeout time.Duration) *ContainerResizeParams
- func (o *ContainerResizeParams) WithW(w *int64) *ContainerResizeParams
- func (o *ContainerResizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerResizeReader
- type ContainerRestartInternalServerError
- type ContainerRestartNoContent
- type ContainerRestartNotFound
- type ContainerRestartParams
- func NewContainerRestartParams() *ContainerRestartParams
- func NewContainerRestartParamsWithContext(ctx context.Context) *ContainerRestartParams
- func NewContainerRestartParamsWithHTTPClient(client *http.Client) *ContainerRestartParams
- func NewContainerRestartParamsWithTimeout(timeout time.Duration) *ContainerRestartParams
- func (o *ContainerRestartParams) SetContext(ctx context.Context)
- func (o *ContainerRestartParams) SetHTTPClient(client *http.Client)
- func (o *ContainerRestartParams) SetID(id string)
- func (o *ContainerRestartParams) SetT(t *int64)
- func (o *ContainerRestartParams) SetTimeout(timeout time.Duration)
- func (o *ContainerRestartParams) WithContext(ctx context.Context) *ContainerRestartParams
- func (o *ContainerRestartParams) WithHTTPClient(client *http.Client) *ContainerRestartParams
- func (o *ContainerRestartParams) WithID(id string) *ContainerRestartParams
- func (o *ContainerRestartParams) WithT(t *int64) *ContainerRestartParams
- func (o *ContainerRestartParams) WithTimeout(timeout time.Duration) *ContainerRestartParams
- func (o *ContainerRestartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerRestartReader
- type ContainerStartInternalServerError
- type ContainerStartNoContent
- type ContainerStartNotFound
- type ContainerStartNotModified
- type ContainerStartParams
- func NewContainerStartParams() *ContainerStartParams
- func NewContainerStartParamsWithContext(ctx context.Context) *ContainerStartParams
- func NewContainerStartParamsWithHTTPClient(client *http.Client) *ContainerStartParams
- func NewContainerStartParamsWithTimeout(timeout time.Duration) *ContainerStartParams
- func (o *ContainerStartParams) SetContext(ctx context.Context)
- func (o *ContainerStartParams) SetDetachKeys(detachKeys *string)
- func (o *ContainerStartParams) SetHTTPClient(client *http.Client)
- func (o *ContainerStartParams) SetID(id string)
- func (o *ContainerStartParams) SetTimeout(timeout time.Duration)
- func (o *ContainerStartParams) WithContext(ctx context.Context) *ContainerStartParams
- func (o *ContainerStartParams) WithDetachKeys(detachKeys *string) *ContainerStartParams
- func (o *ContainerStartParams) WithHTTPClient(client *http.Client) *ContainerStartParams
- func (o *ContainerStartParams) WithID(id string) *ContainerStartParams
- func (o *ContainerStartParams) WithTimeout(timeout time.Duration) *ContainerStartParams
- func (o *ContainerStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerStartReader
- type ContainerStatsInternalServerError
- type ContainerStatsNotFound
- type ContainerStatsOK
- type ContainerStatsParams
- func NewContainerStatsParams() *ContainerStatsParams
- func NewContainerStatsParamsWithContext(ctx context.Context) *ContainerStatsParams
- func NewContainerStatsParamsWithHTTPClient(client *http.Client) *ContainerStatsParams
- func NewContainerStatsParamsWithTimeout(timeout time.Duration) *ContainerStatsParams
- func (o *ContainerStatsParams) SetContext(ctx context.Context)
- func (o *ContainerStatsParams) SetHTTPClient(client *http.Client)
- func (o *ContainerStatsParams) SetID(id string)
- func (o *ContainerStatsParams) SetStream(stream *bool)
- func (o *ContainerStatsParams) SetTimeout(timeout time.Duration)
- func (o *ContainerStatsParams) WithContext(ctx context.Context) *ContainerStatsParams
- func (o *ContainerStatsParams) WithHTTPClient(client *http.Client) *ContainerStatsParams
- func (o *ContainerStatsParams) WithID(id string) *ContainerStatsParams
- func (o *ContainerStatsParams) WithStream(stream *bool) *ContainerStatsParams
- func (o *ContainerStatsParams) WithTimeout(timeout time.Duration) *ContainerStatsParams
- func (o *ContainerStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerStatsReader
- type ContainerStopInternalServerError
- type ContainerStopNoContent
- type ContainerStopNotFound
- type ContainerStopNotModified
- type ContainerStopParams
- func (o *ContainerStopParams) SetContext(ctx context.Context)
- func (o *ContainerStopParams) SetHTTPClient(client *http.Client)
- func (o *ContainerStopParams) SetID(id string)
- func (o *ContainerStopParams) SetT(t *int64)
- func (o *ContainerStopParams) SetTimeout(timeout time.Duration)
- func (o *ContainerStopParams) WithContext(ctx context.Context) *ContainerStopParams
- func (o *ContainerStopParams) WithHTTPClient(client *http.Client) *ContainerStopParams
- func (o *ContainerStopParams) WithID(id string) *ContainerStopParams
- func (o *ContainerStopParams) WithT(t *int64) *ContainerStopParams
- func (o *ContainerStopParams) WithTimeout(timeout time.Duration) *ContainerStopParams
- func (o *ContainerStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerStopReader
- type ContainerTopInternalServerError
- type ContainerTopNotFound
- type ContainerTopOK
- type ContainerTopOKBody
- type ContainerTopParams
- func (o *ContainerTopParams) SetContext(ctx context.Context)
- func (o *ContainerTopParams) SetHTTPClient(client *http.Client)
- func (o *ContainerTopParams) SetID(id string)
- func (o *ContainerTopParams) SetPsArgs(psArgs *string)
- func (o *ContainerTopParams) SetTimeout(timeout time.Duration)
- func (o *ContainerTopParams) WithContext(ctx context.Context) *ContainerTopParams
- func (o *ContainerTopParams) WithHTTPClient(client *http.Client) *ContainerTopParams
- func (o *ContainerTopParams) WithID(id string) *ContainerTopParams
- func (o *ContainerTopParams) WithPsArgs(psArgs *string) *ContainerTopParams
- func (o *ContainerTopParams) WithTimeout(timeout time.Duration) *ContainerTopParams
- func (o *ContainerTopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerTopReader
- type ContainerUnpauseInternalServerError
- type ContainerUnpauseNoContent
- type ContainerUnpauseNotFound
- type ContainerUnpauseParams
- func NewContainerUnpauseParams() *ContainerUnpauseParams
- func NewContainerUnpauseParamsWithContext(ctx context.Context) *ContainerUnpauseParams
- func NewContainerUnpauseParamsWithHTTPClient(client *http.Client) *ContainerUnpauseParams
- func NewContainerUnpauseParamsWithTimeout(timeout time.Duration) *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) SetContext(ctx context.Context)
- func (o *ContainerUnpauseParams) SetHTTPClient(client *http.Client)
- func (o *ContainerUnpauseParams) SetID(id string)
- func (o *ContainerUnpauseParams) SetTimeout(timeout time.Duration)
- func (o *ContainerUnpauseParams) WithContext(ctx context.Context) *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) WithHTTPClient(client *http.Client) *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) WithID(id string) *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) WithTimeout(timeout time.Duration) *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerUnpauseReader
- type ContainerUpdateBody
- func (o *ContainerUpdateBody) MarshalBinary() ([]byte, error)
- func (o ContainerUpdateBody) MarshalJSON() ([]byte, error)
- func (o *ContainerUpdateBody) UnmarshalBinary(b []byte) error
- func (o *ContainerUpdateBody) UnmarshalJSON(raw []byte) error
- func (o *ContainerUpdateBody) Validate(formats strfmt.Registry) error
- type ContainerUpdateInternalServerError
- type ContainerUpdateNotFound
- type ContainerUpdateOK
- type ContainerUpdateOKBody
- type ContainerUpdateParams
- func NewContainerUpdateParams() *ContainerUpdateParams
- func NewContainerUpdateParamsWithContext(ctx context.Context) *ContainerUpdateParams
- func NewContainerUpdateParamsWithHTTPClient(client *http.Client) *ContainerUpdateParams
- func NewContainerUpdateParamsWithTimeout(timeout time.Duration) *ContainerUpdateParams
- func (o *ContainerUpdateParams) SetContext(ctx context.Context)
- func (o *ContainerUpdateParams) SetHTTPClient(client *http.Client)
- func (o *ContainerUpdateParams) SetID(id string)
- func (o *ContainerUpdateParams) SetTimeout(timeout time.Duration)
- func (o *ContainerUpdateParams) SetUpdate(update ContainerUpdateBody)
- func (o *ContainerUpdateParams) WithContext(ctx context.Context) *ContainerUpdateParams
- func (o *ContainerUpdateParams) WithHTTPClient(client *http.Client) *ContainerUpdateParams
- func (o *ContainerUpdateParams) WithID(id string) *ContainerUpdateParams
- func (o *ContainerUpdateParams) WithTimeout(timeout time.Duration) *ContainerUpdateParams
- func (o *ContainerUpdateParams) WithUpdate(update ContainerUpdateBody) *ContainerUpdateParams
- func (o *ContainerUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerUpdateReader
- type ContainerWaitInternalServerError
- type ContainerWaitNotFound
- type ContainerWaitOK
- type ContainerWaitOKBody
- type ContainerWaitOKBodyError
- type ContainerWaitParams
- func (o *ContainerWaitParams) SetCondition(condition *string)
- func (o *ContainerWaitParams) SetContext(ctx context.Context)
- func (o *ContainerWaitParams) SetHTTPClient(client *http.Client)
- func (o *ContainerWaitParams) SetID(id string)
- func (o *ContainerWaitParams) SetTimeout(timeout time.Duration)
- func (o *ContainerWaitParams) WithCondition(condition *string) *ContainerWaitParams
- func (o *ContainerWaitParams) WithContext(ctx context.Context) *ContainerWaitParams
- func (o *ContainerWaitParams) WithHTTPClient(client *http.Client) *ContainerWaitParams
- func (o *ContainerWaitParams) WithID(id string) *ContainerWaitParams
- func (o *ContainerWaitParams) WithTimeout(timeout time.Duration) *ContainerWaitParams
- func (o *ContainerWaitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerWaitReader
- type PutContainerArchiveBadRequest
- type PutContainerArchiveForbidden
- type PutContainerArchiveInternalServerError
- type PutContainerArchiveNotFound
- type PutContainerArchiveOK
- type PutContainerArchiveParams
- func NewPutContainerArchiveParams() *PutContainerArchiveParams
- func NewPutContainerArchiveParamsWithContext(ctx context.Context) *PutContainerArchiveParams
- func NewPutContainerArchiveParamsWithHTTPClient(client *http.Client) *PutContainerArchiveParams
- func NewPutContainerArchiveParamsWithTimeout(timeout time.Duration) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) SetContext(ctx context.Context)
- func (o *PutContainerArchiveParams) SetHTTPClient(client *http.Client)
- func (o *PutContainerArchiveParams) SetID(id string)
- func (o *PutContainerArchiveParams) SetInputStream(inputStream string)
- func (o *PutContainerArchiveParams) SetNoOverwriteDirNonDir(noOverwriteDirNonDir *string)
- func (o *PutContainerArchiveParams) SetPath(path string)
- func (o *PutContainerArchiveParams) SetTimeout(timeout time.Duration)
- func (o *PutContainerArchiveParams) WithContext(ctx context.Context) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithHTTPClient(client *http.Client) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithID(id string) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithInputStream(inputStream string) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithNoOverwriteDirNonDir(noOverwriteDirNonDir *string) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithPath(path string) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithTimeout(timeout time.Duration) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutContainerArchiveReader
Constants ¶
const ( // ContainerInspectOKBodyStateStatusCreated captures enum value "created" ContainerInspectOKBodyStateStatusCreated string = "created" // ContainerInspectOKBodyStateStatusRunning captures enum value "running" ContainerInspectOKBodyStateStatusRunning string = "running" // ContainerInspectOKBodyStateStatusPaused captures enum value "paused" ContainerInspectOKBodyStateStatusPaused string = "paused" // ContainerInspectOKBodyStateStatusRestarting captures enum value "restarting" ContainerInspectOKBodyStateStatusRestarting string = "restarting" // ContainerInspectOKBodyStateStatusRemoving captures enum value "removing" ContainerInspectOKBodyStateStatusRemoving string = "removing" // ContainerInspectOKBodyStateStatusExited captures enum value "exited" ContainerInspectOKBodyStateStatusExited string = "exited" // ContainerInspectOKBodyStateStatusDead captures enum value "dead" ContainerInspectOKBodyStateStatusDead string = "dead" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for container API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new container API client.
func (*Client) ContainerArchive ¶
func (a *Client) ContainerArchive(params *ContainerArchiveParams) (*ContainerArchiveOK, error)
ContainerArchive gets an archive of a filesystem resource in a container
Get a tar archive of a resource in the filesystem of container id.
func (*Client) ContainerArchiveInfo ¶
func (a *Client) ContainerArchiveInfo(params *ContainerArchiveInfoParams) (*ContainerArchiveInfoOK, error)
ContainerArchiveInfo gets information about files in a container
A response header `X-Docker-Container-Path-Stat` is return containing a base64 - encoded JSON object with some filesystem header information about the path.
func (*Client) ContainerAttach ¶
func (a *Client) ContainerAttach(params *ContainerAttachParams) (*ContainerAttachOK, error)
ContainerAttach attaches to a container
Attach to a container to read its output or send it input. You can attach to the same container multiple times and you can reattach to containers that have been detached.
Either the `stream` or `logs` parameter must be `true` for this endpoint to do anything.
See [the documentation for the `docker attach` command](https://docs.docker.com/engine/reference/commandline/attach/) for more details.
### Hijacking
This endpoint hijacks the HTTP connection to transport `stdin`, `stdout`, and `stderr` on the same socket.
This is the response from the daemon for an attach request:
``` HTTP/1.1 200 OK Content-Type: application/vnd.docker.raw-stream
[STREAM] ```
After the headers and two new lines, the TCP connection can now be used for raw, bidirectional communication between the client and server.
To hint potential proxies about connection hijacking, the Docker client can also optionally send connection upgrade headers.
For example, the client sends this request to upgrade the connection:
``` POST /containers/16253994b7c4/attach?stream=1&stdout=1 HTTP/1.1 Upgrade: tcp Connection: Upgrade ```
The Docker daemon will respond with a `101 UPGRADED` response, and will similarly follow with the raw stream:
``` HTTP/1.1 101 UPGRADED Content-Type: application/vnd.docker.raw-stream Connection: Upgrade Upgrade: tcp
[STREAM] ```
### Stream format
When the TTY setting is disabled in [`POST /containers/create`](#operation/ContainerCreate), the stream over the hijacked connected is multiplexed to separate out `stdout` and `stderr`. The stream consists of a series of frames, each containing a header and a payload.
The header contains the information which the stream writes (`stdout` or `stderr`). It also contains the size of the associated frame encoded in the last four bytes (`uint32`).
It is encoded on the first eight bytes like this:
```go header := [8]byte{STREAM_TYPE, 0, 0, 0, SIZE1, SIZE2, SIZE3, SIZE4} ```
`STREAM_TYPE` can be:
- 0: `stdin` (is written on `stdout`) - 1: `stdout` - 2: `stderr`
`SIZE1, SIZE2, SIZE3, SIZE4` are the four bytes of the `uint32` size encoded as big endian.
Following the header is the payload, which is the specified number of bytes of `STREAM_TYPE`.
The simplest way to implement this protocol is the following:
1. Read 8 bytes. 2. Choose `stdout` or `stderr` depending on the first byte. 3. Extract the frame size from the last four bytes. 4. Read the extracted size and output it on the correct output. 5. Goto 1.
### Stream format when using a TTY
When the TTY setting is enabled in [`POST /containers/create`](#operation/ContainerCreate), the stream is not multiplexed. The data exchanged over the hijacked connection is simply the raw data from the process PTY and client's `stdin`.
func (*Client) ContainerAttachWebsocket ¶
func (a *Client) ContainerAttachWebsocket(params *ContainerAttachWebsocketParams) (*ContainerAttachWebsocketOK, error)
ContainerAttachWebsocket attaches to a container via a websocket
func (*Client) ContainerChanges ¶
func (a *Client) ContainerChanges(params *ContainerChangesParams) (*ContainerChangesOK, error)
ContainerChanges gets changes on a container s filesystem
Returns which files in a container's filesystem have been added, deleted, or modified. The `Kind` of modification can be one of:
- `0`: Modified - `1`: Added - `2`: Deleted
func (*Client) ContainerCreate ¶
func (a *Client) ContainerCreate(params *ContainerCreateParams) (*ContainerCreateCreated, error)
ContainerCreate creates a container
func (*Client) ContainerDelete ¶
func (a *Client) ContainerDelete(params *ContainerDeleteParams) (*ContainerDeleteNoContent, error)
ContainerDelete removes a container
func (*Client) ContainerExport ¶
func (a *Client) ContainerExport(params *ContainerExportParams) (*ContainerExportOK, error)
ContainerExport exports a container
Export the contents of a container as a tarball.
func (*Client) ContainerInspect ¶
func (a *Client) ContainerInspect(params *ContainerInspectParams) (*ContainerInspectOK, error)
ContainerInspect inspects a container
Return low-level information about a container.
func (*Client) ContainerKill ¶
func (a *Client) ContainerKill(params *ContainerKillParams) (*ContainerKillNoContent, error)
ContainerKill kills a container
Send a POSIX signal to a container, defaulting to killing to the container.
func (*Client) ContainerList ¶
func (a *Client) ContainerList(params *ContainerListParams) (*ContainerListOK, error)
ContainerList lists containers
Returns a list of containers. For details on the format, see [the inspect endpoint](#operation/ContainerInspect).
Note that it uses a different, smaller representation of a container than inspecting a single container. For example, the list of linked containers is not propagated .
func (*Client) ContainerLogs ¶
func (a *Client) ContainerLogs(params *ContainerLogsParams, writer io.Writer) (*ContainerLogsOK, error)
ContainerLogs gets container logs
Get `stdout` and `stderr` logs from a container.
Note: This endpoint works only for containers with the `json-file` or `journald` logging driver.
func (*Client) ContainerPause ¶
func (a *Client) ContainerPause(params *ContainerPauseParams) (*ContainerPauseNoContent, error)
ContainerPause pauses a container
Use the cgroups freezer to suspend all processes in a container.
Traditionally, when suspending a process the `SIGSTOP` signal is used, which is observable by the process being suspended. With the cgroups freezer the process is unaware, and unable to capture, that it is being suspended, and subsequently resumed.
func (*Client) ContainerPrune ¶
func (a *Client) ContainerPrune(params *ContainerPruneParams) (*ContainerPruneOK, error)
ContainerPrune deletes stopped containers
func (*Client) ContainerRename ¶
func (a *Client) ContainerRename(params *ContainerRenameParams) (*ContainerRenameNoContent, error)
ContainerRename renames a container
func (*Client) ContainerResize ¶
func (a *Client) ContainerResize(params *ContainerResizeParams) (*ContainerResizeOK, error)
ContainerResize resizes a container t t y
Resize the TTY for a container. You must restart the container for the resize to take effect.
func (*Client) ContainerRestart ¶
func (a *Client) ContainerRestart(params *ContainerRestartParams) (*ContainerRestartNoContent, error)
ContainerRestart restarts a container
func (*Client) ContainerStart ¶
func (a *Client) ContainerStart(params *ContainerStartParams) (*ContainerStartNoContent, error)
ContainerStart starts a container
func (*Client) ContainerStats ¶
func (a *Client) ContainerStats(params *ContainerStatsParams) (*ContainerStatsOK, error)
ContainerStats gets container stats based on resource usage
This endpoint returns a live stream of a container’s resource usage statistics.
The `precpu_stats` is the CPU statistic of the *previous* read, and is used to calculate the CPU usage percentage. It is not an exact copy of the `cpu_stats` field.
If either `precpu_stats.online_cpus` or `cpu_stats.online_cpus` is nil then for compatibility with older daemons the length of the corresponding `cpu_usage.percpu_usage` array should be used.
func (*Client) ContainerStop ¶
func (a *Client) ContainerStop(params *ContainerStopParams) (*ContainerStopNoContent, error)
ContainerStop stops a container
func (*Client) ContainerTop ¶
func (a *Client) ContainerTop(params *ContainerTopParams) (*ContainerTopOK, error)
ContainerTop lists processes running inside a container
On Unix systems, this is done by running the `ps` command. This endpoint is not supported on Windows.
func (*Client) ContainerUnpause ¶
func (a *Client) ContainerUnpause(params *ContainerUnpauseParams) (*ContainerUnpauseNoContent, error)
ContainerUnpause unpauses a container
Resume a container which has been paused.
func (*Client) ContainerUpdate ¶
func (a *Client) ContainerUpdate(params *ContainerUpdateParams) (*ContainerUpdateOK, error)
ContainerUpdate updates a container
Change various configuration options of a container without having to recreate it.
func (*Client) ContainerWait ¶
func (a *Client) ContainerWait(params *ContainerWaitParams) (*ContainerWaitOK, error)
ContainerWait waits for a container
Block until a container stops, then returns the exit code.
func (*Client) PutContainerArchive ¶
func (a *Client) PutContainerArchive(params *PutContainerArchiveParams) (*PutContainerArchiveOK, error)
PutContainerArchive extracts an archive of files or folders to a directory in a container
Upload a tar archive to be extracted to a path in the filesystem of container id.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ContainerArchiveBadRequest ¶
type ContainerArchiveBadRequest struct {
Payload *ContainerArchiveBadRequestBody
}
ContainerArchiveBadRequest handles this case with default header values.
Bad parameter
func NewContainerArchiveBadRequest ¶
func NewContainerArchiveBadRequest() *ContainerArchiveBadRequest
NewContainerArchiveBadRequest creates a ContainerArchiveBadRequest with default headers values
func (*ContainerArchiveBadRequest) Error ¶
func (o *ContainerArchiveBadRequest) Error() string
type ContainerArchiveBadRequestBody ¶
type ContainerArchiveBadRequestBody struct { models.ErrorResponse // The error message. Either "must specify path parameter" (path cannot be empty) or "not a directory" (path was asserted to be a directory but exists as a file). Message string `json:"message,omitempty"` }
ContainerArchiveBadRequestBody container archive bad request body swagger:model ContainerArchiveBadRequestBody
func (*ContainerArchiveBadRequestBody) MarshalBinary ¶
func (o *ContainerArchiveBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ContainerArchiveBadRequestBody) MarshalJSON ¶
func (o ContainerArchiveBadRequestBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ContainerArchiveBadRequestBody) UnmarshalBinary ¶
func (o *ContainerArchiveBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ContainerArchiveBadRequestBody) UnmarshalJSON ¶
func (o *ContainerArchiveBadRequestBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ContainerArchiveInfoBadRequest ¶
type ContainerArchiveInfoBadRequest struct {
Payload *ContainerArchiveInfoBadRequestBody
}
ContainerArchiveInfoBadRequest handles this case with default header values.
Bad parameter
func NewContainerArchiveInfoBadRequest ¶
func NewContainerArchiveInfoBadRequest() *ContainerArchiveInfoBadRequest
NewContainerArchiveInfoBadRequest creates a ContainerArchiveInfoBadRequest with default headers values
func (*ContainerArchiveInfoBadRequest) Error ¶
func (o *ContainerArchiveInfoBadRequest) Error() string
type ContainerArchiveInfoBadRequestBody ¶
type ContainerArchiveInfoBadRequestBody struct { models.ErrorResponse // The error message. Either "must specify path parameter" (path cannot be empty) or "not a directory" (path was asserted to be a directory but exists as a file). Message string `json:"message,omitempty"` }
ContainerArchiveInfoBadRequestBody container archive info bad request body swagger:model ContainerArchiveInfoBadRequestBody
func (*ContainerArchiveInfoBadRequestBody) MarshalBinary ¶
func (o *ContainerArchiveInfoBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ContainerArchiveInfoBadRequestBody) MarshalJSON ¶
func (o ContainerArchiveInfoBadRequestBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ContainerArchiveInfoBadRequestBody) UnmarshalBinary ¶
func (o *ContainerArchiveInfoBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ContainerArchiveInfoBadRequestBody) UnmarshalJSON ¶
func (o *ContainerArchiveInfoBadRequestBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ContainerArchiveInfoInternalServerError ¶
type ContainerArchiveInfoInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerArchiveInfoInternalServerError handles this case with default header values.
Server error
func NewContainerArchiveInfoInternalServerError ¶
func NewContainerArchiveInfoInternalServerError() *ContainerArchiveInfoInternalServerError
NewContainerArchiveInfoInternalServerError creates a ContainerArchiveInfoInternalServerError with default headers values
func (*ContainerArchiveInfoInternalServerError) Error ¶
func (o *ContainerArchiveInfoInternalServerError) Error() string
type ContainerArchiveInfoNotFound ¶
type ContainerArchiveInfoNotFound struct {
Payload *models.ErrorResponse
}
ContainerArchiveInfoNotFound handles this case with default header values.
Container or path does not exist
func NewContainerArchiveInfoNotFound ¶
func NewContainerArchiveInfoNotFound() *ContainerArchiveInfoNotFound
NewContainerArchiveInfoNotFound creates a ContainerArchiveInfoNotFound with default headers values
func (*ContainerArchiveInfoNotFound) Error ¶
func (o *ContainerArchiveInfoNotFound) Error() string
type ContainerArchiveInfoOK ¶
type ContainerArchiveInfoOK struct { /*A base64 - encoded JSON object with some filesystem header information about the path */ XDockerContainerPathStat string }
ContainerArchiveInfoOK handles this case with default header values.
no error
func NewContainerArchiveInfoOK ¶
func NewContainerArchiveInfoOK() *ContainerArchiveInfoOK
NewContainerArchiveInfoOK creates a ContainerArchiveInfoOK with default headers values
func (*ContainerArchiveInfoOK) Error ¶
func (o *ContainerArchiveInfoOK) Error() string
type ContainerArchiveInfoParams ¶
type ContainerArchiveInfoParams struct { /*ID ID or name of the container */ ID string /*Path Resource in the container’s filesystem to archive. */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerArchiveInfoParams contains all the parameters to send to the API endpoint for the container archive info operation typically these are written to a http.Request
func NewContainerArchiveInfoParams ¶
func NewContainerArchiveInfoParams() *ContainerArchiveInfoParams
NewContainerArchiveInfoParams creates a new ContainerArchiveInfoParams object with the default values initialized.
func NewContainerArchiveInfoParamsWithContext ¶
func NewContainerArchiveInfoParamsWithContext(ctx context.Context) *ContainerArchiveInfoParams
NewContainerArchiveInfoParamsWithContext creates a new ContainerArchiveInfoParams object with the default values initialized, and the ability to set a context for a request
func NewContainerArchiveInfoParamsWithHTTPClient ¶
func NewContainerArchiveInfoParamsWithHTTPClient(client *http.Client) *ContainerArchiveInfoParams
NewContainerArchiveInfoParamsWithHTTPClient creates a new ContainerArchiveInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerArchiveInfoParamsWithTimeout ¶
func NewContainerArchiveInfoParamsWithTimeout(timeout time.Duration) *ContainerArchiveInfoParams
NewContainerArchiveInfoParamsWithTimeout creates a new ContainerArchiveInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerArchiveInfoParams) SetContext ¶
func (o *ContainerArchiveInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the container archive info params
func (*ContainerArchiveInfoParams) SetHTTPClient ¶
func (o *ContainerArchiveInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container archive info params
func (*ContainerArchiveInfoParams) SetID ¶
func (o *ContainerArchiveInfoParams) SetID(id string)
SetID adds the id to the container archive info params
func (*ContainerArchiveInfoParams) SetPath ¶
func (o *ContainerArchiveInfoParams) SetPath(path string)
SetPath adds the path to the container archive info params
func (*ContainerArchiveInfoParams) SetTimeout ¶
func (o *ContainerArchiveInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container archive info params
func (*ContainerArchiveInfoParams) WithContext ¶
func (o *ContainerArchiveInfoParams) WithContext(ctx context.Context) *ContainerArchiveInfoParams
WithContext adds the context to the container archive info params
func (*ContainerArchiveInfoParams) WithHTTPClient ¶
func (o *ContainerArchiveInfoParams) WithHTTPClient(client *http.Client) *ContainerArchiveInfoParams
WithHTTPClient adds the HTTPClient to the container archive info params
func (*ContainerArchiveInfoParams) WithID ¶
func (o *ContainerArchiveInfoParams) WithID(id string) *ContainerArchiveInfoParams
WithID adds the id to the container archive info params
func (*ContainerArchiveInfoParams) WithPath ¶
func (o *ContainerArchiveInfoParams) WithPath(path string) *ContainerArchiveInfoParams
WithPath adds the path to the container archive info params
func (*ContainerArchiveInfoParams) WithTimeout ¶
func (o *ContainerArchiveInfoParams) WithTimeout(timeout time.Duration) *ContainerArchiveInfoParams
WithTimeout adds the timeout to the container archive info params
func (*ContainerArchiveInfoParams) WriteToRequest ¶
func (o *ContainerArchiveInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerArchiveInfoReader ¶
type ContainerArchiveInfoReader struct {
// contains filtered or unexported fields
}
ContainerArchiveInfoReader is a Reader for the ContainerArchiveInfo structure.
func (*ContainerArchiveInfoReader) ReadResponse ¶
func (o *ContainerArchiveInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerArchiveInternalServerError ¶
type ContainerArchiveInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerArchiveInternalServerError handles this case with default header values.
server error
func NewContainerArchiveInternalServerError ¶
func NewContainerArchiveInternalServerError() *ContainerArchiveInternalServerError
NewContainerArchiveInternalServerError creates a ContainerArchiveInternalServerError with default headers values
func (*ContainerArchiveInternalServerError) Error ¶
func (o *ContainerArchiveInternalServerError) Error() string
type ContainerArchiveNotFound ¶
type ContainerArchiveNotFound struct {
Payload *models.ErrorResponse
}
ContainerArchiveNotFound handles this case with default header values.
Container or path does not exist
func NewContainerArchiveNotFound ¶
func NewContainerArchiveNotFound() *ContainerArchiveNotFound
NewContainerArchiveNotFound creates a ContainerArchiveNotFound with default headers values
func (*ContainerArchiveNotFound) Error ¶
func (o *ContainerArchiveNotFound) Error() string
type ContainerArchiveOK ¶
type ContainerArchiveOK struct { }
ContainerArchiveOK handles this case with default header values.
no error
func NewContainerArchiveOK ¶
func NewContainerArchiveOK() *ContainerArchiveOK
NewContainerArchiveOK creates a ContainerArchiveOK with default headers values
func (*ContainerArchiveOK) Error ¶
func (o *ContainerArchiveOK) Error() string
type ContainerArchiveParams ¶
type ContainerArchiveParams struct { /*ID ID or name of the container */ ID string /*Path Resource in the container’s filesystem to archive. */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerArchiveParams contains all the parameters to send to the API endpoint for the container archive operation typically these are written to a http.Request
func NewContainerArchiveParams ¶
func NewContainerArchiveParams() *ContainerArchiveParams
NewContainerArchiveParams creates a new ContainerArchiveParams object with the default values initialized.
func NewContainerArchiveParamsWithContext ¶
func NewContainerArchiveParamsWithContext(ctx context.Context) *ContainerArchiveParams
NewContainerArchiveParamsWithContext creates a new ContainerArchiveParams object with the default values initialized, and the ability to set a context for a request
func NewContainerArchiveParamsWithHTTPClient ¶
func NewContainerArchiveParamsWithHTTPClient(client *http.Client) *ContainerArchiveParams
NewContainerArchiveParamsWithHTTPClient creates a new ContainerArchiveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerArchiveParamsWithTimeout ¶
func NewContainerArchiveParamsWithTimeout(timeout time.Duration) *ContainerArchiveParams
NewContainerArchiveParamsWithTimeout creates a new ContainerArchiveParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerArchiveParams) SetContext ¶
func (o *ContainerArchiveParams) SetContext(ctx context.Context)
SetContext adds the context to the container archive params
func (*ContainerArchiveParams) SetHTTPClient ¶
func (o *ContainerArchiveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container archive params
func (*ContainerArchiveParams) SetID ¶
func (o *ContainerArchiveParams) SetID(id string)
SetID adds the id to the container archive params
func (*ContainerArchiveParams) SetPath ¶
func (o *ContainerArchiveParams) SetPath(path string)
SetPath adds the path to the container archive params
func (*ContainerArchiveParams) SetTimeout ¶
func (o *ContainerArchiveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container archive params
func (*ContainerArchiveParams) WithContext ¶
func (o *ContainerArchiveParams) WithContext(ctx context.Context) *ContainerArchiveParams
WithContext adds the context to the container archive params
func (*ContainerArchiveParams) WithHTTPClient ¶
func (o *ContainerArchiveParams) WithHTTPClient(client *http.Client) *ContainerArchiveParams
WithHTTPClient adds the HTTPClient to the container archive params
func (*ContainerArchiveParams) WithID ¶
func (o *ContainerArchiveParams) WithID(id string) *ContainerArchiveParams
WithID adds the id to the container archive params
func (*ContainerArchiveParams) WithPath ¶
func (o *ContainerArchiveParams) WithPath(path string) *ContainerArchiveParams
WithPath adds the path to the container archive params
func (*ContainerArchiveParams) WithTimeout ¶
func (o *ContainerArchiveParams) WithTimeout(timeout time.Duration) *ContainerArchiveParams
WithTimeout adds the timeout to the container archive params
func (*ContainerArchiveParams) WriteToRequest ¶
func (o *ContainerArchiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerArchiveReader ¶
type ContainerArchiveReader struct {
// contains filtered or unexported fields
}
ContainerArchiveReader is a Reader for the ContainerArchive structure.
func (*ContainerArchiveReader) ReadResponse ¶
func (o *ContainerArchiveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerAttachBadRequest ¶
type ContainerAttachBadRequest struct {
Payload *models.ErrorResponse
}
ContainerAttachBadRequest handles this case with default header values.
bad parameter
func NewContainerAttachBadRequest ¶
func NewContainerAttachBadRequest() *ContainerAttachBadRequest
NewContainerAttachBadRequest creates a ContainerAttachBadRequest with default headers values
func (*ContainerAttachBadRequest) Error ¶
func (o *ContainerAttachBadRequest) Error() string
type ContainerAttachInternalServerError ¶
type ContainerAttachInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerAttachInternalServerError handles this case with default header values.
server error
func NewContainerAttachInternalServerError ¶
func NewContainerAttachInternalServerError() *ContainerAttachInternalServerError
NewContainerAttachInternalServerError creates a ContainerAttachInternalServerError with default headers values
func (*ContainerAttachInternalServerError) Error ¶
func (o *ContainerAttachInternalServerError) Error() string
type ContainerAttachNotFound ¶
type ContainerAttachNotFound struct {
Payload *models.ErrorResponse
}
ContainerAttachNotFound handles this case with default header values.
no such container
func NewContainerAttachNotFound ¶
func NewContainerAttachNotFound() *ContainerAttachNotFound
NewContainerAttachNotFound creates a ContainerAttachNotFound with default headers values
func (*ContainerAttachNotFound) Error ¶
func (o *ContainerAttachNotFound) Error() string
type ContainerAttachOK ¶
type ContainerAttachOK struct { }
ContainerAttachOK handles this case with default header values.
no error, no upgrade header found
func NewContainerAttachOK ¶
func NewContainerAttachOK() *ContainerAttachOK
NewContainerAttachOK creates a ContainerAttachOK with default headers values
func (*ContainerAttachOK) Error ¶
func (o *ContainerAttachOK) Error() string
type ContainerAttachParams ¶
type ContainerAttachParams struct { /*DetachKeys 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 /*ID ID or name of the container */ ID string /*Logs Replay previous logs from the container. This is useful for attaching to a container that has started and you want to output everything since the container started. If `stream` is also enabled, once all the previous output has been returned, it will seamlessly transition into streaming current output. */ Logs *bool /*Stderr Attach to `stderr` */ Stderr *bool /*Stdin Attach to `stdin` */ Stdin *bool /*Stdout Attach to `stdout` */ Stdout *bool /*Stream Stream attached streams from the time the request was made onwards */ Stream *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerAttachParams contains all the parameters to send to the API endpoint for the container attach operation typically these are written to a http.Request
func NewContainerAttachParams ¶
func NewContainerAttachParams() *ContainerAttachParams
NewContainerAttachParams creates a new ContainerAttachParams object with the default values initialized.
func NewContainerAttachParamsWithContext ¶
func NewContainerAttachParamsWithContext(ctx context.Context) *ContainerAttachParams
NewContainerAttachParamsWithContext creates a new ContainerAttachParams object with the default values initialized, and the ability to set a context for a request
func NewContainerAttachParamsWithHTTPClient ¶
func NewContainerAttachParamsWithHTTPClient(client *http.Client) *ContainerAttachParams
NewContainerAttachParamsWithHTTPClient creates a new ContainerAttachParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerAttachParamsWithTimeout ¶
func NewContainerAttachParamsWithTimeout(timeout time.Duration) *ContainerAttachParams
NewContainerAttachParamsWithTimeout creates a new ContainerAttachParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerAttachParams) SetContext ¶
func (o *ContainerAttachParams) SetContext(ctx context.Context)
SetContext adds the context to the container attach params
func (*ContainerAttachParams) SetDetachKeys ¶
func (o *ContainerAttachParams) SetDetachKeys(detachKeys *string)
SetDetachKeys adds the detachKeys to the container attach params
func (*ContainerAttachParams) SetHTTPClient ¶
func (o *ContainerAttachParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container attach params
func (*ContainerAttachParams) SetID ¶
func (o *ContainerAttachParams) SetID(id string)
SetID adds the id to the container attach params
func (*ContainerAttachParams) SetLogs ¶
func (o *ContainerAttachParams) SetLogs(logs *bool)
SetLogs adds the logs to the container attach params
func (*ContainerAttachParams) SetStderr ¶
func (o *ContainerAttachParams) SetStderr(stderr *bool)
SetStderr adds the stderr to the container attach params
func (*ContainerAttachParams) SetStdin ¶
func (o *ContainerAttachParams) SetStdin(stdin *bool)
SetStdin adds the stdin to the container attach params
func (*ContainerAttachParams) SetStdout ¶
func (o *ContainerAttachParams) SetStdout(stdout *bool)
SetStdout adds the stdout to the container attach params
func (*ContainerAttachParams) SetStream ¶
func (o *ContainerAttachParams) SetStream(stream *bool)
SetStream adds the stream to the container attach params
func (*ContainerAttachParams) SetTimeout ¶
func (o *ContainerAttachParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container attach params
func (*ContainerAttachParams) WithContext ¶
func (o *ContainerAttachParams) WithContext(ctx context.Context) *ContainerAttachParams
WithContext adds the context to the container attach params
func (*ContainerAttachParams) WithDetachKeys ¶
func (o *ContainerAttachParams) WithDetachKeys(detachKeys *string) *ContainerAttachParams
WithDetachKeys adds the detachKeys to the container attach params
func (*ContainerAttachParams) WithHTTPClient ¶
func (o *ContainerAttachParams) WithHTTPClient(client *http.Client) *ContainerAttachParams
WithHTTPClient adds the HTTPClient to the container attach params
func (*ContainerAttachParams) WithID ¶
func (o *ContainerAttachParams) WithID(id string) *ContainerAttachParams
WithID adds the id to the container attach params
func (*ContainerAttachParams) WithLogs ¶
func (o *ContainerAttachParams) WithLogs(logs *bool) *ContainerAttachParams
WithLogs adds the logs to the container attach params
func (*ContainerAttachParams) WithStderr ¶
func (o *ContainerAttachParams) WithStderr(stderr *bool) *ContainerAttachParams
WithStderr adds the stderr to the container attach params
func (*ContainerAttachParams) WithStdin ¶
func (o *ContainerAttachParams) WithStdin(stdin *bool) *ContainerAttachParams
WithStdin adds the stdin to the container attach params
func (*ContainerAttachParams) WithStdout ¶
func (o *ContainerAttachParams) WithStdout(stdout *bool) *ContainerAttachParams
WithStdout adds the stdout to the container attach params
func (*ContainerAttachParams) WithStream ¶
func (o *ContainerAttachParams) WithStream(stream *bool) *ContainerAttachParams
WithStream adds the stream to the container attach params
func (*ContainerAttachParams) WithTimeout ¶
func (o *ContainerAttachParams) WithTimeout(timeout time.Duration) *ContainerAttachParams
WithTimeout adds the timeout to the container attach params
func (*ContainerAttachParams) WriteToRequest ¶
func (o *ContainerAttachParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerAttachReader ¶
type ContainerAttachReader struct {
// contains filtered or unexported fields
}
ContainerAttachReader is a Reader for the ContainerAttach structure.
func (*ContainerAttachReader) ReadResponse ¶
func (o *ContainerAttachReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerAttachSwitchingProtocols ¶
type ContainerAttachSwitchingProtocols struct { }
ContainerAttachSwitchingProtocols handles this case with default header values.
no error, hints proxy about hijacking
func NewContainerAttachSwitchingProtocols ¶
func NewContainerAttachSwitchingProtocols() *ContainerAttachSwitchingProtocols
NewContainerAttachSwitchingProtocols creates a ContainerAttachSwitchingProtocols with default headers values
func (*ContainerAttachSwitchingProtocols) Error ¶
func (o *ContainerAttachSwitchingProtocols) Error() string
type ContainerAttachWebsocketBadRequest ¶
type ContainerAttachWebsocketBadRequest struct {
Payload *models.ErrorResponse
}
ContainerAttachWebsocketBadRequest handles this case with default header values.
bad parameter
func NewContainerAttachWebsocketBadRequest ¶
func NewContainerAttachWebsocketBadRequest() *ContainerAttachWebsocketBadRequest
NewContainerAttachWebsocketBadRequest creates a ContainerAttachWebsocketBadRequest with default headers values
func (*ContainerAttachWebsocketBadRequest) Error ¶
func (o *ContainerAttachWebsocketBadRequest) Error() string
type ContainerAttachWebsocketInternalServerError ¶
type ContainerAttachWebsocketInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerAttachWebsocketInternalServerError handles this case with default header values.
server error
func NewContainerAttachWebsocketInternalServerError ¶
func NewContainerAttachWebsocketInternalServerError() *ContainerAttachWebsocketInternalServerError
NewContainerAttachWebsocketInternalServerError creates a ContainerAttachWebsocketInternalServerError with default headers values
func (*ContainerAttachWebsocketInternalServerError) Error ¶
func (o *ContainerAttachWebsocketInternalServerError) Error() string
type ContainerAttachWebsocketNotFound ¶
type ContainerAttachWebsocketNotFound struct {
Payload *models.ErrorResponse
}
ContainerAttachWebsocketNotFound handles this case with default header values.
no such container
func NewContainerAttachWebsocketNotFound ¶
func NewContainerAttachWebsocketNotFound() *ContainerAttachWebsocketNotFound
NewContainerAttachWebsocketNotFound creates a ContainerAttachWebsocketNotFound with default headers values
func (*ContainerAttachWebsocketNotFound) Error ¶
func (o *ContainerAttachWebsocketNotFound) Error() string
type ContainerAttachWebsocketOK ¶
type ContainerAttachWebsocketOK struct { }
ContainerAttachWebsocketOK handles this case with default header values.
no error, no upgrade header found
func NewContainerAttachWebsocketOK ¶
func NewContainerAttachWebsocketOK() *ContainerAttachWebsocketOK
NewContainerAttachWebsocketOK creates a ContainerAttachWebsocketOK with default headers values
func (*ContainerAttachWebsocketOK) Error ¶
func (o *ContainerAttachWebsocketOK) Error() string
type ContainerAttachWebsocketParams ¶
type ContainerAttachWebsocketParams struct { /*DetachKeys 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 /*ID ID or name of the container */ ID string /*Logs Return logs */ Logs *bool /*Stderr Attach to `stderr` */ Stderr *bool /*Stdin Attach to `stdin` */ Stdin *bool /*Stdout Attach to `stdout` */ Stdout *bool /*Stream Return stream */ Stream *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerAttachWebsocketParams contains all the parameters to send to the API endpoint for the container attach websocket operation typically these are written to a http.Request
func NewContainerAttachWebsocketParams ¶
func NewContainerAttachWebsocketParams() *ContainerAttachWebsocketParams
NewContainerAttachWebsocketParams creates a new ContainerAttachWebsocketParams object with the default values initialized.
func NewContainerAttachWebsocketParamsWithContext ¶
func NewContainerAttachWebsocketParamsWithContext(ctx context.Context) *ContainerAttachWebsocketParams
NewContainerAttachWebsocketParamsWithContext creates a new ContainerAttachWebsocketParams object with the default values initialized, and the ability to set a context for a request
func NewContainerAttachWebsocketParamsWithHTTPClient ¶
func NewContainerAttachWebsocketParamsWithHTTPClient(client *http.Client) *ContainerAttachWebsocketParams
NewContainerAttachWebsocketParamsWithHTTPClient creates a new ContainerAttachWebsocketParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerAttachWebsocketParamsWithTimeout ¶
func NewContainerAttachWebsocketParamsWithTimeout(timeout time.Duration) *ContainerAttachWebsocketParams
NewContainerAttachWebsocketParamsWithTimeout creates a new ContainerAttachWebsocketParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerAttachWebsocketParams) SetContext ¶
func (o *ContainerAttachWebsocketParams) SetContext(ctx context.Context)
SetContext adds the context to the container attach websocket params
func (*ContainerAttachWebsocketParams) SetDetachKeys ¶
func (o *ContainerAttachWebsocketParams) SetDetachKeys(detachKeys *string)
SetDetachKeys adds the detachKeys to the container attach websocket params
func (*ContainerAttachWebsocketParams) SetHTTPClient ¶
func (o *ContainerAttachWebsocketParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container attach websocket params
func (*ContainerAttachWebsocketParams) SetID ¶
func (o *ContainerAttachWebsocketParams) SetID(id string)
SetID adds the id to the container attach websocket params
func (*ContainerAttachWebsocketParams) SetLogs ¶
func (o *ContainerAttachWebsocketParams) SetLogs(logs *bool)
SetLogs adds the logs to the container attach websocket params
func (*ContainerAttachWebsocketParams) SetStderr ¶
func (o *ContainerAttachWebsocketParams) SetStderr(stderr *bool)
SetStderr adds the stderr to the container attach websocket params
func (*ContainerAttachWebsocketParams) SetStdin ¶
func (o *ContainerAttachWebsocketParams) SetStdin(stdin *bool)
SetStdin adds the stdin to the container attach websocket params
func (*ContainerAttachWebsocketParams) SetStdout ¶
func (o *ContainerAttachWebsocketParams) SetStdout(stdout *bool)
SetStdout adds the stdout to the container attach websocket params
func (*ContainerAttachWebsocketParams) SetStream ¶
func (o *ContainerAttachWebsocketParams) SetStream(stream *bool)
SetStream adds the stream to the container attach websocket params
func (*ContainerAttachWebsocketParams) SetTimeout ¶
func (o *ContainerAttachWebsocketParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithContext ¶
func (o *ContainerAttachWebsocketParams) WithContext(ctx context.Context) *ContainerAttachWebsocketParams
WithContext adds the context to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithDetachKeys ¶
func (o *ContainerAttachWebsocketParams) WithDetachKeys(detachKeys *string) *ContainerAttachWebsocketParams
WithDetachKeys adds the detachKeys to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithHTTPClient ¶
func (o *ContainerAttachWebsocketParams) WithHTTPClient(client *http.Client) *ContainerAttachWebsocketParams
WithHTTPClient adds the HTTPClient to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithID ¶
func (o *ContainerAttachWebsocketParams) WithID(id string) *ContainerAttachWebsocketParams
WithID adds the id to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithLogs ¶
func (o *ContainerAttachWebsocketParams) WithLogs(logs *bool) *ContainerAttachWebsocketParams
WithLogs adds the logs to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithStderr ¶
func (o *ContainerAttachWebsocketParams) WithStderr(stderr *bool) *ContainerAttachWebsocketParams
WithStderr adds the stderr to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithStdin ¶
func (o *ContainerAttachWebsocketParams) WithStdin(stdin *bool) *ContainerAttachWebsocketParams
WithStdin adds the stdin to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithStdout ¶
func (o *ContainerAttachWebsocketParams) WithStdout(stdout *bool) *ContainerAttachWebsocketParams
WithStdout adds the stdout to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithStream ¶
func (o *ContainerAttachWebsocketParams) WithStream(stream *bool) *ContainerAttachWebsocketParams
WithStream adds the stream to the container attach websocket params
func (*ContainerAttachWebsocketParams) WithTimeout ¶
func (o *ContainerAttachWebsocketParams) WithTimeout(timeout time.Duration) *ContainerAttachWebsocketParams
WithTimeout adds the timeout to the container attach websocket params
func (*ContainerAttachWebsocketParams) WriteToRequest ¶
func (o *ContainerAttachWebsocketParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerAttachWebsocketReader ¶
type ContainerAttachWebsocketReader struct {
// contains filtered or unexported fields
}
ContainerAttachWebsocketReader is a Reader for the ContainerAttachWebsocket structure.
func (*ContainerAttachWebsocketReader) ReadResponse ¶
func (o *ContainerAttachWebsocketReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerAttachWebsocketSwitchingProtocols ¶
type ContainerAttachWebsocketSwitchingProtocols struct { }
ContainerAttachWebsocketSwitchingProtocols handles this case with default header values.
no error, hints proxy about hijacking
func NewContainerAttachWebsocketSwitchingProtocols ¶
func NewContainerAttachWebsocketSwitchingProtocols() *ContainerAttachWebsocketSwitchingProtocols
NewContainerAttachWebsocketSwitchingProtocols creates a ContainerAttachWebsocketSwitchingProtocols with default headers values
func (*ContainerAttachWebsocketSwitchingProtocols) Error ¶
func (o *ContainerAttachWebsocketSwitchingProtocols) Error() string
type ContainerChangeResponseItem ¶
type ContainerChangeResponseItem struct { // Kind of change // Required: true // Enum: [0 1 2] Kind uint8 `json:"Kind"` // Path to file that has changed // Required: true Path string `json:"Path"` }
ContainerChangeResponseItem ContainerChangeResponseItem // // change item in response to ContainerChanges operation swagger:model ContainerChangeResponseItem
func (*ContainerChangeResponseItem) MarshalBinary ¶
func (o *ContainerChangeResponseItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerChangeResponseItem) UnmarshalBinary ¶
func (o *ContainerChangeResponseItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerChangesInternalServerError ¶
type ContainerChangesInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerChangesInternalServerError handles this case with default header values.
server error
func NewContainerChangesInternalServerError ¶
func NewContainerChangesInternalServerError() *ContainerChangesInternalServerError
NewContainerChangesInternalServerError creates a ContainerChangesInternalServerError with default headers values
func (*ContainerChangesInternalServerError) Error ¶
func (o *ContainerChangesInternalServerError) Error() string
type ContainerChangesNotFound ¶
type ContainerChangesNotFound struct {
Payload *models.ErrorResponse
}
ContainerChangesNotFound handles this case with default header values.
no such container
func NewContainerChangesNotFound ¶
func NewContainerChangesNotFound() *ContainerChangesNotFound
NewContainerChangesNotFound creates a ContainerChangesNotFound with default headers values
func (*ContainerChangesNotFound) Error ¶
func (o *ContainerChangesNotFound) Error() string
type ContainerChangesOK ¶
type ContainerChangesOK struct {
Payload []*ContainerChangeResponseItem
}
ContainerChangesOK handles this case with default header values.
The list of changes
func NewContainerChangesOK ¶
func NewContainerChangesOK() *ContainerChangesOK
NewContainerChangesOK creates a ContainerChangesOK with default headers values
func (*ContainerChangesOK) Error ¶
func (o *ContainerChangesOK) Error() string
type ContainerChangesParams ¶
type ContainerChangesParams struct { /*ID ID or name of the container */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerChangesParams contains all the parameters to send to the API endpoint for the container changes operation typically these are written to a http.Request
func NewContainerChangesParams ¶
func NewContainerChangesParams() *ContainerChangesParams
NewContainerChangesParams creates a new ContainerChangesParams object with the default values initialized.
func NewContainerChangesParamsWithContext ¶
func NewContainerChangesParamsWithContext(ctx context.Context) *ContainerChangesParams
NewContainerChangesParamsWithContext creates a new ContainerChangesParams object with the default values initialized, and the ability to set a context for a request
func NewContainerChangesParamsWithHTTPClient ¶
func NewContainerChangesParamsWithHTTPClient(client *http.Client) *ContainerChangesParams
NewContainerChangesParamsWithHTTPClient creates a new ContainerChangesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerChangesParamsWithTimeout ¶
func NewContainerChangesParamsWithTimeout(timeout time.Duration) *ContainerChangesParams
NewContainerChangesParamsWithTimeout creates a new ContainerChangesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerChangesParams) SetContext ¶
func (o *ContainerChangesParams) SetContext(ctx context.Context)
SetContext adds the context to the container changes params
func (*ContainerChangesParams) SetHTTPClient ¶
func (o *ContainerChangesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container changes params
func (*ContainerChangesParams) SetID ¶
func (o *ContainerChangesParams) SetID(id string)
SetID adds the id to the container changes params
func (*ContainerChangesParams) SetTimeout ¶
func (o *ContainerChangesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container changes params
func (*ContainerChangesParams) WithContext ¶
func (o *ContainerChangesParams) WithContext(ctx context.Context) *ContainerChangesParams
WithContext adds the context to the container changes params
func (*ContainerChangesParams) WithHTTPClient ¶
func (o *ContainerChangesParams) WithHTTPClient(client *http.Client) *ContainerChangesParams
WithHTTPClient adds the HTTPClient to the container changes params
func (*ContainerChangesParams) WithID ¶
func (o *ContainerChangesParams) WithID(id string) *ContainerChangesParams
WithID adds the id to the container changes params
func (*ContainerChangesParams) WithTimeout ¶
func (o *ContainerChangesParams) WithTimeout(timeout time.Duration) *ContainerChangesParams
WithTimeout adds the timeout to the container changes params
func (*ContainerChangesParams) WriteToRequest ¶
func (o *ContainerChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerChangesReader ¶
type ContainerChangesReader struct {
// contains filtered or unexported fields
}
ContainerChangesReader is a Reader for the ContainerChanges structure.
func (*ContainerChangesReader) ReadResponse ¶
func (o *ContainerChangesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerCreateBadRequest ¶
type ContainerCreateBadRequest struct {
Payload *models.ErrorResponse
}
ContainerCreateBadRequest handles this case with default header values.
bad parameter
func NewContainerCreateBadRequest ¶
func NewContainerCreateBadRequest() *ContainerCreateBadRequest
NewContainerCreateBadRequest creates a ContainerCreateBadRequest with default headers values
func (*ContainerCreateBadRequest) Error ¶
func (o *ContainerCreateBadRequest) Error() string
type ContainerCreateBody ¶
type ContainerCreateBody struct { models.ContainerConfig // host config HostConfig *models.HostConfig `json:"HostConfig,omitempty"` // networking config NetworkingConfig *ContainerCreateParamsBodyAO1NetworkingConfig `json:"NetworkingConfig,omitempty"` }
ContainerCreateBody container create body swagger:model ContainerCreateBody
func (*ContainerCreateBody) MarshalBinary ¶
func (o *ContainerCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ContainerCreateBody) MarshalJSON ¶
func (o ContainerCreateBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ContainerCreateBody) UnmarshalBinary ¶
func (o *ContainerCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ContainerCreateBody) UnmarshalJSON ¶
func (o *ContainerCreateBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ContainerCreateConflict ¶
type ContainerCreateConflict struct {
Payload *models.ErrorResponse
}
ContainerCreateConflict handles this case with default header values.
conflict
func NewContainerCreateConflict ¶
func NewContainerCreateConflict() *ContainerCreateConflict
NewContainerCreateConflict creates a ContainerCreateConflict with default headers values
func (*ContainerCreateConflict) Error ¶
func (o *ContainerCreateConflict) Error() string
type ContainerCreateCreated ¶
type ContainerCreateCreated struct {
Payload *ContainerCreateCreatedBody
}
ContainerCreateCreated handles this case with default header values.
Container created successfully
func NewContainerCreateCreated ¶
func NewContainerCreateCreated() *ContainerCreateCreated
NewContainerCreateCreated creates a ContainerCreateCreated with default headers values
func (*ContainerCreateCreated) Error ¶
func (o *ContainerCreateCreated) Error() string
type ContainerCreateCreatedBody ¶
type ContainerCreateCreatedBody struct { // The ID of the created container // Required: true ID string `json:"Id"` // Warnings encountered when creating the container // Required: true Warnings []string `json:"Warnings"` }
ContainerCreateCreatedBody ContainerCreateResponse // // OK response to ContainerCreate operation swagger:model ContainerCreateCreatedBody
func (*ContainerCreateCreatedBody) MarshalBinary ¶
func (o *ContainerCreateCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerCreateCreatedBody) UnmarshalBinary ¶
func (o *ContainerCreateCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerCreateInternalServerError ¶
type ContainerCreateInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerCreateInternalServerError handles this case with default header values.
server error
func NewContainerCreateInternalServerError ¶
func NewContainerCreateInternalServerError() *ContainerCreateInternalServerError
NewContainerCreateInternalServerError creates a ContainerCreateInternalServerError with default headers values
func (*ContainerCreateInternalServerError) Error ¶
func (o *ContainerCreateInternalServerError) Error() string
type ContainerCreateNotFound ¶
type ContainerCreateNotFound struct {
Payload *models.ErrorResponse
}
ContainerCreateNotFound handles this case with default header values.
no such container
func NewContainerCreateNotFound ¶
func NewContainerCreateNotFound() *ContainerCreateNotFound
NewContainerCreateNotFound creates a ContainerCreateNotFound with default headers values
func (*ContainerCreateNotFound) Error ¶
func (o *ContainerCreateNotFound) Error() string
type ContainerCreateParams ¶
type ContainerCreateParams struct { /*Body Container to create */ Body ContainerCreateBody /*Name Assign the specified name to the container. Must match `/?[a-zA-Z0-9][a-zA-Z0-9_.-]+`. */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerCreateParams contains all the parameters to send to the API endpoint for the container create operation typically these are written to a http.Request
func NewContainerCreateParams ¶
func NewContainerCreateParams() *ContainerCreateParams
NewContainerCreateParams creates a new ContainerCreateParams object with the default values initialized.
func NewContainerCreateParamsWithContext ¶
func NewContainerCreateParamsWithContext(ctx context.Context) *ContainerCreateParams
NewContainerCreateParamsWithContext creates a new ContainerCreateParams object with the default values initialized, and the ability to set a context for a request
func NewContainerCreateParamsWithHTTPClient ¶
func NewContainerCreateParamsWithHTTPClient(client *http.Client) *ContainerCreateParams
NewContainerCreateParamsWithHTTPClient creates a new ContainerCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerCreateParamsWithTimeout ¶
func NewContainerCreateParamsWithTimeout(timeout time.Duration) *ContainerCreateParams
NewContainerCreateParamsWithTimeout creates a new ContainerCreateParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerCreateParams) SetBody ¶
func (o *ContainerCreateParams) SetBody(body ContainerCreateBody)
SetBody adds the body to the container create params
func (*ContainerCreateParams) SetContext ¶
func (o *ContainerCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the container create params
func (*ContainerCreateParams) SetHTTPClient ¶
func (o *ContainerCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container create params
func (*ContainerCreateParams) SetName ¶
func (o *ContainerCreateParams) SetName(name *string)
SetName adds the name to the container create params
func (*ContainerCreateParams) SetTimeout ¶
func (o *ContainerCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container create params
func (*ContainerCreateParams) WithBody ¶
func (o *ContainerCreateParams) WithBody(body ContainerCreateBody) *ContainerCreateParams
WithBody adds the body to the container create params
func (*ContainerCreateParams) WithContext ¶
func (o *ContainerCreateParams) WithContext(ctx context.Context) *ContainerCreateParams
WithContext adds the context to the container create params
func (*ContainerCreateParams) WithHTTPClient ¶
func (o *ContainerCreateParams) WithHTTPClient(client *http.Client) *ContainerCreateParams
WithHTTPClient adds the HTTPClient to the container create params
func (*ContainerCreateParams) WithName ¶
func (o *ContainerCreateParams) WithName(name *string) *ContainerCreateParams
WithName adds the name to the container create params
func (*ContainerCreateParams) WithTimeout ¶
func (o *ContainerCreateParams) WithTimeout(timeout time.Duration) *ContainerCreateParams
WithTimeout adds the timeout to the container create params
func (*ContainerCreateParams) WriteToRequest ¶
func (o *ContainerCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerCreateParamsBodyAO1NetworkingConfig ¶
type ContainerCreateParamsBodyAO1NetworkingConfig struct { // A mapping of network name to endpoint configuration for that network. EndpointsConfig map[string]models.EndpointSettings `json:"EndpointsConfig,omitempty"` }
ContainerCreateParamsBodyAO1NetworkingConfig This container's networking configuration. swagger:model ContainerCreateParamsBodyAO1NetworkingConfig
func (*ContainerCreateParamsBodyAO1NetworkingConfig) MarshalBinary ¶
func (o *ContainerCreateParamsBodyAO1NetworkingConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerCreateParamsBodyAO1NetworkingConfig) UnmarshalBinary ¶
func (o *ContainerCreateParamsBodyAO1NetworkingConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerCreateReader ¶
type ContainerCreateReader struct {
// contains filtered or unexported fields
}
ContainerCreateReader is a Reader for the ContainerCreate structure.
func (*ContainerCreateReader) ReadResponse ¶
func (o *ContainerCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerDeleteBadRequest ¶
type ContainerDeleteBadRequest struct {
Payload *models.ErrorResponse
}
ContainerDeleteBadRequest handles this case with default header values.
bad parameter
func NewContainerDeleteBadRequest ¶
func NewContainerDeleteBadRequest() *ContainerDeleteBadRequest
NewContainerDeleteBadRequest creates a ContainerDeleteBadRequest with default headers values
func (*ContainerDeleteBadRequest) Error ¶
func (o *ContainerDeleteBadRequest) Error() string
type ContainerDeleteConflict ¶
type ContainerDeleteConflict struct {
Payload *models.ErrorResponse
}
ContainerDeleteConflict handles this case with default header values.
conflict
func NewContainerDeleteConflict ¶
func NewContainerDeleteConflict() *ContainerDeleteConflict
NewContainerDeleteConflict creates a ContainerDeleteConflict with default headers values
func (*ContainerDeleteConflict) Error ¶
func (o *ContainerDeleteConflict) Error() string
type ContainerDeleteInternalServerError ¶
type ContainerDeleteInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerDeleteInternalServerError handles this case with default header values.
server error
func NewContainerDeleteInternalServerError ¶
func NewContainerDeleteInternalServerError() *ContainerDeleteInternalServerError
NewContainerDeleteInternalServerError creates a ContainerDeleteInternalServerError with default headers values
func (*ContainerDeleteInternalServerError) Error ¶
func (o *ContainerDeleteInternalServerError) Error() string
type ContainerDeleteNoContent ¶
type ContainerDeleteNoContent struct { }
ContainerDeleteNoContent handles this case with default header values.
no error
func NewContainerDeleteNoContent ¶
func NewContainerDeleteNoContent() *ContainerDeleteNoContent
NewContainerDeleteNoContent creates a ContainerDeleteNoContent with default headers values
func (*ContainerDeleteNoContent) Error ¶
func (o *ContainerDeleteNoContent) Error() string
type ContainerDeleteNotFound ¶
type ContainerDeleteNotFound struct {
Payload *models.ErrorResponse
}
ContainerDeleteNotFound handles this case with default header values.
no such container
func NewContainerDeleteNotFound ¶
func NewContainerDeleteNotFound() *ContainerDeleteNotFound
NewContainerDeleteNotFound creates a ContainerDeleteNotFound with default headers values
func (*ContainerDeleteNotFound) Error ¶
func (o *ContainerDeleteNotFound) Error() string
type ContainerDeleteParams ¶
type ContainerDeleteParams struct { /*Force If the container is running, kill it before removing it. */ Force *bool /*ID ID or name of the container */ ID string /*Link Remove the specified link associated with the container. */ Link *bool /*V Remove the volumes associated with the container. */ V *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerDeleteParams contains all the parameters to send to the API endpoint for the container delete operation typically these are written to a http.Request
func NewContainerDeleteParams ¶
func NewContainerDeleteParams() *ContainerDeleteParams
NewContainerDeleteParams creates a new ContainerDeleteParams object with the default values initialized.
func NewContainerDeleteParamsWithContext ¶
func NewContainerDeleteParamsWithContext(ctx context.Context) *ContainerDeleteParams
NewContainerDeleteParamsWithContext creates a new ContainerDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewContainerDeleteParamsWithHTTPClient ¶
func NewContainerDeleteParamsWithHTTPClient(client *http.Client) *ContainerDeleteParams
NewContainerDeleteParamsWithHTTPClient creates a new ContainerDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerDeleteParamsWithTimeout ¶
func NewContainerDeleteParamsWithTimeout(timeout time.Duration) *ContainerDeleteParams
NewContainerDeleteParamsWithTimeout creates a new ContainerDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerDeleteParams) SetContext ¶
func (o *ContainerDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the container delete params
func (*ContainerDeleteParams) SetForce ¶
func (o *ContainerDeleteParams) SetForce(force *bool)
SetForce adds the force to the container delete params
func (*ContainerDeleteParams) SetHTTPClient ¶
func (o *ContainerDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container delete params
func (*ContainerDeleteParams) SetID ¶
func (o *ContainerDeleteParams) SetID(id string)
SetID adds the id to the container delete params
func (*ContainerDeleteParams) SetLink ¶
func (o *ContainerDeleteParams) SetLink(link *bool)
SetLink adds the link to the container delete params
func (*ContainerDeleteParams) SetTimeout ¶
func (o *ContainerDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container delete params
func (*ContainerDeleteParams) SetV ¶
func (o *ContainerDeleteParams) SetV(v *bool)
SetV adds the v to the container delete params
func (*ContainerDeleteParams) WithContext ¶
func (o *ContainerDeleteParams) WithContext(ctx context.Context) *ContainerDeleteParams
WithContext adds the context to the container delete params
func (*ContainerDeleteParams) WithForce ¶
func (o *ContainerDeleteParams) WithForce(force *bool) *ContainerDeleteParams
WithForce adds the force to the container delete params
func (*ContainerDeleteParams) WithHTTPClient ¶
func (o *ContainerDeleteParams) WithHTTPClient(client *http.Client) *ContainerDeleteParams
WithHTTPClient adds the HTTPClient to the container delete params
func (*ContainerDeleteParams) WithID ¶
func (o *ContainerDeleteParams) WithID(id string) *ContainerDeleteParams
WithID adds the id to the container delete params
func (*ContainerDeleteParams) WithLink ¶
func (o *ContainerDeleteParams) WithLink(link *bool) *ContainerDeleteParams
WithLink adds the link to the container delete params
func (*ContainerDeleteParams) WithTimeout ¶
func (o *ContainerDeleteParams) WithTimeout(timeout time.Duration) *ContainerDeleteParams
WithTimeout adds the timeout to the container delete params
func (*ContainerDeleteParams) WithV ¶
func (o *ContainerDeleteParams) WithV(v *bool) *ContainerDeleteParams
WithV adds the v to the container delete params
func (*ContainerDeleteParams) WriteToRequest ¶
func (o *ContainerDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerDeleteReader ¶
type ContainerDeleteReader struct {
// contains filtered or unexported fields
}
ContainerDeleteReader is a Reader for the ContainerDelete structure.
func (*ContainerDeleteReader) ReadResponse ¶
func (o *ContainerDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerExportInternalServerError ¶
type ContainerExportInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerExportInternalServerError handles this case with default header values.
server error
func NewContainerExportInternalServerError ¶
func NewContainerExportInternalServerError() *ContainerExportInternalServerError
NewContainerExportInternalServerError creates a ContainerExportInternalServerError with default headers values
func (*ContainerExportInternalServerError) Error ¶
func (o *ContainerExportInternalServerError) Error() string
type ContainerExportNotFound ¶
type ContainerExportNotFound struct {
Payload *models.ErrorResponse
}
ContainerExportNotFound handles this case with default header values.
no such container
func NewContainerExportNotFound ¶
func NewContainerExportNotFound() *ContainerExportNotFound
NewContainerExportNotFound creates a ContainerExportNotFound with default headers values
func (*ContainerExportNotFound) Error ¶
func (o *ContainerExportNotFound) Error() string
type ContainerExportOK ¶
type ContainerExportOK struct { }
ContainerExportOK handles this case with default header values.
no error
func NewContainerExportOK ¶
func NewContainerExportOK() *ContainerExportOK
NewContainerExportOK creates a ContainerExportOK with default headers values
func (*ContainerExportOK) Error ¶
func (o *ContainerExportOK) Error() string
type ContainerExportParams ¶
type ContainerExportParams struct { /*ID ID or name of the container */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerExportParams contains all the parameters to send to the API endpoint for the container export operation typically these are written to a http.Request
func NewContainerExportParams ¶
func NewContainerExportParams() *ContainerExportParams
NewContainerExportParams creates a new ContainerExportParams object with the default values initialized.
func NewContainerExportParamsWithContext ¶
func NewContainerExportParamsWithContext(ctx context.Context) *ContainerExportParams
NewContainerExportParamsWithContext creates a new ContainerExportParams object with the default values initialized, and the ability to set a context for a request
func NewContainerExportParamsWithHTTPClient ¶
func NewContainerExportParamsWithHTTPClient(client *http.Client) *ContainerExportParams
NewContainerExportParamsWithHTTPClient creates a new ContainerExportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerExportParamsWithTimeout ¶
func NewContainerExportParamsWithTimeout(timeout time.Duration) *ContainerExportParams
NewContainerExportParamsWithTimeout creates a new ContainerExportParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerExportParams) SetContext ¶
func (o *ContainerExportParams) SetContext(ctx context.Context)
SetContext adds the context to the container export params
func (*ContainerExportParams) SetHTTPClient ¶
func (o *ContainerExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container export params
func (*ContainerExportParams) SetID ¶
func (o *ContainerExportParams) SetID(id string)
SetID adds the id to the container export params
func (*ContainerExportParams) SetTimeout ¶
func (o *ContainerExportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container export params
func (*ContainerExportParams) WithContext ¶
func (o *ContainerExportParams) WithContext(ctx context.Context) *ContainerExportParams
WithContext adds the context to the container export params
func (*ContainerExportParams) WithHTTPClient ¶
func (o *ContainerExportParams) WithHTTPClient(client *http.Client) *ContainerExportParams
WithHTTPClient adds the HTTPClient to the container export params
func (*ContainerExportParams) WithID ¶
func (o *ContainerExportParams) WithID(id string) *ContainerExportParams
WithID adds the id to the container export params
func (*ContainerExportParams) WithTimeout ¶
func (o *ContainerExportParams) WithTimeout(timeout time.Duration) *ContainerExportParams
WithTimeout adds the timeout to the container export params
func (*ContainerExportParams) WriteToRequest ¶
func (o *ContainerExportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerExportReader ¶
type ContainerExportReader struct {
// contains filtered or unexported fields
}
ContainerExportReader is a Reader for the ContainerExport structure.
func (*ContainerExportReader) ReadResponse ¶
func (o *ContainerExportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerInspectInternalServerError ¶
type ContainerInspectInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerInspectInternalServerError handles this case with default header values.
server error
func NewContainerInspectInternalServerError ¶
func NewContainerInspectInternalServerError() *ContainerInspectInternalServerError
NewContainerInspectInternalServerError creates a ContainerInspectInternalServerError with default headers values
func (*ContainerInspectInternalServerError) Error ¶
func (o *ContainerInspectInternalServerError) Error() string
type ContainerInspectNotFound ¶
type ContainerInspectNotFound struct {
Payload *models.ErrorResponse
}
ContainerInspectNotFound handles this case with default header values.
no such container
func NewContainerInspectNotFound ¶
func NewContainerInspectNotFound() *ContainerInspectNotFound
NewContainerInspectNotFound creates a ContainerInspectNotFound with default headers values
func (*ContainerInspectNotFound) Error ¶
func (o *ContainerInspectNotFound) Error() string
type ContainerInspectOK ¶
type ContainerInspectOK struct {
Payload *ContainerInspectOKBody
}
ContainerInspectOK handles this case with default header values.
no error
func NewContainerInspectOK ¶
func NewContainerInspectOK() *ContainerInspectOK
NewContainerInspectOK creates a ContainerInspectOK with default headers values
func (*ContainerInspectOK) Error ¶
func (o *ContainerInspectOK) Error() string
type ContainerInspectOKBody ¶
type ContainerInspectOKBody struct { // app armor profile AppArmorProfile string `json:"AppArmorProfile,omitempty"` // The arguments to the command being run Args []string `json:"Args"` // config Config *models.ContainerConfig `json:"Config,omitempty"` // The time the container was created Created string `json:"Created,omitempty"` // driver Driver string `json:"Driver,omitempty"` // IDs of exec instances that are running in the container. ExecIds []string `json:"ExecIDs"` // graph driver GraphDriver *models.GraphDriverData `json:"GraphDriver,omitempty"` // host config HostConfig *models.HostConfig `json:"HostConfig,omitempty"` // hostname path HostnamePath string `json:"HostnamePath,omitempty"` // hosts path HostsPath string `json:"HostsPath,omitempty"` // The ID of the container ID string `json:"Id,omitempty"` // The container's image Image string `json:"Image,omitempty"` // log path LogPath string `json:"LogPath,omitempty"` // mount label MountLabel string `json:"MountLabel,omitempty"` // mounts Mounts []*models.MountPoint `json:"Mounts"` // name Name string `json:"Name,omitempty"` // network settings NetworkSettings *models.NetworkSettings `json:"NetworkSettings,omitempty"` // TODO Node interface{} `json:"Node,omitempty"` // The path to the command being run Path string `json:"Path,omitempty"` // process label ProcessLabel string `json:"ProcessLabel,omitempty"` // resolv conf path ResolvConfPath string `json:"ResolvConfPath,omitempty"` // restart count RestartCount int64 `json:"RestartCount,omitempty"` // The total size of all the files in this container. SizeRootFs int64 `json:"SizeRootFs,omitempty"` // The size of files that have been created or changed by this container. SizeRw int64 `json:"SizeRw,omitempty"` // state State *ContainerInspectOKBodyState `json:"State,omitempty"` }
ContainerInspectOKBody ContainerInspectResponse swagger:model ContainerInspectOKBody
func (*ContainerInspectOKBody) MarshalBinary ¶
func (o *ContainerInspectOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerInspectOKBody) UnmarshalBinary ¶
func (o *ContainerInspectOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerInspectOKBodyState ¶
type ContainerInspectOKBodyState struct { // dead Dead bool `json:"Dead,omitempty"` // error Error string `json:"Error,omitempty"` // The last exit code of this container ExitCode int64 `json:"ExitCode,omitempty"` // The time when this container last exited. FinishedAt string `json:"FinishedAt,omitempty"` // Whether this container has been killed because it ran out of memory. OOMKilled bool `json:"OOMKilled,omitempty"` // Whether this container is paused. Paused bool `json:"Paused,omitempty"` // The process ID of this container Pid int64 `json:"Pid,omitempty"` // Whether this container is restarting. Restarting bool `json:"Restarting,omitempty"` // Whether this container is running. // // Note that a running container can be _paused_. The `Running` and `Paused` // booleans are not mutually exclusive: // // When pausing a container (on Linux), the cgroups freezer is used to suspend // all processes in the container. Freezing the process requires the process to // be running. As a result, paused containers are both `Running` _and_ `Paused`. // // Use the `Status` field instead to determine if a container's state is "running". // Running bool `json:"Running,omitempty"` // The time when this container was last started. StartedAt string `json:"StartedAt,omitempty"` // The status of the container. For example, `"running"` or `"exited"`. // // Enum: [created running paused restarting removing exited dead] Status string `json:"Status,omitempty"` }
ContainerInspectOKBodyState The state of the container. swagger:model ContainerInspectOKBodyState
func (*ContainerInspectOKBodyState) MarshalBinary ¶
func (o *ContainerInspectOKBodyState) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerInspectOKBodyState) UnmarshalBinary ¶
func (o *ContainerInspectOKBodyState) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerInspectParams ¶
type ContainerInspectParams struct { /*ID ID or name of the container */ ID string /*Size Return the size of container as fields `SizeRw` and `SizeRootFs` */ Size *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerInspectParams contains all the parameters to send to the API endpoint for the container inspect operation typically these are written to a http.Request
func NewContainerInspectParams ¶
func NewContainerInspectParams() *ContainerInspectParams
NewContainerInspectParams creates a new ContainerInspectParams object with the default values initialized.
func NewContainerInspectParamsWithContext ¶
func NewContainerInspectParamsWithContext(ctx context.Context) *ContainerInspectParams
NewContainerInspectParamsWithContext creates a new ContainerInspectParams object with the default values initialized, and the ability to set a context for a request
func NewContainerInspectParamsWithHTTPClient ¶
func NewContainerInspectParamsWithHTTPClient(client *http.Client) *ContainerInspectParams
NewContainerInspectParamsWithHTTPClient creates a new ContainerInspectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerInspectParamsWithTimeout ¶
func NewContainerInspectParamsWithTimeout(timeout time.Duration) *ContainerInspectParams
NewContainerInspectParamsWithTimeout creates a new ContainerInspectParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerInspectParams) SetContext ¶
func (o *ContainerInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the container inspect params
func (*ContainerInspectParams) SetHTTPClient ¶
func (o *ContainerInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container inspect params
func (*ContainerInspectParams) SetID ¶
func (o *ContainerInspectParams) SetID(id string)
SetID adds the id to the container inspect params
func (*ContainerInspectParams) SetSize ¶
func (o *ContainerInspectParams) SetSize(size *bool)
SetSize adds the size to the container inspect params
func (*ContainerInspectParams) SetTimeout ¶
func (o *ContainerInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container inspect params
func (*ContainerInspectParams) WithContext ¶
func (o *ContainerInspectParams) WithContext(ctx context.Context) *ContainerInspectParams
WithContext adds the context to the container inspect params
func (*ContainerInspectParams) WithHTTPClient ¶
func (o *ContainerInspectParams) WithHTTPClient(client *http.Client) *ContainerInspectParams
WithHTTPClient adds the HTTPClient to the container inspect params
func (*ContainerInspectParams) WithID ¶
func (o *ContainerInspectParams) WithID(id string) *ContainerInspectParams
WithID adds the id to the container inspect params
func (*ContainerInspectParams) WithSize ¶
func (o *ContainerInspectParams) WithSize(size *bool) *ContainerInspectParams
WithSize adds the size to the container inspect params
func (*ContainerInspectParams) WithTimeout ¶
func (o *ContainerInspectParams) WithTimeout(timeout time.Duration) *ContainerInspectParams
WithTimeout adds the timeout to the container inspect params
func (*ContainerInspectParams) WriteToRequest ¶
func (o *ContainerInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerInspectReader ¶
type ContainerInspectReader struct {
// contains filtered or unexported fields
}
ContainerInspectReader is a Reader for the ContainerInspect structure.
func (*ContainerInspectReader) ReadResponse ¶
func (o *ContainerInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerKillConflict ¶
type ContainerKillConflict struct {
Payload *models.ErrorResponse
}
ContainerKillConflict handles this case with default header values.
container is not running
func NewContainerKillConflict ¶
func NewContainerKillConflict() *ContainerKillConflict
NewContainerKillConflict creates a ContainerKillConflict with default headers values
func (*ContainerKillConflict) Error ¶
func (o *ContainerKillConflict) Error() string
type ContainerKillInternalServerError ¶
type ContainerKillInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerKillInternalServerError handles this case with default header values.
server error
func NewContainerKillInternalServerError ¶
func NewContainerKillInternalServerError() *ContainerKillInternalServerError
NewContainerKillInternalServerError creates a ContainerKillInternalServerError with default headers values
func (*ContainerKillInternalServerError) Error ¶
func (o *ContainerKillInternalServerError) Error() string
type ContainerKillNoContent ¶
type ContainerKillNoContent struct { }
ContainerKillNoContent handles this case with default header values.
no error
func NewContainerKillNoContent ¶
func NewContainerKillNoContent() *ContainerKillNoContent
NewContainerKillNoContent creates a ContainerKillNoContent with default headers values
func (*ContainerKillNoContent) Error ¶
func (o *ContainerKillNoContent) Error() string
type ContainerKillNotFound ¶
type ContainerKillNotFound struct {
Payload *models.ErrorResponse
}
ContainerKillNotFound handles this case with default header values.
no such container
func NewContainerKillNotFound ¶
func NewContainerKillNotFound() *ContainerKillNotFound
NewContainerKillNotFound creates a ContainerKillNotFound with default headers values
func (*ContainerKillNotFound) Error ¶
func (o *ContainerKillNotFound) Error() string
type ContainerKillParams ¶
type ContainerKillParams struct { /*ID ID or name of the container */ ID string /*Signal Signal to send to the container as an integer or string (e.g. `SIGINT`) */ Signal *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerKillParams contains all the parameters to send to the API endpoint for the container kill operation typically these are written to a http.Request
func NewContainerKillParams ¶
func NewContainerKillParams() *ContainerKillParams
NewContainerKillParams creates a new ContainerKillParams object with the default values initialized.
func NewContainerKillParamsWithContext ¶
func NewContainerKillParamsWithContext(ctx context.Context) *ContainerKillParams
NewContainerKillParamsWithContext creates a new ContainerKillParams object with the default values initialized, and the ability to set a context for a request
func NewContainerKillParamsWithHTTPClient ¶
func NewContainerKillParamsWithHTTPClient(client *http.Client) *ContainerKillParams
NewContainerKillParamsWithHTTPClient creates a new ContainerKillParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerKillParamsWithTimeout ¶
func NewContainerKillParamsWithTimeout(timeout time.Duration) *ContainerKillParams
NewContainerKillParamsWithTimeout creates a new ContainerKillParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerKillParams) SetContext ¶
func (o *ContainerKillParams) SetContext(ctx context.Context)
SetContext adds the context to the container kill params
func (*ContainerKillParams) SetHTTPClient ¶
func (o *ContainerKillParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container kill params
func (*ContainerKillParams) SetID ¶
func (o *ContainerKillParams) SetID(id string)
SetID adds the id to the container kill params
func (*ContainerKillParams) SetSignal ¶
func (o *ContainerKillParams) SetSignal(signal *string)
SetSignal adds the signal to the container kill params
func (*ContainerKillParams) SetTimeout ¶
func (o *ContainerKillParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container kill params
func (*ContainerKillParams) WithContext ¶
func (o *ContainerKillParams) WithContext(ctx context.Context) *ContainerKillParams
WithContext adds the context to the container kill params
func (*ContainerKillParams) WithHTTPClient ¶
func (o *ContainerKillParams) WithHTTPClient(client *http.Client) *ContainerKillParams
WithHTTPClient adds the HTTPClient to the container kill params
func (*ContainerKillParams) WithID ¶
func (o *ContainerKillParams) WithID(id string) *ContainerKillParams
WithID adds the id to the container kill params
func (*ContainerKillParams) WithSignal ¶
func (o *ContainerKillParams) WithSignal(signal *string) *ContainerKillParams
WithSignal adds the signal to the container kill params
func (*ContainerKillParams) WithTimeout ¶
func (o *ContainerKillParams) WithTimeout(timeout time.Duration) *ContainerKillParams
WithTimeout adds the timeout to the container kill params
func (*ContainerKillParams) WriteToRequest ¶
func (o *ContainerKillParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerKillReader ¶
type ContainerKillReader struct {
// contains filtered or unexported fields
}
ContainerKillReader is a Reader for the ContainerKill structure.
func (*ContainerKillReader) ReadResponse ¶
func (o *ContainerKillReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerListBadRequest ¶
type ContainerListBadRequest struct {
Payload *models.ErrorResponse
}
ContainerListBadRequest handles this case with default header values.
bad parameter
func NewContainerListBadRequest ¶
func NewContainerListBadRequest() *ContainerListBadRequest
NewContainerListBadRequest creates a ContainerListBadRequest with default headers values
func (*ContainerListBadRequest) Error ¶
func (o *ContainerListBadRequest) Error() string
type ContainerListInternalServerError ¶
type ContainerListInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerListInternalServerError handles this case with default header values.
server error
func NewContainerListInternalServerError ¶
func NewContainerListInternalServerError() *ContainerListInternalServerError
NewContainerListInternalServerError creates a ContainerListInternalServerError with default headers values
func (*ContainerListInternalServerError) Error ¶
func (o *ContainerListInternalServerError) Error() string
type ContainerListOK ¶
type ContainerListOK struct {
Payload models.ContainerSummary
}
ContainerListOK handles this case with default header values.
no error
func NewContainerListOK ¶
func NewContainerListOK() *ContainerListOK
NewContainerListOK creates a ContainerListOK with default headers values
func (*ContainerListOK) Error ¶
func (o *ContainerListOK) Error() string
type ContainerListParams ¶
type ContainerListParams struct { /*All Return all containers. By default, only running containers are shown */ All *bool /*Filters Filters to process on the container list, encoded as JSON (a `map[string][]string`). For example, `{"status": ["paused"]}` will only return paused containers. Available filters: - `ancestor`=(`<image-name>[:<tag>]`, `<image id>`, or `<image@digest>`) - `before`=(`<container id>` or `<container name>`) - `expose`=(`<port>[/<proto>]`|`<startport-endport>/[<proto>]`) - `exited=<int>` containers with exit code of `<int>` - `health`=(`starting`|`healthy`|`unhealthy`|`none`) - `id=<ID>` a container's ID - `isolation=`(`default`|`process`|`hyperv`) (Windows daemon only) - `is-task=`(`true`|`false`) - `label=key` or `label="key=value"` of a container label - `name=<name>` a container's name - `network`=(`<network id>` or `<network name>`) - `publish`=(`<port>[/<proto>]`|`<startport-endport>/[<proto>]`) - `since`=(`<container id>` or `<container name>`) - `status=`(`created`|`restarting`|`running`|`removing`|`paused`|`exited`|`dead`) - `volume`=(`<volume name>` or `<mount point destination>`) */ Filters *string /*Limit Return this number of most recently created containers, including non-running ones. */ Limit *int64 /*Size Return the size of container as fields `SizeRw` and `SizeRootFs`. */ Size *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerListParams contains all the parameters to send to the API endpoint for the container list operation typically these are written to a http.Request
func NewContainerListParams ¶
func NewContainerListParams() *ContainerListParams
NewContainerListParams creates a new ContainerListParams object with the default values initialized.
func NewContainerListParamsWithContext ¶
func NewContainerListParamsWithContext(ctx context.Context) *ContainerListParams
NewContainerListParamsWithContext creates a new ContainerListParams object with the default values initialized, and the ability to set a context for a request
func NewContainerListParamsWithHTTPClient ¶
func NewContainerListParamsWithHTTPClient(client *http.Client) *ContainerListParams
NewContainerListParamsWithHTTPClient creates a new ContainerListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerListParamsWithTimeout ¶
func NewContainerListParamsWithTimeout(timeout time.Duration) *ContainerListParams
NewContainerListParamsWithTimeout creates a new ContainerListParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerListParams) SetAll ¶
func (o *ContainerListParams) SetAll(all *bool)
SetAll adds the all to the container list params
func (*ContainerListParams) SetContext ¶
func (o *ContainerListParams) SetContext(ctx context.Context)
SetContext adds the context to the container list params
func (*ContainerListParams) SetFilters ¶
func (o *ContainerListParams) SetFilters(filters *string)
SetFilters adds the filters to the container list params
func (*ContainerListParams) SetHTTPClient ¶
func (o *ContainerListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container list params
func (*ContainerListParams) SetLimit ¶
func (o *ContainerListParams) SetLimit(limit *int64)
SetLimit adds the limit to the container list params
func (*ContainerListParams) SetSize ¶
func (o *ContainerListParams) SetSize(size *bool)
SetSize adds the size to the container list params
func (*ContainerListParams) SetTimeout ¶
func (o *ContainerListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container list params
func (*ContainerListParams) WithAll ¶
func (o *ContainerListParams) WithAll(all *bool) *ContainerListParams
WithAll adds the all to the container list params
func (*ContainerListParams) WithContext ¶
func (o *ContainerListParams) WithContext(ctx context.Context) *ContainerListParams
WithContext adds the context to the container list params
func (*ContainerListParams) WithFilters ¶
func (o *ContainerListParams) WithFilters(filters *string) *ContainerListParams
WithFilters adds the filters to the container list params
func (*ContainerListParams) WithHTTPClient ¶
func (o *ContainerListParams) WithHTTPClient(client *http.Client) *ContainerListParams
WithHTTPClient adds the HTTPClient to the container list params
func (*ContainerListParams) WithLimit ¶
func (o *ContainerListParams) WithLimit(limit *int64) *ContainerListParams
WithLimit adds the limit to the container list params
func (*ContainerListParams) WithSize ¶
func (o *ContainerListParams) WithSize(size *bool) *ContainerListParams
WithSize adds the size to the container list params
func (*ContainerListParams) WithTimeout ¶
func (o *ContainerListParams) WithTimeout(timeout time.Duration) *ContainerListParams
WithTimeout adds the timeout to the container list params
func (*ContainerListParams) WriteToRequest ¶
func (o *ContainerListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerListReader ¶
type ContainerListReader struct {
// contains filtered or unexported fields
}
ContainerListReader is a Reader for the ContainerList structure.
func (*ContainerListReader) ReadResponse ¶
func (o *ContainerListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerLogsInternalServerError ¶
type ContainerLogsInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerLogsInternalServerError handles this case with default header values.
server error
func NewContainerLogsInternalServerError ¶
func NewContainerLogsInternalServerError() *ContainerLogsInternalServerError
NewContainerLogsInternalServerError creates a ContainerLogsInternalServerError with default headers values
func (*ContainerLogsInternalServerError) Error ¶
func (o *ContainerLogsInternalServerError) Error() string
type ContainerLogsNotFound ¶
type ContainerLogsNotFound struct {
Payload *models.ErrorResponse
}
ContainerLogsNotFound handles this case with default header values.
no such container
func NewContainerLogsNotFound ¶
func NewContainerLogsNotFound() *ContainerLogsNotFound
NewContainerLogsNotFound creates a ContainerLogsNotFound with default headers values
func (*ContainerLogsNotFound) Error ¶
func (o *ContainerLogsNotFound) Error() string
type ContainerLogsOK ¶
ContainerLogsOK handles this case with default header values.
logs returned as a stream in response body. For the stream format, [see the documentation for the attach endpoint](#operation/ContainerAttach). Note that unlike the attach endpoint, the logs endpoint does not upgrade the connection and does not set Content-Type.
func NewContainerLogsOK ¶
func NewContainerLogsOK(writer io.Writer) *ContainerLogsOK
NewContainerLogsOK creates a ContainerLogsOK with default headers values
func (*ContainerLogsOK) Error ¶
func (o *ContainerLogsOK) Error() string
type ContainerLogsParams ¶
type ContainerLogsParams struct { /*Follow Keep connection after returning logs. */ Follow *bool /*ID ID or name of the container */ ID string /*Since Only return logs since this time, as a UNIX timestamp */ Since *int64 /*Stderr Return logs from `stderr` */ Stderr *bool /*Stdout Return logs from `stdout` */ Stdout *bool /*Tail Only return this number of log lines from the end of the logs. Specify as an integer or `all` to output all log lines. */ Tail *string /*Timestamps Add timestamps to every log line */ Timestamps *bool /*Until Only return logs before this time, as a UNIX timestamp */ Until *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerLogsParams contains all the parameters to send to the API endpoint for the container logs operation typically these are written to a http.Request
func NewContainerLogsParams ¶
func NewContainerLogsParams() *ContainerLogsParams
NewContainerLogsParams creates a new ContainerLogsParams object with the default values initialized.
func NewContainerLogsParamsWithContext ¶
func NewContainerLogsParamsWithContext(ctx context.Context) *ContainerLogsParams
NewContainerLogsParamsWithContext creates a new ContainerLogsParams object with the default values initialized, and the ability to set a context for a request
func NewContainerLogsParamsWithHTTPClient ¶
func NewContainerLogsParamsWithHTTPClient(client *http.Client) *ContainerLogsParams
NewContainerLogsParamsWithHTTPClient creates a new ContainerLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerLogsParamsWithTimeout ¶
func NewContainerLogsParamsWithTimeout(timeout time.Duration) *ContainerLogsParams
NewContainerLogsParamsWithTimeout creates a new ContainerLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerLogsParams) SetContext ¶
func (o *ContainerLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the container logs params
func (*ContainerLogsParams) SetFollow ¶
func (o *ContainerLogsParams) SetFollow(follow *bool)
SetFollow adds the follow to the container logs params
func (*ContainerLogsParams) SetHTTPClient ¶
func (o *ContainerLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container logs params
func (*ContainerLogsParams) SetID ¶
func (o *ContainerLogsParams) SetID(id string)
SetID adds the id to the container logs params
func (*ContainerLogsParams) SetSince ¶
func (o *ContainerLogsParams) SetSince(since *int64)
SetSince adds the since to the container logs params
func (*ContainerLogsParams) SetStderr ¶
func (o *ContainerLogsParams) SetStderr(stderr *bool)
SetStderr adds the stderr to the container logs params
func (*ContainerLogsParams) SetStdout ¶
func (o *ContainerLogsParams) SetStdout(stdout *bool)
SetStdout adds the stdout to the container logs params
func (*ContainerLogsParams) SetTail ¶
func (o *ContainerLogsParams) SetTail(tail *string)
SetTail adds the tail to the container logs params
func (*ContainerLogsParams) SetTimeout ¶
func (o *ContainerLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container logs params
func (*ContainerLogsParams) SetTimestamps ¶
func (o *ContainerLogsParams) SetTimestamps(timestamps *bool)
SetTimestamps adds the timestamps to the container logs params
func (*ContainerLogsParams) SetUntil ¶
func (o *ContainerLogsParams) SetUntil(until *int64)
SetUntil adds the until to the container logs params
func (*ContainerLogsParams) WithContext ¶
func (o *ContainerLogsParams) WithContext(ctx context.Context) *ContainerLogsParams
WithContext adds the context to the container logs params
func (*ContainerLogsParams) WithFollow ¶
func (o *ContainerLogsParams) WithFollow(follow *bool) *ContainerLogsParams
WithFollow adds the follow to the container logs params
func (*ContainerLogsParams) WithHTTPClient ¶
func (o *ContainerLogsParams) WithHTTPClient(client *http.Client) *ContainerLogsParams
WithHTTPClient adds the HTTPClient to the container logs params
func (*ContainerLogsParams) WithID ¶
func (o *ContainerLogsParams) WithID(id string) *ContainerLogsParams
WithID adds the id to the container logs params
func (*ContainerLogsParams) WithSince ¶
func (o *ContainerLogsParams) WithSince(since *int64) *ContainerLogsParams
WithSince adds the since to the container logs params
func (*ContainerLogsParams) WithStderr ¶
func (o *ContainerLogsParams) WithStderr(stderr *bool) *ContainerLogsParams
WithStderr adds the stderr to the container logs params
func (*ContainerLogsParams) WithStdout ¶
func (o *ContainerLogsParams) WithStdout(stdout *bool) *ContainerLogsParams
WithStdout adds the stdout to the container logs params
func (*ContainerLogsParams) WithTail ¶
func (o *ContainerLogsParams) WithTail(tail *string) *ContainerLogsParams
WithTail adds the tail to the container logs params
func (*ContainerLogsParams) WithTimeout ¶
func (o *ContainerLogsParams) WithTimeout(timeout time.Duration) *ContainerLogsParams
WithTimeout adds the timeout to the container logs params
func (*ContainerLogsParams) WithTimestamps ¶
func (o *ContainerLogsParams) WithTimestamps(timestamps *bool) *ContainerLogsParams
WithTimestamps adds the timestamps to the container logs params
func (*ContainerLogsParams) WithUntil ¶
func (o *ContainerLogsParams) WithUntil(until *int64) *ContainerLogsParams
WithUntil adds the until to the container logs params
func (*ContainerLogsParams) WriteToRequest ¶
func (o *ContainerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerLogsReader ¶
type ContainerLogsReader struct {
// contains filtered or unexported fields
}
ContainerLogsReader is a Reader for the ContainerLogs structure.
func (*ContainerLogsReader) ReadResponse ¶
func (o *ContainerLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerPauseInternalServerError ¶
type ContainerPauseInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerPauseInternalServerError handles this case with default header values.
server error
func NewContainerPauseInternalServerError ¶
func NewContainerPauseInternalServerError() *ContainerPauseInternalServerError
NewContainerPauseInternalServerError creates a ContainerPauseInternalServerError with default headers values
func (*ContainerPauseInternalServerError) Error ¶
func (o *ContainerPauseInternalServerError) Error() string
type ContainerPauseNoContent ¶
type ContainerPauseNoContent struct { }
ContainerPauseNoContent handles this case with default header values.
no error
func NewContainerPauseNoContent ¶
func NewContainerPauseNoContent() *ContainerPauseNoContent
NewContainerPauseNoContent creates a ContainerPauseNoContent with default headers values
func (*ContainerPauseNoContent) Error ¶
func (o *ContainerPauseNoContent) Error() string
type ContainerPauseNotFound ¶
type ContainerPauseNotFound struct {
Payload *models.ErrorResponse
}
ContainerPauseNotFound handles this case with default header values.
no such container
func NewContainerPauseNotFound ¶
func NewContainerPauseNotFound() *ContainerPauseNotFound
NewContainerPauseNotFound creates a ContainerPauseNotFound with default headers values
func (*ContainerPauseNotFound) Error ¶
func (o *ContainerPauseNotFound) Error() string
type ContainerPauseParams ¶
type ContainerPauseParams struct { /*ID ID or name of the container */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerPauseParams contains all the parameters to send to the API endpoint for the container pause operation typically these are written to a http.Request
func NewContainerPauseParams ¶
func NewContainerPauseParams() *ContainerPauseParams
NewContainerPauseParams creates a new ContainerPauseParams object with the default values initialized.
func NewContainerPauseParamsWithContext ¶
func NewContainerPauseParamsWithContext(ctx context.Context) *ContainerPauseParams
NewContainerPauseParamsWithContext creates a new ContainerPauseParams object with the default values initialized, and the ability to set a context for a request
func NewContainerPauseParamsWithHTTPClient ¶
func NewContainerPauseParamsWithHTTPClient(client *http.Client) *ContainerPauseParams
NewContainerPauseParamsWithHTTPClient creates a new ContainerPauseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerPauseParamsWithTimeout ¶
func NewContainerPauseParamsWithTimeout(timeout time.Duration) *ContainerPauseParams
NewContainerPauseParamsWithTimeout creates a new ContainerPauseParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerPauseParams) SetContext ¶
func (o *ContainerPauseParams) SetContext(ctx context.Context)
SetContext adds the context to the container pause params
func (*ContainerPauseParams) SetHTTPClient ¶
func (o *ContainerPauseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container pause params
func (*ContainerPauseParams) SetID ¶
func (o *ContainerPauseParams) SetID(id string)
SetID adds the id to the container pause params
func (*ContainerPauseParams) SetTimeout ¶
func (o *ContainerPauseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container pause params
func (*ContainerPauseParams) WithContext ¶
func (o *ContainerPauseParams) WithContext(ctx context.Context) *ContainerPauseParams
WithContext adds the context to the container pause params
func (*ContainerPauseParams) WithHTTPClient ¶
func (o *ContainerPauseParams) WithHTTPClient(client *http.Client) *ContainerPauseParams
WithHTTPClient adds the HTTPClient to the container pause params
func (*ContainerPauseParams) WithID ¶
func (o *ContainerPauseParams) WithID(id string) *ContainerPauseParams
WithID adds the id to the container pause params
func (*ContainerPauseParams) WithTimeout ¶
func (o *ContainerPauseParams) WithTimeout(timeout time.Duration) *ContainerPauseParams
WithTimeout adds the timeout to the container pause params
func (*ContainerPauseParams) WriteToRequest ¶
func (o *ContainerPauseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerPauseReader ¶
type ContainerPauseReader struct {
// contains filtered or unexported fields
}
ContainerPauseReader is a Reader for the ContainerPause structure.
func (*ContainerPauseReader) ReadResponse ¶
func (o *ContainerPauseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerPruneInternalServerError ¶
type ContainerPruneInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerPruneInternalServerError handles this case with default header values.
Server error
func NewContainerPruneInternalServerError ¶
func NewContainerPruneInternalServerError() *ContainerPruneInternalServerError
NewContainerPruneInternalServerError creates a ContainerPruneInternalServerError with default headers values
func (*ContainerPruneInternalServerError) Error ¶
func (o *ContainerPruneInternalServerError) Error() string
type ContainerPruneOK ¶
type ContainerPruneOK struct {
Payload *ContainerPruneOKBody
}
ContainerPruneOK handles this case with default header values.
No error
func NewContainerPruneOK ¶
func NewContainerPruneOK() *ContainerPruneOK
NewContainerPruneOK creates a ContainerPruneOK with default headers values
func (*ContainerPruneOK) Error ¶
func (o *ContainerPruneOK) Error() string
type ContainerPruneOKBody ¶
type ContainerPruneOKBody struct { // Container IDs that were deleted ContainersDeleted []string `json:"ContainersDeleted"` // Disk space reclaimed in bytes SpaceReclaimed int64 `json:"SpaceReclaimed,omitempty"` }
ContainerPruneOKBody ContainerPruneResponse swagger:model ContainerPruneOKBody
func (*ContainerPruneOKBody) MarshalBinary ¶
func (o *ContainerPruneOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerPruneOKBody) UnmarshalBinary ¶
func (o *ContainerPruneOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerPruneParams ¶
type ContainerPruneParams struct { /*Filters Filters to process on the prune list, encoded as JSON (a `map[string][]string`). Available filters: - `until=<timestamp>` Prune containers created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time. - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune containers with (or without, in case `label!=...` is used) the specified labels. */ Filters *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerPruneParams contains all the parameters to send to the API endpoint for the container prune operation typically these are written to a http.Request
func NewContainerPruneParams ¶
func NewContainerPruneParams() *ContainerPruneParams
NewContainerPruneParams creates a new ContainerPruneParams object with the default values initialized.
func NewContainerPruneParamsWithContext ¶
func NewContainerPruneParamsWithContext(ctx context.Context) *ContainerPruneParams
NewContainerPruneParamsWithContext creates a new ContainerPruneParams object with the default values initialized, and the ability to set a context for a request
func NewContainerPruneParamsWithHTTPClient ¶
func NewContainerPruneParamsWithHTTPClient(client *http.Client) *ContainerPruneParams
NewContainerPruneParamsWithHTTPClient creates a new ContainerPruneParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerPruneParamsWithTimeout ¶
func NewContainerPruneParamsWithTimeout(timeout time.Duration) *ContainerPruneParams
NewContainerPruneParamsWithTimeout creates a new ContainerPruneParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerPruneParams) SetContext ¶
func (o *ContainerPruneParams) SetContext(ctx context.Context)
SetContext adds the context to the container prune params
func (*ContainerPruneParams) SetFilters ¶
func (o *ContainerPruneParams) SetFilters(filters *string)
SetFilters adds the filters to the container prune params
func (*ContainerPruneParams) SetHTTPClient ¶
func (o *ContainerPruneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container prune params
func (*ContainerPruneParams) SetTimeout ¶
func (o *ContainerPruneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container prune params
func (*ContainerPruneParams) WithContext ¶
func (o *ContainerPruneParams) WithContext(ctx context.Context) *ContainerPruneParams
WithContext adds the context to the container prune params
func (*ContainerPruneParams) WithFilters ¶
func (o *ContainerPruneParams) WithFilters(filters *string) *ContainerPruneParams
WithFilters adds the filters to the container prune params
func (*ContainerPruneParams) WithHTTPClient ¶
func (o *ContainerPruneParams) WithHTTPClient(client *http.Client) *ContainerPruneParams
WithHTTPClient adds the HTTPClient to the container prune params
func (*ContainerPruneParams) WithTimeout ¶
func (o *ContainerPruneParams) WithTimeout(timeout time.Duration) *ContainerPruneParams
WithTimeout adds the timeout to the container prune params
func (*ContainerPruneParams) WriteToRequest ¶
func (o *ContainerPruneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerPruneReader ¶
type ContainerPruneReader struct {
// contains filtered or unexported fields
}
ContainerPruneReader is a Reader for the ContainerPrune structure.
func (*ContainerPruneReader) ReadResponse ¶
func (o *ContainerPruneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerRenameConflict ¶
type ContainerRenameConflict struct {
Payload *models.ErrorResponse
}
ContainerRenameConflict handles this case with default header values.
name already in use
func NewContainerRenameConflict ¶
func NewContainerRenameConflict() *ContainerRenameConflict
NewContainerRenameConflict creates a ContainerRenameConflict with default headers values
func (*ContainerRenameConflict) Error ¶
func (o *ContainerRenameConflict) Error() string
type ContainerRenameInternalServerError ¶
type ContainerRenameInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerRenameInternalServerError handles this case with default header values.
server error
func NewContainerRenameInternalServerError ¶
func NewContainerRenameInternalServerError() *ContainerRenameInternalServerError
NewContainerRenameInternalServerError creates a ContainerRenameInternalServerError with default headers values
func (*ContainerRenameInternalServerError) Error ¶
func (o *ContainerRenameInternalServerError) Error() string
type ContainerRenameNoContent ¶
type ContainerRenameNoContent struct { }
ContainerRenameNoContent handles this case with default header values.
no error
func NewContainerRenameNoContent ¶
func NewContainerRenameNoContent() *ContainerRenameNoContent
NewContainerRenameNoContent creates a ContainerRenameNoContent with default headers values
func (*ContainerRenameNoContent) Error ¶
func (o *ContainerRenameNoContent) Error() string
type ContainerRenameNotFound ¶
type ContainerRenameNotFound struct {
Payload *models.ErrorResponse
}
ContainerRenameNotFound handles this case with default header values.
no such container
func NewContainerRenameNotFound ¶
func NewContainerRenameNotFound() *ContainerRenameNotFound
NewContainerRenameNotFound creates a ContainerRenameNotFound with default headers values
func (*ContainerRenameNotFound) Error ¶
func (o *ContainerRenameNotFound) Error() string
type ContainerRenameParams ¶
type ContainerRenameParams struct { /*ID ID or name of the container */ ID string /*Name New name for the container */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerRenameParams contains all the parameters to send to the API endpoint for the container rename operation typically these are written to a http.Request
func NewContainerRenameParams ¶
func NewContainerRenameParams() *ContainerRenameParams
NewContainerRenameParams creates a new ContainerRenameParams object with the default values initialized.
func NewContainerRenameParamsWithContext ¶
func NewContainerRenameParamsWithContext(ctx context.Context) *ContainerRenameParams
NewContainerRenameParamsWithContext creates a new ContainerRenameParams object with the default values initialized, and the ability to set a context for a request
func NewContainerRenameParamsWithHTTPClient ¶
func NewContainerRenameParamsWithHTTPClient(client *http.Client) *ContainerRenameParams
NewContainerRenameParamsWithHTTPClient creates a new ContainerRenameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerRenameParamsWithTimeout ¶
func NewContainerRenameParamsWithTimeout(timeout time.Duration) *ContainerRenameParams
NewContainerRenameParamsWithTimeout creates a new ContainerRenameParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerRenameParams) SetContext ¶
func (o *ContainerRenameParams) SetContext(ctx context.Context)
SetContext adds the context to the container rename params
func (*ContainerRenameParams) SetHTTPClient ¶
func (o *ContainerRenameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container rename params
func (*ContainerRenameParams) SetID ¶
func (o *ContainerRenameParams) SetID(id string)
SetID adds the id to the container rename params
func (*ContainerRenameParams) SetName ¶
func (o *ContainerRenameParams) SetName(name string)
SetName adds the name to the container rename params
func (*ContainerRenameParams) SetTimeout ¶
func (o *ContainerRenameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container rename params
func (*ContainerRenameParams) WithContext ¶
func (o *ContainerRenameParams) WithContext(ctx context.Context) *ContainerRenameParams
WithContext adds the context to the container rename params
func (*ContainerRenameParams) WithHTTPClient ¶
func (o *ContainerRenameParams) WithHTTPClient(client *http.Client) *ContainerRenameParams
WithHTTPClient adds the HTTPClient to the container rename params
func (*ContainerRenameParams) WithID ¶
func (o *ContainerRenameParams) WithID(id string) *ContainerRenameParams
WithID adds the id to the container rename params
func (*ContainerRenameParams) WithName ¶
func (o *ContainerRenameParams) WithName(name string) *ContainerRenameParams
WithName adds the name to the container rename params
func (*ContainerRenameParams) WithTimeout ¶
func (o *ContainerRenameParams) WithTimeout(timeout time.Duration) *ContainerRenameParams
WithTimeout adds the timeout to the container rename params
func (*ContainerRenameParams) WriteToRequest ¶
func (o *ContainerRenameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerRenameReader ¶
type ContainerRenameReader struct {
// contains filtered or unexported fields
}
ContainerRenameReader is a Reader for the ContainerRename structure.
func (*ContainerRenameReader) ReadResponse ¶
func (o *ContainerRenameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerResizeInternalServerError ¶
type ContainerResizeInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerResizeInternalServerError handles this case with default header values.
cannot resize container
func NewContainerResizeInternalServerError ¶
func NewContainerResizeInternalServerError() *ContainerResizeInternalServerError
NewContainerResizeInternalServerError creates a ContainerResizeInternalServerError with default headers values
func (*ContainerResizeInternalServerError) Error ¶
func (o *ContainerResizeInternalServerError) Error() string
type ContainerResizeNotFound ¶
type ContainerResizeNotFound struct {
Payload *models.ErrorResponse
}
ContainerResizeNotFound handles this case with default header values.
no such container
func NewContainerResizeNotFound ¶
func NewContainerResizeNotFound() *ContainerResizeNotFound
NewContainerResizeNotFound creates a ContainerResizeNotFound with default headers values
func (*ContainerResizeNotFound) Error ¶
func (o *ContainerResizeNotFound) Error() string
type ContainerResizeOK ¶
type ContainerResizeOK struct { }
ContainerResizeOK handles this case with default header values.
no error
func NewContainerResizeOK ¶
func NewContainerResizeOK() *ContainerResizeOK
NewContainerResizeOK creates a ContainerResizeOK with default headers values
func (*ContainerResizeOK) Error ¶
func (o *ContainerResizeOK) Error() string
type ContainerResizeParams ¶
type ContainerResizeParams struct { /*H Height of the tty session in characters */ H *int64 /*ID ID or name of the container */ ID string /*W Width of the tty session in characters */ W *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerResizeParams contains all the parameters to send to the API endpoint for the container resize operation typically these are written to a http.Request
func NewContainerResizeParams ¶
func NewContainerResizeParams() *ContainerResizeParams
NewContainerResizeParams creates a new ContainerResizeParams object with the default values initialized.
func NewContainerResizeParamsWithContext ¶
func NewContainerResizeParamsWithContext(ctx context.Context) *ContainerResizeParams
NewContainerResizeParamsWithContext creates a new ContainerResizeParams object with the default values initialized, and the ability to set a context for a request
func NewContainerResizeParamsWithHTTPClient ¶
func NewContainerResizeParamsWithHTTPClient(client *http.Client) *ContainerResizeParams
NewContainerResizeParamsWithHTTPClient creates a new ContainerResizeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerResizeParamsWithTimeout ¶
func NewContainerResizeParamsWithTimeout(timeout time.Duration) *ContainerResizeParams
NewContainerResizeParamsWithTimeout creates a new ContainerResizeParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerResizeParams) SetContext ¶
func (o *ContainerResizeParams) SetContext(ctx context.Context)
SetContext adds the context to the container resize params
func (*ContainerResizeParams) SetH ¶
func (o *ContainerResizeParams) SetH(h *int64)
SetH adds the h to the container resize params
func (*ContainerResizeParams) SetHTTPClient ¶
func (o *ContainerResizeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container resize params
func (*ContainerResizeParams) SetID ¶
func (o *ContainerResizeParams) SetID(id string)
SetID adds the id to the container resize params
func (*ContainerResizeParams) SetTimeout ¶
func (o *ContainerResizeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container resize params
func (*ContainerResizeParams) SetW ¶
func (o *ContainerResizeParams) SetW(w *int64)
SetW adds the w to the container resize params
func (*ContainerResizeParams) WithContext ¶
func (o *ContainerResizeParams) WithContext(ctx context.Context) *ContainerResizeParams
WithContext adds the context to the container resize params
func (*ContainerResizeParams) WithH ¶
func (o *ContainerResizeParams) WithH(h *int64) *ContainerResizeParams
WithH adds the h to the container resize params
func (*ContainerResizeParams) WithHTTPClient ¶
func (o *ContainerResizeParams) WithHTTPClient(client *http.Client) *ContainerResizeParams
WithHTTPClient adds the HTTPClient to the container resize params
func (*ContainerResizeParams) WithID ¶
func (o *ContainerResizeParams) WithID(id string) *ContainerResizeParams
WithID adds the id to the container resize params
func (*ContainerResizeParams) WithTimeout ¶
func (o *ContainerResizeParams) WithTimeout(timeout time.Duration) *ContainerResizeParams
WithTimeout adds the timeout to the container resize params
func (*ContainerResizeParams) WithW ¶
func (o *ContainerResizeParams) WithW(w *int64) *ContainerResizeParams
WithW adds the w to the container resize params
func (*ContainerResizeParams) WriteToRequest ¶
func (o *ContainerResizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerResizeReader ¶
type ContainerResizeReader struct {
// contains filtered or unexported fields
}
ContainerResizeReader is a Reader for the ContainerResize structure.
func (*ContainerResizeReader) ReadResponse ¶
func (o *ContainerResizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerRestartInternalServerError ¶
type ContainerRestartInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerRestartInternalServerError handles this case with default header values.
server error
func NewContainerRestartInternalServerError ¶
func NewContainerRestartInternalServerError() *ContainerRestartInternalServerError
NewContainerRestartInternalServerError creates a ContainerRestartInternalServerError with default headers values
func (*ContainerRestartInternalServerError) Error ¶
func (o *ContainerRestartInternalServerError) Error() string
type ContainerRestartNoContent ¶
type ContainerRestartNoContent struct { }
ContainerRestartNoContent handles this case with default header values.
no error
func NewContainerRestartNoContent ¶
func NewContainerRestartNoContent() *ContainerRestartNoContent
NewContainerRestartNoContent creates a ContainerRestartNoContent with default headers values
func (*ContainerRestartNoContent) Error ¶
func (o *ContainerRestartNoContent) Error() string
type ContainerRestartNotFound ¶
type ContainerRestartNotFound struct {
Payload *models.ErrorResponse
}
ContainerRestartNotFound handles this case with default header values.
no such container
func NewContainerRestartNotFound ¶
func NewContainerRestartNotFound() *ContainerRestartNotFound
NewContainerRestartNotFound creates a ContainerRestartNotFound with default headers values
func (*ContainerRestartNotFound) Error ¶
func (o *ContainerRestartNotFound) Error() string
type ContainerRestartParams ¶
type ContainerRestartParams struct { /*ID ID or name of the container */ ID string /*T Number of seconds to wait before killing the container */ T *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerRestartParams contains all the parameters to send to the API endpoint for the container restart operation typically these are written to a http.Request
func NewContainerRestartParams ¶
func NewContainerRestartParams() *ContainerRestartParams
NewContainerRestartParams creates a new ContainerRestartParams object with the default values initialized.
func NewContainerRestartParamsWithContext ¶
func NewContainerRestartParamsWithContext(ctx context.Context) *ContainerRestartParams
NewContainerRestartParamsWithContext creates a new ContainerRestartParams object with the default values initialized, and the ability to set a context for a request
func NewContainerRestartParamsWithHTTPClient ¶
func NewContainerRestartParamsWithHTTPClient(client *http.Client) *ContainerRestartParams
NewContainerRestartParamsWithHTTPClient creates a new ContainerRestartParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerRestartParamsWithTimeout ¶
func NewContainerRestartParamsWithTimeout(timeout time.Duration) *ContainerRestartParams
NewContainerRestartParamsWithTimeout creates a new ContainerRestartParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerRestartParams) SetContext ¶
func (o *ContainerRestartParams) SetContext(ctx context.Context)
SetContext adds the context to the container restart params
func (*ContainerRestartParams) SetHTTPClient ¶
func (o *ContainerRestartParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container restart params
func (*ContainerRestartParams) SetID ¶
func (o *ContainerRestartParams) SetID(id string)
SetID adds the id to the container restart params
func (*ContainerRestartParams) SetT ¶
func (o *ContainerRestartParams) SetT(t *int64)
SetT adds the t to the container restart params
func (*ContainerRestartParams) SetTimeout ¶
func (o *ContainerRestartParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container restart params
func (*ContainerRestartParams) WithContext ¶
func (o *ContainerRestartParams) WithContext(ctx context.Context) *ContainerRestartParams
WithContext adds the context to the container restart params
func (*ContainerRestartParams) WithHTTPClient ¶
func (o *ContainerRestartParams) WithHTTPClient(client *http.Client) *ContainerRestartParams
WithHTTPClient adds the HTTPClient to the container restart params
func (*ContainerRestartParams) WithID ¶
func (o *ContainerRestartParams) WithID(id string) *ContainerRestartParams
WithID adds the id to the container restart params
func (*ContainerRestartParams) WithT ¶
func (o *ContainerRestartParams) WithT(t *int64) *ContainerRestartParams
WithT adds the t to the container restart params
func (*ContainerRestartParams) WithTimeout ¶
func (o *ContainerRestartParams) WithTimeout(timeout time.Duration) *ContainerRestartParams
WithTimeout adds the timeout to the container restart params
func (*ContainerRestartParams) WriteToRequest ¶
func (o *ContainerRestartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerRestartReader ¶
type ContainerRestartReader struct {
// contains filtered or unexported fields
}
ContainerRestartReader is a Reader for the ContainerRestart structure.
func (*ContainerRestartReader) ReadResponse ¶
func (o *ContainerRestartReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerStartInternalServerError ¶
type ContainerStartInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerStartInternalServerError handles this case with default header values.
server error
func NewContainerStartInternalServerError ¶
func NewContainerStartInternalServerError() *ContainerStartInternalServerError
NewContainerStartInternalServerError creates a ContainerStartInternalServerError with default headers values
func (*ContainerStartInternalServerError) Error ¶
func (o *ContainerStartInternalServerError) Error() string
type ContainerStartNoContent ¶
type ContainerStartNoContent struct { }
ContainerStartNoContent handles this case with default header values.
no error
func NewContainerStartNoContent ¶
func NewContainerStartNoContent() *ContainerStartNoContent
NewContainerStartNoContent creates a ContainerStartNoContent with default headers values
func (*ContainerStartNoContent) Error ¶
func (o *ContainerStartNoContent) Error() string
type ContainerStartNotFound ¶
type ContainerStartNotFound struct {
Payload *models.ErrorResponse
}
ContainerStartNotFound handles this case with default header values.
no such container
func NewContainerStartNotFound ¶
func NewContainerStartNotFound() *ContainerStartNotFound
NewContainerStartNotFound creates a ContainerStartNotFound with default headers values
func (*ContainerStartNotFound) Error ¶
func (o *ContainerStartNotFound) Error() string
type ContainerStartNotModified ¶
type ContainerStartNotModified struct {
Payload *models.ErrorResponse
}
ContainerStartNotModified handles this case with default header values.
container already started
func NewContainerStartNotModified ¶
func NewContainerStartNotModified() *ContainerStartNotModified
NewContainerStartNotModified creates a ContainerStartNotModified with default headers values
func (*ContainerStartNotModified) Error ¶
func (o *ContainerStartNotModified) Error() string
type ContainerStartParams ¶
type ContainerStartParams struct { /*DetachKeys 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 /*ID ID or name of the container */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerStartParams contains all the parameters to send to the API endpoint for the container start operation typically these are written to a http.Request
func NewContainerStartParams ¶
func NewContainerStartParams() *ContainerStartParams
NewContainerStartParams creates a new ContainerStartParams object with the default values initialized.
func NewContainerStartParamsWithContext ¶
func NewContainerStartParamsWithContext(ctx context.Context) *ContainerStartParams
NewContainerStartParamsWithContext creates a new ContainerStartParams object with the default values initialized, and the ability to set a context for a request
func NewContainerStartParamsWithHTTPClient ¶
func NewContainerStartParamsWithHTTPClient(client *http.Client) *ContainerStartParams
NewContainerStartParamsWithHTTPClient creates a new ContainerStartParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerStartParamsWithTimeout ¶
func NewContainerStartParamsWithTimeout(timeout time.Duration) *ContainerStartParams
NewContainerStartParamsWithTimeout creates a new ContainerStartParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerStartParams) SetContext ¶
func (o *ContainerStartParams) SetContext(ctx context.Context)
SetContext adds the context to the container start params
func (*ContainerStartParams) SetDetachKeys ¶
func (o *ContainerStartParams) SetDetachKeys(detachKeys *string)
SetDetachKeys adds the detachKeys to the container start params
func (*ContainerStartParams) SetHTTPClient ¶
func (o *ContainerStartParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container start params
func (*ContainerStartParams) SetID ¶
func (o *ContainerStartParams) SetID(id string)
SetID adds the id to the container start params
func (*ContainerStartParams) SetTimeout ¶
func (o *ContainerStartParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container start params
func (*ContainerStartParams) WithContext ¶
func (o *ContainerStartParams) WithContext(ctx context.Context) *ContainerStartParams
WithContext adds the context to the container start params
func (*ContainerStartParams) WithDetachKeys ¶
func (o *ContainerStartParams) WithDetachKeys(detachKeys *string) *ContainerStartParams
WithDetachKeys adds the detachKeys to the container start params
func (*ContainerStartParams) WithHTTPClient ¶
func (o *ContainerStartParams) WithHTTPClient(client *http.Client) *ContainerStartParams
WithHTTPClient adds the HTTPClient to the container start params
func (*ContainerStartParams) WithID ¶
func (o *ContainerStartParams) WithID(id string) *ContainerStartParams
WithID adds the id to the container start params
func (*ContainerStartParams) WithTimeout ¶
func (o *ContainerStartParams) WithTimeout(timeout time.Duration) *ContainerStartParams
WithTimeout adds the timeout to the container start params
func (*ContainerStartParams) WriteToRequest ¶
func (o *ContainerStartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerStartReader ¶
type ContainerStartReader struct {
// contains filtered or unexported fields
}
ContainerStartReader is a Reader for the ContainerStart structure.
func (*ContainerStartReader) ReadResponse ¶
func (o *ContainerStartReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerStatsInternalServerError ¶
type ContainerStatsInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerStatsInternalServerError handles this case with default header values.
server error
func NewContainerStatsInternalServerError ¶
func NewContainerStatsInternalServerError() *ContainerStatsInternalServerError
NewContainerStatsInternalServerError creates a ContainerStatsInternalServerError with default headers values
func (*ContainerStatsInternalServerError) Error ¶
func (o *ContainerStatsInternalServerError) Error() string
type ContainerStatsNotFound ¶
type ContainerStatsNotFound struct {
Payload *models.ErrorResponse
}
ContainerStatsNotFound handles this case with default header values.
no such container
func NewContainerStatsNotFound ¶
func NewContainerStatsNotFound() *ContainerStatsNotFound
NewContainerStatsNotFound creates a ContainerStatsNotFound with default headers values
func (*ContainerStatsNotFound) Error ¶
func (o *ContainerStatsNotFound) Error() string
type ContainerStatsOK ¶
type ContainerStatsOK struct {
Payload interface{}
}
ContainerStatsOK handles this case with default header values.
no error
func NewContainerStatsOK ¶
func NewContainerStatsOK() *ContainerStatsOK
NewContainerStatsOK creates a ContainerStatsOK with default headers values
func (*ContainerStatsOK) Error ¶
func (o *ContainerStatsOK) Error() string
type ContainerStatsParams ¶
type ContainerStatsParams struct { /*ID ID or name of the container */ ID string /*Stream Stream the output. If false, the stats will be output once and then it will disconnect. */ Stream *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerStatsParams contains all the parameters to send to the API endpoint for the container stats operation typically these are written to a http.Request
func NewContainerStatsParams ¶
func NewContainerStatsParams() *ContainerStatsParams
NewContainerStatsParams creates a new ContainerStatsParams object with the default values initialized.
func NewContainerStatsParamsWithContext ¶
func NewContainerStatsParamsWithContext(ctx context.Context) *ContainerStatsParams
NewContainerStatsParamsWithContext creates a new ContainerStatsParams object with the default values initialized, and the ability to set a context for a request
func NewContainerStatsParamsWithHTTPClient ¶
func NewContainerStatsParamsWithHTTPClient(client *http.Client) *ContainerStatsParams
NewContainerStatsParamsWithHTTPClient creates a new ContainerStatsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerStatsParamsWithTimeout ¶
func NewContainerStatsParamsWithTimeout(timeout time.Duration) *ContainerStatsParams
NewContainerStatsParamsWithTimeout creates a new ContainerStatsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerStatsParams) SetContext ¶
func (o *ContainerStatsParams) SetContext(ctx context.Context)
SetContext adds the context to the container stats params
func (*ContainerStatsParams) SetHTTPClient ¶
func (o *ContainerStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container stats params
func (*ContainerStatsParams) SetID ¶
func (o *ContainerStatsParams) SetID(id string)
SetID adds the id to the container stats params
func (*ContainerStatsParams) SetStream ¶
func (o *ContainerStatsParams) SetStream(stream *bool)
SetStream adds the stream to the container stats params
func (*ContainerStatsParams) SetTimeout ¶
func (o *ContainerStatsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container stats params
func (*ContainerStatsParams) WithContext ¶
func (o *ContainerStatsParams) WithContext(ctx context.Context) *ContainerStatsParams
WithContext adds the context to the container stats params
func (*ContainerStatsParams) WithHTTPClient ¶
func (o *ContainerStatsParams) WithHTTPClient(client *http.Client) *ContainerStatsParams
WithHTTPClient adds the HTTPClient to the container stats params
func (*ContainerStatsParams) WithID ¶
func (o *ContainerStatsParams) WithID(id string) *ContainerStatsParams
WithID adds the id to the container stats params
func (*ContainerStatsParams) WithStream ¶
func (o *ContainerStatsParams) WithStream(stream *bool) *ContainerStatsParams
WithStream adds the stream to the container stats params
func (*ContainerStatsParams) WithTimeout ¶
func (o *ContainerStatsParams) WithTimeout(timeout time.Duration) *ContainerStatsParams
WithTimeout adds the timeout to the container stats params
func (*ContainerStatsParams) WriteToRequest ¶
func (o *ContainerStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerStatsReader ¶
type ContainerStatsReader struct {
// contains filtered or unexported fields
}
ContainerStatsReader is a Reader for the ContainerStats structure.
func (*ContainerStatsReader) ReadResponse ¶
func (o *ContainerStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerStopInternalServerError ¶
type ContainerStopInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerStopInternalServerError handles this case with default header values.
server error
func NewContainerStopInternalServerError ¶
func NewContainerStopInternalServerError() *ContainerStopInternalServerError
NewContainerStopInternalServerError creates a ContainerStopInternalServerError with default headers values
func (*ContainerStopInternalServerError) Error ¶
func (o *ContainerStopInternalServerError) Error() string
type ContainerStopNoContent ¶
type ContainerStopNoContent struct { }
ContainerStopNoContent handles this case with default header values.
no error
func NewContainerStopNoContent ¶
func NewContainerStopNoContent() *ContainerStopNoContent
NewContainerStopNoContent creates a ContainerStopNoContent with default headers values
func (*ContainerStopNoContent) Error ¶
func (o *ContainerStopNoContent) Error() string
type ContainerStopNotFound ¶
type ContainerStopNotFound struct {
Payload *models.ErrorResponse
}
ContainerStopNotFound handles this case with default header values.
no such container
func NewContainerStopNotFound ¶
func NewContainerStopNotFound() *ContainerStopNotFound
NewContainerStopNotFound creates a ContainerStopNotFound with default headers values
func (*ContainerStopNotFound) Error ¶
func (o *ContainerStopNotFound) Error() string
type ContainerStopNotModified ¶
type ContainerStopNotModified struct {
Payload *models.ErrorResponse
}
ContainerStopNotModified handles this case with default header values.
container already stopped
func NewContainerStopNotModified ¶
func NewContainerStopNotModified() *ContainerStopNotModified
NewContainerStopNotModified creates a ContainerStopNotModified with default headers values
func (*ContainerStopNotModified) Error ¶
func (o *ContainerStopNotModified) Error() string
type ContainerStopParams ¶
type ContainerStopParams struct { /*ID ID or name of the container */ ID string /*T Number of seconds to wait before killing the container */ T *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerStopParams contains all the parameters to send to the API endpoint for the container stop operation typically these are written to a http.Request
func NewContainerStopParams ¶
func NewContainerStopParams() *ContainerStopParams
NewContainerStopParams creates a new ContainerStopParams object with the default values initialized.
func NewContainerStopParamsWithContext ¶
func NewContainerStopParamsWithContext(ctx context.Context) *ContainerStopParams
NewContainerStopParamsWithContext creates a new ContainerStopParams object with the default values initialized, and the ability to set a context for a request
func NewContainerStopParamsWithHTTPClient ¶
func NewContainerStopParamsWithHTTPClient(client *http.Client) *ContainerStopParams
NewContainerStopParamsWithHTTPClient creates a new ContainerStopParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerStopParamsWithTimeout ¶
func NewContainerStopParamsWithTimeout(timeout time.Duration) *ContainerStopParams
NewContainerStopParamsWithTimeout creates a new ContainerStopParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerStopParams) SetContext ¶
func (o *ContainerStopParams) SetContext(ctx context.Context)
SetContext adds the context to the container stop params
func (*ContainerStopParams) SetHTTPClient ¶
func (o *ContainerStopParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container stop params
func (*ContainerStopParams) SetID ¶
func (o *ContainerStopParams) SetID(id string)
SetID adds the id to the container stop params
func (*ContainerStopParams) SetT ¶
func (o *ContainerStopParams) SetT(t *int64)
SetT adds the t to the container stop params
func (*ContainerStopParams) SetTimeout ¶
func (o *ContainerStopParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container stop params
func (*ContainerStopParams) WithContext ¶
func (o *ContainerStopParams) WithContext(ctx context.Context) *ContainerStopParams
WithContext adds the context to the container stop params
func (*ContainerStopParams) WithHTTPClient ¶
func (o *ContainerStopParams) WithHTTPClient(client *http.Client) *ContainerStopParams
WithHTTPClient adds the HTTPClient to the container stop params
func (*ContainerStopParams) WithID ¶
func (o *ContainerStopParams) WithID(id string) *ContainerStopParams
WithID adds the id to the container stop params
func (*ContainerStopParams) WithT ¶
func (o *ContainerStopParams) WithT(t *int64) *ContainerStopParams
WithT adds the t to the container stop params
func (*ContainerStopParams) WithTimeout ¶
func (o *ContainerStopParams) WithTimeout(timeout time.Duration) *ContainerStopParams
WithTimeout adds the timeout to the container stop params
func (*ContainerStopParams) WriteToRequest ¶
func (o *ContainerStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerStopReader ¶
type ContainerStopReader struct {
// contains filtered or unexported fields
}
ContainerStopReader is a Reader for the ContainerStop structure.
func (*ContainerStopReader) ReadResponse ¶
func (o *ContainerStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerTopInternalServerError ¶
type ContainerTopInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerTopInternalServerError handles this case with default header values.
server error
func NewContainerTopInternalServerError ¶
func NewContainerTopInternalServerError() *ContainerTopInternalServerError
NewContainerTopInternalServerError creates a ContainerTopInternalServerError with default headers values
func (*ContainerTopInternalServerError) Error ¶
func (o *ContainerTopInternalServerError) Error() string
type ContainerTopNotFound ¶
type ContainerTopNotFound struct {
Payload *models.ErrorResponse
}
ContainerTopNotFound handles this case with default header values.
no such container
func NewContainerTopNotFound ¶
func NewContainerTopNotFound() *ContainerTopNotFound
NewContainerTopNotFound creates a ContainerTopNotFound with default headers values
func (*ContainerTopNotFound) Error ¶
func (o *ContainerTopNotFound) Error() string
type ContainerTopOK ¶
type ContainerTopOK struct {
Payload *ContainerTopOKBody
}
ContainerTopOK handles this case with default header values.
no error
func NewContainerTopOK ¶
func NewContainerTopOK() *ContainerTopOK
NewContainerTopOK creates a ContainerTopOK with default headers values
func (*ContainerTopOK) Error ¶
func (o *ContainerTopOK) Error() string
type ContainerTopOKBody ¶
type ContainerTopOKBody struct { // Each process running in the container, where each is process is an array of values corresponding to the titles Processes [][]string `json:"Processes"` // The ps column titles Titles []string `json:"Titles"` }
ContainerTopOKBody ContainerTopResponse // // OK response to ContainerTop operation swagger:model ContainerTopOKBody
func (*ContainerTopOKBody) MarshalBinary ¶
func (o *ContainerTopOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerTopOKBody) UnmarshalBinary ¶
func (o *ContainerTopOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerTopParams ¶
type ContainerTopParams struct { /*ID ID or name of the container */ ID string /*PsArgs The arguments to pass to `ps`. For example, `aux` */ PsArgs *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerTopParams contains all the parameters to send to the API endpoint for the container top operation typically these are written to a http.Request
func NewContainerTopParams ¶
func NewContainerTopParams() *ContainerTopParams
NewContainerTopParams creates a new ContainerTopParams object with the default values initialized.
func NewContainerTopParamsWithContext ¶
func NewContainerTopParamsWithContext(ctx context.Context) *ContainerTopParams
NewContainerTopParamsWithContext creates a new ContainerTopParams object with the default values initialized, and the ability to set a context for a request
func NewContainerTopParamsWithHTTPClient ¶
func NewContainerTopParamsWithHTTPClient(client *http.Client) *ContainerTopParams
NewContainerTopParamsWithHTTPClient creates a new ContainerTopParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerTopParamsWithTimeout ¶
func NewContainerTopParamsWithTimeout(timeout time.Duration) *ContainerTopParams
NewContainerTopParamsWithTimeout creates a new ContainerTopParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerTopParams) SetContext ¶
func (o *ContainerTopParams) SetContext(ctx context.Context)
SetContext adds the context to the container top params
func (*ContainerTopParams) SetHTTPClient ¶
func (o *ContainerTopParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container top params
func (*ContainerTopParams) SetID ¶
func (o *ContainerTopParams) SetID(id string)
SetID adds the id to the container top params
func (*ContainerTopParams) SetPsArgs ¶
func (o *ContainerTopParams) SetPsArgs(psArgs *string)
SetPsArgs adds the psArgs to the container top params
func (*ContainerTopParams) SetTimeout ¶
func (o *ContainerTopParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container top params
func (*ContainerTopParams) WithContext ¶
func (o *ContainerTopParams) WithContext(ctx context.Context) *ContainerTopParams
WithContext adds the context to the container top params
func (*ContainerTopParams) WithHTTPClient ¶
func (o *ContainerTopParams) WithHTTPClient(client *http.Client) *ContainerTopParams
WithHTTPClient adds the HTTPClient to the container top params
func (*ContainerTopParams) WithID ¶
func (o *ContainerTopParams) WithID(id string) *ContainerTopParams
WithID adds the id to the container top params
func (*ContainerTopParams) WithPsArgs ¶
func (o *ContainerTopParams) WithPsArgs(psArgs *string) *ContainerTopParams
WithPsArgs adds the psArgs to the container top params
func (*ContainerTopParams) WithTimeout ¶
func (o *ContainerTopParams) WithTimeout(timeout time.Duration) *ContainerTopParams
WithTimeout adds the timeout to the container top params
func (*ContainerTopParams) WriteToRequest ¶
func (o *ContainerTopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerTopReader ¶
type ContainerTopReader struct {
// contains filtered or unexported fields
}
ContainerTopReader is a Reader for the ContainerTop structure.
func (*ContainerTopReader) ReadResponse ¶
func (o *ContainerTopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerUnpauseInternalServerError ¶
type ContainerUnpauseInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerUnpauseInternalServerError handles this case with default header values.
server error
func NewContainerUnpauseInternalServerError ¶
func NewContainerUnpauseInternalServerError() *ContainerUnpauseInternalServerError
NewContainerUnpauseInternalServerError creates a ContainerUnpauseInternalServerError with default headers values
func (*ContainerUnpauseInternalServerError) Error ¶
func (o *ContainerUnpauseInternalServerError) Error() string
type ContainerUnpauseNoContent ¶
type ContainerUnpauseNoContent struct { }
ContainerUnpauseNoContent handles this case with default header values.
no error
func NewContainerUnpauseNoContent ¶
func NewContainerUnpauseNoContent() *ContainerUnpauseNoContent
NewContainerUnpauseNoContent creates a ContainerUnpauseNoContent with default headers values
func (*ContainerUnpauseNoContent) Error ¶
func (o *ContainerUnpauseNoContent) Error() string
type ContainerUnpauseNotFound ¶
type ContainerUnpauseNotFound struct {
Payload *models.ErrorResponse
}
ContainerUnpauseNotFound handles this case with default header values.
no such container
func NewContainerUnpauseNotFound ¶
func NewContainerUnpauseNotFound() *ContainerUnpauseNotFound
NewContainerUnpauseNotFound creates a ContainerUnpauseNotFound with default headers values
func (*ContainerUnpauseNotFound) Error ¶
func (o *ContainerUnpauseNotFound) Error() string
type ContainerUnpauseParams ¶
type ContainerUnpauseParams struct { /*ID ID or name of the container */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerUnpauseParams contains all the parameters to send to the API endpoint for the container unpause operation typically these are written to a http.Request
func NewContainerUnpauseParams ¶
func NewContainerUnpauseParams() *ContainerUnpauseParams
NewContainerUnpauseParams creates a new ContainerUnpauseParams object with the default values initialized.
func NewContainerUnpauseParamsWithContext ¶
func NewContainerUnpauseParamsWithContext(ctx context.Context) *ContainerUnpauseParams
NewContainerUnpauseParamsWithContext creates a new ContainerUnpauseParams object with the default values initialized, and the ability to set a context for a request
func NewContainerUnpauseParamsWithHTTPClient ¶
func NewContainerUnpauseParamsWithHTTPClient(client *http.Client) *ContainerUnpauseParams
NewContainerUnpauseParamsWithHTTPClient creates a new ContainerUnpauseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerUnpauseParamsWithTimeout ¶
func NewContainerUnpauseParamsWithTimeout(timeout time.Duration) *ContainerUnpauseParams
NewContainerUnpauseParamsWithTimeout creates a new ContainerUnpauseParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerUnpauseParams) SetContext ¶
func (o *ContainerUnpauseParams) SetContext(ctx context.Context)
SetContext adds the context to the container unpause params
func (*ContainerUnpauseParams) SetHTTPClient ¶
func (o *ContainerUnpauseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container unpause params
func (*ContainerUnpauseParams) SetID ¶
func (o *ContainerUnpauseParams) SetID(id string)
SetID adds the id to the container unpause params
func (*ContainerUnpauseParams) SetTimeout ¶
func (o *ContainerUnpauseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container unpause params
func (*ContainerUnpauseParams) WithContext ¶
func (o *ContainerUnpauseParams) WithContext(ctx context.Context) *ContainerUnpauseParams
WithContext adds the context to the container unpause params
func (*ContainerUnpauseParams) WithHTTPClient ¶
func (o *ContainerUnpauseParams) WithHTTPClient(client *http.Client) *ContainerUnpauseParams
WithHTTPClient adds the HTTPClient to the container unpause params
func (*ContainerUnpauseParams) WithID ¶
func (o *ContainerUnpauseParams) WithID(id string) *ContainerUnpauseParams
WithID adds the id to the container unpause params
func (*ContainerUnpauseParams) WithTimeout ¶
func (o *ContainerUnpauseParams) WithTimeout(timeout time.Duration) *ContainerUnpauseParams
WithTimeout adds the timeout to the container unpause params
func (*ContainerUnpauseParams) WriteToRequest ¶
func (o *ContainerUnpauseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerUnpauseReader ¶
type ContainerUnpauseReader struct {
// contains filtered or unexported fields
}
ContainerUnpauseReader is a Reader for the ContainerUnpause structure.
func (*ContainerUnpauseReader) ReadResponse ¶
func (o *ContainerUnpauseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerUpdateBody ¶
type ContainerUpdateBody struct { models.Resources // restart policy RestartPolicy *models.RestartPolicy `json:"RestartPolicy,omitempty"` }
ContainerUpdateBody container update body swagger:model ContainerUpdateBody
func (*ContainerUpdateBody) MarshalBinary ¶
func (o *ContainerUpdateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ContainerUpdateBody) MarshalJSON ¶
func (o ContainerUpdateBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ContainerUpdateBody) UnmarshalBinary ¶
func (o *ContainerUpdateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ContainerUpdateBody) UnmarshalJSON ¶
func (o *ContainerUpdateBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ContainerUpdateInternalServerError ¶
type ContainerUpdateInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerUpdateInternalServerError handles this case with default header values.
server error
func NewContainerUpdateInternalServerError ¶
func NewContainerUpdateInternalServerError() *ContainerUpdateInternalServerError
NewContainerUpdateInternalServerError creates a ContainerUpdateInternalServerError with default headers values
func (*ContainerUpdateInternalServerError) Error ¶
func (o *ContainerUpdateInternalServerError) Error() string
type ContainerUpdateNotFound ¶
type ContainerUpdateNotFound struct {
Payload *models.ErrorResponse
}
ContainerUpdateNotFound handles this case with default header values.
no such container
func NewContainerUpdateNotFound ¶
func NewContainerUpdateNotFound() *ContainerUpdateNotFound
NewContainerUpdateNotFound creates a ContainerUpdateNotFound with default headers values
func (*ContainerUpdateNotFound) Error ¶
func (o *ContainerUpdateNotFound) Error() string
type ContainerUpdateOK ¶
type ContainerUpdateOK struct {
Payload *ContainerUpdateOKBody
}
ContainerUpdateOK handles this case with default header values.
The container has been updated.
func NewContainerUpdateOK ¶
func NewContainerUpdateOK() *ContainerUpdateOK
NewContainerUpdateOK creates a ContainerUpdateOK with default headers values
func (*ContainerUpdateOK) Error ¶
func (o *ContainerUpdateOK) Error() string
type ContainerUpdateOKBody ¶
type ContainerUpdateOKBody struct { // warnings Warnings []string `json:"Warnings"` }
ContainerUpdateOKBody ContainerUpdateResponse // // OK response to ContainerUpdate operation swagger:model ContainerUpdateOKBody
func (*ContainerUpdateOKBody) MarshalBinary ¶
func (o *ContainerUpdateOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerUpdateOKBody) UnmarshalBinary ¶
func (o *ContainerUpdateOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerUpdateParams ¶
type ContainerUpdateParams struct { /*ID ID or name of the container */ ID string /*Update*/ Update ContainerUpdateBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerUpdateParams contains all the parameters to send to the API endpoint for the container update operation typically these are written to a http.Request
func NewContainerUpdateParams ¶
func NewContainerUpdateParams() *ContainerUpdateParams
NewContainerUpdateParams creates a new ContainerUpdateParams object with the default values initialized.
func NewContainerUpdateParamsWithContext ¶
func NewContainerUpdateParamsWithContext(ctx context.Context) *ContainerUpdateParams
NewContainerUpdateParamsWithContext creates a new ContainerUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewContainerUpdateParamsWithHTTPClient ¶
func NewContainerUpdateParamsWithHTTPClient(client *http.Client) *ContainerUpdateParams
NewContainerUpdateParamsWithHTTPClient creates a new ContainerUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerUpdateParamsWithTimeout ¶
func NewContainerUpdateParamsWithTimeout(timeout time.Duration) *ContainerUpdateParams
NewContainerUpdateParamsWithTimeout creates a new ContainerUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerUpdateParams) SetContext ¶
func (o *ContainerUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the container update params
func (*ContainerUpdateParams) SetHTTPClient ¶
func (o *ContainerUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container update params
func (*ContainerUpdateParams) SetID ¶
func (o *ContainerUpdateParams) SetID(id string)
SetID adds the id to the container update params
func (*ContainerUpdateParams) SetTimeout ¶
func (o *ContainerUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container update params
func (*ContainerUpdateParams) SetUpdate ¶
func (o *ContainerUpdateParams) SetUpdate(update ContainerUpdateBody)
SetUpdate adds the update to the container update params
func (*ContainerUpdateParams) WithContext ¶
func (o *ContainerUpdateParams) WithContext(ctx context.Context) *ContainerUpdateParams
WithContext adds the context to the container update params
func (*ContainerUpdateParams) WithHTTPClient ¶
func (o *ContainerUpdateParams) WithHTTPClient(client *http.Client) *ContainerUpdateParams
WithHTTPClient adds the HTTPClient to the container update params
func (*ContainerUpdateParams) WithID ¶
func (o *ContainerUpdateParams) WithID(id string) *ContainerUpdateParams
WithID adds the id to the container update params
func (*ContainerUpdateParams) WithTimeout ¶
func (o *ContainerUpdateParams) WithTimeout(timeout time.Duration) *ContainerUpdateParams
WithTimeout adds the timeout to the container update params
func (*ContainerUpdateParams) WithUpdate ¶
func (o *ContainerUpdateParams) WithUpdate(update ContainerUpdateBody) *ContainerUpdateParams
WithUpdate adds the update to the container update params
func (*ContainerUpdateParams) WriteToRequest ¶
func (o *ContainerUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerUpdateReader ¶
type ContainerUpdateReader struct {
// contains filtered or unexported fields
}
ContainerUpdateReader is a Reader for the ContainerUpdate structure.
func (*ContainerUpdateReader) ReadResponse ¶
func (o *ContainerUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerWaitInternalServerError ¶
type ContainerWaitInternalServerError struct {
Payload *models.ErrorResponse
}
ContainerWaitInternalServerError handles this case with default header values.
server error
func NewContainerWaitInternalServerError ¶
func NewContainerWaitInternalServerError() *ContainerWaitInternalServerError
NewContainerWaitInternalServerError creates a ContainerWaitInternalServerError with default headers values
func (*ContainerWaitInternalServerError) Error ¶
func (o *ContainerWaitInternalServerError) Error() string
type ContainerWaitNotFound ¶
type ContainerWaitNotFound struct {
Payload *models.ErrorResponse
}
ContainerWaitNotFound handles this case with default header values.
no such container
func NewContainerWaitNotFound ¶
func NewContainerWaitNotFound() *ContainerWaitNotFound
NewContainerWaitNotFound creates a ContainerWaitNotFound with default headers values
func (*ContainerWaitNotFound) Error ¶
func (o *ContainerWaitNotFound) Error() string
type ContainerWaitOK ¶
type ContainerWaitOK struct {
Payload *ContainerWaitOKBody
}
ContainerWaitOK handles this case with default header values.
The container has exit.
func NewContainerWaitOK ¶
func NewContainerWaitOK() *ContainerWaitOK
NewContainerWaitOK creates a ContainerWaitOK with default headers values
func (*ContainerWaitOK) Error ¶
func (o *ContainerWaitOK) Error() string
type ContainerWaitOKBody ¶
type ContainerWaitOKBody struct { // error Error *ContainerWaitOKBodyError `json:"Error,omitempty"` // Exit code of the container // Required: true StatusCode int64 `json:"StatusCode"` }
ContainerWaitOKBody ContainerWaitResponse // // OK response to ContainerWait operation swagger:model ContainerWaitOKBody
func (*ContainerWaitOKBody) MarshalBinary ¶
func (o *ContainerWaitOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerWaitOKBody) UnmarshalBinary ¶
func (o *ContainerWaitOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerWaitOKBodyError ¶
type ContainerWaitOKBodyError struct { // Details of an error Message string `json:"Message,omitempty"` }
ContainerWaitOKBodyError container waiting error, if any swagger:model ContainerWaitOKBodyError
func (*ContainerWaitOKBodyError) MarshalBinary ¶
func (o *ContainerWaitOKBodyError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerWaitOKBodyError) UnmarshalBinary ¶
func (o *ContainerWaitOKBodyError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerWaitParams ¶
type ContainerWaitParams struct { /*Condition Wait until a container state reaches the given condition, either 'not-running' (default), 'next-exit', or 'removed'. */ Condition *string /*ID ID or name of the container */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerWaitParams contains all the parameters to send to the API endpoint for the container wait operation typically these are written to a http.Request
func NewContainerWaitParams ¶
func NewContainerWaitParams() *ContainerWaitParams
NewContainerWaitParams creates a new ContainerWaitParams object with the default values initialized.
func NewContainerWaitParamsWithContext ¶
func NewContainerWaitParamsWithContext(ctx context.Context) *ContainerWaitParams
NewContainerWaitParamsWithContext creates a new ContainerWaitParams object with the default values initialized, and the ability to set a context for a request
func NewContainerWaitParamsWithHTTPClient ¶
func NewContainerWaitParamsWithHTTPClient(client *http.Client) *ContainerWaitParams
NewContainerWaitParamsWithHTTPClient creates a new ContainerWaitParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewContainerWaitParamsWithTimeout ¶
func NewContainerWaitParamsWithTimeout(timeout time.Duration) *ContainerWaitParams
NewContainerWaitParamsWithTimeout creates a new ContainerWaitParams object with the default values initialized, and the ability to set a timeout on a request
func (*ContainerWaitParams) SetCondition ¶
func (o *ContainerWaitParams) SetCondition(condition *string)
SetCondition adds the condition to the container wait params
func (*ContainerWaitParams) SetContext ¶
func (o *ContainerWaitParams) SetContext(ctx context.Context)
SetContext adds the context to the container wait params
func (*ContainerWaitParams) SetHTTPClient ¶
func (o *ContainerWaitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container wait params
func (*ContainerWaitParams) SetID ¶
func (o *ContainerWaitParams) SetID(id string)
SetID adds the id to the container wait params
func (*ContainerWaitParams) SetTimeout ¶
func (o *ContainerWaitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container wait params
func (*ContainerWaitParams) WithCondition ¶
func (o *ContainerWaitParams) WithCondition(condition *string) *ContainerWaitParams
WithCondition adds the condition to the container wait params
func (*ContainerWaitParams) WithContext ¶
func (o *ContainerWaitParams) WithContext(ctx context.Context) *ContainerWaitParams
WithContext adds the context to the container wait params
func (*ContainerWaitParams) WithHTTPClient ¶
func (o *ContainerWaitParams) WithHTTPClient(client *http.Client) *ContainerWaitParams
WithHTTPClient adds the HTTPClient to the container wait params
func (*ContainerWaitParams) WithID ¶
func (o *ContainerWaitParams) WithID(id string) *ContainerWaitParams
WithID adds the id to the container wait params
func (*ContainerWaitParams) WithTimeout ¶
func (o *ContainerWaitParams) WithTimeout(timeout time.Duration) *ContainerWaitParams
WithTimeout adds the timeout to the container wait params
func (*ContainerWaitParams) WriteToRequest ¶
func (o *ContainerWaitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerWaitReader ¶
type ContainerWaitReader struct {
// contains filtered or unexported fields
}
ContainerWaitReader is a Reader for the ContainerWait structure.
func (*ContainerWaitReader) ReadResponse ¶
func (o *ContainerWaitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutContainerArchiveBadRequest ¶
type PutContainerArchiveBadRequest struct {
Payload *models.ErrorResponse
}
PutContainerArchiveBadRequest handles this case with default header values.
Bad parameter
func NewPutContainerArchiveBadRequest ¶
func NewPutContainerArchiveBadRequest() *PutContainerArchiveBadRequest
NewPutContainerArchiveBadRequest creates a PutContainerArchiveBadRequest with default headers values
func (*PutContainerArchiveBadRequest) Error ¶
func (o *PutContainerArchiveBadRequest) Error() string
type PutContainerArchiveForbidden ¶
type PutContainerArchiveForbidden struct {
Payload *models.ErrorResponse
}
PutContainerArchiveForbidden handles this case with default header values.
Permission denied, the volume or container rootfs is marked as read-only.
func NewPutContainerArchiveForbidden ¶
func NewPutContainerArchiveForbidden() *PutContainerArchiveForbidden
NewPutContainerArchiveForbidden creates a PutContainerArchiveForbidden with default headers values
func (*PutContainerArchiveForbidden) Error ¶
func (o *PutContainerArchiveForbidden) Error() string
type PutContainerArchiveInternalServerError ¶
type PutContainerArchiveInternalServerError struct {
Payload *models.ErrorResponse
}
PutContainerArchiveInternalServerError handles this case with default header values.
Server error
func NewPutContainerArchiveInternalServerError ¶
func NewPutContainerArchiveInternalServerError() *PutContainerArchiveInternalServerError
NewPutContainerArchiveInternalServerError creates a PutContainerArchiveInternalServerError with default headers values
func (*PutContainerArchiveInternalServerError) Error ¶
func (o *PutContainerArchiveInternalServerError) Error() string
type PutContainerArchiveNotFound ¶
type PutContainerArchiveNotFound struct {
Payload *models.ErrorResponse
}
PutContainerArchiveNotFound handles this case with default header values.
No such container or path does not exist inside the container
func NewPutContainerArchiveNotFound ¶
func NewPutContainerArchiveNotFound() *PutContainerArchiveNotFound
NewPutContainerArchiveNotFound creates a PutContainerArchiveNotFound with default headers values
func (*PutContainerArchiveNotFound) Error ¶
func (o *PutContainerArchiveNotFound) Error() string
type PutContainerArchiveOK ¶
type PutContainerArchiveOK struct { }
PutContainerArchiveOK handles this case with default header values.
The content was extracted successfully
func NewPutContainerArchiveOK ¶
func NewPutContainerArchiveOK() *PutContainerArchiveOK
NewPutContainerArchiveOK creates a PutContainerArchiveOK with default headers values
func (*PutContainerArchiveOK) Error ¶
func (o *PutContainerArchiveOK) Error() string
type PutContainerArchiveParams ¶
type PutContainerArchiveParams struct { /*ID ID or name of the container */ ID string /*InputStream The input stream must be a tar archive compressed with one of the following algorithms: identity (no compression), gzip, bzip2, xz. */ InputStream string /*NoOverwriteDirNonDir If “1”, “true”, or “True” then it will be an error if unpacking the given content would cause an existing directory to be replaced with a non-directory and vice versa. */ NoOverwriteDirNonDir *string /*Path Path to a directory in the container to extract the archive’s contents into. */ Path string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutContainerArchiveParams contains all the parameters to send to the API endpoint for the put container archive operation typically these are written to a http.Request
func NewPutContainerArchiveParams ¶
func NewPutContainerArchiveParams() *PutContainerArchiveParams
NewPutContainerArchiveParams creates a new PutContainerArchiveParams object with the default values initialized.
func NewPutContainerArchiveParamsWithContext ¶
func NewPutContainerArchiveParamsWithContext(ctx context.Context) *PutContainerArchiveParams
NewPutContainerArchiveParamsWithContext creates a new PutContainerArchiveParams object with the default values initialized, and the ability to set a context for a request
func NewPutContainerArchiveParamsWithHTTPClient ¶
func NewPutContainerArchiveParamsWithHTTPClient(client *http.Client) *PutContainerArchiveParams
NewPutContainerArchiveParamsWithHTTPClient creates a new PutContainerArchiveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutContainerArchiveParamsWithTimeout ¶
func NewPutContainerArchiveParamsWithTimeout(timeout time.Duration) *PutContainerArchiveParams
NewPutContainerArchiveParamsWithTimeout creates a new PutContainerArchiveParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutContainerArchiveParams) SetContext ¶
func (o *PutContainerArchiveParams) SetContext(ctx context.Context)
SetContext adds the context to the put container archive params
func (*PutContainerArchiveParams) SetHTTPClient ¶
func (o *PutContainerArchiveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put container archive params
func (*PutContainerArchiveParams) SetID ¶
func (o *PutContainerArchiveParams) SetID(id string)
SetID adds the id to the put container archive params
func (*PutContainerArchiveParams) SetInputStream ¶
func (o *PutContainerArchiveParams) SetInputStream(inputStream string)
SetInputStream adds the inputStream to the put container archive params
func (*PutContainerArchiveParams) SetNoOverwriteDirNonDir ¶
func (o *PutContainerArchiveParams) SetNoOverwriteDirNonDir(noOverwriteDirNonDir *string)
SetNoOverwriteDirNonDir adds the noOverwriteDirNonDir to the put container archive params
func (*PutContainerArchiveParams) SetPath ¶
func (o *PutContainerArchiveParams) SetPath(path string)
SetPath adds the path to the put container archive params
func (*PutContainerArchiveParams) SetTimeout ¶
func (o *PutContainerArchiveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put container archive params
func (*PutContainerArchiveParams) WithContext ¶
func (o *PutContainerArchiveParams) WithContext(ctx context.Context) *PutContainerArchiveParams
WithContext adds the context to the put container archive params
func (*PutContainerArchiveParams) WithHTTPClient ¶
func (o *PutContainerArchiveParams) WithHTTPClient(client *http.Client) *PutContainerArchiveParams
WithHTTPClient adds the HTTPClient to the put container archive params
func (*PutContainerArchiveParams) WithID ¶
func (o *PutContainerArchiveParams) WithID(id string) *PutContainerArchiveParams
WithID adds the id to the put container archive params
func (*PutContainerArchiveParams) WithInputStream ¶
func (o *PutContainerArchiveParams) WithInputStream(inputStream string) *PutContainerArchiveParams
WithInputStream adds the inputStream to the put container archive params
func (*PutContainerArchiveParams) WithNoOverwriteDirNonDir ¶
func (o *PutContainerArchiveParams) WithNoOverwriteDirNonDir(noOverwriteDirNonDir *string) *PutContainerArchiveParams
WithNoOverwriteDirNonDir adds the noOverwriteDirNonDir to the put container archive params
func (*PutContainerArchiveParams) WithPath ¶
func (o *PutContainerArchiveParams) WithPath(path string) *PutContainerArchiveParams
WithPath adds the path to the put container archive params
func (*PutContainerArchiveParams) WithTimeout ¶
func (o *PutContainerArchiveParams) WithTimeout(timeout time.Duration) *PutContainerArchiveParams
WithTimeout adds the timeout to the put container archive params
func (*PutContainerArchiveParams) WriteToRequest ¶
func (o *PutContainerArchiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutContainerArchiveReader ¶
type PutContainerArchiveReader struct {
// contains filtered or unexported fields
}
PutContainerArchiveReader is a Reader for the PutContainerArchive structure.
func (*PutContainerArchiveReader) ReadResponse ¶
func (o *PutContainerArchiveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- container_archive_info_parameters.go
- container_archive_info_responses.go
- container_archive_parameters.go
- container_archive_responses.go
- container_attach_parameters.go
- container_attach_responses.go
- container_attach_websocket_parameters.go
- container_attach_websocket_responses.go
- container_changes_parameters.go
- container_changes_responses.go
- container_client.go
- container_create_parameters.go
- container_create_responses.go
- container_delete_parameters.go
- container_delete_responses.go
- container_export_parameters.go
- container_export_responses.go
- container_inspect_parameters.go
- container_inspect_responses.go
- container_kill_parameters.go
- container_kill_responses.go
- container_list_parameters.go
- container_list_responses.go
- container_logs_parameters.go
- container_logs_responses.go
- container_pause_parameters.go
- container_pause_responses.go
- container_prune_parameters.go
- container_prune_responses.go
- container_rename_parameters.go
- container_rename_responses.go
- container_resize_parameters.go
- container_resize_responses.go
- container_restart_parameters.go
- container_restart_responses.go
- container_start_parameters.go
- container_start_responses.go
- container_stats_parameters.go
- container_stats_responses.go
- container_stop_parameters.go
- container_stop_responses.go
- container_top_parameters.go
- container_top_responses.go
- container_unpause_parameters.go
- container_unpause_responses.go
- container_update_parameters.go
- container_update_responses.go
- container_wait_parameters.go
- container_wait_responses.go
- put_container_archive_parameters.go
- put_container_archive_responses.go