Documentation ¶
Index ¶
- type Client
- func (a *Client) ContainerArchive(params *ContainerArchiveParams, writer io.Writer, opts ...ClientOption) (*ContainerArchiveOK, error)
- func (a *Client) ContainerArchiveLibpod(params *ContainerArchiveLibpodParams, writer io.Writer, opts ...ClientOption) (*ContainerArchiveLibpodOK, error)
- func (a *Client) ContainerAttach(params *ContainerAttachParams, opts ...ClientOption) error
- func (a *Client) ContainerCreate(params *ContainerCreateParams, opts ...ClientOption) (*ContainerCreateCreated, error)
- func (a *Client) ContainerDelete(params *ContainerDeleteParams, opts ...ClientOption) (*ContainerDeleteNoContent, error)
- func (a *Client) ContainerExport(params *ContainerExportParams, opts ...ClientOption) (*ContainerExportOK, error)
- func (a *Client) ContainerInspect(params *ContainerInspectParams, opts ...ClientOption) (*ContainerInspectOK, error)
- func (a *Client) ContainerKill(params *ContainerKillParams, opts ...ClientOption) (*ContainerKillNoContent, error)
- func (a *Client) ContainerList(params *ContainerListParams, opts ...ClientOption) (*ContainerListOK, error)
- func (a *Client) ContainerLogs(params *ContainerLogsParams, opts ...ClientOption) (*ContainerLogsOK, error)
- func (a *Client) ContainerPause(params *ContainerPauseParams, opts ...ClientOption) (*ContainerPauseNoContent, error)
- func (a *Client) ContainerPrune(params *ContainerPruneParams, opts ...ClientOption) (*ContainerPruneOK, error)
- func (a *Client) ContainerRename(params *ContainerRenameParams, opts ...ClientOption) (*ContainerRenameNoContent, error)
- func (a *Client) ContainerResize(params *ContainerResizeParams, opts ...ClientOption) (*ContainerResizeOK, error)
- func (a *Client) ContainerRestart(params *ContainerRestartParams, opts ...ClientOption) (*ContainerRestartNoContent, error)
- func (a *Client) ContainerStart(params *ContainerStartParams, opts ...ClientOption) (*ContainerStartNoContent, error)
- func (a *Client) ContainerStats(params *ContainerStatsParams, opts ...ClientOption) (*ContainerStatsOK, error)
- func (a *Client) ContainerStop(params *ContainerStopParams, opts ...ClientOption) (*ContainerStopNoContent, error)
- func (a *Client) ContainerTop(params *ContainerTopParams, opts ...ClientOption) (*ContainerTopOK, error)
- func (a *Client) ContainerUnpause(params *ContainerUnpauseParams, opts ...ClientOption) (*ContainerUnpauseNoContent, error)
- func (a *Client) ContainerWait(params *ContainerWaitParams, opts ...ClientOption) (*ContainerWaitOK, error)
- func (a *Client) ImageCommit(params *ImageCommitParams, opts ...ClientOption) (*ImageCommitCreated, error)
- func (a *Client) PutContainerArchive(params *PutContainerArchiveParams, opts ...ClientOption) (*PutContainerArchiveOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ContainerArchiveBadRequest
- func (o *ContainerArchiveBadRequest) Error() string
- func (o *ContainerArchiveBadRequest) GetPayload() *ContainerArchiveBadRequestBody
- func (o *ContainerArchiveBadRequest) IsClientError() bool
- func (o *ContainerArchiveBadRequest) IsCode(code int) bool
- func (o *ContainerArchiveBadRequest) IsRedirect() bool
- func (o *ContainerArchiveBadRequest) IsServerError() bool
- func (o *ContainerArchiveBadRequest) IsSuccess() bool
- func (o *ContainerArchiveBadRequest) String() string
- type ContainerArchiveBadRequestBody
- func (o *ContainerArchiveBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerArchiveBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ContainerArchiveBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ContainerArchiveBadRequestBody) Validate(formats strfmt.Registry) error
- type ContainerArchiveInternalServerError
- func (o *ContainerArchiveInternalServerError) Error() string
- func (o *ContainerArchiveInternalServerError) GetPayload() *ContainerArchiveInternalServerErrorBody
- func (o *ContainerArchiveInternalServerError) IsClientError() bool
- func (o *ContainerArchiveInternalServerError) IsCode(code int) bool
- func (o *ContainerArchiveInternalServerError) IsRedirect() bool
- func (o *ContainerArchiveInternalServerError) IsServerError() bool
- func (o *ContainerArchiveInternalServerError) IsSuccess() bool
- func (o *ContainerArchiveInternalServerError) String() string
- type ContainerArchiveInternalServerErrorBody
- func (o *ContainerArchiveInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerArchiveInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerArchiveInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerArchiveInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerArchiveLibpodBadRequest
- func (o *ContainerArchiveLibpodBadRequest) Error() string
- func (o *ContainerArchiveLibpodBadRequest) GetPayload() *ContainerArchiveLibpodBadRequestBody
- func (o *ContainerArchiveLibpodBadRequest) IsClientError() bool
- func (o *ContainerArchiveLibpodBadRequest) IsCode(code int) bool
- func (o *ContainerArchiveLibpodBadRequest) IsRedirect() bool
- func (o *ContainerArchiveLibpodBadRequest) IsServerError() bool
- func (o *ContainerArchiveLibpodBadRequest) IsSuccess() bool
- func (o *ContainerArchiveLibpodBadRequest) String() string
- type ContainerArchiveLibpodBadRequestBody
- func (o *ContainerArchiveLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerArchiveLibpodBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ContainerArchiveLibpodBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ContainerArchiveLibpodBadRequestBody) Validate(formats strfmt.Registry) error
- type ContainerArchiveLibpodInternalServerError
- func (o *ContainerArchiveLibpodInternalServerError) Error() string
- func (o *ContainerArchiveLibpodInternalServerError) GetPayload() *ContainerArchiveLibpodInternalServerErrorBody
- func (o *ContainerArchiveLibpodInternalServerError) IsClientError() bool
- func (o *ContainerArchiveLibpodInternalServerError) IsCode(code int) bool
- func (o *ContainerArchiveLibpodInternalServerError) IsRedirect() bool
- func (o *ContainerArchiveLibpodInternalServerError) IsServerError() bool
- func (o *ContainerArchiveLibpodInternalServerError) IsSuccess() bool
- func (o *ContainerArchiveLibpodInternalServerError) String() string
- type ContainerArchiveLibpodInternalServerErrorBody
- func (o *ContainerArchiveLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerArchiveLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerArchiveLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerArchiveLibpodInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerArchiveLibpodNotFound
- func (o *ContainerArchiveLibpodNotFound) Error() string
- func (o *ContainerArchiveLibpodNotFound) GetPayload() *ContainerArchiveLibpodNotFoundBody
- func (o *ContainerArchiveLibpodNotFound) IsClientError() bool
- func (o *ContainerArchiveLibpodNotFound) IsCode(code int) bool
- func (o *ContainerArchiveLibpodNotFound) IsRedirect() bool
- func (o *ContainerArchiveLibpodNotFound) IsServerError() bool
- func (o *ContainerArchiveLibpodNotFound) IsSuccess() bool
- func (o *ContainerArchiveLibpodNotFound) String() string
- type ContainerArchiveLibpodNotFoundBody
- func (o *ContainerArchiveLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerArchiveLibpodNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerArchiveLibpodNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerArchiveLibpodNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerArchiveLibpodOK
- func (o *ContainerArchiveLibpodOK) Error() string
- func (o *ContainerArchiveLibpodOK) GetPayload() io.Writer
- func (o *ContainerArchiveLibpodOK) IsClientError() bool
- func (o *ContainerArchiveLibpodOK) IsCode(code int) bool
- func (o *ContainerArchiveLibpodOK) IsRedirect() bool
- func (o *ContainerArchiveLibpodOK) IsServerError() bool
- func (o *ContainerArchiveLibpodOK) IsSuccess() bool
- func (o *ContainerArchiveLibpodOK) String() string
- type ContainerArchiveLibpodParams
- func NewContainerArchiveLibpodParams() *ContainerArchiveLibpodParams
- func NewContainerArchiveLibpodParamsWithContext(ctx context.Context) *ContainerArchiveLibpodParams
- func NewContainerArchiveLibpodParamsWithHTTPClient(client *http.Client) *ContainerArchiveLibpodParams
- func NewContainerArchiveLibpodParamsWithTimeout(timeout time.Duration) *ContainerArchiveLibpodParams
- func (o *ContainerArchiveLibpodParams) SetContext(ctx context.Context)
- func (o *ContainerArchiveLibpodParams) SetDefaults()
- func (o *ContainerArchiveLibpodParams) SetHTTPClient(client *http.Client)
- func (o *ContainerArchiveLibpodParams) SetName(name string)
- func (o *ContainerArchiveLibpodParams) SetPath(path string)
- func (o *ContainerArchiveLibpodParams) SetRename(rename *string)
- func (o *ContainerArchiveLibpodParams) SetTimeout(timeout time.Duration)
- func (o *ContainerArchiveLibpodParams) WithContext(ctx context.Context) *ContainerArchiveLibpodParams
- func (o *ContainerArchiveLibpodParams) WithDefaults() *ContainerArchiveLibpodParams
- func (o *ContainerArchiveLibpodParams) WithHTTPClient(client *http.Client) *ContainerArchiveLibpodParams
- func (o *ContainerArchiveLibpodParams) WithName(name string) *ContainerArchiveLibpodParams
- func (o *ContainerArchiveLibpodParams) WithPath(path string) *ContainerArchiveLibpodParams
- func (o *ContainerArchiveLibpodParams) WithRename(rename *string) *ContainerArchiveLibpodParams
- func (o *ContainerArchiveLibpodParams) WithTimeout(timeout time.Duration) *ContainerArchiveLibpodParams
- func (o *ContainerArchiveLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerArchiveLibpodReader
- type ContainerArchiveNotFound
- func (o *ContainerArchiveNotFound) Error() string
- func (o *ContainerArchiveNotFound) GetPayload() *ContainerArchiveNotFoundBody
- func (o *ContainerArchiveNotFound) IsClientError() bool
- func (o *ContainerArchiveNotFound) IsCode(code int) bool
- func (o *ContainerArchiveNotFound) IsRedirect() bool
- func (o *ContainerArchiveNotFound) IsServerError() bool
- func (o *ContainerArchiveNotFound) IsSuccess() bool
- func (o *ContainerArchiveNotFound) String() string
- type ContainerArchiveNotFoundBody
- func (o *ContainerArchiveNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerArchiveNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerArchiveNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerArchiveNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerArchiveOK
- func (o *ContainerArchiveOK) Error() string
- func (o *ContainerArchiveOK) GetPayload() io.Writer
- func (o *ContainerArchiveOK) IsClientError() bool
- func (o *ContainerArchiveOK) IsCode(code int) bool
- func (o *ContainerArchiveOK) IsRedirect() bool
- func (o *ContainerArchiveOK) IsServerError() bool
- func (o *ContainerArchiveOK) IsSuccess() bool
- func (o *ContainerArchiveOK) String() string
- 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) SetDefaults()
- func (o *ContainerArchiveParams) SetHTTPClient(client *http.Client)
- func (o *ContainerArchiveParams) SetName(name 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) WithDefaults() *ContainerArchiveParams
- func (o *ContainerArchiveParams) WithHTTPClient(client *http.Client) *ContainerArchiveParams
- func (o *ContainerArchiveParams) WithName(name 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
- func (o *ContainerAttachBadRequest) Error() string
- func (o *ContainerAttachBadRequest) GetPayload() *ContainerAttachBadRequestBody
- func (o *ContainerAttachBadRequest) IsClientError() bool
- func (o *ContainerAttachBadRequest) IsCode(code int) bool
- func (o *ContainerAttachBadRequest) IsRedirect() bool
- func (o *ContainerAttachBadRequest) IsServerError() bool
- func (o *ContainerAttachBadRequest) IsSuccess() bool
- func (o *ContainerAttachBadRequest) String() string
- type ContainerAttachBadRequestBody
- func (o *ContainerAttachBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerAttachBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ContainerAttachBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ContainerAttachBadRequestBody) Validate(formats strfmt.Registry) error
- type ContainerAttachInternalServerError
- func (o *ContainerAttachInternalServerError) Error() string
- func (o *ContainerAttachInternalServerError) GetPayload() *ContainerAttachInternalServerErrorBody
- func (o *ContainerAttachInternalServerError) IsClientError() bool
- func (o *ContainerAttachInternalServerError) IsCode(code int) bool
- func (o *ContainerAttachInternalServerError) IsRedirect() bool
- func (o *ContainerAttachInternalServerError) IsServerError() bool
- func (o *ContainerAttachInternalServerError) IsSuccess() bool
- func (o *ContainerAttachInternalServerError) String() string
- type ContainerAttachInternalServerErrorBody
- func (o *ContainerAttachInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerAttachInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerAttachInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerAttachInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerAttachNotFound
- func (o *ContainerAttachNotFound) Error() string
- func (o *ContainerAttachNotFound) GetPayload() *ContainerAttachNotFoundBody
- func (o *ContainerAttachNotFound) IsClientError() bool
- func (o *ContainerAttachNotFound) IsCode(code int) bool
- func (o *ContainerAttachNotFound) IsRedirect() bool
- func (o *ContainerAttachNotFound) IsServerError() bool
- func (o *ContainerAttachNotFound) IsSuccess() bool
- func (o *ContainerAttachNotFound) String() string
- type ContainerAttachNotFoundBody
- func (o *ContainerAttachNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerAttachNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerAttachNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerAttachNotFoundBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- func (o *ContainerAttachParams) SetDetachKeys(detachKeys *string)
- func (o *ContainerAttachParams) SetHTTPClient(client *http.Client)
- func (o *ContainerAttachParams) SetLogs(logs *bool)
- func (o *ContainerAttachParams) SetName(name string)
- 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) WithDefaults() *ContainerAttachParams
- func (o *ContainerAttachParams) WithDetachKeys(detachKeys *string) *ContainerAttachParams
- func (o *ContainerAttachParams) WithHTTPClient(client *http.Client) *ContainerAttachParams
- func (o *ContainerAttachParams) WithLogs(logs *bool) *ContainerAttachParams
- func (o *ContainerAttachParams) WithName(name string) *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
- func (o *ContainerAttachSwitchingProtocols) Error() string
- func (o *ContainerAttachSwitchingProtocols) IsClientError() bool
- func (o *ContainerAttachSwitchingProtocols) IsCode(code int) bool
- func (o *ContainerAttachSwitchingProtocols) IsRedirect() bool
- func (o *ContainerAttachSwitchingProtocols) IsServerError() bool
- func (o *ContainerAttachSwitchingProtocols) IsSuccess() bool
- func (o *ContainerAttachSwitchingProtocols) String() string
- type ContainerCreateBadRequest
- func (o *ContainerCreateBadRequest) Error() string
- func (o *ContainerCreateBadRequest) GetPayload() *ContainerCreateBadRequestBody
- func (o *ContainerCreateBadRequest) IsClientError() bool
- func (o *ContainerCreateBadRequest) IsCode(code int) bool
- func (o *ContainerCreateBadRequest) IsRedirect() bool
- func (o *ContainerCreateBadRequest) IsServerError() bool
- func (o *ContainerCreateBadRequest) IsSuccess() bool
- func (o *ContainerCreateBadRequest) String() string
- type ContainerCreateBadRequestBody
- func (o *ContainerCreateBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerCreateBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ContainerCreateBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ContainerCreateBadRequestBody) Validate(formats strfmt.Registry) error
- type ContainerCreateConflict
- func (o *ContainerCreateConflict) Error() string
- func (o *ContainerCreateConflict) GetPayload() *ContainerCreateConflictBody
- func (o *ContainerCreateConflict) IsClientError() bool
- func (o *ContainerCreateConflict) IsCode(code int) bool
- func (o *ContainerCreateConflict) IsRedirect() bool
- func (o *ContainerCreateConflict) IsServerError() bool
- func (o *ContainerCreateConflict) IsSuccess() bool
- func (o *ContainerCreateConflict) String() string
- type ContainerCreateConflictBody
- func (o *ContainerCreateConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerCreateConflictBody) MarshalBinary() ([]byte, error)
- func (o *ContainerCreateConflictBody) UnmarshalBinary(b []byte) error
- func (o *ContainerCreateConflictBody) Validate(formats strfmt.Registry) error
- type ContainerCreateCreated
- func (o *ContainerCreateCreated) Error() string
- func (o *ContainerCreateCreated) GetPayload() *ContainerCreateCreatedBody
- func (o *ContainerCreateCreated) IsClientError() bool
- func (o *ContainerCreateCreated) IsCode(code int) bool
- func (o *ContainerCreateCreated) IsRedirect() bool
- func (o *ContainerCreateCreated) IsServerError() bool
- func (o *ContainerCreateCreated) IsSuccess() bool
- func (o *ContainerCreateCreated) String() string
- type ContainerCreateCreatedBody
- func (o *ContainerCreateCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerCreateCreatedBody) MarshalBinary() ([]byte, error)
- func (o *ContainerCreateCreatedBody) UnmarshalBinary(b []byte) error
- func (o *ContainerCreateCreatedBody) Validate(formats strfmt.Registry) error
- type ContainerCreateInternalServerError
- func (o *ContainerCreateInternalServerError) Error() string
- func (o *ContainerCreateInternalServerError) GetPayload() *ContainerCreateInternalServerErrorBody
- func (o *ContainerCreateInternalServerError) IsClientError() bool
- func (o *ContainerCreateInternalServerError) IsCode(code int) bool
- func (o *ContainerCreateInternalServerError) IsRedirect() bool
- func (o *ContainerCreateInternalServerError) IsServerError() bool
- func (o *ContainerCreateInternalServerError) IsSuccess() bool
- func (o *ContainerCreateInternalServerError) String() string
- type ContainerCreateInternalServerErrorBody
- func (o *ContainerCreateInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerCreateInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerCreateInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerCreateInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerCreateNotFound
- func (o *ContainerCreateNotFound) Error() string
- func (o *ContainerCreateNotFound) GetPayload() *ContainerCreateNotFoundBody
- func (o *ContainerCreateNotFound) IsClientError() bool
- func (o *ContainerCreateNotFound) IsCode(code int) bool
- func (o *ContainerCreateNotFound) IsRedirect() bool
- func (o *ContainerCreateNotFound) IsServerError() bool
- func (o *ContainerCreateNotFound) IsSuccess() bool
- func (o *ContainerCreateNotFound) String() string
- type ContainerCreateNotFoundBody
- func (o *ContainerCreateNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerCreateNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerCreateNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerCreateNotFoundBody) Validate(formats strfmt.Registry) error
- 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 *models.CreateContainerConfig)
- func (o *ContainerCreateParams) SetContext(ctx context.Context)
- func (o *ContainerCreateParams) SetDefaults()
- 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 *models.CreateContainerConfig) *ContainerCreateParams
- func (o *ContainerCreateParams) WithContext(ctx context.Context) *ContainerCreateParams
- func (o *ContainerCreateParams) WithDefaults() *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 ContainerCreateReader
- type ContainerDeleteBadRequest
- func (o *ContainerDeleteBadRequest) Error() string
- func (o *ContainerDeleteBadRequest) GetPayload() *ContainerDeleteBadRequestBody
- func (o *ContainerDeleteBadRequest) IsClientError() bool
- func (o *ContainerDeleteBadRequest) IsCode(code int) bool
- func (o *ContainerDeleteBadRequest) IsRedirect() bool
- func (o *ContainerDeleteBadRequest) IsServerError() bool
- func (o *ContainerDeleteBadRequest) IsSuccess() bool
- func (o *ContainerDeleteBadRequest) String() string
- type ContainerDeleteBadRequestBody
- func (o *ContainerDeleteBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerDeleteBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ContainerDeleteBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ContainerDeleteBadRequestBody) Validate(formats strfmt.Registry) error
- type ContainerDeleteConflict
- func (o *ContainerDeleteConflict) Error() string
- func (o *ContainerDeleteConflict) GetPayload() *ContainerDeleteConflictBody
- func (o *ContainerDeleteConflict) IsClientError() bool
- func (o *ContainerDeleteConflict) IsCode(code int) bool
- func (o *ContainerDeleteConflict) IsRedirect() bool
- func (o *ContainerDeleteConflict) IsServerError() bool
- func (o *ContainerDeleteConflict) IsSuccess() bool
- func (o *ContainerDeleteConflict) String() string
- type ContainerDeleteConflictBody
- func (o *ContainerDeleteConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerDeleteConflictBody) MarshalBinary() ([]byte, error)
- func (o *ContainerDeleteConflictBody) UnmarshalBinary(b []byte) error
- func (o *ContainerDeleteConflictBody) Validate(formats strfmt.Registry) error
- type ContainerDeleteInternalServerError
- func (o *ContainerDeleteInternalServerError) Error() string
- func (o *ContainerDeleteInternalServerError) GetPayload() *ContainerDeleteInternalServerErrorBody
- func (o *ContainerDeleteInternalServerError) IsClientError() bool
- func (o *ContainerDeleteInternalServerError) IsCode(code int) bool
- func (o *ContainerDeleteInternalServerError) IsRedirect() bool
- func (o *ContainerDeleteInternalServerError) IsServerError() bool
- func (o *ContainerDeleteInternalServerError) IsSuccess() bool
- func (o *ContainerDeleteInternalServerError) String() string
- type ContainerDeleteInternalServerErrorBody
- func (o *ContainerDeleteInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerDeleteInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerDeleteInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerDeleteInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerDeleteNoContent
- func (o *ContainerDeleteNoContent) Error() string
- func (o *ContainerDeleteNoContent) IsClientError() bool
- func (o *ContainerDeleteNoContent) IsCode(code int) bool
- func (o *ContainerDeleteNoContent) IsRedirect() bool
- func (o *ContainerDeleteNoContent) IsServerError() bool
- func (o *ContainerDeleteNoContent) IsSuccess() bool
- func (o *ContainerDeleteNoContent) String() string
- type ContainerDeleteNotFound
- func (o *ContainerDeleteNotFound) Error() string
- func (o *ContainerDeleteNotFound) GetPayload() *ContainerDeleteNotFoundBody
- func (o *ContainerDeleteNotFound) IsClientError() bool
- func (o *ContainerDeleteNotFound) IsCode(code int) bool
- func (o *ContainerDeleteNotFound) IsRedirect() bool
- func (o *ContainerDeleteNotFound) IsServerError() bool
- func (o *ContainerDeleteNotFound) IsSuccess() bool
- func (o *ContainerDeleteNotFound) String() string
- type ContainerDeleteNotFoundBody
- func (o *ContainerDeleteNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerDeleteNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerDeleteNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerDeleteNotFoundBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- func (o *ContainerDeleteParams) SetForce(force *bool)
- func (o *ContainerDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ContainerDeleteParams) SetLink(link *bool)
- func (o *ContainerDeleteParams) SetName(name string)
- func (o *ContainerDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ContainerDeleteParams) SetV(v *bool)
- func (o *ContainerDeleteParams) WithContext(ctx context.Context) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithDefaults() *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithForce(force *bool) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithHTTPClient(client *http.Client) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithLink(link *bool) *ContainerDeleteParams
- func (o *ContainerDeleteParams) WithName(name string) *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
- func (o *ContainerExportInternalServerError) Error() string
- func (o *ContainerExportInternalServerError) GetPayload() *ContainerExportInternalServerErrorBody
- func (o *ContainerExportInternalServerError) IsClientError() bool
- func (o *ContainerExportInternalServerError) IsCode(code int) bool
- func (o *ContainerExportInternalServerError) IsRedirect() bool
- func (o *ContainerExportInternalServerError) IsServerError() bool
- func (o *ContainerExportInternalServerError) IsSuccess() bool
- func (o *ContainerExportInternalServerError) String() string
- type ContainerExportInternalServerErrorBody
- func (o *ContainerExportInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerExportInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerExportInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerExportInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerExportNotFound
- func (o *ContainerExportNotFound) Error() string
- func (o *ContainerExportNotFound) GetPayload() *ContainerExportNotFoundBody
- func (o *ContainerExportNotFound) IsClientError() bool
- func (o *ContainerExportNotFound) IsCode(code int) bool
- func (o *ContainerExportNotFound) IsRedirect() bool
- func (o *ContainerExportNotFound) IsServerError() bool
- func (o *ContainerExportNotFound) IsSuccess() bool
- func (o *ContainerExportNotFound) String() string
- type ContainerExportNotFoundBody
- func (o *ContainerExportNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerExportNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerExportNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerExportNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerExportOK
- func (o *ContainerExportOK) Error() string
- func (o *ContainerExportOK) IsClientError() bool
- func (o *ContainerExportOK) IsCode(code int) bool
- func (o *ContainerExportOK) IsRedirect() bool
- func (o *ContainerExportOK) IsServerError() bool
- func (o *ContainerExportOK) IsSuccess() bool
- func (o *ContainerExportOK) String() string
- 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) SetDefaults()
- func (o *ContainerExportParams) SetHTTPClient(client *http.Client)
- func (o *ContainerExportParams) SetName(name string)
- func (o *ContainerExportParams) SetTimeout(timeout time.Duration)
- func (o *ContainerExportParams) WithContext(ctx context.Context) *ContainerExportParams
- func (o *ContainerExportParams) WithDefaults() *ContainerExportParams
- func (o *ContainerExportParams) WithHTTPClient(client *http.Client) *ContainerExportParams
- func (o *ContainerExportParams) WithName(name 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
- func (o *ContainerInspectInternalServerError) Error() string
- func (o *ContainerInspectInternalServerError) GetPayload() *ContainerInspectInternalServerErrorBody
- func (o *ContainerInspectInternalServerError) IsClientError() bool
- func (o *ContainerInspectInternalServerError) IsCode(code int) bool
- func (o *ContainerInspectInternalServerError) IsRedirect() bool
- func (o *ContainerInspectInternalServerError) IsServerError() bool
- func (o *ContainerInspectInternalServerError) IsSuccess() bool
- func (o *ContainerInspectInternalServerError) String() string
- type ContainerInspectInternalServerErrorBody
- func (o *ContainerInspectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerInspectInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerInspectInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerInspectInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerInspectNotFound
- func (o *ContainerInspectNotFound) Error() string
- func (o *ContainerInspectNotFound) GetPayload() *ContainerInspectNotFoundBody
- func (o *ContainerInspectNotFound) IsClientError() bool
- func (o *ContainerInspectNotFound) IsCode(code int) bool
- func (o *ContainerInspectNotFound) IsRedirect() bool
- func (o *ContainerInspectNotFound) IsServerError() bool
- func (o *ContainerInspectNotFound) IsSuccess() bool
- func (o *ContainerInspectNotFound) String() string
- type ContainerInspectNotFoundBody
- func (o *ContainerInspectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerInspectNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerInspectNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerInspectNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerInspectOK
- func (o *ContainerInspectOK) Error() string
- func (o *ContainerInspectOK) GetPayload() *ContainerInspectOKBody
- func (o *ContainerInspectOK) IsClientError() bool
- func (o *ContainerInspectOK) IsCode(code int) bool
- func (o *ContainerInspectOK) IsRedirect() bool
- func (o *ContainerInspectOK) IsServerError() bool
- func (o *ContainerInspectOK) IsSuccess() bool
- func (o *ContainerInspectOK) String() string
- type ContainerInspectOKBody
- func (o *ContainerInspectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerInspectOKBody) MarshalBinary() ([]byte, error)
- func (o *ContainerInspectOKBody) UnmarshalBinary(b []byte) error
- func (o *ContainerInspectOKBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- func (o *ContainerInspectParams) SetHTTPClient(client *http.Client)
- func (o *ContainerInspectParams) SetName(name 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) WithDefaults() *ContainerInspectParams
- func (o *ContainerInspectParams) WithHTTPClient(client *http.Client) *ContainerInspectParams
- func (o *ContainerInspectParams) WithName(name 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
- func (o *ContainerKillConflict) Error() string
- func (o *ContainerKillConflict) GetPayload() *ContainerKillConflictBody
- func (o *ContainerKillConflict) IsClientError() bool
- func (o *ContainerKillConflict) IsCode(code int) bool
- func (o *ContainerKillConflict) IsRedirect() bool
- func (o *ContainerKillConflict) IsServerError() bool
- func (o *ContainerKillConflict) IsSuccess() bool
- func (o *ContainerKillConflict) String() string
- type ContainerKillConflictBody
- func (o *ContainerKillConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerKillConflictBody) MarshalBinary() ([]byte, error)
- func (o *ContainerKillConflictBody) UnmarshalBinary(b []byte) error
- func (o *ContainerKillConflictBody) Validate(formats strfmt.Registry) error
- type ContainerKillInternalServerError
- func (o *ContainerKillInternalServerError) Error() string
- func (o *ContainerKillInternalServerError) GetPayload() *ContainerKillInternalServerErrorBody
- func (o *ContainerKillInternalServerError) IsClientError() bool
- func (o *ContainerKillInternalServerError) IsCode(code int) bool
- func (o *ContainerKillInternalServerError) IsRedirect() bool
- func (o *ContainerKillInternalServerError) IsServerError() bool
- func (o *ContainerKillInternalServerError) IsSuccess() bool
- func (o *ContainerKillInternalServerError) String() string
- type ContainerKillInternalServerErrorBody
- func (o *ContainerKillInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerKillInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerKillInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerKillInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerKillNoContent
- func (o *ContainerKillNoContent) Error() string
- func (o *ContainerKillNoContent) IsClientError() bool
- func (o *ContainerKillNoContent) IsCode(code int) bool
- func (o *ContainerKillNoContent) IsRedirect() bool
- func (o *ContainerKillNoContent) IsServerError() bool
- func (o *ContainerKillNoContent) IsSuccess() bool
- func (o *ContainerKillNoContent) String() string
- type ContainerKillNotFound
- func (o *ContainerKillNotFound) Error() string
- func (o *ContainerKillNotFound) GetPayload() *ContainerKillNotFoundBody
- func (o *ContainerKillNotFound) IsClientError() bool
- func (o *ContainerKillNotFound) IsCode(code int) bool
- func (o *ContainerKillNotFound) IsRedirect() bool
- func (o *ContainerKillNotFound) IsServerError() bool
- func (o *ContainerKillNotFound) IsSuccess() bool
- func (o *ContainerKillNotFound) String() string
- type ContainerKillNotFoundBody
- func (o *ContainerKillNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerKillNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerKillNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerKillNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerKillParams
- func (o *ContainerKillParams) SetAll(all *bool)
- func (o *ContainerKillParams) SetContext(ctx context.Context)
- func (o *ContainerKillParams) SetDefaults()
- func (o *ContainerKillParams) SetHTTPClient(client *http.Client)
- func (o *ContainerKillParams) SetName(name string)
- func (o *ContainerKillParams) SetSignal(signal *string)
- func (o *ContainerKillParams) SetTimeout(timeout time.Duration)
- func (o *ContainerKillParams) WithAll(all *bool) *ContainerKillParams
- func (o *ContainerKillParams) WithContext(ctx context.Context) *ContainerKillParams
- func (o *ContainerKillParams) WithDefaults() *ContainerKillParams
- func (o *ContainerKillParams) WithHTTPClient(client *http.Client) *ContainerKillParams
- func (o *ContainerKillParams) WithName(name 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
- func (o *ContainerListBadRequest) Error() string
- func (o *ContainerListBadRequest) GetPayload() *ContainerListBadRequestBody
- func (o *ContainerListBadRequest) IsClientError() bool
- func (o *ContainerListBadRequest) IsCode(code int) bool
- func (o *ContainerListBadRequest) IsRedirect() bool
- func (o *ContainerListBadRequest) IsServerError() bool
- func (o *ContainerListBadRequest) IsSuccess() bool
- func (o *ContainerListBadRequest) String() string
- type ContainerListBadRequestBody
- func (o *ContainerListBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerListBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ContainerListBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ContainerListBadRequestBody) Validate(formats strfmt.Registry) error
- type ContainerListInternalServerError
- func (o *ContainerListInternalServerError) Error() string
- func (o *ContainerListInternalServerError) GetPayload() *ContainerListInternalServerErrorBody
- func (o *ContainerListInternalServerError) IsClientError() bool
- func (o *ContainerListInternalServerError) IsCode(code int) bool
- func (o *ContainerListInternalServerError) IsRedirect() bool
- func (o *ContainerListInternalServerError) IsServerError() bool
- func (o *ContainerListInternalServerError) IsSuccess() bool
- func (o *ContainerListInternalServerError) String() string
- type ContainerListInternalServerErrorBody
- func (o *ContainerListInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerListInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerListInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerListInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerListOK
- func (o *ContainerListOK) Error() string
- func (o *ContainerListOK) GetPayload() interface{}
- func (o *ContainerListOK) IsClientError() bool
- func (o *ContainerListOK) IsCode(code int) bool
- func (o *ContainerListOK) IsRedirect() bool
- func (o *ContainerListOK) IsServerError() bool
- func (o *ContainerListOK) IsSuccess() bool
- func (o *ContainerListOK) String() string
- type ContainerListParams
- func (o *ContainerListParams) SetAll(all *bool)
- func (o *ContainerListParams) SetContext(ctx context.Context)
- func (o *ContainerListParams) SetDefaults()
- func (o *ContainerListParams) SetExternal(external *bool)
- 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) WithDefaults() *ContainerListParams
- func (o *ContainerListParams) WithExternal(external *bool) *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
- func (o *ContainerLogsInternalServerError) Error() string
- func (o *ContainerLogsInternalServerError) GetPayload() *ContainerLogsInternalServerErrorBody
- func (o *ContainerLogsInternalServerError) IsClientError() bool
- func (o *ContainerLogsInternalServerError) IsCode(code int) bool
- func (o *ContainerLogsInternalServerError) IsRedirect() bool
- func (o *ContainerLogsInternalServerError) IsServerError() bool
- func (o *ContainerLogsInternalServerError) IsSuccess() bool
- func (o *ContainerLogsInternalServerError) String() string
- type ContainerLogsInternalServerErrorBody
- func (o *ContainerLogsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerLogsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerLogsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerLogsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerLogsNotFound
- func (o *ContainerLogsNotFound) Error() string
- func (o *ContainerLogsNotFound) GetPayload() *ContainerLogsNotFoundBody
- func (o *ContainerLogsNotFound) IsClientError() bool
- func (o *ContainerLogsNotFound) IsCode(code int) bool
- func (o *ContainerLogsNotFound) IsRedirect() bool
- func (o *ContainerLogsNotFound) IsServerError() bool
- func (o *ContainerLogsNotFound) IsSuccess() bool
- func (o *ContainerLogsNotFound) String() string
- type ContainerLogsNotFoundBody
- func (o *ContainerLogsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerLogsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerLogsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerLogsNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerLogsOK
- func (o *ContainerLogsOK) Error() string
- func (o *ContainerLogsOK) IsClientError() bool
- func (o *ContainerLogsOK) IsCode(code int) bool
- func (o *ContainerLogsOK) IsRedirect() bool
- func (o *ContainerLogsOK) IsServerError() bool
- func (o *ContainerLogsOK) IsSuccess() bool
- func (o *ContainerLogsOK) String() string
- type ContainerLogsParams
- func (o *ContainerLogsParams) SetContext(ctx context.Context)
- func (o *ContainerLogsParams) SetDefaults()
- func (o *ContainerLogsParams) SetFollow(follow *bool)
- func (o *ContainerLogsParams) SetHTTPClient(client *http.Client)
- func (o *ContainerLogsParams) SetName(name string)
- func (o *ContainerLogsParams) SetSince(since *string)
- 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 *string)
- func (o *ContainerLogsParams) WithContext(ctx context.Context) *ContainerLogsParams
- func (o *ContainerLogsParams) WithDefaults() *ContainerLogsParams
- func (o *ContainerLogsParams) WithFollow(follow *bool) *ContainerLogsParams
- func (o *ContainerLogsParams) WithHTTPClient(client *http.Client) *ContainerLogsParams
- func (o *ContainerLogsParams) WithName(name string) *ContainerLogsParams
- func (o *ContainerLogsParams) WithSince(since *string) *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 *string) *ContainerLogsParams
- func (o *ContainerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerLogsReader
- type ContainerPauseInternalServerError
- func (o *ContainerPauseInternalServerError) Error() string
- func (o *ContainerPauseInternalServerError) GetPayload() *ContainerPauseInternalServerErrorBody
- func (o *ContainerPauseInternalServerError) IsClientError() bool
- func (o *ContainerPauseInternalServerError) IsCode(code int) bool
- func (o *ContainerPauseInternalServerError) IsRedirect() bool
- func (o *ContainerPauseInternalServerError) IsServerError() bool
- func (o *ContainerPauseInternalServerError) IsSuccess() bool
- func (o *ContainerPauseInternalServerError) String() string
- type ContainerPauseInternalServerErrorBody
- func (o *ContainerPauseInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerPauseInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerPauseInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerPauseInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerPauseNoContent
- func (o *ContainerPauseNoContent) Error() string
- func (o *ContainerPauseNoContent) IsClientError() bool
- func (o *ContainerPauseNoContent) IsCode(code int) bool
- func (o *ContainerPauseNoContent) IsRedirect() bool
- func (o *ContainerPauseNoContent) IsServerError() bool
- func (o *ContainerPauseNoContent) IsSuccess() bool
- func (o *ContainerPauseNoContent) String() string
- type ContainerPauseNotFound
- func (o *ContainerPauseNotFound) Error() string
- func (o *ContainerPauseNotFound) GetPayload() *ContainerPauseNotFoundBody
- func (o *ContainerPauseNotFound) IsClientError() bool
- func (o *ContainerPauseNotFound) IsCode(code int) bool
- func (o *ContainerPauseNotFound) IsRedirect() bool
- func (o *ContainerPauseNotFound) IsServerError() bool
- func (o *ContainerPauseNotFound) IsSuccess() bool
- func (o *ContainerPauseNotFound) String() string
- type ContainerPauseNotFoundBody
- func (o *ContainerPauseNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerPauseNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerPauseNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerPauseNotFoundBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- func (o *ContainerPauseParams) SetHTTPClient(client *http.Client)
- func (o *ContainerPauseParams) SetName(name string)
- func (o *ContainerPauseParams) SetTimeout(timeout time.Duration)
- func (o *ContainerPauseParams) WithContext(ctx context.Context) *ContainerPauseParams
- func (o *ContainerPauseParams) WithDefaults() *ContainerPauseParams
- func (o *ContainerPauseParams) WithHTTPClient(client *http.Client) *ContainerPauseParams
- func (o *ContainerPauseParams) WithName(name 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
- func (o *ContainerPruneInternalServerError) Error() string
- func (o *ContainerPruneInternalServerError) GetPayload() *ContainerPruneInternalServerErrorBody
- func (o *ContainerPruneInternalServerError) IsClientError() bool
- func (o *ContainerPruneInternalServerError) IsCode(code int) bool
- func (o *ContainerPruneInternalServerError) IsRedirect() bool
- func (o *ContainerPruneInternalServerError) IsServerError() bool
- func (o *ContainerPruneInternalServerError) IsSuccess() bool
- func (o *ContainerPruneInternalServerError) String() string
- type ContainerPruneInternalServerErrorBody
- func (o *ContainerPruneInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerPruneInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerPruneInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerPruneInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerPruneOK
- func (o *ContainerPruneOK) Error() string
- func (o *ContainerPruneOK) GetPayload() []*models.ContainersPruneReport
- func (o *ContainerPruneOK) IsClientError() bool
- func (o *ContainerPruneOK) IsCode(code int) bool
- func (o *ContainerPruneOK) IsRedirect() bool
- func (o *ContainerPruneOK) IsServerError() bool
- func (o *ContainerPruneOK) IsSuccess() bool
- func (o *ContainerPruneOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *ContainerRenameConflict) Error() string
- func (o *ContainerRenameConflict) GetPayload() *ContainerRenameConflictBody
- func (o *ContainerRenameConflict) IsClientError() bool
- func (o *ContainerRenameConflict) IsCode(code int) bool
- func (o *ContainerRenameConflict) IsRedirect() bool
- func (o *ContainerRenameConflict) IsServerError() bool
- func (o *ContainerRenameConflict) IsSuccess() bool
- func (o *ContainerRenameConflict) String() string
- type ContainerRenameConflictBody
- func (o *ContainerRenameConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerRenameConflictBody) MarshalBinary() ([]byte, error)
- func (o *ContainerRenameConflictBody) UnmarshalBinary(b []byte) error
- func (o *ContainerRenameConflictBody) Validate(formats strfmt.Registry) error
- type ContainerRenameInternalServerError
- func (o *ContainerRenameInternalServerError) Error() string
- func (o *ContainerRenameInternalServerError) GetPayload() *ContainerRenameInternalServerErrorBody
- func (o *ContainerRenameInternalServerError) IsClientError() bool
- func (o *ContainerRenameInternalServerError) IsCode(code int) bool
- func (o *ContainerRenameInternalServerError) IsRedirect() bool
- func (o *ContainerRenameInternalServerError) IsServerError() bool
- func (o *ContainerRenameInternalServerError) IsSuccess() bool
- func (o *ContainerRenameInternalServerError) String() string
- type ContainerRenameInternalServerErrorBody
- func (o *ContainerRenameInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerRenameInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerRenameInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerRenameInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerRenameNoContent
- func (o *ContainerRenameNoContent) Error() string
- func (o *ContainerRenameNoContent) IsClientError() bool
- func (o *ContainerRenameNoContent) IsCode(code int) bool
- func (o *ContainerRenameNoContent) IsRedirect() bool
- func (o *ContainerRenameNoContent) IsServerError() bool
- func (o *ContainerRenameNoContent) IsSuccess() bool
- func (o *ContainerRenameNoContent) String() string
- type ContainerRenameNotFound
- func (o *ContainerRenameNotFound) Error() string
- func (o *ContainerRenameNotFound) GetPayload() *ContainerRenameNotFoundBody
- func (o *ContainerRenameNotFound) IsClientError() bool
- func (o *ContainerRenameNotFound) IsCode(code int) bool
- func (o *ContainerRenameNotFound) IsRedirect() bool
- func (o *ContainerRenameNotFound) IsServerError() bool
- func (o *ContainerRenameNotFound) IsSuccess() bool
- func (o *ContainerRenameNotFound) String() string
- type ContainerRenameNotFoundBody
- func (o *ContainerRenameNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerRenameNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerRenameNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerRenameNotFoundBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- func (o *ContainerRenameParams) SetHTTPClient(client *http.Client)
- func (o *ContainerRenameParams) SetPathName(name string)
- func (o *ContainerRenameParams) SetQueryName(name string)
- func (o *ContainerRenameParams) SetTimeout(timeout time.Duration)
- func (o *ContainerRenameParams) WithContext(ctx context.Context) *ContainerRenameParams
- func (o *ContainerRenameParams) WithDefaults() *ContainerRenameParams
- func (o *ContainerRenameParams) WithHTTPClient(client *http.Client) *ContainerRenameParams
- func (o *ContainerRenameParams) WithPathName(name string) *ContainerRenameParams
- func (o *ContainerRenameParams) WithQueryName(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
- func (o *ContainerResizeInternalServerError) Error() string
- func (o *ContainerResizeInternalServerError) GetPayload() *ContainerResizeInternalServerErrorBody
- func (o *ContainerResizeInternalServerError) IsClientError() bool
- func (o *ContainerResizeInternalServerError) IsCode(code int) bool
- func (o *ContainerResizeInternalServerError) IsRedirect() bool
- func (o *ContainerResizeInternalServerError) IsServerError() bool
- func (o *ContainerResizeInternalServerError) IsSuccess() bool
- func (o *ContainerResizeInternalServerError) String() string
- type ContainerResizeInternalServerErrorBody
- func (o *ContainerResizeInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerResizeInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerResizeInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerResizeInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerResizeNotFound
- func (o *ContainerResizeNotFound) Error() string
- func (o *ContainerResizeNotFound) GetPayload() *ContainerResizeNotFoundBody
- func (o *ContainerResizeNotFound) IsClientError() bool
- func (o *ContainerResizeNotFound) IsCode(code int) bool
- func (o *ContainerResizeNotFound) IsRedirect() bool
- func (o *ContainerResizeNotFound) IsServerError() bool
- func (o *ContainerResizeNotFound) IsSuccess() bool
- func (o *ContainerResizeNotFound) String() string
- type ContainerResizeNotFoundBody
- func (o *ContainerResizeNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerResizeNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerResizeNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerResizeNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerResizeOK
- func (o *ContainerResizeOK) Error() string
- func (o *ContainerResizeOK) GetPayload() interface{}
- func (o *ContainerResizeOK) IsClientError() bool
- func (o *ContainerResizeOK) IsCode(code int) bool
- func (o *ContainerResizeOK) IsRedirect() bool
- func (o *ContainerResizeOK) IsServerError() bool
- func (o *ContainerResizeOK) IsSuccess() bool
- func (o *ContainerResizeOK) String() string
- 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) SetDefaults()
- func (o *ContainerResizeParams) SetH(h *int64)
- func (o *ContainerResizeParams) SetHTTPClient(client *http.Client)
- func (o *ContainerResizeParams) SetName(name string)
- func (o *ContainerResizeParams) SetRunning(running *bool)
- func (o *ContainerResizeParams) SetTimeout(timeout time.Duration)
- func (o *ContainerResizeParams) SetW(w *int64)
- func (o *ContainerResizeParams) WithContext(ctx context.Context) *ContainerResizeParams
- func (o *ContainerResizeParams) WithDefaults() *ContainerResizeParams
- func (o *ContainerResizeParams) WithH(h *int64) *ContainerResizeParams
- func (o *ContainerResizeParams) WithHTTPClient(client *http.Client) *ContainerResizeParams
- func (o *ContainerResizeParams) WithName(name string) *ContainerResizeParams
- func (o *ContainerResizeParams) WithRunning(running *bool) *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
- func (o *ContainerRestartInternalServerError) Error() string
- func (o *ContainerRestartInternalServerError) GetPayload() *ContainerRestartInternalServerErrorBody
- func (o *ContainerRestartInternalServerError) IsClientError() bool
- func (o *ContainerRestartInternalServerError) IsCode(code int) bool
- func (o *ContainerRestartInternalServerError) IsRedirect() bool
- func (o *ContainerRestartInternalServerError) IsServerError() bool
- func (o *ContainerRestartInternalServerError) IsSuccess() bool
- func (o *ContainerRestartInternalServerError) String() string
- type ContainerRestartInternalServerErrorBody
- func (o *ContainerRestartInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerRestartInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerRestartInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerRestartInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerRestartNoContent
- func (o *ContainerRestartNoContent) Error() string
- func (o *ContainerRestartNoContent) IsClientError() bool
- func (o *ContainerRestartNoContent) IsCode(code int) bool
- func (o *ContainerRestartNoContent) IsRedirect() bool
- func (o *ContainerRestartNoContent) IsServerError() bool
- func (o *ContainerRestartNoContent) IsSuccess() bool
- func (o *ContainerRestartNoContent) String() string
- type ContainerRestartNotFound
- func (o *ContainerRestartNotFound) Error() string
- func (o *ContainerRestartNotFound) GetPayload() *ContainerRestartNotFoundBody
- func (o *ContainerRestartNotFound) IsClientError() bool
- func (o *ContainerRestartNotFound) IsCode(code int) bool
- func (o *ContainerRestartNotFound) IsRedirect() bool
- func (o *ContainerRestartNotFound) IsServerError() bool
- func (o *ContainerRestartNotFound) IsSuccess() bool
- func (o *ContainerRestartNotFound) String() string
- type ContainerRestartNotFoundBody
- func (o *ContainerRestartNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerRestartNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerRestartNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerRestartNotFoundBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- func (o *ContainerRestartParams) SetHTTPClient(client *http.Client)
- func (o *ContainerRestartParams) SetName(name 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) WithDefaults() *ContainerRestartParams
- func (o *ContainerRestartParams) WithHTTPClient(client *http.Client) *ContainerRestartParams
- func (o *ContainerRestartParams) WithName(name 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
- func (o *ContainerStartInternalServerError) Error() string
- func (o *ContainerStartInternalServerError) GetPayload() *ContainerStartInternalServerErrorBody
- func (o *ContainerStartInternalServerError) IsClientError() bool
- func (o *ContainerStartInternalServerError) IsCode(code int) bool
- func (o *ContainerStartInternalServerError) IsRedirect() bool
- func (o *ContainerStartInternalServerError) IsServerError() bool
- func (o *ContainerStartInternalServerError) IsSuccess() bool
- func (o *ContainerStartInternalServerError) String() string
- type ContainerStartInternalServerErrorBody
- func (o *ContainerStartInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerStartInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerStartInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerStartInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerStartNoContent
- func (o *ContainerStartNoContent) Error() string
- func (o *ContainerStartNoContent) IsClientError() bool
- func (o *ContainerStartNoContent) IsCode(code int) bool
- func (o *ContainerStartNoContent) IsRedirect() bool
- func (o *ContainerStartNoContent) IsServerError() bool
- func (o *ContainerStartNoContent) IsSuccess() bool
- func (o *ContainerStartNoContent) String() string
- type ContainerStartNotFound
- func (o *ContainerStartNotFound) Error() string
- func (o *ContainerStartNotFound) GetPayload() *ContainerStartNotFoundBody
- func (o *ContainerStartNotFound) IsClientError() bool
- func (o *ContainerStartNotFound) IsCode(code int) bool
- func (o *ContainerStartNotFound) IsRedirect() bool
- func (o *ContainerStartNotFound) IsServerError() bool
- func (o *ContainerStartNotFound) IsSuccess() bool
- func (o *ContainerStartNotFound) String() string
- type ContainerStartNotFoundBody
- func (o *ContainerStartNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerStartNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerStartNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerStartNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerStartNotModified
- func (o *ContainerStartNotModified) Error() string
- func (o *ContainerStartNotModified) GetPayload() *ContainerStartNotModifiedBody
- func (o *ContainerStartNotModified) IsClientError() bool
- func (o *ContainerStartNotModified) IsCode(code int) bool
- func (o *ContainerStartNotModified) IsRedirect() bool
- func (o *ContainerStartNotModified) IsServerError() bool
- func (o *ContainerStartNotModified) IsSuccess() bool
- func (o *ContainerStartNotModified) String() string
- type ContainerStartNotModifiedBody
- func (o *ContainerStartNotModifiedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerStartNotModifiedBody) MarshalBinary() ([]byte, error)
- func (o *ContainerStartNotModifiedBody) UnmarshalBinary(b []byte) error
- func (o *ContainerStartNotModifiedBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- func (o *ContainerStartParams) SetDetachKeys(detachKeys *string)
- func (o *ContainerStartParams) SetHTTPClient(client *http.Client)
- func (o *ContainerStartParams) SetName(name string)
- func (o *ContainerStartParams) SetTimeout(timeout time.Duration)
- func (o *ContainerStartParams) WithContext(ctx context.Context) *ContainerStartParams
- func (o *ContainerStartParams) WithDefaults() *ContainerStartParams
- func (o *ContainerStartParams) WithDetachKeys(detachKeys *string) *ContainerStartParams
- func (o *ContainerStartParams) WithHTTPClient(client *http.Client) *ContainerStartParams
- func (o *ContainerStartParams) WithName(name 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
- func (o *ContainerStatsInternalServerError) Error() string
- func (o *ContainerStatsInternalServerError) GetPayload() *ContainerStatsInternalServerErrorBody
- func (o *ContainerStatsInternalServerError) IsClientError() bool
- func (o *ContainerStatsInternalServerError) IsCode(code int) bool
- func (o *ContainerStatsInternalServerError) IsRedirect() bool
- func (o *ContainerStatsInternalServerError) IsServerError() bool
- func (o *ContainerStatsInternalServerError) IsSuccess() bool
- func (o *ContainerStatsInternalServerError) String() string
- type ContainerStatsInternalServerErrorBody
- func (o *ContainerStatsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerStatsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerStatsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerStatsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerStatsNotFound
- func (o *ContainerStatsNotFound) Error() string
- func (o *ContainerStatsNotFound) GetPayload() *ContainerStatsNotFoundBody
- func (o *ContainerStatsNotFound) IsClientError() bool
- func (o *ContainerStatsNotFound) IsCode(code int) bool
- func (o *ContainerStatsNotFound) IsRedirect() bool
- func (o *ContainerStatsNotFound) IsServerError() bool
- func (o *ContainerStatsNotFound) IsSuccess() bool
- func (o *ContainerStatsNotFound) String() string
- type ContainerStatsNotFoundBody
- func (o *ContainerStatsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerStatsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerStatsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerStatsNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerStatsOK
- func (o *ContainerStatsOK) Error() string
- func (o *ContainerStatsOK) IsClientError() bool
- func (o *ContainerStatsOK) IsCode(code int) bool
- func (o *ContainerStatsOK) IsRedirect() bool
- func (o *ContainerStatsOK) IsServerError() bool
- func (o *ContainerStatsOK) IsSuccess() bool
- func (o *ContainerStatsOK) String() string
- 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) SetDefaults()
- func (o *ContainerStatsParams) SetHTTPClient(client *http.Client)
- func (o *ContainerStatsParams) SetName(name string)
- func (o *ContainerStatsParams) SetOneShot(oneShot *bool)
- func (o *ContainerStatsParams) SetStream(stream *bool)
- func (o *ContainerStatsParams) SetTimeout(timeout time.Duration)
- func (o *ContainerStatsParams) WithContext(ctx context.Context) *ContainerStatsParams
- func (o *ContainerStatsParams) WithDefaults() *ContainerStatsParams
- func (o *ContainerStatsParams) WithHTTPClient(client *http.Client) *ContainerStatsParams
- func (o *ContainerStatsParams) WithName(name string) *ContainerStatsParams
- func (o *ContainerStatsParams) WithOneShot(oneShot *bool) *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
- func (o *ContainerStopInternalServerError) Error() string
- func (o *ContainerStopInternalServerError) GetPayload() *ContainerStopInternalServerErrorBody
- func (o *ContainerStopInternalServerError) IsClientError() bool
- func (o *ContainerStopInternalServerError) IsCode(code int) bool
- func (o *ContainerStopInternalServerError) IsRedirect() bool
- func (o *ContainerStopInternalServerError) IsServerError() bool
- func (o *ContainerStopInternalServerError) IsSuccess() bool
- func (o *ContainerStopInternalServerError) String() string
- type ContainerStopInternalServerErrorBody
- func (o *ContainerStopInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerStopInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerStopInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerStopInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerStopNoContent
- func (o *ContainerStopNoContent) Error() string
- func (o *ContainerStopNoContent) IsClientError() bool
- func (o *ContainerStopNoContent) IsCode(code int) bool
- func (o *ContainerStopNoContent) IsRedirect() bool
- func (o *ContainerStopNoContent) IsServerError() bool
- func (o *ContainerStopNoContent) IsSuccess() bool
- func (o *ContainerStopNoContent) String() string
- type ContainerStopNotFound
- func (o *ContainerStopNotFound) Error() string
- func (o *ContainerStopNotFound) GetPayload() *ContainerStopNotFoundBody
- func (o *ContainerStopNotFound) IsClientError() bool
- func (o *ContainerStopNotFound) IsCode(code int) bool
- func (o *ContainerStopNotFound) IsRedirect() bool
- func (o *ContainerStopNotFound) IsServerError() bool
- func (o *ContainerStopNotFound) IsSuccess() bool
- func (o *ContainerStopNotFound) String() string
- type ContainerStopNotFoundBody
- func (o *ContainerStopNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerStopNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerStopNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerStopNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerStopNotModified
- func (o *ContainerStopNotModified) Error() string
- func (o *ContainerStopNotModified) GetPayload() *ContainerStopNotModifiedBody
- func (o *ContainerStopNotModified) IsClientError() bool
- func (o *ContainerStopNotModified) IsCode(code int) bool
- func (o *ContainerStopNotModified) IsRedirect() bool
- func (o *ContainerStopNotModified) IsServerError() bool
- func (o *ContainerStopNotModified) IsSuccess() bool
- func (o *ContainerStopNotModified) String() string
- type ContainerStopNotModifiedBody
- func (o *ContainerStopNotModifiedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerStopNotModifiedBody) MarshalBinary() ([]byte, error)
- func (o *ContainerStopNotModifiedBody) UnmarshalBinary(b []byte) error
- func (o *ContainerStopNotModifiedBody) Validate(formats strfmt.Registry) error
- type ContainerStopParams
- func (o *ContainerStopParams) SetContext(ctx context.Context)
- func (o *ContainerStopParams) SetDefaults()
- func (o *ContainerStopParams) SetHTTPClient(client *http.Client)
- func (o *ContainerStopParams) SetName(name 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) WithDefaults() *ContainerStopParams
- func (o *ContainerStopParams) WithHTTPClient(client *http.Client) *ContainerStopParams
- func (o *ContainerStopParams) WithName(name 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
- func (o *ContainerTopInternalServerError) Error() string
- func (o *ContainerTopInternalServerError) GetPayload() *ContainerTopInternalServerErrorBody
- func (o *ContainerTopInternalServerError) IsClientError() bool
- func (o *ContainerTopInternalServerError) IsCode(code int) bool
- func (o *ContainerTopInternalServerError) IsRedirect() bool
- func (o *ContainerTopInternalServerError) IsServerError() bool
- func (o *ContainerTopInternalServerError) IsSuccess() bool
- func (o *ContainerTopInternalServerError) String() string
- type ContainerTopInternalServerErrorBody
- func (o *ContainerTopInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerTopInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerTopInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerTopInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerTopNotFound
- func (o *ContainerTopNotFound) Error() string
- func (o *ContainerTopNotFound) GetPayload() *ContainerTopNotFoundBody
- func (o *ContainerTopNotFound) IsClientError() bool
- func (o *ContainerTopNotFound) IsCode(code int) bool
- func (o *ContainerTopNotFound) IsRedirect() bool
- func (o *ContainerTopNotFound) IsServerError() bool
- func (o *ContainerTopNotFound) IsSuccess() bool
- func (o *ContainerTopNotFound) String() string
- type ContainerTopNotFoundBody
- func (o *ContainerTopNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerTopNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerTopNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerTopNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerTopOK
- func (o *ContainerTopOK) Error() string
- func (o *ContainerTopOK) GetPayload() *ContainerTopOKBody
- func (o *ContainerTopOK) IsClientError() bool
- func (o *ContainerTopOK) IsCode(code int) bool
- func (o *ContainerTopOK) IsRedirect() bool
- func (o *ContainerTopOK) IsServerError() bool
- func (o *ContainerTopOK) IsSuccess() bool
- func (o *ContainerTopOK) String() string
- type ContainerTopOKBody
- type ContainerTopParams
- func (o *ContainerTopParams) SetContext(ctx context.Context)
- func (o *ContainerTopParams) SetDefaults()
- func (o *ContainerTopParams) SetHTTPClient(client *http.Client)
- func (o *ContainerTopParams) SetName(name 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) WithDefaults() *ContainerTopParams
- func (o *ContainerTopParams) WithHTTPClient(client *http.Client) *ContainerTopParams
- func (o *ContainerTopParams) WithName(name 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
- func (o *ContainerUnpauseInternalServerError) Error() string
- func (o *ContainerUnpauseInternalServerError) GetPayload() *ContainerUnpauseInternalServerErrorBody
- func (o *ContainerUnpauseInternalServerError) IsClientError() bool
- func (o *ContainerUnpauseInternalServerError) IsCode(code int) bool
- func (o *ContainerUnpauseInternalServerError) IsRedirect() bool
- func (o *ContainerUnpauseInternalServerError) IsServerError() bool
- func (o *ContainerUnpauseInternalServerError) IsSuccess() bool
- func (o *ContainerUnpauseInternalServerError) String() string
- type ContainerUnpauseInternalServerErrorBody
- func (o *ContainerUnpauseInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerUnpauseInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerUnpauseInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerUnpauseInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerUnpauseNoContent
- func (o *ContainerUnpauseNoContent) Error() string
- func (o *ContainerUnpauseNoContent) IsClientError() bool
- func (o *ContainerUnpauseNoContent) IsCode(code int) bool
- func (o *ContainerUnpauseNoContent) IsRedirect() bool
- func (o *ContainerUnpauseNoContent) IsServerError() bool
- func (o *ContainerUnpauseNoContent) IsSuccess() bool
- func (o *ContainerUnpauseNoContent) String() string
- type ContainerUnpauseNotFound
- func (o *ContainerUnpauseNotFound) Error() string
- func (o *ContainerUnpauseNotFound) GetPayload() *ContainerUnpauseNotFoundBody
- func (o *ContainerUnpauseNotFound) IsClientError() bool
- func (o *ContainerUnpauseNotFound) IsCode(code int) bool
- func (o *ContainerUnpauseNotFound) IsRedirect() bool
- func (o *ContainerUnpauseNotFound) IsServerError() bool
- func (o *ContainerUnpauseNotFound) IsSuccess() bool
- func (o *ContainerUnpauseNotFound) String() string
- type ContainerUnpauseNotFoundBody
- func (o *ContainerUnpauseNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerUnpauseNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerUnpauseNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerUnpauseNotFoundBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- func (o *ContainerUnpauseParams) SetHTTPClient(client *http.Client)
- func (o *ContainerUnpauseParams) SetName(name string)
- func (o *ContainerUnpauseParams) SetTimeout(timeout time.Duration)
- func (o *ContainerUnpauseParams) WithContext(ctx context.Context) *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) WithDefaults() *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) WithHTTPClient(client *http.Client) *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) WithName(name string) *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) WithTimeout(timeout time.Duration) *ContainerUnpauseParams
- func (o *ContainerUnpauseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerUnpauseReader
- type ContainerWaitInternalServerError
- func (o *ContainerWaitInternalServerError) Error() string
- func (o *ContainerWaitInternalServerError) GetPayload() *ContainerWaitInternalServerErrorBody
- func (o *ContainerWaitInternalServerError) IsClientError() bool
- func (o *ContainerWaitInternalServerError) IsCode(code int) bool
- func (o *ContainerWaitInternalServerError) IsRedirect() bool
- func (o *ContainerWaitInternalServerError) IsServerError() bool
- func (o *ContainerWaitInternalServerError) IsSuccess() bool
- func (o *ContainerWaitInternalServerError) String() string
- type ContainerWaitInternalServerErrorBody
- func (o *ContainerWaitInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerWaitInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ContainerWaitInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ContainerWaitInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ContainerWaitNotFound
- func (o *ContainerWaitNotFound) Error() string
- func (o *ContainerWaitNotFound) GetPayload() *ContainerWaitNotFoundBody
- func (o *ContainerWaitNotFound) IsClientError() bool
- func (o *ContainerWaitNotFound) IsCode(code int) bool
- func (o *ContainerWaitNotFound) IsRedirect() bool
- func (o *ContainerWaitNotFound) IsServerError() bool
- func (o *ContainerWaitNotFound) IsSuccess() bool
- func (o *ContainerWaitNotFound) String() string
- type ContainerWaitNotFoundBody
- func (o *ContainerWaitNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerWaitNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ContainerWaitNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ContainerWaitNotFoundBody) Validate(formats strfmt.Registry) error
- type ContainerWaitOK
- func (o *ContainerWaitOK) Error() string
- func (o *ContainerWaitOK) GetPayload() *ContainerWaitOKBody
- func (o *ContainerWaitOK) IsClientError() bool
- func (o *ContainerWaitOK) IsCode(code int) bool
- func (o *ContainerWaitOK) IsRedirect() bool
- func (o *ContainerWaitOK) IsServerError() bool
- func (o *ContainerWaitOK) IsSuccess() bool
- func (o *ContainerWaitOK) String() string
- type ContainerWaitOKBody
- type ContainerWaitOKBodyError
- func (o *ContainerWaitOKBodyError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ContainerWaitOKBodyError) MarshalBinary() ([]byte, error)
- func (o *ContainerWaitOKBodyError) UnmarshalBinary(b []byte) error
- func (o *ContainerWaitOKBodyError) Validate(formats strfmt.Registry) error
- type ContainerWaitParams
- func (o *ContainerWaitParams) SetCondition(condition *string)
- func (o *ContainerWaitParams) SetContext(ctx context.Context)
- func (o *ContainerWaitParams) SetDefaults()
- func (o *ContainerWaitParams) SetHTTPClient(client *http.Client)
- func (o *ContainerWaitParams) SetInterval(interval *string)
- func (o *ContainerWaitParams) SetName(name 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) WithDefaults() *ContainerWaitParams
- func (o *ContainerWaitParams) WithHTTPClient(client *http.Client) *ContainerWaitParams
- func (o *ContainerWaitParams) WithInterval(interval *string) *ContainerWaitParams
- func (o *ContainerWaitParams) WithName(name string) *ContainerWaitParams
- func (o *ContainerWaitParams) WithTimeout(timeout time.Duration) *ContainerWaitParams
- func (o *ContainerWaitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContainerWaitReader
- type ImageCommitCreated
- func (o *ImageCommitCreated) Error() string
- func (o *ImageCommitCreated) IsClientError() bool
- func (o *ImageCommitCreated) IsCode(code int) bool
- func (o *ImageCommitCreated) IsRedirect() bool
- func (o *ImageCommitCreated) IsServerError() bool
- func (o *ImageCommitCreated) IsSuccess() bool
- func (o *ImageCommitCreated) String() string
- type ImageCommitInternalServerError
- func (o *ImageCommitInternalServerError) Error() string
- func (o *ImageCommitInternalServerError) GetPayload() *ImageCommitInternalServerErrorBody
- func (o *ImageCommitInternalServerError) IsClientError() bool
- func (o *ImageCommitInternalServerError) IsCode(code int) bool
- func (o *ImageCommitInternalServerError) IsRedirect() bool
- func (o *ImageCommitInternalServerError) IsServerError() bool
- func (o *ImageCommitInternalServerError) IsSuccess() bool
- func (o *ImageCommitInternalServerError) String() string
- type ImageCommitInternalServerErrorBody
- func (o *ImageCommitInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ImageCommitInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ImageCommitInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ImageCommitInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ImageCommitNotFound
- func (o *ImageCommitNotFound) Error() string
- func (o *ImageCommitNotFound) GetPayload() *ImageCommitNotFoundBody
- func (o *ImageCommitNotFound) IsClientError() bool
- func (o *ImageCommitNotFound) IsCode(code int) bool
- func (o *ImageCommitNotFound) IsRedirect() bool
- func (o *ImageCommitNotFound) IsServerError() bool
- func (o *ImageCommitNotFound) IsSuccess() bool
- func (o *ImageCommitNotFound) String() string
- type ImageCommitNotFoundBody
- func (o *ImageCommitNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ImageCommitNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ImageCommitNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ImageCommitNotFoundBody) Validate(formats strfmt.Registry) error
- type ImageCommitParams
- func (o *ImageCommitParams) SetAuthor(author *string)
- func (o *ImageCommitParams) SetChanges(changes *string)
- func (o *ImageCommitParams) SetComment(comment *string)
- func (o *ImageCommitParams) SetContainer(container *string)
- func (o *ImageCommitParams) SetContext(ctx context.Context)
- func (o *ImageCommitParams) SetDefaults()
- func (o *ImageCommitParams) SetHTTPClient(client *http.Client)
- func (o *ImageCommitParams) SetPause(pause *bool)
- func (o *ImageCommitParams) SetRepo(repo *string)
- func (o *ImageCommitParams) SetTag(tag *string)
- func (o *ImageCommitParams) SetTimeout(timeout time.Duration)
- func (o *ImageCommitParams) WithAuthor(author *string) *ImageCommitParams
- func (o *ImageCommitParams) WithChanges(changes *string) *ImageCommitParams
- func (o *ImageCommitParams) WithComment(comment *string) *ImageCommitParams
- func (o *ImageCommitParams) WithContainer(container *string) *ImageCommitParams
- func (o *ImageCommitParams) WithContext(ctx context.Context) *ImageCommitParams
- func (o *ImageCommitParams) WithDefaults() *ImageCommitParams
- func (o *ImageCommitParams) WithHTTPClient(client *http.Client) *ImageCommitParams
- func (o *ImageCommitParams) WithPause(pause *bool) *ImageCommitParams
- func (o *ImageCommitParams) WithRepo(repo *string) *ImageCommitParams
- func (o *ImageCommitParams) WithTag(tag *string) *ImageCommitParams
- func (o *ImageCommitParams) WithTimeout(timeout time.Duration) *ImageCommitParams
- func (o *ImageCommitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImageCommitReader
- type PutContainerArchiveBadRequest
- func (o *PutContainerArchiveBadRequest) Error() string
- func (o *PutContainerArchiveBadRequest) GetPayload() *PutContainerArchiveBadRequestBody
- func (o *PutContainerArchiveBadRequest) IsClientError() bool
- func (o *PutContainerArchiveBadRequest) IsCode(code int) bool
- func (o *PutContainerArchiveBadRequest) IsRedirect() bool
- func (o *PutContainerArchiveBadRequest) IsServerError() bool
- func (o *PutContainerArchiveBadRequest) IsSuccess() bool
- func (o *PutContainerArchiveBadRequest) String() string
- type PutContainerArchiveBadRequestBody
- func (o *PutContainerArchiveBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutContainerArchiveBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *PutContainerArchiveBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *PutContainerArchiveBadRequestBody) Validate(formats strfmt.Registry) error
- type PutContainerArchiveForbidden
- func (o *PutContainerArchiveForbidden) Error() string
- func (o *PutContainerArchiveForbidden) IsClientError() bool
- func (o *PutContainerArchiveForbidden) IsCode(code int) bool
- func (o *PutContainerArchiveForbidden) IsRedirect() bool
- func (o *PutContainerArchiveForbidden) IsServerError() bool
- func (o *PutContainerArchiveForbidden) IsSuccess() bool
- func (o *PutContainerArchiveForbidden) String() string
- type PutContainerArchiveInternalServerError
- func (o *PutContainerArchiveInternalServerError) Error() string
- func (o *PutContainerArchiveInternalServerError) GetPayload() *PutContainerArchiveInternalServerErrorBody
- func (o *PutContainerArchiveInternalServerError) IsClientError() bool
- func (o *PutContainerArchiveInternalServerError) IsCode(code int) bool
- func (o *PutContainerArchiveInternalServerError) IsRedirect() bool
- func (o *PutContainerArchiveInternalServerError) IsServerError() bool
- func (o *PutContainerArchiveInternalServerError) IsSuccess() bool
- func (o *PutContainerArchiveInternalServerError) String() string
- type PutContainerArchiveInternalServerErrorBody
- func (o *PutContainerArchiveInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutContainerArchiveInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *PutContainerArchiveInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *PutContainerArchiveInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type PutContainerArchiveNotFound
- func (o *PutContainerArchiveNotFound) Error() string
- func (o *PutContainerArchiveNotFound) GetPayload() *PutContainerArchiveNotFoundBody
- func (o *PutContainerArchiveNotFound) IsClientError() bool
- func (o *PutContainerArchiveNotFound) IsCode(code int) bool
- func (o *PutContainerArchiveNotFound) IsRedirect() bool
- func (o *PutContainerArchiveNotFound) IsServerError() bool
- func (o *PutContainerArchiveNotFound) IsSuccess() bool
- func (o *PutContainerArchiveNotFound) String() string
- type PutContainerArchiveNotFoundBody
- func (o *PutContainerArchiveNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutContainerArchiveNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *PutContainerArchiveNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *PutContainerArchiveNotFoundBody) Validate(formats strfmt.Registry) error
- type PutContainerArchiveOK
- func (o *PutContainerArchiveOK) Error() string
- func (o *PutContainerArchiveOK) IsClientError() bool
- func (o *PutContainerArchiveOK) IsCode(code int) bool
- func (o *PutContainerArchiveOK) IsRedirect() bool
- func (o *PutContainerArchiveOK) IsServerError() bool
- func (o *PutContainerArchiveOK) IsSuccess() bool
- func (o *PutContainerArchiveOK) String() string
- 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) SetCopyUIDGID(copyUIDGID *string)
- func (o *PutContainerArchiveParams) SetDefaults()
- func (o *PutContainerArchiveParams) SetHTTPClient(client *http.Client)
- func (o *PutContainerArchiveParams) SetName(name string)
- func (o *PutContainerArchiveParams) SetNoOverwriteDirNonDir(noOverwriteDirNonDir *string)
- func (o *PutContainerArchiveParams) SetPath(path string)
- func (o *PutContainerArchiveParams) SetRequest(request string)
- func (o *PutContainerArchiveParams) SetTimeout(timeout time.Duration)
- func (o *PutContainerArchiveParams) WithContext(ctx context.Context) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithCopyUIDGID(copyUIDGID *string) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithDefaults() *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithHTTPClient(client *http.Client) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithName(name string) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithNoOverwriteDirNonDir(noOverwriteDirNonDir *string) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithPath(path string) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithRequest(request string) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WithTimeout(timeout time.Duration) *PutContainerArchiveParams
- func (o *PutContainerArchiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutContainerArchiveReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for containers compat API
func (*Client) ContainerArchive ¶
func (a *Client) ContainerArchive(params *ContainerArchiveParams, writer io.Writer, opts ...ClientOption) (*ContainerArchiveOK, error)
ContainerArchive gets files from a container
Get a tar archive of files from a container
func (*Client) ContainerArchiveLibpod ¶
func (a *Client) ContainerArchiveLibpod(params *ContainerArchiveLibpodParams, writer io.Writer, opts ...ClientOption) (*ContainerArchiveLibpodOK, error)
ContainerArchiveLibpod copies files from a container
Copy a tar archive of files from a container
func (*Client) ContainerAttach ¶
func (a *Client) ContainerAttach(params *ContainerAttachParams, opts ...ClientOption) error
ContainerAttach attaches to a container
Hijacks the connection to forward the container's standard streams to the client.
func (*Client) ContainerCreate ¶
func (a *Client) ContainerCreate(params *ContainerCreateParams, opts ...ClientOption) (*ContainerCreateCreated, error)
ContainerCreate creates a container
func (*Client) ContainerDelete ¶
func (a *Client) ContainerDelete(params *ContainerDeleteParams, opts ...ClientOption) (*ContainerDeleteNoContent, error)
ContainerDelete removes a container
func (*Client) ContainerExport ¶
func (a *Client) ContainerExport(params *ContainerExportParams, opts ...ClientOption) (*ContainerExportOK, error)
ContainerExport exports a container
Export the contents of a container as a tarball.
func (*Client) ContainerInspect ¶
func (a *Client) ContainerInspect(params *ContainerInspectParams, opts ...ClientOption) (*ContainerInspectOK, error)
ContainerInspect inspects container
Return low-level information about a container.
func (*Client) ContainerKill ¶
func (a *Client) ContainerKill(params *ContainerKillParams, opts ...ClientOption) (*ContainerKillNoContent, error)
ContainerKill kills container
Signal to send to the container as an integer or string (e.g. SIGINT)
func (*Client) ContainerList ¶
func (a *Client) ContainerList(params *ContainerListParams, opts ...ClientOption) (*ContainerListOK, error)
ContainerList lists containers
Returns a list of containers
func (*Client) ContainerLogs ¶
func (a *Client) ContainerLogs(params *ContainerLogsParams, opts ...ClientOption) (*ContainerLogsOK, error)
ContainerLogs gets container logs
Get stdout and stderr logs from a container.
func (*Client) ContainerPause ¶
func (a *Client) ContainerPause(params *ContainerPauseParams, opts ...ClientOption) (*ContainerPauseNoContent, error)
ContainerPause pauses container
Use the cgroups freezer to suspend all processes in a container.
func (*Client) ContainerPrune ¶
func (a *Client) ContainerPrune(params *ContainerPruneParams, opts ...ClientOption) (*ContainerPruneOK, error)
ContainerPrune deletes stopped containers
Remove containers not in use
func (*Client) ContainerRename ¶
func (a *Client) ContainerRename(params *ContainerRenameParams, opts ...ClientOption) (*ContainerRenameNoContent, error)
ContainerRename renames an existing container
Change the name of an existing container.
func (*Client) ContainerResize ¶
func (a *Client) ContainerResize(params *ContainerResizeParams, opts ...ClientOption) (*ContainerResizeOK, error)
ContainerResize resizes a container s t t y
Resize the terminal attached to a container (for use with Attach).
func (*Client) ContainerRestart ¶
func (a *Client) ContainerRestart(params *ContainerRestartParams, opts ...ClientOption) (*ContainerRestartNoContent, error)
ContainerRestart restarts container
func (*Client) ContainerStart ¶
func (a *Client) ContainerStart(params *ContainerStartParams, opts ...ClientOption) (*ContainerStartNoContent, error)
ContainerStart starts a container
func (*Client) ContainerStats ¶
func (a *Client) ContainerStats(params *ContainerStatsParams, opts ...ClientOption) (*ContainerStatsOK, error)
ContainerStats gets stats for a container
This returns a live stream of a container’s resource usage statistics.
func (*Client) ContainerStop ¶
func (a *Client) ContainerStop(params *ContainerStopParams, opts ...ClientOption) (*ContainerStopNoContent, error)
ContainerStop stops a container
Stop a container
func (*Client) ContainerTop ¶
func (a *Client) ContainerTop(params *ContainerTopParams, opts ...ClientOption) (*ContainerTopOK, error)
ContainerTop lists processes running inside a container
func (*Client) ContainerUnpause ¶
func (a *Client) ContainerUnpause(params *ContainerUnpauseParams, opts ...ClientOption) (*ContainerUnpauseNoContent, error)
ContainerUnpause unpauses container
Resume a paused container
func (*Client) ContainerWait ¶
func (a *Client) ContainerWait(params *ContainerWaitParams, opts ...ClientOption) (*ContainerWaitOK, error)
ContainerWait waits on a container
Block until a container stops or given condition is met.
func (*Client) ImageCommit ¶
func (a *Client) ImageCommit(params *ImageCommitParams, opts ...ClientOption) (*ImageCommitCreated, error)
ImageCommit news image
Create a new image from a container
func (*Client) PutContainerArchive ¶
func (a *Client) PutContainerArchive(params *PutContainerArchiveParams, opts ...ClientOption) (*PutContainerArchiveOK, error)
PutContainerArchive puts files into a container
Put a tar archive of files into a container
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ContainerArchive(params *ContainerArchiveParams, writer io.Writer, opts ...ClientOption) (*ContainerArchiveOK, error) ContainerArchiveLibpod(params *ContainerArchiveLibpodParams, writer io.Writer, opts ...ClientOption) (*ContainerArchiveLibpodOK, error) ContainerAttach(params *ContainerAttachParams, opts ...ClientOption) error ContainerCreate(params *ContainerCreateParams, opts ...ClientOption) (*ContainerCreateCreated, error) ContainerDelete(params *ContainerDeleteParams, opts ...ClientOption) (*ContainerDeleteNoContent, error) ContainerExport(params *ContainerExportParams, opts ...ClientOption) (*ContainerExportOK, error) ContainerInspect(params *ContainerInspectParams, opts ...ClientOption) (*ContainerInspectOK, error) ContainerKill(params *ContainerKillParams, opts ...ClientOption) (*ContainerKillNoContent, error) ContainerList(params *ContainerListParams, opts ...ClientOption) (*ContainerListOK, error) ContainerLogs(params *ContainerLogsParams, opts ...ClientOption) (*ContainerLogsOK, error) ContainerPause(params *ContainerPauseParams, opts ...ClientOption) (*ContainerPauseNoContent, error) ContainerPrune(params *ContainerPruneParams, opts ...ClientOption) (*ContainerPruneOK, error) ContainerRename(params *ContainerRenameParams, opts ...ClientOption) (*ContainerRenameNoContent, error) ContainerResize(params *ContainerResizeParams, opts ...ClientOption) (*ContainerResizeOK, error) ContainerRestart(params *ContainerRestartParams, opts ...ClientOption) (*ContainerRestartNoContent, error) ContainerStart(params *ContainerStartParams, opts ...ClientOption) (*ContainerStartNoContent, error) ContainerStats(params *ContainerStatsParams, opts ...ClientOption) (*ContainerStatsOK, error) ContainerStop(params *ContainerStopParams, opts ...ClientOption) (*ContainerStopNoContent, error) ContainerTop(params *ContainerTopParams, opts ...ClientOption) (*ContainerTopOK, error) ContainerUnpause(params *ContainerUnpauseParams, opts ...ClientOption) (*ContainerUnpauseNoContent, error) ContainerWait(params *ContainerWaitParams, opts ...ClientOption) (*ContainerWaitOK, error) ImageCommit(params *ImageCommitParams, opts ...ClientOption) (*ImageCommitCreated, error) PutContainerArchive(params *PutContainerArchiveParams, opts ...ClientOption) (*PutContainerArchiveOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new containers compat API client.
type ContainerArchiveBadRequest ¶
type ContainerArchiveBadRequest struct {
Payload *ContainerArchiveBadRequestBody
}
ContainerArchiveBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewContainerArchiveBadRequest ¶
func NewContainerArchiveBadRequest() *ContainerArchiveBadRequest
NewContainerArchiveBadRequest creates a ContainerArchiveBadRequest with default headers values
func (*ContainerArchiveBadRequest) Error ¶
func (o *ContainerArchiveBadRequest) Error() string
func (*ContainerArchiveBadRequest) GetPayload ¶
func (o *ContainerArchiveBadRequest) GetPayload() *ContainerArchiveBadRequestBody
func (*ContainerArchiveBadRequest) IsClientError ¶
func (o *ContainerArchiveBadRequest) IsClientError() bool
IsClientError returns true when this container archive bad request response has a 4xx status code
func (*ContainerArchiveBadRequest) IsCode ¶
func (o *ContainerArchiveBadRequest) IsCode(code int) bool
IsCode returns true when this container archive bad request response a status code equal to that given
func (*ContainerArchiveBadRequest) IsRedirect ¶
func (o *ContainerArchiveBadRequest) IsRedirect() bool
IsRedirect returns true when this container archive bad request response has a 3xx status code
func (*ContainerArchiveBadRequest) IsServerError ¶
func (o *ContainerArchiveBadRequest) IsServerError() bool
IsServerError returns true when this container archive bad request response has a 5xx status code
func (*ContainerArchiveBadRequest) IsSuccess ¶
func (o *ContainerArchiveBadRequest) IsSuccess() bool
IsSuccess returns true when this container archive bad request response has a 2xx status code
func (*ContainerArchiveBadRequest) String ¶
func (o *ContainerArchiveBadRequest) String() string
type ContainerArchiveBadRequestBody ¶
type ContainerArchiveBadRequestBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerArchiveBadRequestBody container archive bad request body swagger:model ContainerArchiveBadRequestBody
func (*ContainerArchiveBadRequestBody) ContextValidate ¶
func (o *ContainerArchiveBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container archive bad request body based on context it is used
func (*ContainerArchiveBadRequestBody) MarshalBinary ¶
func (o *ContainerArchiveBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerArchiveBadRequestBody) UnmarshalBinary ¶
func (o *ContainerArchiveBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerArchiveInternalServerError ¶
type ContainerArchiveInternalServerError struct {
Payload *ContainerArchiveInternalServerErrorBody
}
ContainerArchiveInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerArchiveInternalServerError ¶
func NewContainerArchiveInternalServerError() *ContainerArchiveInternalServerError
NewContainerArchiveInternalServerError creates a ContainerArchiveInternalServerError with default headers values
func (*ContainerArchiveInternalServerError) Error ¶
func (o *ContainerArchiveInternalServerError) Error() string
func (*ContainerArchiveInternalServerError) GetPayload ¶
func (o *ContainerArchiveInternalServerError) GetPayload() *ContainerArchiveInternalServerErrorBody
func (*ContainerArchiveInternalServerError) IsClientError ¶
func (o *ContainerArchiveInternalServerError) IsClientError() bool
IsClientError returns true when this container archive internal server error response has a 4xx status code
func (*ContainerArchiveInternalServerError) IsCode ¶
func (o *ContainerArchiveInternalServerError) IsCode(code int) bool
IsCode returns true when this container archive internal server error response a status code equal to that given
func (*ContainerArchiveInternalServerError) IsRedirect ¶
func (o *ContainerArchiveInternalServerError) IsRedirect() bool
IsRedirect returns true when this container archive internal server error response has a 3xx status code
func (*ContainerArchiveInternalServerError) IsServerError ¶
func (o *ContainerArchiveInternalServerError) IsServerError() bool
IsServerError returns true when this container archive internal server error response has a 5xx status code
func (*ContainerArchiveInternalServerError) IsSuccess ¶
func (o *ContainerArchiveInternalServerError) IsSuccess() bool
IsSuccess returns true when this container archive internal server error response has a 2xx status code
func (*ContainerArchiveInternalServerError) String ¶
func (o *ContainerArchiveInternalServerError) String() string
type ContainerArchiveInternalServerErrorBody ¶
type ContainerArchiveInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerArchiveInternalServerErrorBody container archive internal server error body swagger:model ContainerArchiveInternalServerErrorBody
func (*ContainerArchiveInternalServerErrorBody) ContextValidate ¶
func (o *ContainerArchiveInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container archive internal server error body based on context it is used
func (*ContainerArchiveInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerArchiveInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerArchiveInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerArchiveInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerArchiveLibpodBadRequest ¶
type ContainerArchiveLibpodBadRequest struct {
Payload *ContainerArchiveLibpodBadRequestBody
}
ContainerArchiveLibpodBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewContainerArchiveLibpodBadRequest ¶
func NewContainerArchiveLibpodBadRequest() *ContainerArchiveLibpodBadRequest
NewContainerArchiveLibpodBadRequest creates a ContainerArchiveLibpodBadRequest with default headers values
func (*ContainerArchiveLibpodBadRequest) Error ¶
func (o *ContainerArchiveLibpodBadRequest) Error() string
func (*ContainerArchiveLibpodBadRequest) GetPayload ¶
func (o *ContainerArchiveLibpodBadRequest) GetPayload() *ContainerArchiveLibpodBadRequestBody
func (*ContainerArchiveLibpodBadRequest) IsClientError ¶
func (o *ContainerArchiveLibpodBadRequest) IsClientError() bool
IsClientError returns true when this container archive libpod bad request response has a 4xx status code
func (*ContainerArchiveLibpodBadRequest) IsCode ¶
func (o *ContainerArchiveLibpodBadRequest) IsCode(code int) bool
IsCode returns true when this container archive libpod bad request response a status code equal to that given
func (*ContainerArchiveLibpodBadRequest) IsRedirect ¶
func (o *ContainerArchiveLibpodBadRequest) IsRedirect() bool
IsRedirect returns true when this container archive libpod bad request response has a 3xx status code
func (*ContainerArchiveLibpodBadRequest) IsServerError ¶
func (o *ContainerArchiveLibpodBadRequest) IsServerError() bool
IsServerError returns true when this container archive libpod bad request response has a 5xx status code
func (*ContainerArchiveLibpodBadRequest) IsSuccess ¶
func (o *ContainerArchiveLibpodBadRequest) IsSuccess() bool
IsSuccess returns true when this container archive libpod bad request response has a 2xx status code
func (*ContainerArchiveLibpodBadRequest) String ¶
func (o *ContainerArchiveLibpodBadRequest) String() string
type ContainerArchiveLibpodBadRequestBody ¶
type ContainerArchiveLibpodBadRequestBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerArchiveLibpodBadRequestBody container archive libpod bad request body swagger:model ContainerArchiveLibpodBadRequestBody
func (*ContainerArchiveLibpodBadRequestBody) ContextValidate ¶
func (o *ContainerArchiveLibpodBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container archive libpod bad request body based on context it is used
func (*ContainerArchiveLibpodBadRequestBody) MarshalBinary ¶
func (o *ContainerArchiveLibpodBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerArchiveLibpodBadRequestBody) UnmarshalBinary ¶
func (o *ContainerArchiveLibpodBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerArchiveLibpodInternalServerError ¶
type ContainerArchiveLibpodInternalServerError struct {
Payload *ContainerArchiveLibpodInternalServerErrorBody
}
ContainerArchiveLibpodInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerArchiveLibpodInternalServerError ¶
func NewContainerArchiveLibpodInternalServerError() *ContainerArchiveLibpodInternalServerError
NewContainerArchiveLibpodInternalServerError creates a ContainerArchiveLibpodInternalServerError with default headers values
func (*ContainerArchiveLibpodInternalServerError) Error ¶
func (o *ContainerArchiveLibpodInternalServerError) Error() string
func (*ContainerArchiveLibpodInternalServerError) GetPayload ¶
func (o *ContainerArchiveLibpodInternalServerError) GetPayload() *ContainerArchiveLibpodInternalServerErrorBody
func (*ContainerArchiveLibpodInternalServerError) IsClientError ¶
func (o *ContainerArchiveLibpodInternalServerError) IsClientError() bool
IsClientError returns true when this container archive libpod internal server error response has a 4xx status code
func (*ContainerArchiveLibpodInternalServerError) IsCode ¶
func (o *ContainerArchiveLibpodInternalServerError) IsCode(code int) bool
IsCode returns true when this container archive libpod internal server error response a status code equal to that given
func (*ContainerArchiveLibpodInternalServerError) IsRedirect ¶
func (o *ContainerArchiveLibpodInternalServerError) IsRedirect() bool
IsRedirect returns true when this container archive libpod internal server error response has a 3xx status code
func (*ContainerArchiveLibpodInternalServerError) IsServerError ¶
func (o *ContainerArchiveLibpodInternalServerError) IsServerError() bool
IsServerError returns true when this container archive libpod internal server error response has a 5xx status code
func (*ContainerArchiveLibpodInternalServerError) IsSuccess ¶
func (o *ContainerArchiveLibpodInternalServerError) IsSuccess() bool
IsSuccess returns true when this container archive libpod internal server error response has a 2xx status code
func (*ContainerArchiveLibpodInternalServerError) String ¶
func (o *ContainerArchiveLibpodInternalServerError) String() string
type ContainerArchiveLibpodInternalServerErrorBody ¶
type ContainerArchiveLibpodInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerArchiveLibpodInternalServerErrorBody container archive libpod internal server error body swagger:model ContainerArchiveLibpodInternalServerErrorBody
func (*ContainerArchiveLibpodInternalServerErrorBody) ContextValidate ¶
func (o *ContainerArchiveLibpodInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container archive libpod internal server error body based on context it is used
func (*ContainerArchiveLibpodInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerArchiveLibpodInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerArchiveLibpodInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerArchiveLibpodInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerArchiveLibpodNotFound ¶
type ContainerArchiveLibpodNotFound struct {
Payload *ContainerArchiveLibpodNotFoundBody
}
ContainerArchiveLibpodNotFound describes a response with status code 404, with default header values.
No such container
func NewContainerArchiveLibpodNotFound ¶
func NewContainerArchiveLibpodNotFound() *ContainerArchiveLibpodNotFound
NewContainerArchiveLibpodNotFound creates a ContainerArchiveLibpodNotFound with default headers values
func (*ContainerArchiveLibpodNotFound) Error ¶
func (o *ContainerArchiveLibpodNotFound) Error() string
func (*ContainerArchiveLibpodNotFound) GetPayload ¶
func (o *ContainerArchiveLibpodNotFound) GetPayload() *ContainerArchiveLibpodNotFoundBody
func (*ContainerArchiveLibpodNotFound) IsClientError ¶
func (o *ContainerArchiveLibpodNotFound) IsClientError() bool
IsClientError returns true when this container archive libpod not found response has a 4xx status code
func (*ContainerArchiveLibpodNotFound) IsCode ¶
func (o *ContainerArchiveLibpodNotFound) IsCode(code int) bool
IsCode returns true when this container archive libpod not found response a status code equal to that given
func (*ContainerArchiveLibpodNotFound) IsRedirect ¶
func (o *ContainerArchiveLibpodNotFound) IsRedirect() bool
IsRedirect returns true when this container archive libpod not found response has a 3xx status code
func (*ContainerArchiveLibpodNotFound) IsServerError ¶
func (o *ContainerArchiveLibpodNotFound) IsServerError() bool
IsServerError returns true when this container archive libpod not found response has a 5xx status code
func (*ContainerArchiveLibpodNotFound) IsSuccess ¶
func (o *ContainerArchiveLibpodNotFound) IsSuccess() bool
IsSuccess returns true when this container archive libpod not found response has a 2xx status code
func (*ContainerArchiveLibpodNotFound) String ¶
func (o *ContainerArchiveLibpodNotFound) String() string
type ContainerArchiveLibpodNotFoundBody ¶
type ContainerArchiveLibpodNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerArchiveLibpodNotFoundBody container archive libpod not found body swagger:model ContainerArchiveLibpodNotFoundBody
func (*ContainerArchiveLibpodNotFoundBody) ContextValidate ¶
func (o *ContainerArchiveLibpodNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container archive libpod not found body based on context it is used
func (*ContainerArchiveLibpodNotFoundBody) MarshalBinary ¶
func (o *ContainerArchiveLibpodNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerArchiveLibpodNotFoundBody) UnmarshalBinary ¶
func (o *ContainerArchiveLibpodNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerArchiveLibpodOK ¶
ContainerArchiveLibpodOK describes a response with status code 200, with default header values.
no error
func NewContainerArchiveLibpodOK ¶
func NewContainerArchiveLibpodOK(writer io.Writer) *ContainerArchiveLibpodOK
NewContainerArchiveLibpodOK creates a ContainerArchiveLibpodOK with default headers values
func (*ContainerArchiveLibpodOK) Error ¶
func (o *ContainerArchiveLibpodOK) Error() string
func (*ContainerArchiveLibpodOK) GetPayload ¶
func (o *ContainerArchiveLibpodOK) GetPayload() io.Writer
func (*ContainerArchiveLibpodOK) IsClientError ¶
func (o *ContainerArchiveLibpodOK) IsClientError() bool
IsClientError returns true when this container archive libpod o k response has a 4xx status code
func (*ContainerArchiveLibpodOK) IsCode ¶
func (o *ContainerArchiveLibpodOK) IsCode(code int) bool
IsCode returns true when this container archive libpod o k response a status code equal to that given
func (*ContainerArchiveLibpodOK) IsRedirect ¶
func (o *ContainerArchiveLibpodOK) IsRedirect() bool
IsRedirect returns true when this container archive libpod o k response has a 3xx status code
func (*ContainerArchiveLibpodOK) IsServerError ¶
func (o *ContainerArchiveLibpodOK) IsServerError() bool
IsServerError returns true when this container archive libpod o k response has a 5xx status code
func (*ContainerArchiveLibpodOK) IsSuccess ¶
func (o *ContainerArchiveLibpodOK) IsSuccess() bool
IsSuccess returns true when this container archive libpod o k response has a 2xx status code
func (*ContainerArchiveLibpodOK) String ¶
func (o *ContainerArchiveLibpodOK) String() string
type ContainerArchiveLibpodParams ¶
type ContainerArchiveLibpodParams struct { /* Name. container name or id */ Name string /* Path. Path to a directory in the container to extract */ Path string /* Rename. JSON encoded map[string]string to translate paths */ Rename *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContainerArchiveLibpodParams contains all the parameters to send to the API endpoint
for the container archive libpod operation. Typically these are written to a http.Request.
func NewContainerArchiveLibpodParams ¶
func NewContainerArchiveLibpodParams() *ContainerArchiveLibpodParams
NewContainerArchiveLibpodParams creates a new ContainerArchiveLibpodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerArchiveLibpodParamsWithContext ¶
func NewContainerArchiveLibpodParamsWithContext(ctx context.Context) *ContainerArchiveLibpodParams
NewContainerArchiveLibpodParamsWithContext creates a new ContainerArchiveLibpodParams object with the ability to set a context for a request.
func NewContainerArchiveLibpodParamsWithHTTPClient ¶
func NewContainerArchiveLibpodParamsWithHTTPClient(client *http.Client) *ContainerArchiveLibpodParams
NewContainerArchiveLibpodParamsWithHTTPClient creates a new ContainerArchiveLibpodParams object with the ability to set a custom HTTPClient for a request.
func NewContainerArchiveLibpodParamsWithTimeout ¶
func NewContainerArchiveLibpodParamsWithTimeout(timeout time.Duration) *ContainerArchiveLibpodParams
NewContainerArchiveLibpodParamsWithTimeout creates a new ContainerArchiveLibpodParams object with the ability to set a timeout on a request.
func (*ContainerArchiveLibpodParams) SetContext ¶
func (o *ContainerArchiveLibpodParams) SetContext(ctx context.Context)
SetContext adds the context to the container archive libpod params
func (*ContainerArchiveLibpodParams) SetDefaults ¶
func (o *ContainerArchiveLibpodParams) SetDefaults()
SetDefaults hydrates default values in the container archive libpod params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerArchiveLibpodParams) SetHTTPClient ¶
func (o *ContainerArchiveLibpodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container archive libpod params
func (*ContainerArchiveLibpodParams) SetName ¶
func (o *ContainerArchiveLibpodParams) SetName(name string)
SetName adds the name to the container archive libpod params
func (*ContainerArchiveLibpodParams) SetPath ¶
func (o *ContainerArchiveLibpodParams) SetPath(path string)
SetPath adds the path to the container archive libpod params
func (*ContainerArchiveLibpodParams) SetRename ¶
func (o *ContainerArchiveLibpodParams) SetRename(rename *string)
SetRename adds the rename to the container archive libpod params
func (*ContainerArchiveLibpodParams) SetTimeout ¶
func (o *ContainerArchiveLibpodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the container archive libpod params
func (*ContainerArchiveLibpodParams) WithContext ¶
func (o *ContainerArchiveLibpodParams) WithContext(ctx context.Context) *ContainerArchiveLibpodParams
WithContext adds the context to the container archive libpod params
func (*ContainerArchiveLibpodParams) WithDefaults ¶
func (o *ContainerArchiveLibpodParams) WithDefaults() *ContainerArchiveLibpodParams
WithDefaults hydrates default values in the container archive libpod params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerArchiveLibpodParams) WithHTTPClient ¶
func (o *ContainerArchiveLibpodParams) WithHTTPClient(client *http.Client) *ContainerArchiveLibpodParams
WithHTTPClient adds the HTTPClient to the container archive libpod params
func (*ContainerArchiveLibpodParams) WithName ¶
func (o *ContainerArchiveLibpodParams) WithName(name string) *ContainerArchiveLibpodParams
WithName adds the name to the container archive libpod params
func (*ContainerArchiveLibpodParams) WithPath ¶
func (o *ContainerArchiveLibpodParams) WithPath(path string) *ContainerArchiveLibpodParams
WithPath adds the path to the container archive libpod params
func (*ContainerArchiveLibpodParams) WithRename ¶
func (o *ContainerArchiveLibpodParams) WithRename(rename *string) *ContainerArchiveLibpodParams
WithRename adds the rename to the container archive libpod params
func (*ContainerArchiveLibpodParams) WithTimeout ¶
func (o *ContainerArchiveLibpodParams) WithTimeout(timeout time.Duration) *ContainerArchiveLibpodParams
WithTimeout adds the timeout to the container archive libpod params
func (*ContainerArchiveLibpodParams) WriteToRequest ¶
func (o *ContainerArchiveLibpodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContainerArchiveLibpodReader ¶
type ContainerArchiveLibpodReader struct {
// contains filtered or unexported fields
}
ContainerArchiveLibpodReader is a Reader for the ContainerArchiveLibpod structure.
func (*ContainerArchiveLibpodReader) ReadResponse ¶
func (o *ContainerArchiveLibpodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContainerArchiveNotFound ¶
type ContainerArchiveNotFound struct {
Payload *ContainerArchiveNotFoundBody
}
ContainerArchiveNotFound describes a response with status code 404, with default header values.
No such container
func NewContainerArchiveNotFound ¶
func NewContainerArchiveNotFound() *ContainerArchiveNotFound
NewContainerArchiveNotFound creates a ContainerArchiveNotFound with default headers values
func (*ContainerArchiveNotFound) Error ¶
func (o *ContainerArchiveNotFound) Error() string
func (*ContainerArchiveNotFound) GetPayload ¶
func (o *ContainerArchiveNotFound) GetPayload() *ContainerArchiveNotFoundBody
func (*ContainerArchiveNotFound) IsClientError ¶
func (o *ContainerArchiveNotFound) IsClientError() bool
IsClientError returns true when this container archive not found response has a 4xx status code
func (*ContainerArchiveNotFound) IsCode ¶
func (o *ContainerArchiveNotFound) IsCode(code int) bool
IsCode returns true when this container archive not found response a status code equal to that given
func (*ContainerArchiveNotFound) IsRedirect ¶
func (o *ContainerArchiveNotFound) IsRedirect() bool
IsRedirect returns true when this container archive not found response has a 3xx status code
func (*ContainerArchiveNotFound) IsServerError ¶
func (o *ContainerArchiveNotFound) IsServerError() bool
IsServerError returns true when this container archive not found response has a 5xx status code
func (*ContainerArchiveNotFound) IsSuccess ¶
func (o *ContainerArchiveNotFound) IsSuccess() bool
IsSuccess returns true when this container archive not found response has a 2xx status code
func (*ContainerArchiveNotFound) String ¶
func (o *ContainerArchiveNotFound) String() string
type ContainerArchiveNotFoundBody ¶
type ContainerArchiveNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerArchiveNotFoundBody container archive not found body swagger:model ContainerArchiveNotFoundBody
func (*ContainerArchiveNotFoundBody) ContextValidate ¶
func (o *ContainerArchiveNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container archive not found body based on context it is used
func (*ContainerArchiveNotFoundBody) MarshalBinary ¶
func (o *ContainerArchiveNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerArchiveNotFoundBody) UnmarshalBinary ¶
func (o *ContainerArchiveNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerArchiveOK ¶
ContainerArchiveOK describes a response with status code 200, with default header values.
no error
func NewContainerArchiveOK ¶
func NewContainerArchiveOK(writer io.Writer) *ContainerArchiveOK
NewContainerArchiveOK creates a ContainerArchiveOK with default headers values
func (*ContainerArchiveOK) Error ¶
func (o *ContainerArchiveOK) Error() string
func (*ContainerArchiveOK) GetPayload ¶
func (o *ContainerArchiveOK) GetPayload() io.Writer
func (*ContainerArchiveOK) IsClientError ¶
func (o *ContainerArchiveOK) IsClientError() bool
IsClientError returns true when this container archive o k response has a 4xx status code
func (*ContainerArchiveOK) IsCode ¶
func (o *ContainerArchiveOK) IsCode(code int) bool
IsCode returns true when this container archive o k response a status code equal to that given
func (*ContainerArchiveOK) IsRedirect ¶
func (o *ContainerArchiveOK) IsRedirect() bool
IsRedirect returns true when this container archive o k response has a 3xx status code
func (*ContainerArchiveOK) IsServerError ¶
func (o *ContainerArchiveOK) IsServerError() bool
IsServerError returns true when this container archive o k response has a 5xx status code
func (*ContainerArchiveOK) IsSuccess ¶
func (o *ContainerArchiveOK) IsSuccess() bool
IsSuccess returns true when this container archive o k response has a 2xx status code
func (*ContainerArchiveOK) String ¶
func (o *ContainerArchiveOK) String() string
type ContainerArchiveParams ¶
type ContainerArchiveParams struct { /* Name. container name or id */ Name string /* Path. Path to a directory in the container to extract */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerArchiveParamsWithContext ¶
func NewContainerArchiveParamsWithContext(ctx context.Context) *ContainerArchiveParams
NewContainerArchiveParamsWithContext creates a new ContainerArchiveParams object with 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 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 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) SetDefaults ¶
func (o *ContainerArchiveParams) SetDefaults()
SetDefaults hydrates default values in the container archive params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerArchiveParams) SetHTTPClient ¶
func (o *ContainerArchiveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container archive params
func (*ContainerArchiveParams) SetName ¶
func (o *ContainerArchiveParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerArchiveParams) WithDefaults() *ContainerArchiveParams
WithDefaults hydrates default values in the container archive params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerArchiveParams) WithHTTPClient ¶
func (o *ContainerArchiveParams) WithHTTPClient(client *http.Client) *ContainerArchiveParams
WithHTTPClient adds the HTTPClient to the container archive params
func (*ContainerArchiveParams) WithName ¶
func (o *ContainerArchiveParams) WithName(name string) *ContainerArchiveParams
WithName adds the name 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 *ContainerAttachBadRequestBody
}
ContainerAttachBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewContainerAttachBadRequest ¶
func NewContainerAttachBadRequest() *ContainerAttachBadRequest
NewContainerAttachBadRequest creates a ContainerAttachBadRequest with default headers values
func (*ContainerAttachBadRequest) Error ¶
func (o *ContainerAttachBadRequest) Error() string
func (*ContainerAttachBadRequest) GetPayload ¶
func (o *ContainerAttachBadRequest) GetPayload() *ContainerAttachBadRequestBody
func (*ContainerAttachBadRequest) IsClientError ¶
func (o *ContainerAttachBadRequest) IsClientError() bool
IsClientError returns true when this container attach bad request response has a 4xx status code
func (*ContainerAttachBadRequest) IsCode ¶
func (o *ContainerAttachBadRequest) IsCode(code int) bool
IsCode returns true when this container attach bad request response a status code equal to that given
func (*ContainerAttachBadRequest) IsRedirect ¶
func (o *ContainerAttachBadRequest) IsRedirect() bool
IsRedirect returns true when this container attach bad request response has a 3xx status code
func (*ContainerAttachBadRequest) IsServerError ¶
func (o *ContainerAttachBadRequest) IsServerError() bool
IsServerError returns true when this container attach bad request response has a 5xx status code
func (*ContainerAttachBadRequest) IsSuccess ¶
func (o *ContainerAttachBadRequest) IsSuccess() bool
IsSuccess returns true when this container attach bad request response has a 2xx status code
func (*ContainerAttachBadRequest) String ¶
func (o *ContainerAttachBadRequest) String() string
type ContainerAttachBadRequestBody ¶
type ContainerAttachBadRequestBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerAttachBadRequestBody container attach bad request body swagger:model ContainerAttachBadRequestBody
func (*ContainerAttachBadRequestBody) ContextValidate ¶
func (o *ContainerAttachBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container attach bad request body based on context it is used
func (*ContainerAttachBadRequestBody) MarshalBinary ¶
func (o *ContainerAttachBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerAttachBadRequestBody) UnmarshalBinary ¶
func (o *ContainerAttachBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerAttachInternalServerError ¶
type ContainerAttachInternalServerError struct {
Payload *ContainerAttachInternalServerErrorBody
}
ContainerAttachInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerAttachInternalServerError ¶
func NewContainerAttachInternalServerError() *ContainerAttachInternalServerError
NewContainerAttachInternalServerError creates a ContainerAttachInternalServerError with default headers values
func (*ContainerAttachInternalServerError) Error ¶
func (o *ContainerAttachInternalServerError) Error() string
func (*ContainerAttachInternalServerError) GetPayload ¶
func (o *ContainerAttachInternalServerError) GetPayload() *ContainerAttachInternalServerErrorBody
func (*ContainerAttachInternalServerError) IsClientError ¶
func (o *ContainerAttachInternalServerError) IsClientError() bool
IsClientError returns true when this container attach internal server error response has a 4xx status code
func (*ContainerAttachInternalServerError) IsCode ¶
func (o *ContainerAttachInternalServerError) IsCode(code int) bool
IsCode returns true when this container attach internal server error response a status code equal to that given
func (*ContainerAttachInternalServerError) IsRedirect ¶
func (o *ContainerAttachInternalServerError) IsRedirect() bool
IsRedirect returns true when this container attach internal server error response has a 3xx status code
func (*ContainerAttachInternalServerError) IsServerError ¶
func (o *ContainerAttachInternalServerError) IsServerError() bool
IsServerError returns true when this container attach internal server error response has a 5xx status code
func (*ContainerAttachInternalServerError) IsSuccess ¶
func (o *ContainerAttachInternalServerError) IsSuccess() bool
IsSuccess returns true when this container attach internal server error response has a 2xx status code
func (*ContainerAttachInternalServerError) String ¶
func (o *ContainerAttachInternalServerError) String() string
type ContainerAttachInternalServerErrorBody ¶
type ContainerAttachInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerAttachInternalServerErrorBody container attach internal server error body swagger:model ContainerAttachInternalServerErrorBody
func (*ContainerAttachInternalServerErrorBody) ContextValidate ¶
func (o *ContainerAttachInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container attach internal server error body based on context it is used
func (*ContainerAttachInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerAttachInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerAttachInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerAttachInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerAttachNotFound ¶
type ContainerAttachNotFound struct {
Payload *ContainerAttachNotFoundBody
}
ContainerAttachNotFound describes a response with status code 404, 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
func (*ContainerAttachNotFound) GetPayload ¶
func (o *ContainerAttachNotFound) GetPayload() *ContainerAttachNotFoundBody
func (*ContainerAttachNotFound) IsClientError ¶
func (o *ContainerAttachNotFound) IsClientError() bool
IsClientError returns true when this container attach not found response has a 4xx status code
func (*ContainerAttachNotFound) IsCode ¶
func (o *ContainerAttachNotFound) IsCode(code int) bool
IsCode returns true when this container attach not found response a status code equal to that given
func (*ContainerAttachNotFound) IsRedirect ¶
func (o *ContainerAttachNotFound) IsRedirect() bool
IsRedirect returns true when this container attach not found response has a 3xx status code
func (*ContainerAttachNotFound) IsServerError ¶
func (o *ContainerAttachNotFound) IsServerError() bool
IsServerError returns true when this container attach not found response has a 5xx status code
func (*ContainerAttachNotFound) IsSuccess ¶
func (o *ContainerAttachNotFound) IsSuccess() bool
IsSuccess returns true when this container attach not found response has a 2xx status code
func (*ContainerAttachNotFound) String ¶
func (o *ContainerAttachNotFound) String() string
type ContainerAttachNotFoundBody ¶
type ContainerAttachNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerAttachNotFoundBody container attach not found body swagger:model ContainerAttachNotFoundBody
func (*ContainerAttachNotFoundBody) ContextValidate ¶
func (o *ContainerAttachNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container attach not found body based on context it is used
func (*ContainerAttachNotFoundBody) MarshalBinary ¶
func (o *ContainerAttachNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerAttachNotFoundBody) UnmarshalBinary ¶
func (o *ContainerAttachNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerAttachParams ¶
type ContainerAttachParams struct { /* DetachKeys. keys to use for detaching from the container */ DetachKeys *string /* Logs. Stream all logs from the container across the connection. Happens before streaming attach (if requested). At least one of logs or stream must be set */ Logs *bool /* Name. the name or ID of the container */ Name string /* Stderr. Attach to container STDERR */ Stderr *bool /* Stdin. Attach to container STDIN */ Stdin *bool /* Stdout. Attach to container STDOUT */ Stdout *bool /* Stream. Attach to the container. If unset, and logs is set, only the container's logs will be sent. At least one of stream or logs must be set Default: true */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerAttachParamsWithContext ¶
func NewContainerAttachParamsWithContext(ctx context.Context) *ContainerAttachParams
NewContainerAttachParamsWithContext creates a new ContainerAttachParams object with 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 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 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) SetDefaults ¶
func (o *ContainerAttachParams) SetDefaults()
SetDefaults hydrates default values in the container attach params (not the query body).
All values with no default are reset to their zero value.
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) SetLogs ¶
func (o *ContainerAttachParams) SetLogs(logs *bool)
SetLogs adds the logs to the container attach params
func (*ContainerAttachParams) SetName ¶
func (o *ContainerAttachParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerAttachParams) WithDefaults() *ContainerAttachParams
WithDefaults hydrates default values in the container attach params (not the query body).
All values with no default are reset to their zero value.
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) WithLogs ¶
func (o *ContainerAttachParams) WithLogs(logs *bool) *ContainerAttachParams
WithLogs adds the logs to the container attach params
func (*ContainerAttachParams) WithName ¶
func (o *ContainerAttachParams) WithName(name string) *ContainerAttachParams
WithName adds the name 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 describes a response with status code 101, with default header values.
No error, connection has been hijacked for transporting streams.
func NewContainerAttachSwitchingProtocols ¶
func NewContainerAttachSwitchingProtocols() *ContainerAttachSwitchingProtocols
NewContainerAttachSwitchingProtocols creates a ContainerAttachSwitchingProtocols with default headers values
func (*ContainerAttachSwitchingProtocols) Error ¶
func (o *ContainerAttachSwitchingProtocols) Error() string
func (*ContainerAttachSwitchingProtocols) IsClientError ¶
func (o *ContainerAttachSwitchingProtocols) IsClientError() bool
IsClientError returns true when this container attach switching protocols response has a 4xx status code
func (*ContainerAttachSwitchingProtocols) IsCode ¶
func (o *ContainerAttachSwitchingProtocols) IsCode(code int) bool
IsCode returns true when this container attach switching protocols response a status code equal to that given
func (*ContainerAttachSwitchingProtocols) IsRedirect ¶
func (o *ContainerAttachSwitchingProtocols) IsRedirect() bool
IsRedirect returns true when this container attach switching protocols response has a 3xx status code
func (*ContainerAttachSwitchingProtocols) IsServerError ¶
func (o *ContainerAttachSwitchingProtocols) IsServerError() bool
IsServerError returns true when this container attach switching protocols response has a 5xx status code
func (*ContainerAttachSwitchingProtocols) IsSuccess ¶
func (o *ContainerAttachSwitchingProtocols) IsSuccess() bool
IsSuccess returns true when this container attach switching protocols response has a 2xx status code
func (*ContainerAttachSwitchingProtocols) String ¶
func (o *ContainerAttachSwitchingProtocols) String() string
type ContainerCreateBadRequest ¶
type ContainerCreateBadRequest struct {
Payload *ContainerCreateBadRequestBody
}
ContainerCreateBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewContainerCreateBadRequest ¶
func NewContainerCreateBadRequest() *ContainerCreateBadRequest
NewContainerCreateBadRequest creates a ContainerCreateBadRequest with default headers values
func (*ContainerCreateBadRequest) Error ¶
func (o *ContainerCreateBadRequest) Error() string
func (*ContainerCreateBadRequest) GetPayload ¶
func (o *ContainerCreateBadRequest) GetPayload() *ContainerCreateBadRequestBody
func (*ContainerCreateBadRequest) IsClientError ¶
func (o *ContainerCreateBadRequest) IsClientError() bool
IsClientError returns true when this container create bad request response has a 4xx status code
func (*ContainerCreateBadRequest) IsCode ¶
func (o *ContainerCreateBadRequest) IsCode(code int) bool
IsCode returns true when this container create bad request response a status code equal to that given
func (*ContainerCreateBadRequest) IsRedirect ¶
func (o *ContainerCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this container create bad request response has a 3xx status code
func (*ContainerCreateBadRequest) IsServerError ¶
func (o *ContainerCreateBadRequest) IsServerError() bool
IsServerError returns true when this container create bad request response has a 5xx status code
func (*ContainerCreateBadRequest) IsSuccess ¶
func (o *ContainerCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this container create bad request response has a 2xx status code
func (*ContainerCreateBadRequest) String ¶
func (o *ContainerCreateBadRequest) String() string
type ContainerCreateBadRequestBody ¶
type ContainerCreateBadRequestBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerCreateBadRequestBody container create bad request body swagger:model ContainerCreateBadRequestBody
func (*ContainerCreateBadRequestBody) ContextValidate ¶
func (o *ContainerCreateBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container create bad request body based on context it is used
func (*ContainerCreateBadRequestBody) MarshalBinary ¶
func (o *ContainerCreateBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerCreateBadRequestBody) UnmarshalBinary ¶
func (o *ContainerCreateBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerCreateConflict ¶
type ContainerCreateConflict struct {
Payload *ContainerCreateConflictBody
}
ContainerCreateConflict describes a response with status code 409, with default header values.
Conflict error in operation
func NewContainerCreateConflict ¶
func NewContainerCreateConflict() *ContainerCreateConflict
NewContainerCreateConflict creates a ContainerCreateConflict with default headers values
func (*ContainerCreateConflict) Error ¶
func (o *ContainerCreateConflict) Error() string
func (*ContainerCreateConflict) GetPayload ¶
func (o *ContainerCreateConflict) GetPayload() *ContainerCreateConflictBody
func (*ContainerCreateConflict) IsClientError ¶
func (o *ContainerCreateConflict) IsClientError() bool
IsClientError returns true when this container create conflict response has a 4xx status code
func (*ContainerCreateConflict) IsCode ¶
func (o *ContainerCreateConflict) IsCode(code int) bool
IsCode returns true when this container create conflict response a status code equal to that given
func (*ContainerCreateConflict) IsRedirect ¶
func (o *ContainerCreateConflict) IsRedirect() bool
IsRedirect returns true when this container create conflict response has a 3xx status code
func (*ContainerCreateConflict) IsServerError ¶
func (o *ContainerCreateConflict) IsServerError() bool
IsServerError returns true when this container create conflict response has a 5xx status code
func (*ContainerCreateConflict) IsSuccess ¶
func (o *ContainerCreateConflict) IsSuccess() bool
IsSuccess returns true when this container create conflict response has a 2xx status code
func (*ContainerCreateConflict) String ¶
func (o *ContainerCreateConflict) String() string
type ContainerCreateConflictBody ¶
type ContainerCreateConflictBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerCreateConflictBody container create conflict body swagger:model ContainerCreateConflictBody
func (*ContainerCreateConflictBody) ContextValidate ¶
func (o *ContainerCreateConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container create conflict body based on context it is used
func (*ContainerCreateConflictBody) MarshalBinary ¶
func (o *ContainerCreateConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerCreateConflictBody) UnmarshalBinary ¶
func (o *ContainerCreateConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerCreateCreated ¶
type ContainerCreateCreated struct {
Payload *ContainerCreateCreatedBody
}
ContainerCreateCreated describes a response with status code 201, with default header values.
Create container
func NewContainerCreateCreated ¶
func NewContainerCreateCreated() *ContainerCreateCreated
NewContainerCreateCreated creates a ContainerCreateCreated with default headers values
func (*ContainerCreateCreated) Error ¶
func (o *ContainerCreateCreated) Error() string
func (*ContainerCreateCreated) GetPayload ¶
func (o *ContainerCreateCreated) GetPayload() *ContainerCreateCreatedBody
func (*ContainerCreateCreated) IsClientError ¶
func (o *ContainerCreateCreated) IsClientError() bool
IsClientError returns true when this container create created response has a 4xx status code
func (*ContainerCreateCreated) IsCode ¶
func (o *ContainerCreateCreated) IsCode(code int) bool
IsCode returns true when this container create created response a status code equal to that given
func (*ContainerCreateCreated) IsRedirect ¶
func (o *ContainerCreateCreated) IsRedirect() bool
IsRedirect returns true when this container create created response has a 3xx status code
func (*ContainerCreateCreated) IsServerError ¶
func (o *ContainerCreateCreated) IsServerError() bool
IsServerError returns true when this container create created response has a 5xx status code
func (*ContainerCreateCreated) IsSuccess ¶
func (o *ContainerCreateCreated) IsSuccess() bool
IsSuccess returns true when this container create created response has a 2xx status code
func (*ContainerCreateCreated) String ¶
func (o *ContainerCreateCreated) String() string
type ContainerCreateCreatedBody ¶
type ContainerCreateCreatedBody struct { // ID of the container created ID string `json:"Id,omitempty"` // Warnings during container creation Warnings []string `json:"Warnings"` }
ContainerCreateCreatedBody container create created body swagger:model ContainerCreateCreatedBody
func (*ContainerCreateCreatedBody) ContextValidate ¶
func (o *ContainerCreateCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container create created body based on context it is used
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 *ContainerCreateInternalServerErrorBody
}
ContainerCreateInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerCreateInternalServerError ¶
func NewContainerCreateInternalServerError() *ContainerCreateInternalServerError
NewContainerCreateInternalServerError creates a ContainerCreateInternalServerError with default headers values
func (*ContainerCreateInternalServerError) Error ¶
func (o *ContainerCreateInternalServerError) Error() string
func (*ContainerCreateInternalServerError) GetPayload ¶
func (o *ContainerCreateInternalServerError) GetPayload() *ContainerCreateInternalServerErrorBody
func (*ContainerCreateInternalServerError) IsClientError ¶
func (o *ContainerCreateInternalServerError) IsClientError() bool
IsClientError returns true when this container create internal server error response has a 4xx status code
func (*ContainerCreateInternalServerError) IsCode ¶
func (o *ContainerCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this container create internal server error response a status code equal to that given
func (*ContainerCreateInternalServerError) IsRedirect ¶
func (o *ContainerCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this container create internal server error response has a 3xx status code
func (*ContainerCreateInternalServerError) IsServerError ¶
func (o *ContainerCreateInternalServerError) IsServerError() bool
IsServerError returns true when this container create internal server error response has a 5xx status code
func (*ContainerCreateInternalServerError) IsSuccess ¶
func (o *ContainerCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this container create internal server error response has a 2xx status code
func (*ContainerCreateInternalServerError) String ¶
func (o *ContainerCreateInternalServerError) String() string
type ContainerCreateInternalServerErrorBody ¶
type ContainerCreateInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerCreateInternalServerErrorBody container create internal server error body swagger:model ContainerCreateInternalServerErrorBody
func (*ContainerCreateInternalServerErrorBody) ContextValidate ¶
func (o *ContainerCreateInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container create internal server error body based on context it is used
func (*ContainerCreateInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerCreateInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerCreateInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerCreateInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerCreateNotFound ¶
type ContainerCreateNotFound struct {
Payload *ContainerCreateNotFoundBody
}
ContainerCreateNotFound describes a response with status code 404, 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
func (*ContainerCreateNotFound) GetPayload ¶
func (o *ContainerCreateNotFound) GetPayload() *ContainerCreateNotFoundBody
func (*ContainerCreateNotFound) IsClientError ¶
func (o *ContainerCreateNotFound) IsClientError() bool
IsClientError returns true when this container create not found response has a 4xx status code
func (*ContainerCreateNotFound) IsCode ¶
func (o *ContainerCreateNotFound) IsCode(code int) bool
IsCode returns true when this container create not found response a status code equal to that given
func (*ContainerCreateNotFound) IsRedirect ¶
func (o *ContainerCreateNotFound) IsRedirect() bool
IsRedirect returns true when this container create not found response has a 3xx status code
func (*ContainerCreateNotFound) IsServerError ¶
func (o *ContainerCreateNotFound) IsServerError() bool
IsServerError returns true when this container create not found response has a 5xx status code
func (*ContainerCreateNotFound) IsSuccess ¶
func (o *ContainerCreateNotFound) IsSuccess() bool
IsSuccess returns true when this container create not found response has a 2xx status code
func (*ContainerCreateNotFound) String ¶
func (o *ContainerCreateNotFound) String() string
type ContainerCreateNotFoundBody ¶
type ContainerCreateNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerCreateNotFoundBody container create not found body swagger:model ContainerCreateNotFoundBody
func (*ContainerCreateNotFoundBody) ContextValidate ¶
func (o *ContainerCreateNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container create not found body based on context it is used
func (*ContainerCreateNotFoundBody) MarshalBinary ¶
func (o *ContainerCreateNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerCreateNotFoundBody) UnmarshalBinary ¶
func (o *ContainerCreateNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerCreateParams ¶
type ContainerCreateParams struct { /* Body. Container to create */ Body *models.CreateContainerConfig /* Name. container name */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerCreateParamsWithContext ¶
func NewContainerCreateParamsWithContext(ctx context.Context) *ContainerCreateParams
NewContainerCreateParamsWithContext creates a new ContainerCreateParams object with 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 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 ability to set a timeout on a request.
func (*ContainerCreateParams) SetBody ¶
func (o *ContainerCreateParams) SetBody(body *models.CreateContainerConfig)
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) SetDefaults ¶
func (o *ContainerCreateParams) SetDefaults()
SetDefaults hydrates default values in the container create params (not the query body).
All values with no default are reset to their zero value.
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 *models.CreateContainerConfig) *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) WithDefaults ¶
func (o *ContainerCreateParams) WithDefaults() *ContainerCreateParams
WithDefaults hydrates default values in the container create params (not the query body).
All values with no default are reset to their zero value.
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 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 *ContainerDeleteBadRequestBody
}
ContainerDeleteBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewContainerDeleteBadRequest ¶
func NewContainerDeleteBadRequest() *ContainerDeleteBadRequest
NewContainerDeleteBadRequest creates a ContainerDeleteBadRequest with default headers values
func (*ContainerDeleteBadRequest) Error ¶
func (o *ContainerDeleteBadRequest) Error() string
func (*ContainerDeleteBadRequest) GetPayload ¶
func (o *ContainerDeleteBadRequest) GetPayload() *ContainerDeleteBadRequestBody
func (*ContainerDeleteBadRequest) IsClientError ¶
func (o *ContainerDeleteBadRequest) IsClientError() bool
IsClientError returns true when this container delete bad request response has a 4xx status code
func (*ContainerDeleteBadRequest) IsCode ¶
func (o *ContainerDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this container delete bad request response a status code equal to that given
func (*ContainerDeleteBadRequest) IsRedirect ¶
func (o *ContainerDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this container delete bad request response has a 3xx status code
func (*ContainerDeleteBadRequest) IsServerError ¶
func (o *ContainerDeleteBadRequest) IsServerError() bool
IsServerError returns true when this container delete bad request response has a 5xx status code
func (*ContainerDeleteBadRequest) IsSuccess ¶
func (o *ContainerDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this container delete bad request response has a 2xx status code
func (*ContainerDeleteBadRequest) String ¶
func (o *ContainerDeleteBadRequest) String() string
type ContainerDeleteBadRequestBody ¶
type ContainerDeleteBadRequestBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerDeleteBadRequestBody container delete bad request body swagger:model ContainerDeleteBadRequestBody
func (*ContainerDeleteBadRequestBody) ContextValidate ¶
func (o *ContainerDeleteBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container delete bad request body based on context it is used
func (*ContainerDeleteBadRequestBody) MarshalBinary ¶
func (o *ContainerDeleteBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerDeleteBadRequestBody) UnmarshalBinary ¶
func (o *ContainerDeleteBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerDeleteConflict ¶
type ContainerDeleteConflict struct {
Payload *ContainerDeleteConflictBody
}
ContainerDeleteConflict describes a response with status code 409, with default header values.
Conflict error in operation
func NewContainerDeleteConflict ¶
func NewContainerDeleteConflict() *ContainerDeleteConflict
NewContainerDeleteConflict creates a ContainerDeleteConflict with default headers values
func (*ContainerDeleteConflict) Error ¶
func (o *ContainerDeleteConflict) Error() string
func (*ContainerDeleteConflict) GetPayload ¶
func (o *ContainerDeleteConflict) GetPayload() *ContainerDeleteConflictBody
func (*ContainerDeleteConflict) IsClientError ¶
func (o *ContainerDeleteConflict) IsClientError() bool
IsClientError returns true when this container delete conflict response has a 4xx status code
func (*ContainerDeleteConflict) IsCode ¶
func (o *ContainerDeleteConflict) IsCode(code int) bool
IsCode returns true when this container delete conflict response a status code equal to that given
func (*ContainerDeleteConflict) IsRedirect ¶
func (o *ContainerDeleteConflict) IsRedirect() bool
IsRedirect returns true when this container delete conflict response has a 3xx status code
func (*ContainerDeleteConflict) IsServerError ¶
func (o *ContainerDeleteConflict) IsServerError() bool
IsServerError returns true when this container delete conflict response has a 5xx status code
func (*ContainerDeleteConflict) IsSuccess ¶
func (o *ContainerDeleteConflict) IsSuccess() bool
IsSuccess returns true when this container delete conflict response has a 2xx status code
func (*ContainerDeleteConflict) String ¶
func (o *ContainerDeleteConflict) String() string
type ContainerDeleteConflictBody ¶
type ContainerDeleteConflictBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerDeleteConflictBody container delete conflict body swagger:model ContainerDeleteConflictBody
func (*ContainerDeleteConflictBody) ContextValidate ¶
func (o *ContainerDeleteConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container delete conflict body based on context it is used
func (*ContainerDeleteConflictBody) MarshalBinary ¶
func (o *ContainerDeleteConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerDeleteConflictBody) UnmarshalBinary ¶
func (o *ContainerDeleteConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerDeleteInternalServerError ¶
type ContainerDeleteInternalServerError struct {
Payload *ContainerDeleteInternalServerErrorBody
}
ContainerDeleteInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerDeleteInternalServerError ¶
func NewContainerDeleteInternalServerError() *ContainerDeleteInternalServerError
NewContainerDeleteInternalServerError creates a ContainerDeleteInternalServerError with default headers values
func (*ContainerDeleteInternalServerError) Error ¶
func (o *ContainerDeleteInternalServerError) Error() string
func (*ContainerDeleteInternalServerError) GetPayload ¶
func (o *ContainerDeleteInternalServerError) GetPayload() *ContainerDeleteInternalServerErrorBody
func (*ContainerDeleteInternalServerError) IsClientError ¶
func (o *ContainerDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this container delete internal server error response has a 4xx status code
func (*ContainerDeleteInternalServerError) IsCode ¶
func (o *ContainerDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this container delete internal server error response a status code equal to that given
func (*ContainerDeleteInternalServerError) IsRedirect ¶
func (o *ContainerDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this container delete internal server error response has a 3xx status code
func (*ContainerDeleteInternalServerError) IsServerError ¶
func (o *ContainerDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this container delete internal server error response has a 5xx status code
func (*ContainerDeleteInternalServerError) IsSuccess ¶
func (o *ContainerDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this container delete internal server error response has a 2xx status code
func (*ContainerDeleteInternalServerError) String ¶
func (o *ContainerDeleteInternalServerError) String() string
type ContainerDeleteInternalServerErrorBody ¶
type ContainerDeleteInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerDeleteInternalServerErrorBody container delete internal server error body swagger:model ContainerDeleteInternalServerErrorBody
func (*ContainerDeleteInternalServerErrorBody) ContextValidate ¶
func (o *ContainerDeleteInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container delete internal server error body based on context it is used
func (*ContainerDeleteInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerDeleteInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerDeleteInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerDeleteInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerDeleteNoContent ¶
type ContainerDeleteNoContent struct { }
ContainerDeleteNoContent describes a response with status code 204, 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
func (*ContainerDeleteNoContent) IsClientError ¶
func (o *ContainerDeleteNoContent) IsClientError() bool
IsClientError returns true when this container delete no content response has a 4xx status code
func (*ContainerDeleteNoContent) IsCode ¶
func (o *ContainerDeleteNoContent) IsCode(code int) bool
IsCode returns true when this container delete no content response a status code equal to that given
func (*ContainerDeleteNoContent) IsRedirect ¶
func (o *ContainerDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this container delete no content response has a 3xx status code
func (*ContainerDeleteNoContent) IsServerError ¶
func (o *ContainerDeleteNoContent) IsServerError() bool
IsServerError returns true when this container delete no content response has a 5xx status code
func (*ContainerDeleteNoContent) IsSuccess ¶
func (o *ContainerDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this container delete no content response has a 2xx status code
func (*ContainerDeleteNoContent) String ¶
func (o *ContainerDeleteNoContent) String() string
type ContainerDeleteNotFound ¶
type ContainerDeleteNotFound struct {
Payload *ContainerDeleteNotFoundBody
}
ContainerDeleteNotFound describes a response with status code 404, 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
func (*ContainerDeleteNotFound) GetPayload ¶
func (o *ContainerDeleteNotFound) GetPayload() *ContainerDeleteNotFoundBody
func (*ContainerDeleteNotFound) IsClientError ¶
func (o *ContainerDeleteNotFound) IsClientError() bool
IsClientError returns true when this container delete not found response has a 4xx status code
func (*ContainerDeleteNotFound) IsCode ¶
func (o *ContainerDeleteNotFound) IsCode(code int) bool
IsCode returns true when this container delete not found response a status code equal to that given
func (*ContainerDeleteNotFound) IsRedirect ¶
func (o *ContainerDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this container delete not found response has a 3xx status code
func (*ContainerDeleteNotFound) IsServerError ¶
func (o *ContainerDeleteNotFound) IsServerError() bool
IsServerError returns true when this container delete not found response has a 5xx status code
func (*ContainerDeleteNotFound) IsSuccess ¶
func (o *ContainerDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this container delete not found response has a 2xx status code
func (*ContainerDeleteNotFound) String ¶
func (o *ContainerDeleteNotFound) String() string
type ContainerDeleteNotFoundBody ¶
type ContainerDeleteNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerDeleteNotFoundBody container delete not found body swagger:model ContainerDeleteNotFoundBody
func (*ContainerDeleteNotFoundBody) ContextValidate ¶
func (o *ContainerDeleteNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container delete not found body based on context it is used
func (*ContainerDeleteNotFoundBody) MarshalBinary ¶
func (o *ContainerDeleteNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerDeleteNotFoundBody) UnmarshalBinary ¶
func (o *ContainerDeleteNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerDeleteParams ¶
type ContainerDeleteParams struct { /* Force. If the container is running, kill it before removing it. */ Force *bool /* Link. not supported */ Link *bool /* Name. the name or ID of the container */ Name string /* 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerDeleteParamsWithContext ¶
func NewContainerDeleteParamsWithContext(ctx context.Context) *ContainerDeleteParams
NewContainerDeleteParamsWithContext creates a new ContainerDeleteParams object with 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 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 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) SetDefaults ¶
func (o *ContainerDeleteParams) SetDefaults()
SetDefaults hydrates default values in the container delete params (not the query body).
All values with no default are reset to their zero value.
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) SetLink ¶
func (o *ContainerDeleteParams) SetLink(link *bool)
SetLink adds the link to the container delete params
func (*ContainerDeleteParams) SetName ¶
func (o *ContainerDeleteParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerDeleteParams) WithDefaults() *ContainerDeleteParams
WithDefaults hydrates default values in the container delete params (not the query body).
All values with no default are reset to their zero value.
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) WithLink ¶
func (o *ContainerDeleteParams) WithLink(link *bool) *ContainerDeleteParams
WithLink adds the link to the container delete params
func (*ContainerDeleteParams) WithName ¶
func (o *ContainerDeleteParams) WithName(name string) *ContainerDeleteParams
WithName adds the name 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 *ContainerExportInternalServerErrorBody
}
ContainerExportInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerExportInternalServerError ¶
func NewContainerExportInternalServerError() *ContainerExportInternalServerError
NewContainerExportInternalServerError creates a ContainerExportInternalServerError with default headers values
func (*ContainerExportInternalServerError) Error ¶
func (o *ContainerExportInternalServerError) Error() string
func (*ContainerExportInternalServerError) GetPayload ¶
func (o *ContainerExportInternalServerError) GetPayload() *ContainerExportInternalServerErrorBody
func (*ContainerExportInternalServerError) IsClientError ¶
func (o *ContainerExportInternalServerError) IsClientError() bool
IsClientError returns true when this container export internal server error response has a 4xx status code
func (*ContainerExportInternalServerError) IsCode ¶
func (o *ContainerExportInternalServerError) IsCode(code int) bool
IsCode returns true when this container export internal server error response a status code equal to that given
func (*ContainerExportInternalServerError) IsRedirect ¶
func (o *ContainerExportInternalServerError) IsRedirect() bool
IsRedirect returns true when this container export internal server error response has a 3xx status code
func (*ContainerExportInternalServerError) IsServerError ¶
func (o *ContainerExportInternalServerError) IsServerError() bool
IsServerError returns true when this container export internal server error response has a 5xx status code
func (*ContainerExportInternalServerError) IsSuccess ¶
func (o *ContainerExportInternalServerError) IsSuccess() bool
IsSuccess returns true when this container export internal server error response has a 2xx status code
func (*ContainerExportInternalServerError) String ¶
func (o *ContainerExportInternalServerError) String() string
type ContainerExportInternalServerErrorBody ¶
type ContainerExportInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerExportInternalServerErrorBody container export internal server error body swagger:model ContainerExportInternalServerErrorBody
func (*ContainerExportInternalServerErrorBody) ContextValidate ¶
func (o *ContainerExportInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container export internal server error body based on context it is used
func (*ContainerExportInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerExportInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerExportInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerExportInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerExportNotFound ¶
type ContainerExportNotFound struct {
Payload *ContainerExportNotFoundBody
}
ContainerExportNotFound describes a response with status code 404, 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
func (*ContainerExportNotFound) GetPayload ¶
func (o *ContainerExportNotFound) GetPayload() *ContainerExportNotFoundBody
func (*ContainerExportNotFound) IsClientError ¶
func (o *ContainerExportNotFound) IsClientError() bool
IsClientError returns true when this container export not found response has a 4xx status code
func (*ContainerExportNotFound) IsCode ¶
func (o *ContainerExportNotFound) IsCode(code int) bool
IsCode returns true when this container export not found response a status code equal to that given
func (*ContainerExportNotFound) IsRedirect ¶
func (o *ContainerExportNotFound) IsRedirect() bool
IsRedirect returns true when this container export not found response has a 3xx status code
func (*ContainerExportNotFound) IsServerError ¶
func (o *ContainerExportNotFound) IsServerError() bool
IsServerError returns true when this container export not found response has a 5xx status code
func (*ContainerExportNotFound) IsSuccess ¶
func (o *ContainerExportNotFound) IsSuccess() bool
IsSuccess returns true when this container export not found response has a 2xx status code
func (*ContainerExportNotFound) String ¶
func (o *ContainerExportNotFound) String() string
type ContainerExportNotFoundBody ¶
type ContainerExportNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerExportNotFoundBody container export not found body swagger:model ContainerExportNotFoundBody
func (*ContainerExportNotFoundBody) ContextValidate ¶
func (o *ContainerExportNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container export not found body based on context it is used
func (*ContainerExportNotFoundBody) MarshalBinary ¶
func (o *ContainerExportNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerExportNotFoundBody) UnmarshalBinary ¶
func (o *ContainerExportNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerExportOK ¶
type ContainerExportOK struct { }
ContainerExportOK describes a response with status code 200, with default header values.
tarball is returned in body
func NewContainerExportOK ¶
func NewContainerExportOK() *ContainerExportOK
NewContainerExportOK creates a ContainerExportOK with default headers values
func (*ContainerExportOK) Error ¶
func (o *ContainerExportOK) Error() string
func (*ContainerExportOK) IsClientError ¶
func (o *ContainerExportOK) IsClientError() bool
IsClientError returns true when this container export o k response has a 4xx status code
func (*ContainerExportOK) IsCode ¶
func (o *ContainerExportOK) IsCode(code int) bool
IsCode returns true when this container export o k response a status code equal to that given
func (*ContainerExportOK) IsRedirect ¶
func (o *ContainerExportOK) IsRedirect() bool
IsRedirect returns true when this container export o k response has a 3xx status code
func (*ContainerExportOK) IsServerError ¶
func (o *ContainerExportOK) IsServerError() bool
IsServerError returns true when this container export o k response has a 5xx status code
func (*ContainerExportOK) IsSuccess ¶
func (o *ContainerExportOK) IsSuccess() bool
IsSuccess returns true when this container export o k response has a 2xx status code
func (*ContainerExportOK) String ¶
func (o *ContainerExportOK) String() string
type ContainerExportParams ¶
type ContainerExportParams struct { /* Name. the name or ID of the container */ Name 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerExportParamsWithContext ¶
func NewContainerExportParamsWithContext(ctx context.Context) *ContainerExportParams
NewContainerExportParamsWithContext creates a new ContainerExportParams object with 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 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 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) SetDefaults ¶
func (o *ContainerExportParams) SetDefaults()
SetDefaults hydrates default values in the container export params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerExportParams) SetHTTPClient ¶
func (o *ContainerExportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container export params
func (*ContainerExportParams) SetName ¶
func (o *ContainerExportParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerExportParams) WithDefaults() *ContainerExportParams
WithDefaults hydrates default values in the container export params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerExportParams) WithHTTPClient ¶
func (o *ContainerExportParams) WithHTTPClient(client *http.Client) *ContainerExportParams
WithHTTPClient adds the HTTPClient to the container export params
func (*ContainerExportParams) WithName ¶
func (o *ContainerExportParams) WithName(name string) *ContainerExportParams
WithName adds the name 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 *ContainerInspectInternalServerErrorBody
}
ContainerInspectInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerInspectInternalServerError ¶
func NewContainerInspectInternalServerError() *ContainerInspectInternalServerError
NewContainerInspectInternalServerError creates a ContainerInspectInternalServerError with default headers values
func (*ContainerInspectInternalServerError) Error ¶
func (o *ContainerInspectInternalServerError) Error() string
func (*ContainerInspectInternalServerError) GetPayload ¶
func (o *ContainerInspectInternalServerError) GetPayload() *ContainerInspectInternalServerErrorBody
func (*ContainerInspectInternalServerError) IsClientError ¶
func (o *ContainerInspectInternalServerError) IsClientError() bool
IsClientError returns true when this container inspect internal server error response has a 4xx status code
func (*ContainerInspectInternalServerError) IsCode ¶
func (o *ContainerInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this container inspect internal server error response a status code equal to that given
func (*ContainerInspectInternalServerError) IsRedirect ¶
func (o *ContainerInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this container inspect internal server error response has a 3xx status code
func (*ContainerInspectInternalServerError) IsServerError ¶
func (o *ContainerInspectInternalServerError) IsServerError() bool
IsServerError returns true when this container inspect internal server error response has a 5xx status code
func (*ContainerInspectInternalServerError) IsSuccess ¶
func (o *ContainerInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this container inspect internal server error response has a 2xx status code
func (*ContainerInspectInternalServerError) String ¶
func (o *ContainerInspectInternalServerError) String() string
type ContainerInspectInternalServerErrorBody ¶
type ContainerInspectInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerInspectInternalServerErrorBody container inspect internal server error body swagger:model ContainerInspectInternalServerErrorBody
func (*ContainerInspectInternalServerErrorBody) ContextValidate ¶
func (o *ContainerInspectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container inspect internal server error body based on context it is used
func (*ContainerInspectInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerInspectInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerInspectInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerInspectInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerInspectNotFound ¶
type ContainerInspectNotFound struct {
Payload *ContainerInspectNotFoundBody
}
ContainerInspectNotFound describes a response with status code 404, 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
func (*ContainerInspectNotFound) GetPayload ¶
func (o *ContainerInspectNotFound) GetPayload() *ContainerInspectNotFoundBody
func (*ContainerInspectNotFound) IsClientError ¶
func (o *ContainerInspectNotFound) IsClientError() bool
IsClientError returns true when this container inspect not found response has a 4xx status code
func (*ContainerInspectNotFound) IsCode ¶
func (o *ContainerInspectNotFound) IsCode(code int) bool
IsCode returns true when this container inspect not found response a status code equal to that given
func (*ContainerInspectNotFound) IsRedirect ¶
func (o *ContainerInspectNotFound) IsRedirect() bool
IsRedirect returns true when this container inspect not found response has a 3xx status code
func (*ContainerInspectNotFound) IsServerError ¶
func (o *ContainerInspectNotFound) IsServerError() bool
IsServerError returns true when this container inspect not found response has a 5xx status code
func (*ContainerInspectNotFound) IsSuccess ¶
func (o *ContainerInspectNotFound) IsSuccess() bool
IsSuccess returns true when this container inspect not found response has a 2xx status code
func (*ContainerInspectNotFound) String ¶
func (o *ContainerInspectNotFound) String() string
type ContainerInspectNotFoundBody ¶
type ContainerInspectNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerInspectNotFoundBody container inspect not found body swagger:model ContainerInspectNotFoundBody
func (*ContainerInspectNotFoundBody) ContextValidate ¶
func (o *ContainerInspectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container inspect not found body based on context it is used
func (*ContainerInspectNotFoundBody) MarshalBinary ¶
func (o *ContainerInspectNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerInspectNotFoundBody) UnmarshalBinary ¶
func (o *ContainerInspectNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerInspectOK ¶
type ContainerInspectOK struct {
Payload *ContainerInspectOKBody
}
ContainerInspectOK describes a response with status code 200, with default header values.
Inspect container
func NewContainerInspectOK ¶
func NewContainerInspectOK() *ContainerInspectOK
NewContainerInspectOK creates a ContainerInspectOK with default headers values
func (*ContainerInspectOK) Error ¶
func (o *ContainerInspectOK) Error() string
func (*ContainerInspectOK) GetPayload ¶
func (o *ContainerInspectOK) GetPayload() *ContainerInspectOKBody
func (*ContainerInspectOK) IsClientError ¶
func (o *ContainerInspectOK) IsClientError() bool
IsClientError returns true when this container inspect o k response has a 4xx status code
func (*ContainerInspectOK) IsCode ¶
func (o *ContainerInspectOK) IsCode(code int) bool
IsCode returns true when this container inspect o k response a status code equal to that given
func (*ContainerInspectOK) IsRedirect ¶
func (o *ContainerInspectOK) IsRedirect() bool
IsRedirect returns true when this container inspect o k response has a 3xx status code
func (*ContainerInspectOK) IsServerError ¶
func (o *ContainerInspectOK) IsServerError() bool
IsServerError returns true when this container inspect o k response has a 5xx status code
func (*ContainerInspectOK) IsSuccess ¶
func (o *ContainerInspectOK) IsSuccess() bool
IsSuccess returns true when this container inspect o k response has a 2xx status code
func (*ContainerInspectOK) String ¶
func (o *ContainerInspectOK) String() string
type ContainerInspectOKBody ¶
type ContainerInspectOKBody struct { // app armor profile AppArmorProfile string `json:"AppArmorProfile,omitempty"` // args Args []string `json:"Args"` // config Config *models.Config `json:"Config,omitempty"` // created Created string `json:"Created,omitempty"` // driver Driver string `json:"Driver,omitempty"` // exec i ds 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"` // ID ID string `json:"Id,omitempty"` // 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"` // node Node *models.ContainerNode `json:"Node,omitempty"` // path Path string `json:"Path,omitempty"` // platform Platform string `json:"Platform,omitempty"` // process label ProcessLabel string `json:"ProcessLabel,omitempty"` // resolv conf path ResolvConfPath string `json:"ResolvConfPath,omitempty"` // restart count RestartCount int64 `json:"RestartCount,omitempty"` // size root fs SizeRootFs int64 `json:"SizeRootFs,omitempty"` // size rw SizeRw int64 `json:"SizeRw,omitempty"` // state State *models.ContainerState `json:"State,omitempty"` }
ContainerInspectOKBody container inspect o k body swagger:model ContainerInspectOKBody
func (*ContainerInspectOKBody) ContextValidate ¶
func (o *ContainerInspectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this container inspect o k body based on the context it is used
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 ContainerInspectParams ¶
type ContainerInspectParams struct { /* Name. the name or id of the container */ Name string /* Size. include the size of the container */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerInspectParamsWithContext ¶
func NewContainerInspectParamsWithContext(ctx context.Context) *ContainerInspectParams
NewContainerInspectParamsWithContext creates a new ContainerInspectParams object with 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 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 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) SetDefaults ¶
func (o *ContainerInspectParams) SetDefaults()
SetDefaults hydrates default values in the container inspect params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerInspectParams) SetHTTPClient ¶
func (o *ContainerInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container inspect params
func (*ContainerInspectParams) SetName ¶
func (o *ContainerInspectParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerInspectParams) WithDefaults() *ContainerInspectParams
WithDefaults hydrates default values in the container inspect params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerInspectParams) WithHTTPClient ¶
func (o *ContainerInspectParams) WithHTTPClient(client *http.Client) *ContainerInspectParams
WithHTTPClient adds the HTTPClient to the container inspect params
func (*ContainerInspectParams) WithName ¶
func (o *ContainerInspectParams) WithName(name string) *ContainerInspectParams
WithName adds the name 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 *ContainerKillConflictBody
}
ContainerKillConflict describes a response with status code 409, with default header values.
Conflict error in operation
func NewContainerKillConflict ¶
func NewContainerKillConflict() *ContainerKillConflict
NewContainerKillConflict creates a ContainerKillConflict with default headers values
func (*ContainerKillConflict) Error ¶
func (o *ContainerKillConflict) Error() string
func (*ContainerKillConflict) GetPayload ¶
func (o *ContainerKillConflict) GetPayload() *ContainerKillConflictBody
func (*ContainerKillConflict) IsClientError ¶
func (o *ContainerKillConflict) IsClientError() bool
IsClientError returns true when this container kill conflict response has a 4xx status code
func (*ContainerKillConflict) IsCode ¶
func (o *ContainerKillConflict) IsCode(code int) bool
IsCode returns true when this container kill conflict response a status code equal to that given
func (*ContainerKillConflict) IsRedirect ¶
func (o *ContainerKillConflict) IsRedirect() bool
IsRedirect returns true when this container kill conflict response has a 3xx status code
func (*ContainerKillConflict) IsServerError ¶
func (o *ContainerKillConflict) IsServerError() bool
IsServerError returns true when this container kill conflict response has a 5xx status code
func (*ContainerKillConflict) IsSuccess ¶
func (o *ContainerKillConflict) IsSuccess() bool
IsSuccess returns true when this container kill conflict response has a 2xx status code
func (*ContainerKillConflict) String ¶
func (o *ContainerKillConflict) String() string
type ContainerKillConflictBody ¶
type ContainerKillConflictBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerKillConflictBody container kill conflict body swagger:model ContainerKillConflictBody
func (*ContainerKillConflictBody) ContextValidate ¶
func (o *ContainerKillConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container kill conflict body based on context it is used
func (*ContainerKillConflictBody) MarshalBinary ¶
func (o *ContainerKillConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerKillConflictBody) UnmarshalBinary ¶
func (o *ContainerKillConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerKillInternalServerError ¶
type ContainerKillInternalServerError struct {
Payload *ContainerKillInternalServerErrorBody
}
ContainerKillInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerKillInternalServerError ¶
func NewContainerKillInternalServerError() *ContainerKillInternalServerError
NewContainerKillInternalServerError creates a ContainerKillInternalServerError with default headers values
func (*ContainerKillInternalServerError) Error ¶
func (o *ContainerKillInternalServerError) Error() string
func (*ContainerKillInternalServerError) GetPayload ¶
func (o *ContainerKillInternalServerError) GetPayload() *ContainerKillInternalServerErrorBody
func (*ContainerKillInternalServerError) IsClientError ¶
func (o *ContainerKillInternalServerError) IsClientError() bool
IsClientError returns true when this container kill internal server error response has a 4xx status code
func (*ContainerKillInternalServerError) IsCode ¶
func (o *ContainerKillInternalServerError) IsCode(code int) bool
IsCode returns true when this container kill internal server error response a status code equal to that given
func (*ContainerKillInternalServerError) IsRedirect ¶
func (o *ContainerKillInternalServerError) IsRedirect() bool
IsRedirect returns true when this container kill internal server error response has a 3xx status code
func (*ContainerKillInternalServerError) IsServerError ¶
func (o *ContainerKillInternalServerError) IsServerError() bool
IsServerError returns true when this container kill internal server error response has a 5xx status code
func (*ContainerKillInternalServerError) IsSuccess ¶
func (o *ContainerKillInternalServerError) IsSuccess() bool
IsSuccess returns true when this container kill internal server error response has a 2xx status code
func (*ContainerKillInternalServerError) String ¶
func (o *ContainerKillInternalServerError) String() string
type ContainerKillInternalServerErrorBody ¶
type ContainerKillInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerKillInternalServerErrorBody container kill internal server error body swagger:model ContainerKillInternalServerErrorBody
func (*ContainerKillInternalServerErrorBody) ContextValidate ¶
func (o *ContainerKillInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container kill internal server error body based on context it is used
func (*ContainerKillInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerKillInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerKillInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerKillInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerKillNoContent ¶
type ContainerKillNoContent struct { }
ContainerKillNoContent describes a response with status code 204, 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
func (*ContainerKillNoContent) IsClientError ¶
func (o *ContainerKillNoContent) IsClientError() bool
IsClientError returns true when this container kill no content response has a 4xx status code
func (*ContainerKillNoContent) IsCode ¶
func (o *ContainerKillNoContent) IsCode(code int) bool
IsCode returns true when this container kill no content response a status code equal to that given
func (*ContainerKillNoContent) IsRedirect ¶
func (o *ContainerKillNoContent) IsRedirect() bool
IsRedirect returns true when this container kill no content response has a 3xx status code
func (*ContainerKillNoContent) IsServerError ¶
func (o *ContainerKillNoContent) IsServerError() bool
IsServerError returns true when this container kill no content response has a 5xx status code
func (*ContainerKillNoContent) IsSuccess ¶
func (o *ContainerKillNoContent) IsSuccess() bool
IsSuccess returns true when this container kill no content response has a 2xx status code
func (*ContainerKillNoContent) String ¶
func (o *ContainerKillNoContent) String() string
type ContainerKillNotFound ¶
type ContainerKillNotFound struct {
Payload *ContainerKillNotFoundBody
}
ContainerKillNotFound describes a response with status code 404, 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
func (*ContainerKillNotFound) GetPayload ¶
func (o *ContainerKillNotFound) GetPayload() *ContainerKillNotFoundBody
func (*ContainerKillNotFound) IsClientError ¶
func (o *ContainerKillNotFound) IsClientError() bool
IsClientError returns true when this container kill not found response has a 4xx status code
func (*ContainerKillNotFound) IsCode ¶
func (o *ContainerKillNotFound) IsCode(code int) bool
IsCode returns true when this container kill not found response a status code equal to that given
func (*ContainerKillNotFound) IsRedirect ¶
func (o *ContainerKillNotFound) IsRedirect() bool
IsRedirect returns true when this container kill not found response has a 3xx status code
func (*ContainerKillNotFound) IsServerError ¶
func (o *ContainerKillNotFound) IsServerError() bool
IsServerError returns true when this container kill not found response has a 5xx status code
func (*ContainerKillNotFound) IsSuccess ¶
func (o *ContainerKillNotFound) IsSuccess() bool
IsSuccess returns true when this container kill not found response has a 2xx status code
func (*ContainerKillNotFound) String ¶
func (o *ContainerKillNotFound) String() string
type ContainerKillNotFoundBody ¶
type ContainerKillNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerKillNotFoundBody container kill not found body swagger:model ContainerKillNotFoundBody
func (*ContainerKillNotFoundBody) ContextValidate ¶
func (o *ContainerKillNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container kill not found body based on context it is used
func (*ContainerKillNotFoundBody) MarshalBinary ¶
func (o *ContainerKillNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerKillNotFoundBody) UnmarshalBinary ¶
func (o *ContainerKillNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerKillParams ¶
type ContainerKillParams struct { /* All. Send kill signal to all containers */ All *bool /* Name. the name or ID of the container */ Name string /* Signal. signal to be sent to container Default: "SIGKILL" */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerKillParamsWithContext ¶
func NewContainerKillParamsWithContext(ctx context.Context) *ContainerKillParams
NewContainerKillParamsWithContext creates a new ContainerKillParams object with 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 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 ability to set a timeout on a request.
func (*ContainerKillParams) SetAll ¶
func (o *ContainerKillParams) SetAll(all *bool)
SetAll adds the all to the container kill params
func (*ContainerKillParams) SetContext ¶
func (o *ContainerKillParams) SetContext(ctx context.Context)
SetContext adds the context to the container kill params
func (*ContainerKillParams) SetDefaults ¶
func (o *ContainerKillParams) SetDefaults()
SetDefaults hydrates default values in the container kill params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerKillParams) SetHTTPClient ¶
func (o *ContainerKillParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container kill params
func (*ContainerKillParams) SetName ¶
func (o *ContainerKillParams) SetName(name string)
SetName adds the name 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) WithAll ¶
func (o *ContainerKillParams) WithAll(all *bool) *ContainerKillParams
WithAll adds the all 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) WithDefaults ¶
func (o *ContainerKillParams) WithDefaults() *ContainerKillParams
WithDefaults hydrates default values in the container kill params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerKillParams) WithHTTPClient ¶
func (o *ContainerKillParams) WithHTTPClient(client *http.Client) *ContainerKillParams
WithHTTPClient adds the HTTPClient to the container kill params
func (*ContainerKillParams) WithName ¶
func (o *ContainerKillParams) WithName(name string) *ContainerKillParams
WithName adds the name 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 *ContainerListBadRequestBody
}
ContainerListBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewContainerListBadRequest ¶
func NewContainerListBadRequest() *ContainerListBadRequest
NewContainerListBadRequest creates a ContainerListBadRequest with default headers values
func (*ContainerListBadRequest) Error ¶
func (o *ContainerListBadRequest) Error() string
func (*ContainerListBadRequest) GetPayload ¶
func (o *ContainerListBadRequest) GetPayload() *ContainerListBadRequestBody
func (*ContainerListBadRequest) IsClientError ¶
func (o *ContainerListBadRequest) IsClientError() bool
IsClientError returns true when this container list bad request response has a 4xx status code
func (*ContainerListBadRequest) IsCode ¶
func (o *ContainerListBadRequest) IsCode(code int) bool
IsCode returns true when this container list bad request response a status code equal to that given
func (*ContainerListBadRequest) IsRedirect ¶
func (o *ContainerListBadRequest) IsRedirect() bool
IsRedirect returns true when this container list bad request response has a 3xx status code
func (*ContainerListBadRequest) IsServerError ¶
func (o *ContainerListBadRequest) IsServerError() bool
IsServerError returns true when this container list bad request response has a 5xx status code
func (*ContainerListBadRequest) IsSuccess ¶
func (o *ContainerListBadRequest) IsSuccess() bool
IsSuccess returns true when this container list bad request response has a 2xx status code
func (*ContainerListBadRequest) String ¶
func (o *ContainerListBadRequest) String() string
type ContainerListBadRequestBody ¶
type ContainerListBadRequestBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerListBadRequestBody container list bad request body swagger:model ContainerListBadRequestBody
func (*ContainerListBadRequestBody) ContextValidate ¶
func (o *ContainerListBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container list bad request body based on context it is used
func (*ContainerListBadRequestBody) MarshalBinary ¶
func (o *ContainerListBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerListBadRequestBody) UnmarshalBinary ¶
func (o *ContainerListBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerListInternalServerError ¶
type ContainerListInternalServerError struct {
Payload *ContainerListInternalServerErrorBody
}
ContainerListInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerListInternalServerError ¶
func NewContainerListInternalServerError() *ContainerListInternalServerError
NewContainerListInternalServerError creates a ContainerListInternalServerError with default headers values
func (*ContainerListInternalServerError) Error ¶
func (o *ContainerListInternalServerError) Error() string
func (*ContainerListInternalServerError) GetPayload ¶
func (o *ContainerListInternalServerError) GetPayload() *ContainerListInternalServerErrorBody
func (*ContainerListInternalServerError) IsClientError ¶
func (o *ContainerListInternalServerError) IsClientError() bool
IsClientError returns true when this container list internal server error response has a 4xx status code
func (*ContainerListInternalServerError) IsCode ¶
func (o *ContainerListInternalServerError) IsCode(code int) bool
IsCode returns true when this container list internal server error response a status code equal to that given
func (*ContainerListInternalServerError) IsRedirect ¶
func (o *ContainerListInternalServerError) IsRedirect() bool
IsRedirect returns true when this container list internal server error response has a 3xx status code
func (*ContainerListInternalServerError) IsServerError ¶
func (o *ContainerListInternalServerError) IsServerError() bool
IsServerError returns true when this container list internal server error response has a 5xx status code
func (*ContainerListInternalServerError) IsSuccess ¶
func (o *ContainerListInternalServerError) IsSuccess() bool
IsSuccess returns true when this container list internal server error response has a 2xx status code
func (*ContainerListInternalServerError) String ¶
func (o *ContainerListInternalServerError) String() string
type ContainerListInternalServerErrorBody ¶
type ContainerListInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerListInternalServerErrorBody container list internal server error body swagger:model ContainerListInternalServerErrorBody
func (*ContainerListInternalServerErrorBody) ContextValidate ¶
func (o *ContainerListInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container list internal server error body based on context it is used
func (*ContainerListInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerListInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerListInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerListInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerListOK ¶
type ContainerListOK struct {
Payload interface{}
}
ContainerListOK describes a response with status code 200, with default header values.
List Containers
func NewContainerListOK ¶
func NewContainerListOK() *ContainerListOK
NewContainerListOK creates a ContainerListOK with default headers values
func (*ContainerListOK) Error ¶
func (o *ContainerListOK) Error() string
func (*ContainerListOK) GetPayload ¶
func (o *ContainerListOK) GetPayload() interface{}
func (*ContainerListOK) IsClientError ¶
func (o *ContainerListOK) IsClientError() bool
IsClientError returns true when this container list o k response has a 4xx status code
func (*ContainerListOK) IsCode ¶
func (o *ContainerListOK) IsCode(code int) bool
IsCode returns true when this container list o k response a status code equal to that given
func (*ContainerListOK) IsRedirect ¶
func (o *ContainerListOK) IsRedirect() bool
IsRedirect returns true when this container list o k response has a 3xx status code
func (*ContainerListOK) IsServerError ¶
func (o *ContainerListOK) IsServerError() bool
IsServerError returns true when this container list o k response has a 5xx status code
func (*ContainerListOK) IsSuccess ¶
func (o *ContainerListOK) IsSuccess() bool
IsSuccess returns true when this container list o k response has a 2xx status code
func (*ContainerListOK) String ¶
func (o *ContainerListOK) String() string
type ContainerListParams ¶
type ContainerListParams struct { /* All. Return all containers. By default, only running containers are shown */ All *bool /* External. Return containers in storage not controlled by Podman */ External *bool /* Filters. Returns a list of containers. - 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 - 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerListParamsWithContext ¶
func NewContainerListParamsWithContext(ctx context.Context) *ContainerListParams
NewContainerListParamsWithContext creates a new ContainerListParams object with 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 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 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) SetDefaults ¶
func (o *ContainerListParams) SetDefaults()
SetDefaults hydrates default values in the container list params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerListParams) SetExternal ¶
func (o *ContainerListParams) SetExternal(external *bool)
SetExternal adds the external 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) WithDefaults ¶
func (o *ContainerListParams) WithDefaults() *ContainerListParams
WithDefaults hydrates default values in the container list params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerListParams) WithExternal ¶
func (o *ContainerListParams) WithExternal(external *bool) *ContainerListParams
WithExternal adds the external 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 *ContainerLogsInternalServerErrorBody
}
ContainerLogsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerLogsInternalServerError ¶
func NewContainerLogsInternalServerError() *ContainerLogsInternalServerError
NewContainerLogsInternalServerError creates a ContainerLogsInternalServerError with default headers values
func (*ContainerLogsInternalServerError) Error ¶
func (o *ContainerLogsInternalServerError) Error() string
func (*ContainerLogsInternalServerError) GetPayload ¶
func (o *ContainerLogsInternalServerError) GetPayload() *ContainerLogsInternalServerErrorBody
func (*ContainerLogsInternalServerError) IsClientError ¶
func (o *ContainerLogsInternalServerError) IsClientError() bool
IsClientError returns true when this container logs internal server error response has a 4xx status code
func (*ContainerLogsInternalServerError) IsCode ¶
func (o *ContainerLogsInternalServerError) IsCode(code int) bool
IsCode returns true when this container logs internal server error response a status code equal to that given
func (*ContainerLogsInternalServerError) IsRedirect ¶
func (o *ContainerLogsInternalServerError) IsRedirect() bool
IsRedirect returns true when this container logs internal server error response has a 3xx status code
func (*ContainerLogsInternalServerError) IsServerError ¶
func (o *ContainerLogsInternalServerError) IsServerError() bool
IsServerError returns true when this container logs internal server error response has a 5xx status code
func (*ContainerLogsInternalServerError) IsSuccess ¶
func (o *ContainerLogsInternalServerError) IsSuccess() bool
IsSuccess returns true when this container logs internal server error response has a 2xx status code
func (*ContainerLogsInternalServerError) String ¶
func (o *ContainerLogsInternalServerError) String() string
type ContainerLogsInternalServerErrorBody ¶
type ContainerLogsInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerLogsInternalServerErrorBody container logs internal server error body swagger:model ContainerLogsInternalServerErrorBody
func (*ContainerLogsInternalServerErrorBody) ContextValidate ¶
func (o *ContainerLogsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container logs internal server error body based on context it is used
func (*ContainerLogsInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerLogsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerLogsInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerLogsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerLogsNotFound ¶
type ContainerLogsNotFound struct {
Payload *ContainerLogsNotFoundBody
}
ContainerLogsNotFound describes a response with status code 404, 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
func (*ContainerLogsNotFound) GetPayload ¶
func (o *ContainerLogsNotFound) GetPayload() *ContainerLogsNotFoundBody
func (*ContainerLogsNotFound) IsClientError ¶
func (o *ContainerLogsNotFound) IsClientError() bool
IsClientError returns true when this container logs not found response has a 4xx status code
func (*ContainerLogsNotFound) IsCode ¶
func (o *ContainerLogsNotFound) IsCode(code int) bool
IsCode returns true when this container logs not found response a status code equal to that given
func (*ContainerLogsNotFound) IsRedirect ¶
func (o *ContainerLogsNotFound) IsRedirect() bool
IsRedirect returns true when this container logs not found response has a 3xx status code
func (*ContainerLogsNotFound) IsServerError ¶
func (o *ContainerLogsNotFound) IsServerError() bool
IsServerError returns true when this container logs not found response has a 5xx status code
func (*ContainerLogsNotFound) IsSuccess ¶
func (o *ContainerLogsNotFound) IsSuccess() bool
IsSuccess returns true when this container logs not found response has a 2xx status code
func (*ContainerLogsNotFound) String ¶
func (o *ContainerLogsNotFound) String() string
type ContainerLogsNotFoundBody ¶
type ContainerLogsNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerLogsNotFoundBody container logs not found body swagger:model ContainerLogsNotFoundBody
func (*ContainerLogsNotFoundBody) ContextValidate ¶
func (o *ContainerLogsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container logs not found body based on context it is used
func (*ContainerLogsNotFoundBody) MarshalBinary ¶
func (o *ContainerLogsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerLogsNotFoundBody) UnmarshalBinary ¶
func (o *ContainerLogsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerLogsOK ¶
type ContainerLogsOK struct { }
ContainerLogsOK describes a response with status code 200, with default header values.
logs returned as a stream in response body.
func NewContainerLogsOK ¶
func NewContainerLogsOK() *ContainerLogsOK
NewContainerLogsOK creates a ContainerLogsOK with default headers values
func (*ContainerLogsOK) Error ¶
func (o *ContainerLogsOK) Error() string
func (*ContainerLogsOK) IsClientError ¶
func (o *ContainerLogsOK) IsClientError() bool
IsClientError returns true when this container logs o k response has a 4xx status code
func (*ContainerLogsOK) IsCode ¶
func (o *ContainerLogsOK) IsCode(code int) bool
IsCode returns true when this container logs o k response a status code equal to that given
func (*ContainerLogsOK) IsRedirect ¶
func (o *ContainerLogsOK) IsRedirect() bool
IsRedirect returns true when this container logs o k response has a 3xx status code
func (*ContainerLogsOK) IsServerError ¶
func (o *ContainerLogsOK) IsServerError() bool
IsServerError returns true when this container logs o k response has a 5xx status code
func (*ContainerLogsOK) IsSuccess ¶
func (o *ContainerLogsOK) IsSuccess() bool
IsSuccess returns true when this container logs o k response has a 2xx status code
func (*ContainerLogsOK) String ¶
func (o *ContainerLogsOK) String() string
type ContainerLogsParams ¶
type ContainerLogsParams struct { /* Follow. Keep connection after returning logs. */ Follow *bool /* Name. the name or ID of the container */ Name string /* Since. Only return logs since this time, as a UNIX timestamp */ Since *string /* 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 Default: "all" */ Tail *string /* Timestamps. Add timestamps to every log line */ Timestamps *bool /* Until. Only return logs before this time, as a UNIX timestamp */ Until *string 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerLogsParamsWithContext ¶
func NewContainerLogsParamsWithContext(ctx context.Context) *ContainerLogsParams
NewContainerLogsParamsWithContext creates a new ContainerLogsParams object with 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 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 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) SetDefaults ¶
func (o *ContainerLogsParams) SetDefaults()
SetDefaults hydrates default values in the container logs params (not the query body).
All values with no default are reset to their zero value.
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) SetName ¶
func (o *ContainerLogsParams) SetName(name string)
SetName adds the name to the container logs params
func (*ContainerLogsParams) SetSince ¶
func (o *ContainerLogsParams) SetSince(since *string)
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 *string)
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) WithDefaults ¶
func (o *ContainerLogsParams) WithDefaults() *ContainerLogsParams
WithDefaults hydrates default values in the container logs params (not the query body).
All values with no default are reset to their zero value.
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) WithName ¶
func (o *ContainerLogsParams) WithName(name string) *ContainerLogsParams
WithName adds the name to the container logs params
func (*ContainerLogsParams) WithSince ¶
func (o *ContainerLogsParams) WithSince(since *string) *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 *string) *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 *ContainerPauseInternalServerErrorBody
}
ContainerPauseInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerPauseInternalServerError ¶
func NewContainerPauseInternalServerError() *ContainerPauseInternalServerError
NewContainerPauseInternalServerError creates a ContainerPauseInternalServerError with default headers values
func (*ContainerPauseInternalServerError) Error ¶
func (o *ContainerPauseInternalServerError) Error() string
func (*ContainerPauseInternalServerError) GetPayload ¶
func (o *ContainerPauseInternalServerError) GetPayload() *ContainerPauseInternalServerErrorBody
func (*ContainerPauseInternalServerError) IsClientError ¶
func (o *ContainerPauseInternalServerError) IsClientError() bool
IsClientError returns true when this container pause internal server error response has a 4xx status code
func (*ContainerPauseInternalServerError) IsCode ¶
func (o *ContainerPauseInternalServerError) IsCode(code int) bool
IsCode returns true when this container pause internal server error response a status code equal to that given
func (*ContainerPauseInternalServerError) IsRedirect ¶
func (o *ContainerPauseInternalServerError) IsRedirect() bool
IsRedirect returns true when this container pause internal server error response has a 3xx status code
func (*ContainerPauseInternalServerError) IsServerError ¶
func (o *ContainerPauseInternalServerError) IsServerError() bool
IsServerError returns true when this container pause internal server error response has a 5xx status code
func (*ContainerPauseInternalServerError) IsSuccess ¶
func (o *ContainerPauseInternalServerError) IsSuccess() bool
IsSuccess returns true when this container pause internal server error response has a 2xx status code
func (*ContainerPauseInternalServerError) String ¶
func (o *ContainerPauseInternalServerError) String() string
type ContainerPauseInternalServerErrorBody ¶
type ContainerPauseInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerPauseInternalServerErrorBody container pause internal server error body swagger:model ContainerPauseInternalServerErrorBody
func (*ContainerPauseInternalServerErrorBody) ContextValidate ¶
func (o *ContainerPauseInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container pause internal server error body based on context it is used
func (*ContainerPauseInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerPauseInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerPauseInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerPauseInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerPauseNoContent ¶
type ContainerPauseNoContent struct { }
ContainerPauseNoContent describes a response with status code 204, 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
func (*ContainerPauseNoContent) IsClientError ¶
func (o *ContainerPauseNoContent) IsClientError() bool
IsClientError returns true when this container pause no content response has a 4xx status code
func (*ContainerPauseNoContent) IsCode ¶
func (o *ContainerPauseNoContent) IsCode(code int) bool
IsCode returns true when this container pause no content response a status code equal to that given
func (*ContainerPauseNoContent) IsRedirect ¶
func (o *ContainerPauseNoContent) IsRedirect() bool
IsRedirect returns true when this container pause no content response has a 3xx status code
func (*ContainerPauseNoContent) IsServerError ¶
func (o *ContainerPauseNoContent) IsServerError() bool
IsServerError returns true when this container pause no content response has a 5xx status code
func (*ContainerPauseNoContent) IsSuccess ¶
func (o *ContainerPauseNoContent) IsSuccess() bool
IsSuccess returns true when this container pause no content response has a 2xx status code
func (*ContainerPauseNoContent) String ¶
func (o *ContainerPauseNoContent) String() string
type ContainerPauseNotFound ¶
type ContainerPauseNotFound struct {
Payload *ContainerPauseNotFoundBody
}
ContainerPauseNotFound describes a response with status code 404, 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
func (*ContainerPauseNotFound) GetPayload ¶
func (o *ContainerPauseNotFound) GetPayload() *ContainerPauseNotFoundBody
func (*ContainerPauseNotFound) IsClientError ¶
func (o *ContainerPauseNotFound) IsClientError() bool
IsClientError returns true when this container pause not found response has a 4xx status code
func (*ContainerPauseNotFound) IsCode ¶
func (o *ContainerPauseNotFound) IsCode(code int) bool
IsCode returns true when this container pause not found response a status code equal to that given
func (*ContainerPauseNotFound) IsRedirect ¶
func (o *ContainerPauseNotFound) IsRedirect() bool
IsRedirect returns true when this container pause not found response has a 3xx status code
func (*ContainerPauseNotFound) IsServerError ¶
func (o *ContainerPauseNotFound) IsServerError() bool
IsServerError returns true when this container pause not found response has a 5xx status code
func (*ContainerPauseNotFound) IsSuccess ¶
func (o *ContainerPauseNotFound) IsSuccess() bool
IsSuccess returns true when this container pause not found response has a 2xx status code
func (*ContainerPauseNotFound) String ¶
func (o *ContainerPauseNotFound) String() string
type ContainerPauseNotFoundBody ¶
type ContainerPauseNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerPauseNotFoundBody container pause not found body swagger:model ContainerPauseNotFoundBody
func (*ContainerPauseNotFoundBody) ContextValidate ¶
func (o *ContainerPauseNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container pause not found body based on context it is used
func (*ContainerPauseNotFoundBody) MarshalBinary ¶
func (o *ContainerPauseNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerPauseNotFoundBody) UnmarshalBinary ¶
func (o *ContainerPauseNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerPauseParams ¶
type ContainerPauseParams struct { /* Name. the name or ID of the container */ Name 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerPauseParamsWithContext ¶
func NewContainerPauseParamsWithContext(ctx context.Context) *ContainerPauseParams
NewContainerPauseParamsWithContext creates a new ContainerPauseParams object with 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 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 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) SetDefaults ¶
func (o *ContainerPauseParams) SetDefaults()
SetDefaults hydrates default values in the container pause params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerPauseParams) SetHTTPClient ¶
func (o *ContainerPauseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container pause params
func (*ContainerPauseParams) SetName ¶
func (o *ContainerPauseParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerPauseParams) WithDefaults() *ContainerPauseParams
WithDefaults hydrates default values in the container pause params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerPauseParams) WithHTTPClient ¶
func (o *ContainerPauseParams) WithHTTPClient(client *http.Client) *ContainerPauseParams
WithHTTPClient adds the HTTPClient to the container pause params
func (*ContainerPauseParams) WithName ¶
func (o *ContainerPauseParams) WithName(name string) *ContainerPauseParams
WithName adds the name 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 *ContainerPruneInternalServerErrorBody
}
ContainerPruneInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerPruneInternalServerError ¶
func NewContainerPruneInternalServerError() *ContainerPruneInternalServerError
NewContainerPruneInternalServerError creates a ContainerPruneInternalServerError with default headers values
func (*ContainerPruneInternalServerError) Error ¶
func (o *ContainerPruneInternalServerError) Error() string
func (*ContainerPruneInternalServerError) GetPayload ¶
func (o *ContainerPruneInternalServerError) GetPayload() *ContainerPruneInternalServerErrorBody
func (*ContainerPruneInternalServerError) IsClientError ¶
func (o *ContainerPruneInternalServerError) IsClientError() bool
IsClientError returns true when this container prune internal server error response has a 4xx status code
func (*ContainerPruneInternalServerError) IsCode ¶
func (o *ContainerPruneInternalServerError) IsCode(code int) bool
IsCode returns true when this container prune internal server error response a status code equal to that given
func (*ContainerPruneInternalServerError) IsRedirect ¶
func (o *ContainerPruneInternalServerError) IsRedirect() bool
IsRedirect returns true when this container prune internal server error response has a 3xx status code
func (*ContainerPruneInternalServerError) IsServerError ¶
func (o *ContainerPruneInternalServerError) IsServerError() bool
IsServerError returns true when this container prune internal server error response has a 5xx status code
func (*ContainerPruneInternalServerError) IsSuccess ¶
func (o *ContainerPruneInternalServerError) IsSuccess() bool
IsSuccess returns true when this container prune internal server error response has a 2xx status code
func (*ContainerPruneInternalServerError) String ¶
func (o *ContainerPruneInternalServerError) String() string
type ContainerPruneInternalServerErrorBody ¶
type ContainerPruneInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerPruneInternalServerErrorBody container prune internal server error body swagger:model ContainerPruneInternalServerErrorBody
func (*ContainerPruneInternalServerErrorBody) ContextValidate ¶
func (o *ContainerPruneInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container prune internal server error body based on context it is used
func (*ContainerPruneInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerPruneInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerPruneInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerPruneInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerPruneOK ¶
type ContainerPruneOK struct {
Payload []*models.ContainersPruneReport
}
ContainerPruneOK describes a response with status code 200, with default header values.
Prune containers
func NewContainerPruneOK ¶
func NewContainerPruneOK() *ContainerPruneOK
NewContainerPruneOK creates a ContainerPruneOK with default headers values
func (*ContainerPruneOK) Error ¶
func (o *ContainerPruneOK) Error() string
func (*ContainerPruneOK) GetPayload ¶
func (o *ContainerPruneOK) GetPayload() []*models.ContainersPruneReport
func (*ContainerPruneOK) IsClientError ¶
func (o *ContainerPruneOK) IsClientError() bool
IsClientError returns true when this container prune o k response has a 4xx status code
func (*ContainerPruneOK) IsCode ¶
func (o *ContainerPruneOK) IsCode(code int) bool
IsCode returns true when this container prune o k response a status code equal to that given
func (*ContainerPruneOK) IsRedirect ¶
func (o *ContainerPruneOK) IsRedirect() bool
IsRedirect returns true when this container prune o k response has a 3xx status code
func (*ContainerPruneOK) IsServerError ¶
func (o *ContainerPruneOK) IsServerError() bool
IsServerError returns true when this container prune o k response has a 5xx status code
func (*ContainerPruneOK) IsSuccess ¶
func (o *ContainerPruneOK) IsSuccess() bool
IsSuccess returns true when this container prune o k response has a 2xx status code
func (*ContainerPruneOK) String ¶
func (o *ContainerPruneOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerPruneParamsWithContext ¶
func NewContainerPruneParamsWithContext(ctx context.Context) *ContainerPruneParams
NewContainerPruneParamsWithContext creates a new ContainerPruneParams object with 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 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 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) SetDefaults ¶
func (o *ContainerPruneParams) SetDefaults()
SetDefaults hydrates default values in the container prune params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *ContainerPruneParams) WithDefaults() *ContainerPruneParams
WithDefaults hydrates default values in the container prune params (not the query body).
All values with no default are reset to their zero value.
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 *ContainerRenameConflictBody
}
ContainerRenameConflict describes a response with status code 409, with default header values.
Conflict error in operation
func NewContainerRenameConflict ¶
func NewContainerRenameConflict() *ContainerRenameConflict
NewContainerRenameConflict creates a ContainerRenameConflict with default headers values
func (*ContainerRenameConflict) Error ¶
func (o *ContainerRenameConflict) Error() string
func (*ContainerRenameConflict) GetPayload ¶
func (o *ContainerRenameConflict) GetPayload() *ContainerRenameConflictBody
func (*ContainerRenameConflict) IsClientError ¶
func (o *ContainerRenameConflict) IsClientError() bool
IsClientError returns true when this container rename conflict response has a 4xx status code
func (*ContainerRenameConflict) IsCode ¶
func (o *ContainerRenameConflict) IsCode(code int) bool
IsCode returns true when this container rename conflict response a status code equal to that given
func (*ContainerRenameConflict) IsRedirect ¶
func (o *ContainerRenameConflict) IsRedirect() bool
IsRedirect returns true when this container rename conflict response has a 3xx status code
func (*ContainerRenameConflict) IsServerError ¶
func (o *ContainerRenameConflict) IsServerError() bool
IsServerError returns true when this container rename conflict response has a 5xx status code
func (*ContainerRenameConflict) IsSuccess ¶
func (o *ContainerRenameConflict) IsSuccess() bool
IsSuccess returns true when this container rename conflict response has a 2xx status code
func (*ContainerRenameConflict) String ¶
func (o *ContainerRenameConflict) String() string
type ContainerRenameConflictBody ¶
type ContainerRenameConflictBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerRenameConflictBody container rename conflict body swagger:model ContainerRenameConflictBody
func (*ContainerRenameConflictBody) ContextValidate ¶
func (o *ContainerRenameConflictBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container rename conflict body based on context it is used
func (*ContainerRenameConflictBody) MarshalBinary ¶
func (o *ContainerRenameConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerRenameConflictBody) UnmarshalBinary ¶
func (o *ContainerRenameConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerRenameInternalServerError ¶
type ContainerRenameInternalServerError struct {
Payload *ContainerRenameInternalServerErrorBody
}
ContainerRenameInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerRenameInternalServerError ¶
func NewContainerRenameInternalServerError() *ContainerRenameInternalServerError
NewContainerRenameInternalServerError creates a ContainerRenameInternalServerError with default headers values
func (*ContainerRenameInternalServerError) Error ¶
func (o *ContainerRenameInternalServerError) Error() string
func (*ContainerRenameInternalServerError) GetPayload ¶
func (o *ContainerRenameInternalServerError) GetPayload() *ContainerRenameInternalServerErrorBody
func (*ContainerRenameInternalServerError) IsClientError ¶
func (o *ContainerRenameInternalServerError) IsClientError() bool
IsClientError returns true when this container rename internal server error response has a 4xx status code
func (*ContainerRenameInternalServerError) IsCode ¶
func (o *ContainerRenameInternalServerError) IsCode(code int) bool
IsCode returns true when this container rename internal server error response a status code equal to that given
func (*ContainerRenameInternalServerError) IsRedirect ¶
func (o *ContainerRenameInternalServerError) IsRedirect() bool
IsRedirect returns true when this container rename internal server error response has a 3xx status code
func (*ContainerRenameInternalServerError) IsServerError ¶
func (o *ContainerRenameInternalServerError) IsServerError() bool
IsServerError returns true when this container rename internal server error response has a 5xx status code
func (*ContainerRenameInternalServerError) IsSuccess ¶
func (o *ContainerRenameInternalServerError) IsSuccess() bool
IsSuccess returns true when this container rename internal server error response has a 2xx status code
func (*ContainerRenameInternalServerError) String ¶
func (o *ContainerRenameInternalServerError) String() string
type ContainerRenameInternalServerErrorBody ¶
type ContainerRenameInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerRenameInternalServerErrorBody container rename internal server error body swagger:model ContainerRenameInternalServerErrorBody
func (*ContainerRenameInternalServerErrorBody) ContextValidate ¶
func (o *ContainerRenameInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container rename internal server error body based on context it is used
func (*ContainerRenameInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerRenameInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerRenameInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerRenameInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerRenameNoContent ¶
type ContainerRenameNoContent struct { }
ContainerRenameNoContent describes a response with status code 204, 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
func (*ContainerRenameNoContent) IsClientError ¶
func (o *ContainerRenameNoContent) IsClientError() bool
IsClientError returns true when this container rename no content response has a 4xx status code
func (*ContainerRenameNoContent) IsCode ¶
func (o *ContainerRenameNoContent) IsCode(code int) bool
IsCode returns true when this container rename no content response a status code equal to that given
func (*ContainerRenameNoContent) IsRedirect ¶
func (o *ContainerRenameNoContent) IsRedirect() bool
IsRedirect returns true when this container rename no content response has a 3xx status code
func (*ContainerRenameNoContent) IsServerError ¶
func (o *ContainerRenameNoContent) IsServerError() bool
IsServerError returns true when this container rename no content response has a 5xx status code
func (*ContainerRenameNoContent) IsSuccess ¶
func (o *ContainerRenameNoContent) IsSuccess() bool
IsSuccess returns true when this container rename no content response has a 2xx status code
func (*ContainerRenameNoContent) String ¶
func (o *ContainerRenameNoContent) String() string
type ContainerRenameNotFound ¶
type ContainerRenameNotFound struct {
Payload *ContainerRenameNotFoundBody
}
ContainerRenameNotFound describes a response with status code 404, 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
func (*ContainerRenameNotFound) GetPayload ¶
func (o *ContainerRenameNotFound) GetPayload() *ContainerRenameNotFoundBody
func (*ContainerRenameNotFound) IsClientError ¶
func (o *ContainerRenameNotFound) IsClientError() bool
IsClientError returns true when this container rename not found response has a 4xx status code
func (*ContainerRenameNotFound) IsCode ¶
func (o *ContainerRenameNotFound) IsCode(code int) bool
IsCode returns true when this container rename not found response a status code equal to that given
func (*ContainerRenameNotFound) IsRedirect ¶
func (o *ContainerRenameNotFound) IsRedirect() bool
IsRedirect returns true when this container rename not found response has a 3xx status code
func (*ContainerRenameNotFound) IsServerError ¶
func (o *ContainerRenameNotFound) IsServerError() bool
IsServerError returns true when this container rename not found response has a 5xx status code
func (*ContainerRenameNotFound) IsSuccess ¶
func (o *ContainerRenameNotFound) IsSuccess() bool
IsSuccess returns true when this container rename not found response has a 2xx status code
func (*ContainerRenameNotFound) String ¶
func (o *ContainerRenameNotFound) String() string
type ContainerRenameNotFoundBody ¶
type ContainerRenameNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerRenameNotFoundBody container rename not found body swagger:model ContainerRenameNotFoundBody
func (*ContainerRenameNotFoundBody) ContextValidate ¶
func (o *ContainerRenameNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container rename not found body based on context it is used
func (*ContainerRenameNotFoundBody) MarshalBinary ¶
func (o *ContainerRenameNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerRenameNotFoundBody) UnmarshalBinary ¶
func (o *ContainerRenameNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerRenameParams ¶
type ContainerRenameParams struct { /* Name. Full or partial ID or full name of the container to rename */ PathName string /* Name. New name for the container */ QueryName 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerRenameParamsWithContext ¶
func NewContainerRenameParamsWithContext(ctx context.Context) *ContainerRenameParams
NewContainerRenameParamsWithContext creates a new ContainerRenameParams object with 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 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 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) SetDefaults ¶
func (o *ContainerRenameParams) SetDefaults()
SetDefaults hydrates default values in the container rename params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerRenameParams) SetHTTPClient ¶
func (o *ContainerRenameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container rename params
func (*ContainerRenameParams) SetPathName ¶
func (o *ContainerRenameParams) SetPathName(name string)
SetPathName adds the name to the container rename params
func (*ContainerRenameParams) SetQueryName ¶
func (o *ContainerRenameParams) SetQueryName(name string)
SetQueryName 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) WithDefaults ¶
func (o *ContainerRenameParams) WithDefaults() *ContainerRenameParams
WithDefaults hydrates default values in the container rename params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerRenameParams) WithHTTPClient ¶
func (o *ContainerRenameParams) WithHTTPClient(client *http.Client) *ContainerRenameParams
WithHTTPClient adds the HTTPClient to the container rename params
func (*ContainerRenameParams) WithPathName ¶
func (o *ContainerRenameParams) WithPathName(name string) *ContainerRenameParams
WithPathName adds the name to the container rename params
func (*ContainerRenameParams) WithQueryName ¶
func (o *ContainerRenameParams) WithQueryName(name string) *ContainerRenameParams
WithQueryName 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 *ContainerResizeInternalServerErrorBody
}
ContainerResizeInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerResizeInternalServerError ¶
func NewContainerResizeInternalServerError() *ContainerResizeInternalServerError
NewContainerResizeInternalServerError creates a ContainerResizeInternalServerError with default headers values
func (*ContainerResizeInternalServerError) Error ¶
func (o *ContainerResizeInternalServerError) Error() string
func (*ContainerResizeInternalServerError) GetPayload ¶
func (o *ContainerResizeInternalServerError) GetPayload() *ContainerResizeInternalServerErrorBody
func (*ContainerResizeInternalServerError) IsClientError ¶
func (o *ContainerResizeInternalServerError) IsClientError() bool
IsClientError returns true when this container resize internal server error response has a 4xx status code
func (*ContainerResizeInternalServerError) IsCode ¶
func (o *ContainerResizeInternalServerError) IsCode(code int) bool
IsCode returns true when this container resize internal server error response a status code equal to that given
func (*ContainerResizeInternalServerError) IsRedirect ¶
func (o *ContainerResizeInternalServerError) IsRedirect() bool
IsRedirect returns true when this container resize internal server error response has a 3xx status code
func (*ContainerResizeInternalServerError) IsServerError ¶
func (o *ContainerResizeInternalServerError) IsServerError() bool
IsServerError returns true when this container resize internal server error response has a 5xx status code
func (*ContainerResizeInternalServerError) IsSuccess ¶
func (o *ContainerResizeInternalServerError) IsSuccess() bool
IsSuccess returns true when this container resize internal server error response has a 2xx status code
func (*ContainerResizeInternalServerError) String ¶
func (o *ContainerResizeInternalServerError) String() string
type ContainerResizeInternalServerErrorBody ¶
type ContainerResizeInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerResizeInternalServerErrorBody container resize internal server error body swagger:model ContainerResizeInternalServerErrorBody
func (*ContainerResizeInternalServerErrorBody) ContextValidate ¶
func (o *ContainerResizeInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container resize internal server error body based on context it is used
func (*ContainerResizeInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerResizeInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerResizeInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerResizeInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerResizeNotFound ¶
type ContainerResizeNotFound struct {
Payload *ContainerResizeNotFoundBody
}
ContainerResizeNotFound describes a response with status code 404, 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
func (*ContainerResizeNotFound) GetPayload ¶
func (o *ContainerResizeNotFound) GetPayload() *ContainerResizeNotFoundBody
func (*ContainerResizeNotFound) IsClientError ¶
func (o *ContainerResizeNotFound) IsClientError() bool
IsClientError returns true when this container resize not found response has a 4xx status code
func (*ContainerResizeNotFound) IsCode ¶
func (o *ContainerResizeNotFound) IsCode(code int) bool
IsCode returns true when this container resize not found response a status code equal to that given
func (*ContainerResizeNotFound) IsRedirect ¶
func (o *ContainerResizeNotFound) IsRedirect() bool
IsRedirect returns true when this container resize not found response has a 3xx status code
func (*ContainerResizeNotFound) IsServerError ¶
func (o *ContainerResizeNotFound) IsServerError() bool
IsServerError returns true when this container resize not found response has a 5xx status code
func (*ContainerResizeNotFound) IsSuccess ¶
func (o *ContainerResizeNotFound) IsSuccess() bool
IsSuccess returns true when this container resize not found response has a 2xx status code
func (*ContainerResizeNotFound) String ¶
func (o *ContainerResizeNotFound) String() string
type ContainerResizeNotFoundBody ¶
type ContainerResizeNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerResizeNotFoundBody container resize not found body swagger:model ContainerResizeNotFoundBody
func (*ContainerResizeNotFoundBody) ContextValidate ¶
func (o *ContainerResizeNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container resize not found body based on context it is used
func (*ContainerResizeNotFoundBody) MarshalBinary ¶
func (o *ContainerResizeNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerResizeNotFoundBody) UnmarshalBinary ¶
func (o *ContainerResizeNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerResizeOK ¶
type ContainerResizeOK struct {
Payload interface{}
}
ContainerResizeOK describes a response with status code 200, with default header values.
Success
func NewContainerResizeOK ¶
func NewContainerResizeOK() *ContainerResizeOK
NewContainerResizeOK creates a ContainerResizeOK with default headers values
func (*ContainerResizeOK) Error ¶
func (o *ContainerResizeOK) Error() string
func (*ContainerResizeOK) GetPayload ¶
func (o *ContainerResizeOK) GetPayload() interface{}
func (*ContainerResizeOK) IsClientError ¶
func (o *ContainerResizeOK) IsClientError() bool
IsClientError returns true when this container resize o k response has a 4xx status code
func (*ContainerResizeOK) IsCode ¶
func (o *ContainerResizeOK) IsCode(code int) bool
IsCode returns true when this container resize o k response a status code equal to that given
func (*ContainerResizeOK) IsRedirect ¶
func (o *ContainerResizeOK) IsRedirect() bool
IsRedirect returns true when this container resize o k response has a 3xx status code
func (*ContainerResizeOK) IsServerError ¶
func (o *ContainerResizeOK) IsServerError() bool
IsServerError returns true when this container resize o k response has a 5xx status code
func (*ContainerResizeOK) IsSuccess ¶
func (o *ContainerResizeOK) IsSuccess() bool
IsSuccess returns true when this container resize o k response has a 2xx status code
func (*ContainerResizeOK) String ¶
func (o *ContainerResizeOK) String() string
type ContainerResizeParams ¶
type ContainerResizeParams struct { /* H. Height to set for the terminal, in characters */ H *int64 /* Name. the name or ID of the container */ Name string /* Running. Ignore containers not running errors */ Running *bool /* W. Width to set for the terminal, 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerResizeParamsWithContext ¶
func NewContainerResizeParamsWithContext(ctx context.Context) *ContainerResizeParams
NewContainerResizeParamsWithContext creates a new ContainerResizeParams object with 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 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 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) SetDefaults ¶
func (o *ContainerResizeParams) SetDefaults()
SetDefaults hydrates default values in the container resize params (not the query body).
All values with no default are reset to their zero value.
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) SetName ¶
func (o *ContainerResizeParams) SetName(name string)
SetName adds the name to the container resize params
func (*ContainerResizeParams) SetRunning ¶
func (o *ContainerResizeParams) SetRunning(running *bool)
SetRunning adds the running 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) WithDefaults ¶
func (o *ContainerResizeParams) WithDefaults() *ContainerResizeParams
WithDefaults hydrates default values in the container resize params (not the query body).
All values with no default are reset to their zero value.
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) WithName ¶
func (o *ContainerResizeParams) WithName(name string) *ContainerResizeParams
WithName adds the name to the container resize params
func (*ContainerResizeParams) WithRunning ¶
func (o *ContainerResizeParams) WithRunning(running *bool) *ContainerResizeParams
WithRunning adds the running 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 *ContainerRestartInternalServerErrorBody
}
ContainerRestartInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerRestartInternalServerError ¶
func NewContainerRestartInternalServerError() *ContainerRestartInternalServerError
NewContainerRestartInternalServerError creates a ContainerRestartInternalServerError with default headers values
func (*ContainerRestartInternalServerError) Error ¶
func (o *ContainerRestartInternalServerError) Error() string
func (*ContainerRestartInternalServerError) GetPayload ¶
func (o *ContainerRestartInternalServerError) GetPayload() *ContainerRestartInternalServerErrorBody
func (*ContainerRestartInternalServerError) IsClientError ¶
func (o *ContainerRestartInternalServerError) IsClientError() bool
IsClientError returns true when this container restart internal server error response has a 4xx status code
func (*ContainerRestartInternalServerError) IsCode ¶
func (o *ContainerRestartInternalServerError) IsCode(code int) bool
IsCode returns true when this container restart internal server error response a status code equal to that given
func (*ContainerRestartInternalServerError) IsRedirect ¶
func (o *ContainerRestartInternalServerError) IsRedirect() bool
IsRedirect returns true when this container restart internal server error response has a 3xx status code
func (*ContainerRestartInternalServerError) IsServerError ¶
func (o *ContainerRestartInternalServerError) IsServerError() bool
IsServerError returns true when this container restart internal server error response has a 5xx status code
func (*ContainerRestartInternalServerError) IsSuccess ¶
func (o *ContainerRestartInternalServerError) IsSuccess() bool
IsSuccess returns true when this container restart internal server error response has a 2xx status code
func (*ContainerRestartInternalServerError) String ¶
func (o *ContainerRestartInternalServerError) String() string
type ContainerRestartInternalServerErrorBody ¶
type ContainerRestartInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerRestartInternalServerErrorBody container restart internal server error body swagger:model ContainerRestartInternalServerErrorBody
func (*ContainerRestartInternalServerErrorBody) ContextValidate ¶
func (o *ContainerRestartInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container restart internal server error body based on context it is used
func (*ContainerRestartInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerRestartInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerRestartInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerRestartInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerRestartNoContent ¶
type ContainerRestartNoContent struct { }
ContainerRestartNoContent describes a response with status code 204, 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
func (*ContainerRestartNoContent) IsClientError ¶
func (o *ContainerRestartNoContent) IsClientError() bool
IsClientError returns true when this container restart no content response has a 4xx status code
func (*ContainerRestartNoContent) IsCode ¶
func (o *ContainerRestartNoContent) IsCode(code int) bool
IsCode returns true when this container restart no content response a status code equal to that given
func (*ContainerRestartNoContent) IsRedirect ¶
func (o *ContainerRestartNoContent) IsRedirect() bool
IsRedirect returns true when this container restart no content response has a 3xx status code
func (*ContainerRestartNoContent) IsServerError ¶
func (o *ContainerRestartNoContent) IsServerError() bool
IsServerError returns true when this container restart no content response has a 5xx status code
func (*ContainerRestartNoContent) IsSuccess ¶
func (o *ContainerRestartNoContent) IsSuccess() bool
IsSuccess returns true when this container restart no content response has a 2xx status code
func (*ContainerRestartNoContent) String ¶
func (o *ContainerRestartNoContent) String() string
type ContainerRestartNotFound ¶
type ContainerRestartNotFound struct {
Payload *ContainerRestartNotFoundBody
}
ContainerRestartNotFound describes a response with status code 404, 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
func (*ContainerRestartNotFound) GetPayload ¶
func (o *ContainerRestartNotFound) GetPayload() *ContainerRestartNotFoundBody
func (*ContainerRestartNotFound) IsClientError ¶
func (o *ContainerRestartNotFound) IsClientError() bool
IsClientError returns true when this container restart not found response has a 4xx status code
func (*ContainerRestartNotFound) IsCode ¶
func (o *ContainerRestartNotFound) IsCode(code int) bool
IsCode returns true when this container restart not found response a status code equal to that given
func (*ContainerRestartNotFound) IsRedirect ¶
func (o *ContainerRestartNotFound) IsRedirect() bool
IsRedirect returns true when this container restart not found response has a 3xx status code
func (*ContainerRestartNotFound) IsServerError ¶
func (o *ContainerRestartNotFound) IsServerError() bool
IsServerError returns true when this container restart not found response has a 5xx status code
func (*ContainerRestartNotFound) IsSuccess ¶
func (o *ContainerRestartNotFound) IsSuccess() bool
IsSuccess returns true when this container restart not found response has a 2xx status code
func (*ContainerRestartNotFound) String ¶
func (o *ContainerRestartNotFound) String() string
type ContainerRestartNotFoundBody ¶
type ContainerRestartNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerRestartNotFoundBody container restart not found body swagger:model ContainerRestartNotFoundBody
func (*ContainerRestartNotFoundBody) ContextValidate ¶
func (o *ContainerRestartNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container restart not found body based on context it is used
func (*ContainerRestartNotFoundBody) MarshalBinary ¶
func (o *ContainerRestartNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerRestartNotFoundBody) UnmarshalBinary ¶
func (o *ContainerRestartNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerRestartParams ¶
type ContainerRestartParams struct { /* Name. the name or ID of the container */ Name string /* T. timeout before sending kill signal to 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerRestartParamsWithContext ¶
func NewContainerRestartParamsWithContext(ctx context.Context) *ContainerRestartParams
NewContainerRestartParamsWithContext creates a new ContainerRestartParams object with 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 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 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) SetDefaults ¶
func (o *ContainerRestartParams) SetDefaults()
SetDefaults hydrates default values in the container restart params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerRestartParams) SetHTTPClient ¶
func (o *ContainerRestartParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container restart params
func (*ContainerRestartParams) SetName ¶
func (o *ContainerRestartParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerRestartParams) WithDefaults() *ContainerRestartParams
WithDefaults hydrates default values in the container restart params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerRestartParams) WithHTTPClient ¶
func (o *ContainerRestartParams) WithHTTPClient(client *http.Client) *ContainerRestartParams
WithHTTPClient adds the HTTPClient to the container restart params
func (*ContainerRestartParams) WithName ¶
func (o *ContainerRestartParams) WithName(name string) *ContainerRestartParams
WithName adds the name 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 *ContainerStartInternalServerErrorBody
}
ContainerStartInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerStartInternalServerError ¶
func NewContainerStartInternalServerError() *ContainerStartInternalServerError
NewContainerStartInternalServerError creates a ContainerStartInternalServerError with default headers values
func (*ContainerStartInternalServerError) Error ¶
func (o *ContainerStartInternalServerError) Error() string
func (*ContainerStartInternalServerError) GetPayload ¶
func (o *ContainerStartInternalServerError) GetPayload() *ContainerStartInternalServerErrorBody
func (*ContainerStartInternalServerError) IsClientError ¶
func (o *ContainerStartInternalServerError) IsClientError() bool
IsClientError returns true when this container start internal server error response has a 4xx status code
func (*ContainerStartInternalServerError) IsCode ¶
func (o *ContainerStartInternalServerError) IsCode(code int) bool
IsCode returns true when this container start internal server error response a status code equal to that given
func (*ContainerStartInternalServerError) IsRedirect ¶
func (o *ContainerStartInternalServerError) IsRedirect() bool
IsRedirect returns true when this container start internal server error response has a 3xx status code
func (*ContainerStartInternalServerError) IsServerError ¶
func (o *ContainerStartInternalServerError) IsServerError() bool
IsServerError returns true when this container start internal server error response has a 5xx status code
func (*ContainerStartInternalServerError) IsSuccess ¶
func (o *ContainerStartInternalServerError) IsSuccess() bool
IsSuccess returns true when this container start internal server error response has a 2xx status code
func (*ContainerStartInternalServerError) String ¶
func (o *ContainerStartInternalServerError) String() string
type ContainerStartInternalServerErrorBody ¶
type ContainerStartInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerStartInternalServerErrorBody container start internal server error body swagger:model ContainerStartInternalServerErrorBody
func (*ContainerStartInternalServerErrorBody) ContextValidate ¶
func (o *ContainerStartInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container start internal server error body based on context it is used
func (*ContainerStartInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerStartInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStartInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerStartInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerStartNoContent ¶
type ContainerStartNoContent struct { }
ContainerStartNoContent describes a response with status code 204, 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
func (*ContainerStartNoContent) IsClientError ¶
func (o *ContainerStartNoContent) IsClientError() bool
IsClientError returns true when this container start no content response has a 4xx status code
func (*ContainerStartNoContent) IsCode ¶
func (o *ContainerStartNoContent) IsCode(code int) bool
IsCode returns true when this container start no content response a status code equal to that given
func (*ContainerStartNoContent) IsRedirect ¶
func (o *ContainerStartNoContent) IsRedirect() bool
IsRedirect returns true when this container start no content response has a 3xx status code
func (*ContainerStartNoContent) IsServerError ¶
func (o *ContainerStartNoContent) IsServerError() bool
IsServerError returns true when this container start no content response has a 5xx status code
func (*ContainerStartNoContent) IsSuccess ¶
func (o *ContainerStartNoContent) IsSuccess() bool
IsSuccess returns true when this container start no content response has a 2xx status code
func (*ContainerStartNoContent) String ¶
func (o *ContainerStartNoContent) String() string
type ContainerStartNotFound ¶
type ContainerStartNotFound struct {
Payload *ContainerStartNotFoundBody
}
ContainerStartNotFound describes a response with status code 404, 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
func (*ContainerStartNotFound) GetPayload ¶
func (o *ContainerStartNotFound) GetPayload() *ContainerStartNotFoundBody
func (*ContainerStartNotFound) IsClientError ¶
func (o *ContainerStartNotFound) IsClientError() bool
IsClientError returns true when this container start not found response has a 4xx status code
func (*ContainerStartNotFound) IsCode ¶
func (o *ContainerStartNotFound) IsCode(code int) bool
IsCode returns true when this container start not found response a status code equal to that given
func (*ContainerStartNotFound) IsRedirect ¶
func (o *ContainerStartNotFound) IsRedirect() bool
IsRedirect returns true when this container start not found response has a 3xx status code
func (*ContainerStartNotFound) IsServerError ¶
func (o *ContainerStartNotFound) IsServerError() bool
IsServerError returns true when this container start not found response has a 5xx status code
func (*ContainerStartNotFound) IsSuccess ¶
func (o *ContainerStartNotFound) IsSuccess() bool
IsSuccess returns true when this container start not found response has a 2xx status code
func (*ContainerStartNotFound) String ¶
func (o *ContainerStartNotFound) String() string
type ContainerStartNotFoundBody ¶
type ContainerStartNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerStartNotFoundBody container start not found body swagger:model ContainerStartNotFoundBody
func (*ContainerStartNotFoundBody) ContextValidate ¶
func (o *ContainerStartNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container start not found body based on context it is used
func (*ContainerStartNotFoundBody) MarshalBinary ¶
func (o *ContainerStartNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStartNotFoundBody) UnmarshalBinary ¶
func (o *ContainerStartNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerStartNotModified ¶
type ContainerStartNotModified struct {
Payload *ContainerStartNotModifiedBody
}
ContainerStartNotModified describes a response with status code 304, 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
func (*ContainerStartNotModified) GetPayload ¶
func (o *ContainerStartNotModified) GetPayload() *ContainerStartNotModifiedBody
func (*ContainerStartNotModified) IsClientError ¶
func (o *ContainerStartNotModified) IsClientError() bool
IsClientError returns true when this container start not modified response has a 4xx status code
func (*ContainerStartNotModified) IsCode ¶
func (o *ContainerStartNotModified) IsCode(code int) bool
IsCode returns true when this container start not modified response a status code equal to that given
func (*ContainerStartNotModified) IsRedirect ¶
func (o *ContainerStartNotModified) IsRedirect() bool
IsRedirect returns true when this container start not modified response has a 3xx status code
func (*ContainerStartNotModified) IsServerError ¶
func (o *ContainerStartNotModified) IsServerError() bool
IsServerError returns true when this container start not modified response has a 5xx status code
func (*ContainerStartNotModified) IsSuccess ¶
func (o *ContainerStartNotModified) IsSuccess() bool
IsSuccess returns true when this container start not modified response has a 2xx status code
func (*ContainerStartNotModified) String ¶
func (o *ContainerStartNotModified) String() string
type ContainerStartNotModifiedBody ¶
type ContainerStartNotModifiedBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerStartNotModifiedBody container start not modified body swagger:model ContainerStartNotModifiedBody
func (*ContainerStartNotModifiedBody) ContextValidate ¶
func (o *ContainerStartNotModifiedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container start not modified body based on context it is used
func (*ContainerStartNotModifiedBody) MarshalBinary ¶
func (o *ContainerStartNotModifiedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStartNotModifiedBody) UnmarshalBinary ¶
func (o *ContainerStartNotModifiedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 _. Default: "ctrl-p,ctrl-q" */ DetachKeys *string /* Name. the name or ID of the container */ Name 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerStartParamsWithContext ¶
func NewContainerStartParamsWithContext(ctx context.Context) *ContainerStartParams
NewContainerStartParamsWithContext creates a new ContainerStartParams object with 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 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 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) SetDefaults ¶
func (o *ContainerStartParams) SetDefaults()
SetDefaults hydrates default values in the container start params (not the query body).
All values with no default are reset to their zero value.
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) SetName ¶
func (o *ContainerStartParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerStartParams) WithDefaults() *ContainerStartParams
WithDefaults hydrates default values in the container start params (not the query body).
All values with no default are reset to their zero value.
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) WithName ¶
func (o *ContainerStartParams) WithName(name string) *ContainerStartParams
WithName adds the name 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 *ContainerStatsInternalServerErrorBody
}
ContainerStatsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerStatsInternalServerError ¶
func NewContainerStatsInternalServerError() *ContainerStatsInternalServerError
NewContainerStatsInternalServerError creates a ContainerStatsInternalServerError with default headers values
func (*ContainerStatsInternalServerError) Error ¶
func (o *ContainerStatsInternalServerError) Error() string
func (*ContainerStatsInternalServerError) GetPayload ¶
func (o *ContainerStatsInternalServerError) GetPayload() *ContainerStatsInternalServerErrorBody
func (*ContainerStatsInternalServerError) IsClientError ¶
func (o *ContainerStatsInternalServerError) IsClientError() bool
IsClientError returns true when this container stats internal server error response has a 4xx status code
func (*ContainerStatsInternalServerError) IsCode ¶
func (o *ContainerStatsInternalServerError) IsCode(code int) bool
IsCode returns true when this container stats internal server error response a status code equal to that given
func (*ContainerStatsInternalServerError) IsRedirect ¶
func (o *ContainerStatsInternalServerError) IsRedirect() bool
IsRedirect returns true when this container stats internal server error response has a 3xx status code
func (*ContainerStatsInternalServerError) IsServerError ¶
func (o *ContainerStatsInternalServerError) IsServerError() bool
IsServerError returns true when this container stats internal server error response has a 5xx status code
func (*ContainerStatsInternalServerError) IsSuccess ¶
func (o *ContainerStatsInternalServerError) IsSuccess() bool
IsSuccess returns true when this container stats internal server error response has a 2xx status code
func (*ContainerStatsInternalServerError) String ¶
func (o *ContainerStatsInternalServerError) String() string
type ContainerStatsInternalServerErrorBody ¶
type ContainerStatsInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerStatsInternalServerErrorBody container stats internal server error body swagger:model ContainerStatsInternalServerErrorBody
func (*ContainerStatsInternalServerErrorBody) ContextValidate ¶
func (o *ContainerStatsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container stats internal server error body based on context it is used
func (*ContainerStatsInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerStatsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStatsInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerStatsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerStatsNotFound ¶
type ContainerStatsNotFound struct {
Payload *ContainerStatsNotFoundBody
}
ContainerStatsNotFound describes a response with status code 404, 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
func (*ContainerStatsNotFound) GetPayload ¶
func (o *ContainerStatsNotFound) GetPayload() *ContainerStatsNotFoundBody
func (*ContainerStatsNotFound) IsClientError ¶
func (o *ContainerStatsNotFound) IsClientError() bool
IsClientError returns true when this container stats not found response has a 4xx status code
func (*ContainerStatsNotFound) IsCode ¶
func (o *ContainerStatsNotFound) IsCode(code int) bool
IsCode returns true when this container stats not found response a status code equal to that given
func (*ContainerStatsNotFound) IsRedirect ¶
func (o *ContainerStatsNotFound) IsRedirect() bool
IsRedirect returns true when this container stats not found response has a 3xx status code
func (*ContainerStatsNotFound) IsServerError ¶
func (o *ContainerStatsNotFound) IsServerError() bool
IsServerError returns true when this container stats not found response has a 5xx status code
func (*ContainerStatsNotFound) IsSuccess ¶
func (o *ContainerStatsNotFound) IsSuccess() bool
IsSuccess returns true when this container stats not found response has a 2xx status code
func (*ContainerStatsNotFound) String ¶
func (o *ContainerStatsNotFound) String() string
type ContainerStatsNotFoundBody ¶
type ContainerStatsNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerStatsNotFoundBody container stats not found body swagger:model ContainerStatsNotFoundBody
func (*ContainerStatsNotFoundBody) ContextValidate ¶
func (o *ContainerStatsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container stats not found body based on context it is used
func (*ContainerStatsNotFoundBody) MarshalBinary ¶
func (o *ContainerStatsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStatsNotFoundBody) UnmarshalBinary ¶
func (o *ContainerStatsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerStatsOK ¶
type ContainerStatsOK struct { }
ContainerStatsOK describes a response with status code 200, with default header values.
OK
func NewContainerStatsOK ¶
func NewContainerStatsOK() *ContainerStatsOK
NewContainerStatsOK creates a ContainerStatsOK with default headers values
func (*ContainerStatsOK) Error ¶
func (o *ContainerStatsOK) Error() string
func (*ContainerStatsOK) IsClientError ¶
func (o *ContainerStatsOK) IsClientError() bool
IsClientError returns true when this container stats o k response has a 4xx status code
func (*ContainerStatsOK) IsCode ¶
func (o *ContainerStatsOK) IsCode(code int) bool
IsCode returns true when this container stats o k response a status code equal to that given
func (*ContainerStatsOK) IsRedirect ¶
func (o *ContainerStatsOK) IsRedirect() bool
IsRedirect returns true when this container stats o k response has a 3xx status code
func (*ContainerStatsOK) IsServerError ¶
func (o *ContainerStatsOK) IsServerError() bool
IsServerError returns true when this container stats o k response has a 5xx status code
func (*ContainerStatsOK) IsSuccess ¶
func (o *ContainerStatsOK) IsSuccess() bool
IsSuccess returns true when this container stats o k response has a 2xx status code
func (*ContainerStatsOK) String ¶
func (o *ContainerStatsOK) String() string
type ContainerStatsParams ¶
type ContainerStatsParams struct { /* Name. the name or ID of the container */ Name string /* OneShot. Provide a one-shot response in which preCPU stats are blank, resulting in a single cycle return. */ OneShot *bool /* Stream. Stream the output Default: true */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerStatsParamsWithContext ¶
func NewContainerStatsParamsWithContext(ctx context.Context) *ContainerStatsParams
NewContainerStatsParamsWithContext creates a new ContainerStatsParams object with 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 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 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) SetDefaults ¶
func (o *ContainerStatsParams) SetDefaults()
SetDefaults hydrates default values in the container stats params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerStatsParams) SetHTTPClient ¶
func (o *ContainerStatsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container stats params
func (*ContainerStatsParams) SetName ¶
func (o *ContainerStatsParams) SetName(name string)
SetName adds the name to the container stats params
func (*ContainerStatsParams) SetOneShot ¶
func (o *ContainerStatsParams) SetOneShot(oneShot *bool)
SetOneShot adds the oneShot 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) WithDefaults ¶
func (o *ContainerStatsParams) WithDefaults() *ContainerStatsParams
WithDefaults hydrates default values in the container stats params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerStatsParams) WithHTTPClient ¶
func (o *ContainerStatsParams) WithHTTPClient(client *http.Client) *ContainerStatsParams
WithHTTPClient adds the HTTPClient to the container stats params
func (*ContainerStatsParams) WithName ¶
func (o *ContainerStatsParams) WithName(name string) *ContainerStatsParams
WithName adds the name to the container stats params
func (*ContainerStatsParams) WithOneShot ¶
func (o *ContainerStatsParams) WithOneShot(oneShot *bool) *ContainerStatsParams
WithOneShot adds the oneShot 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 *ContainerStopInternalServerErrorBody
}
ContainerStopInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerStopInternalServerError ¶
func NewContainerStopInternalServerError() *ContainerStopInternalServerError
NewContainerStopInternalServerError creates a ContainerStopInternalServerError with default headers values
func (*ContainerStopInternalServerError) Error ¶
func (o *ContainerStopInternalServerError) Error() string
func (*ContainerStopInternalServerError) GetPayload ¶
func (o *ContainerStopInternalServerError) GetPayload() *ContainerStopInternalServerErrorBody
func (*ContainerStopInternalServerError) IsClientError ¶
func (o *ContainerStopInternalServerError) IsClientError() bool
IsClientError returns true when this container stop internal server error response has a 4xx status code
func (*ContainerStopInternalServerError) IsCode ¶
func (o *ContainerStopInternalServerError) IsCode(code int) bool
IsCode returns true when this container stop internal server error response a status code equal to that given
func (*ContainerStopInternalServerError) IsRedirect ¶
func (o *ContainerStopInternalServerError) IsRedirect() bool
IsRedirect returns true when this container stop internal server error response has a 3xx status code
func (*ContainerStopInternalServerError) IsServerError ¶
func (o *ContainerStopInternalServerError) IsServerError() bool
IsServerError returns true when this container stop internal server error response has a 5xx status code
func (*ContainerStopInternalServerError) IsSuccess ¶
func (o *ContainerStopInternalServerError) IsSuccess() bool
IsSuccess returns true when this container stop internal server error response has a 2xx status code
func (*ContainerStopInternalServerError) String ¶
func (o *ContainerStopInternalServerError) String() string
type ContainerStopInternalServerErrorBody ¶
type ContainerStopInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerStopInternalServerErrorBody container stop internal server error body swagger:model ContainerStopInternalServerErrorBody
func (*ContainerStopInternalServerErrorBody) ContextValidate ¶
func (o *ContainerStopInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container stop internal server error body based on context it is used
func (*ContainerStopInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerStopInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStopInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerStopInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerStopNoContent ¶
type ContainerStopNoContent struct { }
ContainerStopNoContent describes a response with status code 204, 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
func (*ContainerStopNoContent) IsClientError ¶
func (o *ContainerStopNoContent) IsClientError() bool
IsClientError returns true when this container stop no content response has a 4xx status code
func (*ContainerStopNoContent) IsCode ¶
func (o *ContainerStopNoContent) IsCode(code int) bool
IsCode returns true when this container stop no content response a status code equal to that given
func (*ContainerStopNoContent) IsRedirect ¶
func (o *ContainerStopNoContent) IsRedirect() bool
IsRedirect returns true when this container stop no content response has a 3xx status code
func (*ContainerStopNoContent) IsServerError ¶
func (o *ContainerStopNoContent) IsServerError() bool
IsServerError returns true when this container stop no content response has a 5xx status code
func (*ContainerStopNoContent) IsSuccess ¶
func (o *ContainerStopNoContent) IsSuccess() bool
IsSuccess returns true when this container stop no content response has a 2xx status code
func (*ContainerStopNoContent) String ¶
func (o *ContainerStopNoContent) String() string
type ContainerStopNotFound ¶
type ContainerStopNotFound struct {
Payload *ContainerStopNotFoundBody
}
ContainerStopNotFound describes a response with status code 404, 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
func (*ContainerStopNotFound) GetPayload ¶
func (o *ContainerStopNotFound) GetPayload() *ContainerStopNotFoundBody
func (*ContainerStopNotFound) IsClientError ¶
func (o *ContainerStopNotFound) IsClientError() bool
IsClientError returns true when this container stop not found response has a 4xx status code
func (*ContainerStopNotFound) IsCode ¶
func (o *ContainerStopNotFound) IsCode(code int) bool
IsCode returns true when this container stop not found response a status code equal to that given
func (*ContainerStopNotFound) IsRedirect ¶
func (o *ContainerStopNotFound) IsRedirect() bool
IsRedirect returns true when this container stop not found response has a 3xx status code
func (*ContainerStopNotFound) IsServerError ¶
func (o *ContainerStopNotFound) IsServerError() bool
IsServerError returns true when this container stop not found response has a 5xx status code
func (*ContainerStopNotFound) IsSuccess ¶
func (o *ContainerStopNotFound) IsSuccess() bool
IsSuccess returns true when this container stop not found response has a 2xx status code
func (*ContainerStopNotFound) String ¶
func (o *ContainerStopNotFound) String() string
type ContainerStopNotFoundBody ¶
type ContainerStopNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerStopNotFoundBody container stop not found body swagger:model ContainerStopNotFoundBody
func (*ContainerStopNotFoundBody) ContextValidate ¶
func (o *ContainerStopNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container stop not found body based on context it is used
func (*ContainerStopNotFoundBody) MarshalBinary ¶
func (o *ContainerStopNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStopNotFoundBody) UnmarshalBinary ¶
func (o *ContainerStopNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerStopNotModified ¶
type ContainerStopNotModified struct {
Payload *ContainerStopNotModifiedBody
}
ContainerStopNotModified describes a response with status code 304, 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
func (*ContainerStopNotModified) GetPayload ¶
func (o *ContainerStopNotModified) GetPayload() *ContainerStopNotModifiedBody
func (*ContainerStopNotModified) IsClientError ¶
func (o *ContainerStopNotModified) IsClientError() bool
IsClientError returns true when this container stop not modified response has a 4xx status code
func (*ContainerStopNotModified) IsCode ¶
func (o *ContainerStopNotModified) IsCode(code int) bool
IsCode returns true when this container stop not modified response a status code equal to that given
func (*ContainerStopNotModified) IsRedirect ¶
func (o *ContainerStopNotModified) IsRedirect() bool
IsRedirect returns true when this container stop not modified response has a 3xx status code
func (*ContainerStopNotModified) IsServerError ¶
func (o *ContainerStopNotModified) IsServerError() bool
IsServerError returns true when this container stop not modified response has a 5xx status code
func (*ContainerStopNotModified) IsSuccess ¶
func (o *ContainerStopNotModified) IsSuccess() bool
IsSuccess returns true when this container stop not modified response has a 2xx status code
func (*ContainerStopNotModified) String ¶
func (o *ContainerStopNotModified) String() string
type ContainerStopNotModifiedBody ¶
type ContainerStopNotModifiedBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerStopNotModifiedBody container stop not modified body swagger:model ContainerStopNotModifiedBody
func (*ContainerStopNotModifiedBody) ContextValidate ¶
func (o *ContainerStopNotModifiedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container stop not modified body based on context it is used
func (*ContainerStopNotModifiedBody) MarshalBinary ¶
func (o *ContainerStopNotModifiedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerStopNotModifiedBody) UnmarshalBinary ¶
func (o *ContainerStopNotModifiedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerStopParams ¶
type ContainerStopParams struct { /* Name. the name or ID of the container */ Name string /* T. number of seconds to wait before killing 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerStopParamsWithContext ¶
func NewContainerStopParamsWithContext(ctx context.Context) *ContainerStopParams
NewContainerStopParamsWithContext creates a new ContainerStopParams object with 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 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 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) SetDefaults ¶
func (o *ContainerStopParams) SetDefaults()
SetDefaults hydrates default values in the container stop params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerStopParams) SetHTTPClient ¶
func (o *ContainerStopParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container stop params
func (*ContainerStopParams) SetName ¶
func (o *ContainerStopParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerStopParams) WithDefaults() *ContainerStopParams
WithDefaults hydrates default values in the container stop params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerStopParams) WithHTTPClient ¶
func (o *ContainerStopParams) WithHTTPClient(client *http.Client) *ContainerStopParams
WithHTTPClient adds the HTTPClient to the container stop params
func (*ContainerStopParams) WithName ¶
func (o *ContainerStopParams) WithName(name string) *ContainerStopParams
WithName adds the name 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 *ContainerTopInternalServerErrorBody
}
ContainerTopInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerTopInternalServerError ¶
func NewContainerTopInternalServerError() *ContainerTopInternalServerError
NewContainerTopInternalServerError creates a ContainerTopInternalServerError with default headers values
func (*ContainerTopInternalServerError) Error ¶
func (o *ContainerTopInternalServerError) Error() string
func (*ContainerTopInternalServerError) GetPayload ¶
func (o *ContainerTopInternalServerError) GetPayload() *ContainerTopInternalServerErrorBody
func (*ContainerTopInternalServerError) IsClientError ¶
func (o *ContainerTopInternalServerError) IsClientError() bool
IsClientError returns true when this container top internal server error response has a 4xx status code
func (*ContainerTopInternalServerError) IsCode ¶
func (o *ContainerTopInternalServerError) IsCode(code int) bool
IsCode returns true when this container top internal server error response a status code equal to that given
func (*ContainerTopInternalServerError) IsRedirect ¶
func (o *ContainerTopInternalServerError) IsRedirect() bool
IsRedirect returns true when this container top internal server error response has a 3xx status code
func (*ContainerTopInternalServerError) IsServerError ¶
func (o *ContainerTopInternalServerError) IsServerError() bool
IsServerError returns true when this container top internal server error response has a 5xx status code
func (*ContainerTopInternalServerError) IsSuccess ¶
func (o *ContainerTopInternalServerError) IsSuccess() bool
IsSuccess returns true when this container top internal server error response has a 2xx status code
func (*ContainerTopInternalServerError) String ¶
func (o *ContainerTopInternalServerError) String() string
type ContainerTopInternalServerErrorBody ¶
type ContainerTopInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerTopInternalServerErrorBody container top internal server error body swagger:model ContainerTopInternalServerErrorBody
func (*ContainerTopInternalServerErrorBody) ContextValidate ¶
func (o *ContainerTopInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container top internal server error body based on context it is used
func (*ContainerTopInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerTopInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerTopInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerTopInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerTopNotFound ¶
type ContainerTopNotFound struct {
Payload *ContainerTopNotFoundBody
}
ContainerTopNotFound describes a response with status code 404, 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
func (*ContainerTopNotFound) GetPayload ¶
func (o *ContainerTopNotFound) GetPayload() *ContainerTopNotFoundBody
func (*ContainerTopNotFound) IsClientError ¶
func (o *ContainerTopNotFound) IsClientError() bool
IsClientError returns true when this container top not found response has a 4xx status code
func (*ContainerTopNotFound) IsCode ¶
func (o *ContainerTopNotFound) IsCode(code int) bool
IsCode returns true when this container top not found response a status code equal to that given
func (*ContainerTopNotFound) IsRedirect ¶
func (o *ContainerTopNotFound) IsRedirect() bool
IsRedirect returns true when this container top not found response has a 3xx status code
func (*ContainerTopNotFound) IsServerError ¶
func (o *ContainerTopNotFound) IsServerError() bool
IsServerError returns true when this container top not found response has a 5xx status code
func (*ContainerTopNotFound) IsSuccess ¶
func (o *ContainerTopNotFound) IsSuccess() bool
IsSuccess returns true when this container top not found response has a 2xx status code
func (*ContainerTopNotFound) String ¶
func (o *ContainerTopNotFound) String() string
type ContainerTopNotFoundBody ¶
type ContainerTopNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerTopNotFoundBody container top not found body swagger:model ContainerTopNotFoundBody
func (*ContainerTopNotFoundBody) ContextValidate ¶
func (o *ContainerTopNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container top not found body based on context it is used
func (*ContainerTopNotFoundBody) MarshalBinary ¶
func (o *ContainerTopNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerTopNotFoundBody) UnmarshalBinary ¶
func (o *ContainerTopNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerTopOK ¶
type ContainerTopOK struct {
Payload *ContainerTopOKBody
}
ContainerTopOK describes a response with status code 200, with default header values.
List processes in container
func NewContainerTopOK ¶
func NewContainerTopOK() *ContainerTopOK
NewContainerTopOK creates a ContainerTopOK with default headers values
func (*ContainerTopOK) Error ¶
func (o *ContainerTopOK) Error() string
func (*ContainerTopOK) GetPayload ¶
func (o *ContainerTopOK) GetPayload() *ContainerTopOKBody
func (*ContainerTopOK) IsClientError ¶
func (o *ContainerTopOK) IsClientError() bool
IsClientError returns true when this container top o k response has a 4xx status code
func (*ContainerTopOK) IsCode ¶
func (o *ContainerTopOK) IsCode(code int) bool
IsCode returns true when this container top o k response a status code equal to that given
func (*ContainerTopOK) IsRedirect ¶
func (o *ContainerTopOK) IsRedirect() bool
IsRedirect returns true when this container top o k response has a 3xx status code
func (*ContainerTopOK) IsServerError ¶
func (o *ContainerTopOK) IsServerError() bool
IsServerError returns true when this container top o k response has a 5xx status code
func (*ContainerTopOK) IsSuccess ¶
func (o *ContainerTopOK) IsSuccess() bool
IsSuccess returns true when this container top o k response has a 2xx status code
func (*ContainerTopOK) String ¶
func (o *ContainerTopOK) String() 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. // Required: true Processes [][]string `json:"Processes"` // The ps column titles // Required: true Titles []string `json:"Titles"` }
ContainerTopOKBody container top o k body swagger:model ContainerTopOKBody
func (*ContainerTopOKBody) ContextValidate ¶
ContextValidate validates this container top o k body based on context it is used
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 { /* Name. the name or ID of the container */ Name string /* PsArgs. arguments to pass to ps such as aux. Requires ps(1) to be installed in the container if no ps(1) compatible AIX descriptors are used. Default: "-ef" */ 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerTopParamsWithContext ¶
func NewContainerTopParamsWithContext(ctx context.Context) *ContainerTopParams
NewContainerTopParamsWithContext creates a new ContainerTopParams object with 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 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 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) SetDefaults ¶
func (o *ContainerTopParams) SetDefaults()
SetDefaults hydrates default values in the container top params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerTopParams) SetHTTPClient ¶
func (o *ContainerTopParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container top params
func (*ContainerTopParams) SetName ¶
func (o *ContainerTopParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerTopParams) WithDefaults() *ContainerTopParams
WithDefaults hydrates default values in the container top params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerTopParams) WithHTTPClient ¶
func (o *ContainerTopParams) WithHTTPClient(client *http.Client) *ContainerTopParams
WithHTTPClient adds the HTTPClient to the container top params
func (*ContainerTopParams) WithName ¶
func (o *ContainerTopParams) WithName(name string) *ContainerTopParams
WithName adds the name 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 *ContainerUnpauseInternalServerErrorBody
}
ContainerUnpauseInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerUnpauseInternalServerError ¶
func NewContainerUnpauseInternalServerError() *ContainerUnpauseInternalServerError
NewContainerUnpauseInternalServerError creates a ContainerUnpauseInternalServerError with default headers values
func (*ContainerUnpauseInternalServerError) Error ¶
func (o *ContainerUnpauseInternalServerError) Error() string
func (*ContainerUnpauseInternalServerError) GetPayload ¶
func (o *ContainerUnpauseInternalServerError) GetPayload() *ContainerUnpauseInternalServerErrorBody
func (*ContainerUnpauseInternalServerError) IsClientError ¶
func (o *ContainerUnpauseInternalServerError) IsClientError() bool
IsClientError returns true when this container unpause internal server error response has a 4xx status code
func (*ContainerUnpauseInternalServerError) IsCode ¶
func (o *ContainerUnpauseInternalServerError) IsCode(code int) bool
IsCode returns true when this container unpause internal server error response a status code equal to that given
func (*ContainerUnpauseInternalServerError) IsRedirect ¶
func (o *ContainerUnpauseInternalServerError) IsRedirect() bool
IsRedirect returns true when this container unpause internal server error response has a 3xx status code
func (*ContainerUnpauseInternalServerError) IsServerError ¶
func (o *ContainerUnpauseInternalServerError) IsServerError() bool
IsServerError returns true when this container unpause internal server error response has a 5xx status code
func (*ContainerUnpauseInternalServerError) IsSuccess ¶
func (o *ContainerUnpauseInternalServerError) IsSuccess() bool
IsSuccess returns true when this container unpause internal server error response has a 2xx status code
func (*ContainerUnpauseInternalServerError) String ¶
func (o *ContainerUnpauseInternalServerError) String() string
type ContainerUnpauseInternalServerErrorBody ¶
type ContainerUnpauseInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerUnpauseInternalServerErrorBody container unpause internal server error body swagger:model ContainerUnpauseInternalServerErrorBody
func (*ContainerUnpauseInternalServerErrorBody) ContextValidate ¶
func (o *ContainerUnpauseInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container unpause internal server error body based on context it is used
func (*ContainerUnpauseInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerUnpauseInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerUnpauseInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerUnpauseInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerUnpauseNoContent ¶
type ContainerUnpauseNoContent struct { }
ContainerUnpauseNoContent describes a response with status code 204, 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
func (*ContainerUnpauseNoContent) IsClientError ¶
func (o *ContainerUnpauseNoContent) IsClientError() bool
IsClientError returns true when this container unpause no content response has a 4xx status code
func (*ContainerUnpauseNoContent) IsCode ¶
func (o *ContainerUnpauseNoContent) IsCode(code int) bool
IsCode returns true when this container unpause no content response a status code equal to that given
func (*ContainerUnpauseNoContent) IsRedirect ¶
func (o *ContainerUnpauseNoContent) IsRedirect() bool
IsRedirect returns true when this container unpause no content response has a 3xx status code
func (*ContainerUnpauseNoContent) IsServerError ¶
func (o *ContainerUnpauseNoContent) IsServerError() bool
IsServerError returns true when this container unpause no content response has a 5xx status code
func (*ContainerUnpauseNoContent) IsSuccess ¶
func (o *ContainerUnpauseNoContent) IsSuccess() bool
IsSuccess returns true when this container unpause no content response has a 2xx status code
func (*ContainerUnpauseNoContent) String ¶
func (o *ContainerUnpauseNoContent) String() string
type ContainerUnpauseNotFound ¶
type ContainerUnpauseNotFound struct {
Payload *ContainerUnpauseNotFoundBody
}
ContainerUnpauseNotFound describes a response with status code 404, 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
func (*ContainerUnpauseNotFound) GetPayload ¶
func (o *ContainerUnpauseNotFound) GetPayload() *ContainerUnpauseNotFoundBody
func (*ContainerUnpauseNotFound) IsClientError ¶
func (o *ContainerUnpauseNotFound) IsClientError() bool
IsClientError returns true when this container unpause not found response has a 4xx status code
func (*ContainerUnpauseNotFound) IsCode ¶
func (o *ContainerUnpauseNotFound) IsCode(code int) bool
IsCode returns true when this container unpause not found response a status code equal to that given
func (*ContainerUnpauseNotFound) IsRedirect ¶
func (o *ContainerUnpauseNotFound) IsRedirect() bool
IsRedirect returns true when this container unpause not found response has a 3xx status code
func (*ContainerUnpauseNotFound) IsServerError ¶
func (o *ContainerUnpauseNotFound) IsServerError() bool
IsServerError returns true when this container unpause not found response has a 5xx status code
func (*ContainerUnpauseNotFound) IsSuccess ¶
func (o *ContainerUnpauseNotFound) IsSuccess() bool
IsSuccess returns true when this container unpause not found response has a 2xx status code
func (*ContainerUnpauseNotFound) String ¶
func (o *ContainerUnpauseNotFound) String() string
type ContainerUnpauseNotFoundBody ¶
type ContainerUnpauseNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerUnpauseNotFoundBody container unpause not found body swagger:model ContainerUnpauseNotFoundBody
func (*ContainerUnpauseNotFoundBody) ContextValidate ¶
func (o *ContainerUnpauseNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container unpause not found body based on context it is used
func (*ContainerUnpauseNotFoundBody) MarshalBinary ¶
func (o *ContainerUnpauseNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerUnpauseNotFoundBody) UnmarshalBinary ¶
func (o *ContainerUnpauseNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerUnpauseParams ¶
type ContainerUnpauseParams struct { /* Name. the name or ID of the container */ Name 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerUnpauseParamsWithContext ¶
func NewContainerUnpauseParamsWithContext(ctx context.Context) *ContainerUnpauseParams
NewContainerUnpauseParamsWithContext creates a new ContainerUnpauseParams object with 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 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 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) SetDefaults ¶
func (o *ContainerUnpauseParams) SetDefaults()
SetDefaults hydrates default values in the container unpause params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerUnpauseParams) SetHTTPClient ¶
func (o *ContainerUnpauseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container unpause params
func (*ContainerUnpauseParams) SetName ¶
func (o *ContainerUnpauseParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerUnpauseParams) WithDefaults() *ContainerUnpauseParams
WithDefaults hydrates default values in the container unpause params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerUnpauseParams) WithHTTPClient ¶
func (o *ContainerUnpauseParams) WithHTTPClient(client *http.Client) *ContainerUnpauseParams
WithHTTPClient adds the HTTPClient to the container unpause params
func (*ContainerUnpauseParams) WithName ¶
func (o *ContainerUnpauseParams) WithName(name string) *ContainerUnpauseParams
WithName adds the name 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 ContainerWaitInternalServerError ¶
type ContainerWaitInternalServerError struct {
Payload *ContainerWaitInternalServerErrorBody
}
ContainerWaitInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewContainerWaitInternalServerError ¶
func NewContainerWaitInternalServerError() *ContainerWaitInternalServerError
NewContainerWaitInternalServerError creates a ContainerWaitInternalServerError with default headers values
func (*ContainerWaitInternalServerError) Error ¶
func (o *ContainerWaitInternalServerError) Error() string
func (*ContainerWaitInternalServerError) GetPayload ¶
func (o *ContainerWaitInternalServerError) GetPayload() *ContainerWaitInternalServerErrorBody
func (*ContainerWaitInternalServerError) IsClientError ¶
func (o *ContainerWaitInternalServerError) IsClientError() bool
IsClientError returns true when this container wait internal server error response has a 4xx status code
func (*ContainerWaitInternalServerError) IsCode ¶
func (o *ContainerWaitInternalServerError) IsCode(code int) bool
IsCode returns true when this container wait internal server error response a status code equal to that given
func (*ContainerWaitInternalServerError) IsRedirect ¶
func (o *ContainerWaitInternalServerError) IsRedirect() bool
IsRedirect returns true when this container wait internal server error response has a 3xx status code
func (*ContainerWaitInternalServerError) IsServerError ¶
func (o *ContainerWaitInternalServerError) IsServerError() bool
IsServerError returns true when this container wait internal server error response has a 5xx status code
func (*ContainerWaitInternalServerError) IsSuccess ¶
func (o *ContainerWaitInternalServerError) IsSuccess() bool
IsSuccess returns true when this container wait internal server error response has a 2xx status code
func (*ContainerWaitInternalServerError) String ¶
func (o *ContainerWaitInternalServerError) String() string
type ContainerWaitInternalServerErrorBody ¶
type ContainerWaitInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerWaitInternalServerErrorBody container wait internal server error body swagger:model ContainerWaitInternalServerErrorBody
func (*ContainerWaitInternalServerErrorBody) ContextValidate ¶
func (o *ContainerWaitInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container wait internal server error body based on context it is used
func (*ContainerWaitInternalServerErrorBody) MarshalBinary ¶
func (o *ContainerWaitInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerWaitInternalServerErrorBody) UnmarshalBinary ¶
func (o *ContainerWaitInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerWaitNotFound ¶
type ContainerWaitNotFound struct {
Payload *ContainerWaitNotFoundBody
}
ContainerWaitNotFound describes a response with status code 404, 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
func (*ContainerWaitNotFound) GetPayload ¶
func (o *ContainerWaitNotFound) GetPayload() *ContainerWaitNotFoundBody
func (*ContainerWaitNotFound) IsClientError ¶
func (o *ContainerWaitNotFound) IsClientError() bool
IsClientError returns true when this container wait not found response has a 4xx status code
func (*ContainerWaitNotFound) IsCode ¶
func (o *ContainerWaitNotFound) IsCode(code int) bool
IsCode returns true when this container wait not found response a status code equal to that given
func (*ContainerWaitNotFound) IsRedirect ¶
func (o *ContainerWaitNotFound) IsRedirect() bool
IsRedirect returns true when this container wait not found response has a 3xx status code
func (*ContainerWaitNotFound) IsServerError ¶
func (o *ContainerWaitNotFound) IsServerError() bool
IsServerError returns true when this container wait not found response has a 5xx status code
func (*ContainerWaitNotFound) IsSuccess ¶
func (o *ContainerWaitNotFound) IsSuccess() bool
IsSuccess returns true when this container wait not found response has a 2xx status code
func (*ContainerWaitNotFound) String ¶
func (o *ContainerWaitNotFound) String() string
type ContainerWaitNotFoundBody ¶
type ContainerWaitNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ContainerWaitNotFoundBody container wait not found body swagger:model ContainerWaitNotFoundBody
func (*ContainerWaitNotFoundBody) ContextValidate ¶
func (o *ContainerWaitNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container wait not found body based on context it is used
func (*ContainerWaitNotFoundBody) MarshalBinary ¶
func (o *ContainerWaitNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerWaitNotFoundBody) UnmarshalBinary ¶
func (o *ContainerWaitNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContainerWaitOK ¶
type ContainerWaitOK struct {
Payload *ContainerWaitOKBody
}
ContainerWaitOK describes a response with status code 200, with default header values.
Wait container
func NewContainerWaitOK ¶
func NewContainerWaitOK() *ContainerWaitOK
NewContainerWaitOK creates a ContainerWaitOK with default headers values
func (*ContainerWaitOK) Error ¶
func (o *ContainerWaitOK) Error() string
func (*ContainerWaitOK) GetPayload ¶
func (o *ContainerWaitOK) GetPayload() *ContainerWaitOKBody
func (*ContainerWaitOK) IsClientError ¶
func (o *ContainerWaitOK) IsClientError() bool
IsClientError returns true when this container wait o k response has a 4xx status code
func (*ContainerWaitOK) IsCode ¶
func (o *ContainerWaitOK) IsCode(code int) bool
IsCode returns true when this container wait o k response a status code equal to that given
func (*ContainerWaitOK) IsRedirect ¶
func (o *ContainerWaitOK) IsRedirect() bool
IsRedirect returns true when this container wait o k response has a 3xx status code
func (*ContainerWaitOK) IsServerError ¶
func (o *ContainerWaitOK) IsServerError() bool
IsServerError returns true when this container wait o k response has a 5xx status code
func (*ContainerWaitOK) IsSuccess ¶
func (o *ContainerWaitOK) IsSuccess() bool
IsSuccess returns true when this container wait o k response has a 2xx status code
func (*ContainerWaitOK) String ¶
func (o *ContainerWaitOK) String() string
type ContainerWaitOKBody ¶
type ContainerWaitOKBody struct { // error Error *models.ContainerWaitOKBodyError `json:"Error,omitempty"` // container exit code StatusCode int64 `json:"StatusCode,omitempty"` }
ContainerWaitOKBody container wait o k body swagger:model ContainerWaitOKBody
func (*ContainerWaitOKBody) ContextValidate ¶
ContextValidate validate this container wait o k body based on the context it is used
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 { // message Message string `json:"Message,omitempty"` }
ContainerWaitOKBodyError container wait o k body error swagger:model ContainerWaitOKBodyError
func (*ContainerWaitOKBodyError) ContextValidate ¶
func (o *ContainerWaitOKBodyError) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this container wait o k body error based on context it is used
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 container is to a given condition. default is stopped. valid conditions are: - configured - created - exited - paused - running - stopped */ Condition *string /* Interval. Time Interval to wait before polling for completion. Default: "250ms" */ Interval *string /* Name. the name or ID of the container */ Name 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewContainerWaitParamsWithContext ¶
func NewContainerWaitParamsWithContext(ctx context.Context) *ContainerWaitParams
NewContainerWaitParamsWithContext creates a new ContainerWaitParams object with 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 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 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) SetDefaults ¶
func (o *ContainerWaitParams) SetDefaults()
SetDefaults hydrates default values in the container wait params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerWaitParams) SetHTTPClient ¶
func (o *ContainerWaitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the container wait params
func (*ContainerWaitParams) SetInterval ¶
func (o *ContainerWaitParams) SetInterval(interval *string)
SetInterval adds the interval to the container wait params
func (*ContainerWaitParams) SetName ¶
func (o *ContainerWaitParams) SetName(name string)
SetName adds the name 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) WithDefaults ¶
func (o *ContainerWaitParams) WithDefaults() *ContainerWaitParams
WithDefaults hydrates default values in the container wait params (not the query body).
All values with no default are reset to their zero value.
func (*ContainerWaitParams) WithHTTPClient ¶
func (o *ContainerWaitParams) WithHTTPClient(client *http.Client) *ContainerWaitParams
WithHTTPClient adds the HTTPClient to the container wait params
func (*ContainerWaitParams) WithInterval ¶
func (o *ContainerWaitParams) WithInterval(interval *string) *ContainerWaitParams
WithInterval adds the interval to the container wait params
func (*ContainerWaitParams) WithName ¶
func (o *ContainerWaitParams) WithName(name string) *ContainerWaitParams
WithName adds the name 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 ImageCommitCreated ¶
type ImageCommitCreated struct { }
ImageCommitCreated describes a response with status code 201, with default header values.
no error
func NewImageCommitCreated ¶
func NewImageCommitCreated() *ImageCommitCreated
NewImageCommitCreated creates a ImageCommitCreated with default headers values
func (*ImageCommitCreated) Error ¶
func (o *ImageCommitCreated) Error() string
func (*ImageCommitCreated) IsClientError ¶
func (o *ImageCommitCreated) IsClientError() bool
IsClientError returns true when this image commit created response has a 4xx status code
func (*ImageCommitCreated) IsCode ¶
func (o *ImageCommitCreated) IsCode(code int) bool
IsCode returns true when this image commit created response a status code equal to that given
func (*ImageCommitCreated) IsRedirect ¶
func (o *ImageCommitCreated) IsRedirect() bool
IsRedirect returns true when this image commit created response has a 3xx status code
func (*ImageCommitCreated) IsServerError ¶
func (o *ImageCommitCreated) IsServerError() bool
IsServerError returns true when this image commit created response has a 5xx status code
func (*ImageCommitCreated) IsSuccess ¶
func (o *ImageCommitCreated) IsSuccess() bool
IsSuccess returns true when this image commit created response has a 2xx status code
func (*ImageCommitCreated) String ¶
func (o *ImageCommitCreated) String() string
type ImageCommitInternalServerError ¶
type ImageCommitInternalServerError struct {
Payload *ImageCommitInternalServerErrorBody
}
ImageCommitInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewImageCommitInternalServerError ¶
func NewImageCommitInternalServerError() *ImageCommitInternalServerError
NewImageCommitInternalServerError creates a ImageCommitInternalServerError with default headers values
func (*ImageCommitInternalServerError) Error ¶
func (o *ImageCommitInternalServerError) Error() string
func (*ImageCommitInternalServerError) GetPayload ¶
func (o *ImageCommitInternalServerError) GetPayload() *ImageCommitInternalServerErrorBody
func (*ImageCommitInternalServerError) IsClientError ¶
func (o *ImageCommitInternalServerError) IsClientError() bool
IsClientError returns true when this image commit internal server error response has a 4xx status code
func (*ImageCommitInternalServerError) IsCode ¶
func (o *ImageCommitInternalServerError) IsCode(code int) bool
IsCode returns true when this image commit internal server error response a status code equal to that given
func (*ImageCommitInternalServerError) IsRedirect ¶
func (o *ImageCommitInternalServerError) IsRedirect() bool
IsRedirect returns true when this image commit internal server error response has a 3xx status code
func (*ImageCommitInternalServerError) IsServerError ¶
func (o *ImageCommitInternalServerError) IsServerError() bool
IsServerError returns true when this image commit internal server error response has a 5xx status code
func (*ImageCommitInternalServerError) IsSuccess ¶
func (o *ImageCommitInternalServerError) IsSuccess() bool
IsSuccess returns true when this image commit internal server error response has a 2xx status code
func (*ImageCommitInternalServerError) String ¶
func (o *ImageCommitInternalServerError) String() string
type ImageCommitInternalServerErrorBody ¶
type ImageCommitInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ImageCommitInternalServerErrorBody image commit internal server error body swagger:model ImageCommitInternalServerErrorBody
func (*ImageCommitInternalServerErrorBody) ContextValidate ¶
func (o *ImageCommitInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this image commit internal server error body based on context it is used
func (*ImageCommitInternalServerErrorBody) MarshalBinary ¶
func (o *ImageCommitInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageCommitInternalServerErrorBody) UnmarshalBinary ¶
func (o *ImageCommitInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageCommitNotFound ¶
type ImageCommitNotFound struct {
Payload *ImageCommitNotFoundBody
}
ImageCommitNotFound describes a response with status code 404, with default header values.
No such image
func NewImageCommitNotFound ¶
func NewImageCommitNotFound() *ImageCommitNotFound
NewImageCommitNotFound creates a ImageCommitNotFound with default headers values
func (*ImageCommitNotFound) Error ¶
func (o *ImageCommitNotFound) Error() string
func (*ImageCommitNotFound) GetPayload ¶
func (o *ImageCommitNotFound) GetPayload() *ImageCommitNotFoundBody
func (*ImageCommitNotFound) IsClientError ¶
func (o *ImageCommitNotFound) IsClientError() bool
IsClientError returns true when this image commit not found response has a 4xx status code
func (*ImageCommitNotFound) IsCode ¶
func (o *ImageCommitNotFound) IsCode(code int) bool
IsCode returns true when this image commit not found response a status code equal to that given
func (*ImageCommitNotFound) IsRedirect ¶
func (o *ImageCommitNotFound) IsRedirect() bool
IsRedirect returns true when this image commit not found response has a 3xx status code
func (*ImageCommitNotFound) IsServerError ¶
func (o *ImageCommitNotFound) IsServerError() bool
IsServerError returns true when this image commit not found response has a 5xx status code
func (*ImageCommitNotFound) IsSuccess ¶
func (o *ImageCommitNotFound) IsSuccess() bool
IsSuccess returns true when this image commit not found response has a 2xx status code
func (*ImageCommitNotFound) String ¶
func (o *ImageCommitNotFound) String() string
type ImageCommitNotFoundBody ¶
type ImageCommitNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
ImageCommitNotFoundBody image commit not found body swagger:model ImageCommitNotFoundBody
func (*ImageCommitNotFoundBody) ContextValidate ¶
func (o *ImageCommitNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this image commit not found body based on context it is used
func (*ImageCommitNotFoundBody) MarshalBinary ¶
func (o *ImageCommitNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageCommitNotFoundBody) UnmarshalBinary ¶
func (o *ImageCommitNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageCommitParams ¶
type ImageCommitParams struct { /* Author. author of the image */ Author *string /* Changes. instructions to apply while committing in Dockerfile format */ Changes *string /* Comment. commit message */ Comment *string /* Container. the name or ID of a container */ Container *string /* Pause. pause the container before committing it */ Pause *bool /* Repo. the repository name for the created image */ Repo *string /* Tag. tag name for the created image */ Tag *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImageCommitParams contains all the parameters to send to the API endpoint
for the image commit operation. Typically these are written to a http.Request.
func NewImageCommitParams ¶
func NewImageCommitParams() *ImageCommitParams
NewImageCommitParams creates a new ImageCommitParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewImageCommitParamsWithContext ¶
func NewImageCommitParamsWithContext(ctx context.Context) *ImageCommitParams
NewImageCommitParamsWithContext creates a new ImageCommitParams object with the ability to set a context for a request.
func NewImageCommitParamsWithHTTPClient ¶
func NewImageCommitParamsWithHTTPClient(client *http.Client) *ImageCommitParams
NewImageCommitParamsWithHTTPClient creates a new ImageCommitParams object with the ability to set a custom HTTPClient for a request.
func NewImageCommitParamsWithTimeout ¶
func NewImageCommitParamsWithTimeout(timeout time.Duration) *ImageCommitParams
NewImageCommitParamsWithTimeout creates a new ImageCommitParams object with the ability to set a timeout on a request.
func (*ImageCommitParams) SetAuthor ¶
func (o *ImageCommitParams) SetAuthor(author *string)
SetAuthor adds the author to the image commit params
func (*ImageCommitParams) SetChanges ¶
func (o *ImageCommitParams) SetChanges(changes *string)
SetChanges adds the changes to the image commit params
func (*ImageCommitParams) SetComment ¶
func (o *ImageCommitParams) SetComment(comment *string)
SetComment adds the comment to the image commit params
func (*ImageCommitParams) SetContainer ¶
func (o *ImageCommitParams) SetContainer(container *string)
SetContainer adds the container to the image commit params
func (*ImageCommitParams) SetContext ¶
func (o *ImageCommitParams) SetContext(ctx context.Context)
SetContext adds the context to the image commit params
func (*ImageCommitParams) SetDefaults ¶
func (o *ImageCommitParams) SetDefaults()
SetDefaults hydrates default values in the image commit params (not the query body).
All values with no default are reset to their zero value.
func (*ImageCommitParams) SetHTTPClient ¶
func (o *ImageCommitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the image commit params
func (*ImageCommitParams) SetPause ¶
func (o *ImageCommitParams) SetPause(pause *bool)
SetPause adds the pause to the image commit params
func (*ImageCommitParams) SetRepo ¶
func (o *ImageCommitParams) SetRepo(repo *string)
SetRepo adds the repo to the image commit params
func (*ImageCommitParams) SetTag ¶
func (o *ImageCommitParams) SetTag(tag *string)
SetTag adds the tag to the image commit params
func (*ImageCommitParams) SetTimeout ¶
func (o *ImageCommitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the image commit params
func (*ImageCommitParams) WithAuthor ¶
func (o *ImageCommitParams) WithAuthor(author *string) *ImageCommitParams
WithAuthor adds the author to the image commit params
func (*ImageCommitParams) WithChanges ¶
func (o *ImageCommitParams) WithChanges(changes *string) *ImageCommitParams
WithChanges adds the changes to the image commit params
func (*ImageCommitParams) WithComment ¶
func (o *ImageCommitParams) WithComment(comment *string) *ImageCommitParams
WithComment adds the comment to the image commit params
func (*ImageCommitParams) WithContainer ¶
func (o *ImageCommitParams) WithContainer(container *string) *ImageCommitParams
WithContainer adds the container to the image commit params
func (*ImageCommitParams) WithContext ¶
func (o *ImageCommitParams) WithContext(ctx context.Context) *ImageCommitParams
WithContext adds the context to the image commit params
func (*ImageCommitParams) WithDefaults ¶
func (o *ImageCommitParams) WithDefaults() *ImageCommitParams
WithDefaults hydrates default values in the image commit params (not the query body).
All values with no default are reset to their zero value.
func (*ImageCommitParams) WithHTTPClient ¶
func (o *ImageCommitParams) WithHTTPClient(client *http.Client) *ImageCommitParams
WithHTTPClient adds the HTTPClient to the image commit params
func (*ImageCommitParams) WithPause ¶
func (o *ImageCommitParams) WithPause(pause *bool) *ImageCommitParams
WithPause adds the pause to the image commit params
func (*ImageCommitParams) WithRepo ¶
func (o *ImageCommitParams) WithRepo(repo *string) *ImageCommitParams
WithRepo adds the repo to the image commit params
func (*ImageCommitParams) WithTag ¶
func (o *ImageCommitParams) WithTag(tag *string) *ImageCommitParams
WithTag adds the tag to the image commit params
func (*ImageCommitParams) WithTimeout ¶
func (o *ImageCommitParams) WithTimeout(timeout time.Duration) *ImageCommitParams
WithTimeout adds the timeout to the image commit params
func (*ImageCommitParams) WriteToRequest ¶
func (o *ImageCommitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImageCommitReader ¶
type ImageCommitReader struct {
// contains filtered or unexported fields
}
ImageCommitReader is a Reader for the ImageCommit structure.
func (*ImageCommitReader) ReadResponse ¶
func (o *ImageCommitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutContainerArchiveBadRequest ¶
type PutContainerArchiveBadRequest struct {
Payload *PutContainerArchiveBadRequestBody
}
PutContainerArchiveBadRequest describes a response with status code 400, with default header values.
Bad parameter in request
func NewPutContainerArchiveBadRequest ¶
func NewPutContainerArchiveBadRequest() *PutContainerArchiveBadRequest
NewPutContainerArchiveBadRequest creates a PutContainerArchiveBadRequest with default headers values
func (*PutContainerArchiveBadRequest) Error ¶
func (o *PutContainerArchiveBadRequest) Error() string
func (*PutContainerArchiveBadRequest) GetPayload ¶
func (o *PutContainerArchiveBadRequest) GetPayload() *PutContainerArchiveBadRequestBody
func (*PutContainerArchiveBadRequest) IsClientError ¶
func (o *PutContainerArchiveBadRequest) IsClientError() bool
IsClientError returns true when this put container archive bad request response has a 4xx status code
func (*PutContainerArchiveBadRequest) IsCode ¶
func (o *PutContainerArchiveBadRequest) IsCode(code int) bool
IsCode returns true when this put container archive bad request response a status code equal to that given
func (*PutContainerArchiveBadRequest) IsRedirect ¶
func (o *PutContainerArchiveBadRequest) IsRedirect() bool
IsRedirect returns true when this put container archive bad request response has a 3xx status code
func (*PutContainerArchiveBadRequest) IsServerError ¶
func (o *PutContainerArchiveBadRequest) IsServerError() bool
IsServerError returns true when this put container archive bad request response has a 5xx status code
func (*PutContainerArchiveBadRequest) IsSuccess ¶
func (o *PutContainerArchiveBadRequest) IsSuccess() bool
IsSuccess returns true when this put container archive bad request response has a 2xx status code
func (*PutContainerArchiveBadRequest) String ¶
func (o *PutContainerArchiveBadRequest) String() string
type PutContainerArchiveBadRequestBody ¶
type PutContainerArchiveBadRequestBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
PutContainerArchiveBadRequestBody put container archive bad request body swagger:model PutContainerArchiveBadRequestBody
func (*PutContainerArchiveBadRequestBody) ContextValidate ¶
func (o *PutContainerArchiveBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this put container archive bad request body based on context it is used
func (*PutContainerArchiveBadRequestBody) MarshalBinary ¶
func (o *PutContainerArchiveBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutContainerArchiveBadRequestBody) UnmarshalBinary ¶
func (o *PutContainerArchiveBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutContainerArchiveForbidden ¶
type PutContainerArchiveForbidden struct { }
PutContainerArchiveForbidden describes a response with status code 403, with default header values.
the container rootfs is read-only
func NewPutContainerArchiveForbidden ¶
func NewPutContainerArchiveForbidden() *PutContainerArchiveForbidden
NewPutContainerArchiveForbidden creates a PutContainerArchiveForbidden with default headers values
func (*PutContainerArchiveForbidden) Error ¶
func (o *PutContainerArchiveForbidden) Error() string
func (*PutContainerArchiveForbidden) IsClientError ¶
func (o *PutContainerArchiveForbidden) IsClientError() bool
IsClientError returns true when this put container archive forbidden response has a 4xx status code
func (*PutContainerArchiveForbidden) IsCode ¶
func (o *PutContainerArchiveForbidden) IsCode(code int) bool
IsCode returns true when this put container archive forbidden response a status code equal to that given
func (*PutContainerArchiveForbidden) IsRedirect ¶
func (o *PutContainerArchiveForbidden) IsRedirect() bool
IsRedirect returns true when this put container archive forbidden response has a 3xx status code
func (*PutContainerArchiveForbidden) IsServerError ¶
func (o *PutContainerArchiveForbidden) IsServerError() bool
IsServerError returns true when this put container archive forbidden response has a 5xx status code
func (*PutContainerArchiveForbidden) IsSuccess ¶
func (o *PutContainerArchiveForbidden) IsSuccess() bool
IsSuccess returns true when this put container archive forbidden response has a 2xx status code
func (*PutContainerArchiveForbidden) String ¶
func (o *PutContainerArchiveForbidden) String() string
type PutContainerArchiveInternalServerError ¶
type PutContainerArchiveInternalServerError struct {
Payload *PutContainerArchiveInternalServerErrorBody
}
PutContainerArchiveInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPutContainerArchiveInternalServerError ¶
func NewPutContainerArchiveInternalServerError() *PutContainerArchiveInternalServerError
NewPutContainerArchiveInternalServerError creates a PutContainerArchiveInternalServerError with default headers values
func (*PutContainerArchiveInternalServerError) Error ¶
func (o *PutContainerArchiveInternalServerError) Error() string
func (*PutContainerArchiveInternalServerError) GetPayload ¶
func (o *PutContainerArchiveInternalServerError) GetPayload() *PutContainerArchiveInternalServerErrorBody
func (*PutContainerArchiveInternalServerError) IsClientError ¶
func (o *PutContainerArchiveInternalServerError) IsClientError() bool
IsClientError returns true when this put container archive internal server error response has a 4xx status code
func (*PutContainerArchiveInternalServerError) IsCode ¶
func (o *PutContainerArchiveInternalServerError) IsCode(code int) bool
IsCode returns true when this put container archive internal server error response a status code equal to that given
func (*PutContainerArchiveInternalServerError) IsRedirect ¶
func (o *PutContainerArchiveInternalServerError) IsRedirect() bool
IsRedirect returns true when this put container archive internal server error response has a 3xx status code
func (*PutContainerArchiveInternalServerError) IsServerError ¶
func (o *PutContainerArchiveInternalServerError) IsServerError() bool
IsServerError returns true when this put container archive internal server error response has a 5xx status code
func (*PutContainerArchiveInternalServerError) IsSuccess ¶
func (o *PutContainerArchiveInternalServerError) IsSuccess() bool
IsSuccess returns true when this put container archive internal server error response has a 2xx status code
func (*PutContainerArchiveInternalServerError) String ¶
func (o *PutContainerArchiveInternalServerError) String() string
type PutContainerArchiveInternalServerErrorBody ¶
type PutContainerArchiveInternalServerErrorBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
PutContainerArchiveInternalServerErrorBody put container archive internal server error body swagger:model PutContainerArchiveInternalServerErrorBody
func (*PutContainerArchiveInternalServerErrorBody) ContextValidate ¶
func (o *PutContainerArchiveInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this put container archive internal server error body based on context it is used
func (*PutContainerArchiveInternalServerErrorBody) MarshalBinary ¶
func (o *PutContainerArchiveInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutContainerArchiveInternalServerErrorBody) UnmarshalBinary ¶
func (o *PutContainerArchiveInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutContainerArchiveNotFound ¶
type PutContainerArchiveNotFound struct {
Payload *PutContainerArchiveNotFoundBody
}
PutContainerArchiveNotFound describes a response with status code 404, with default header values.
No such container
func NewPutContainerArchiveNotFound ¶
func NewPutContainerArchiveNotFound() *PutContainerArchiveNotFound
NewPutContainerArchiveNotFound creates a PutContainerArchiveNotFound with default headers values
func (*PutContainerArchiveNotFound) Error ¶
func (o *PutContainerArchiveNotFound) Error() string
func (*PutContainerArchiveNotFound) GetPayload ¶
func (o *PutContainerArchiveNotFound) GetPayload() *PutContainerArchiveNotFoundBody
func (*PutContainerArchiveNotFound) IsClientError ¶
func (o *PutContainerArchiveNotFound) IsClientError() bool
IsClientError returns true when this put container archive not found response has a 4xx status code
func (*PutContainerArchiveNotFound) IsCode ¶
func (o *PutContainerArchiveNotFound) IsCode(code int) bool
IsCode returns true when this put container archive not found response a status code equal to that given
func (*PutContainerArchiveNotFound) IsRedirect ¶
func (o *PutContainerArchiveNotFound) IsRedirect() bool
IsRedirect returns true when this put container archive not found response has a 3xx status code
func (*PutContainerArchiveNotFound) IsServerError ¶
func (o *PutContainerArchiveNotFound) IsServerError() bool
IsServerError returns true when this put container archive not found response has a 5xx status code
func (*PutContainerArchiveNotFound) IsSuccess ¶
func (o *PutContainerArchiveNotFound) IsSuccess() bool
IsSuccess returns true when this put container archive not found response has a 2xx status code
func (*PutContainerArchiveNotFound) String ¶
func (o *PutContainerArchiveNotFound) String() string
type PutContainerArchiveNotFoundBody ¶
type PutContainerArchiveNotFoundBody struct { // API root cause formatted for automated parsing // Example: API root cause Because string `json:"cause,omitempty"` // human error message, formatted for a human to read // Example: human error message Message string `json:"message,omitempty"` // http response code ResponseCode int64 `json:"response,omitempty"` }
PutContainerArchiveNotFoundBody put container archive not found body swagger:model PutContainerArchiveNotFoundBody
func (*PutContainerArchiveNotFoundBody) ContextValidate ¶
func (o *PutContainerArchiveNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this put container archive not found body based on context it is used
func (*PutContainerArchiveNotFoundBody) MarshalBinary ¶
func (o *PutContainerArchiveNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutContainerArchiveNotFoundBody) UnmarshalBinary ¶
func (o *PutContainerArchiveNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PutContainerArchiveOK ¶
type PutContainerArchiveOK struct { }
PutContainerArchiveOK describes a response with status code 200, with default header values.
no error
func NewPutContainerArchiveOK ¶
func NewPutContainerArchiveOK() *PutContainerArchiveOK
NewPutContainerArchiveOK creates a PutContainerArchiveOK with default headers values
func (*PutContainerArchiveOK) Error ¶
func (o *PutContainerArchiveOK) Error() string
func (*PutContainerArchiveOK) IsClientError ¶
func (o *PutContainerArchiveOK) IsClientError() bool
IsClientError returns true when this put container archive o k response has a 4xx status code
func (*PutContainerArchiveOK) IsCode ¶
func (o *PutContainerArchiveOK) IsCode(code int) bool
IsCode returns true when this put container archive o k response a status code equal to that given
func (*PutContainerArchiveOK) IsRedirect ¶
func (o *PutContainerArchiveOK) IsRedirect() bool
IsRedirect returns true when this put container archive o k response has a 3xx status code
func (*PutContainerArchiveOK) IsServerError ¶
func (o *PutContainerArchiveOK) IsServerError() bool
IsServerError returns true when this put container archive o k response has a 5xx status code
func (*PutContainerArchiveOK) IsSuccess ¶
func (o *PutContainerArchiveOK) IsSuccess() bool
IsSuccess returns true when this put container archive o k response has a 2xx status code
func (*PutContainerArchiveOK) String ¶
func (o *PutContainerArchiveOK) String() string
type PutContainerArchiveParams ¶
type PutContainerArchiveParams struct { /* CopyUIDGID. copy UID/GID maps to the dest file or di (1 or true) */ CopyUIDGID *string /* Name. container name or id */ Name string /* NoOverwriteDirNonDir. if unpacking the given content would cause an existing directory to be replaced with a non-directory and vice versa (1 or true) */ NoOverwriteDirNonDir *string /* Path. Path to a directory in the container to extract */ Path string /* Request. tarfile of files to copy into the container */ Request 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutContainerArchiveParamsWithContext ¶
func NewPutContainerArchiveParamsWithContext(ctx context.Context) *PutContainerArchiveParams
NewPutContainerArchiveParamsWithContext creates a new PutContainerArchiveParams object with 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 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 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) SetCopyUIDGID ¶
func (o *PutContainerArchiveParams) SetCopyUIDGID(copyUIDGID *string)
SetCopyUIDGID adds the copyUidGId to the put container archive params
func (*PutContainerArchiveParams) SetDefaults ¶
func (o *PutContainerArchiveParams) SetDefaults()
SetDefaults hydrates default values in the put container archive params (not the query body).
All values with no default are reset to their zero value.
func (*PutContainerArchiveParams) SetHTTPClient ¶
func (o *PutContainerArchiveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put container archive params
func (*PutContainerArchiveParams) SetName ¶
func (o *PutContainerArchiveParams) SetName(name string)
SetName adds the name 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) SetRequest ¶
func (o *PutContainerArchiveParams) SetRequest(request string)
SetRequest adds the request 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) WithCopyUIDGID ¶
func (o *PutContainerArchiveParams) WithCopyUIDGID(copyUIDGID *string) *PutContainerArchiveParams
WithCopyUIDGID adds the copyUIDGID to the put container archive params
func (*PutContainerArchiveParams) WithDefaults ¶
func (o *PutContainerArchiveParams) WithDefaults() *PutContainerArchiveParams
WithDefaults hydrates default values in the put container archive params (not the query body).
All values with no default are reset to their zero value.
func (*PutContainerArchiveParams) WithHTTPClient ¶
func (o *PutContainerArchiveParams) WithHTTPClient(client *http.Client) *PutContainerArchiveParams
WithHTTPClient adds the HTTPClient to the put container archive params
func (*PutContainerArchiveParams) WithName ¶
func (o *PutContainerArchiveParams) WithName(name string) *PutContainerArchiveParams
WithName adds the name 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) WithRequest ¶
func (o *PutContainerArchiveParams) WithRequest(request string) *PutContainerArchiveParams
WithRequest adds the request 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_libpod_parameters.go
- container_archive_libpod_responses.go
- container_archive_parameters.go
- container_archive_responses.go
- container_attach_parameters.go
- container_attach_responses.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_wait_parameters.go
- container_wait_responses.go
- containers_compat_client.go
- image_commit_parameters.go
- image_commit_responses.go
- put_container_archive_parameters.go
- put_container_archive_responses.go