Documentation ¶
Index ¶
- Constants
- func AsTarReader(resource *url.Resource, includeOwnerDir bool) (io.Reader, error)
- func BuildRoutes(service interface{}, ...) ([]*endly.Route, error)
- func IsContainerUp(container *types.Container) bool
- func New() endly.Service
- func UnTar(reader *tar.Reader, dest string) error
- type BuildCachePruneRequest
- type BuildCancelRequest
- type BuildRequest
- type BuildResponse
- type CheckpointCreateRequest
- type CheckpointDeleteRequest
- type CheckpointListRequest
- type ConfigCreateRequest
- type ConfigListRequest
- type ConfigRemoveRequest
- type ConfigUpdateRequest
- type ContainerAttachRequest
- type ContainerCommitRequest
- type ContainerCreateRequest
- type ContainerDiffRequest
- type ContainerExecAttachRequest
- type ContainerExecCreateRequest
- type ContainerExecInspectRequest
- type ContainerExecResizeRequest
- type ContainerExecStartRequest
- type ContainerExportRequest
- type ContainerInspectRequest
- type ContainerKillRequest
- type ContainerListRequest
- type ContainerLogsRequest
- type ContainerPauseRequest
- type ContainerRemoveRequest
- type ContainerRenameRequest
- type ContainerResizeRequest
- type ContainerRestartRequest
- type ContainerStartRequest
- type ContainerStatPathRequest
- type ContainerStatsRequest
- type ContainerStopRequest
- type ContainerTopRequest
- type ContainerUnpauseRequest
- type ContainerUpdateRequest
- type ContainerWaitRequest
- type ContainersPruneRequest
- type ContractAdapter
- type CopyRequest
- type CopyResponse
- type CopyToContainerRequest
- type CtxClient
- type DataAux
- type DataError
- type DataStream
- type DialHijackRequest
- type DiskUsageRequest
- type DistributionInspectRequest
- type EventsRequest
- type ImageBuildRequest
- type ImageCreateRequest
- type ImageHistoryRequest
- type ImageImportRequest
- type ImageListRequest
- type ImageLoadRequest
- type ImagePullRequest
- type ImagePushRequest
- type ImageRemoveRequest
- type ImageSaveRequest
- type ImageSearchRequest
- type ImageTagRequest
- type ImagesPruneRequest
- type InfoRequest
- type InspectRequest
- type InspectResponse
- type LoginRequest
- type LoginResponse
- type LogoutRequest
- type LogoutResponse
- type LogsRequest
- type LogsResponse
- type NegotiateAPIVersionRequest
- type NetworkConnectRequest
- type NetworkCreateRequest
- type NetworkDisconnectRequest
- type NetworkInspectRequest
- type NetworkListRequest
- type NetworkRemoveRequest
- type NetworksPruneRequest
- type NodeListRequest
- type NodeRemoveRequest
- type NodeUpdateRequest
- type OutputEvent
- type PingRequest
- type PluginCreateRequest
- type PluginDisableRequest
- type PluginEnableRequest
- type PluginInstallRequest
- type PluginListRequest
- type PluginPushRequest
- type PluginRemoveRequest
- type PluginSetRequest
- type PluginUpgradeRequest
- type PullRequest
- type PullResponse
- type PushRequest
- type PushResponse
- type RegistryLoginRequest
- type RemoveRequest
- type RemoveResponse
- type RunRequest
- type RunResponse
- type SecretCreateRequest
- type SecretListRequest
- type SecretRemoveRequest
- type SecretUpdateRequest
- type ServerVersionRequest
- type ServiceCreateRequest
- type ServiceListRequest
- type ServiceLogsRequest
- type ServiceRemoveRequest
- type ServiceUpdateRequest
- type StartRequest
- type StartResponse
- type StatusRequest
- type StatusResponse
- type StopRequest
- type StopResponse
- type SwarmGetUnlockKeyRequest
- type SwarmInitRequest
- type SwarmInspectRequest
- type SwarmJoinRequest
- type SwarmLeaveRequest
- type SwarmUnlockRequest
- type SwarmUpdateRequest
- type Tag
- type TagRequest
- type TagResponse
- type TaskListRequest
- type TaskLogsRequest
- type VolumeCreateRequest
- type VolumeInspectRequest
- type VolumeListRequest
- type VolumeRemoveRequest
- type VolumesPruneRequest
Constants ¶
const (
//ServiceID aws Simple Queue Service ID.
ServiceID = "docker"
)
Variables ¶
This section is empty.
Functions ¶
func AsTarReader ¶ added in v0.33.0
AsTarReader creates a tar reader for supplied URL
func BuildRoutes ¶ added in v0.33.0
func BuildRoutes(service interface{}, clientProvider func(context *endly.Context) (*CtxClient, error)) ([]*endly.Route, error)
BuildRoutes build proxy routes
func IsContainerUp ¶ added in v0.33.0
Types ¶
type BuildCachePruneRequest ¶ added in v0.33.0
type BuildCachePruneRequest struct { Opts types.BuildCachePruneOptions // contains filtered or unexported fields }
BuildCachePruneRequest represents request
func (*BuildCachePruneRequest) Call ¶ added in v0.33.0
func (r *BuildCachePruneRequest) Call() (result interface{}, err error)
Call calls service
func (*BuildCachePruneRequest) GetId ¶ added in v0.33.0
func (r *BuildCachePruneRequest) GetId() string
GetId returns request id
func (*BuildCachePruneRequest) SetContext ¶ added in v0.33.0
func (r *BuildCachePruneRequest) SetContext(ctx context.Context)
SetContext sets context
func (*BuildCachePruneRequest) SetService ¶ added in v0.33.0
func (r *BuildCachePruneRequest) SetService(service interface{}) error
SetService sets service
type BuildCancelRequest ¶ added in v0.33.0
type BuildCancelRequest struct { Id string // contains filtered or unexported fields }
BuildCancelRequest represents request
func (*BuildCancelRequest) Call ¶ added in v0.33.0
func (r *BuildCancelRequest) Call() (result interface{}, err error)
Call calls service
func (*BuildCancelRequest) GetId ¶ added in v0.33.0
func (r *BuildCancelRequest) GetId() string
GetId returns request id
func (*BuildCancelRequest) SetContext ¶ added in v0.33.0
func (r *BuildCancelRequest) SetContext(ctx context.Context)
SetContext sets context
func (*BuildCancelRequest) SetService ¶ added in v0.33.0
func (r *BuildCancelRequest) SetService(service interface{}) error
SetService sets service
type BuildRequest ¶
type BuildRequest struct { Tag *Tag `required:"true" description:"build docker tag"` Path string `description:"location of dockerfile"` types.ImageBuildOptions `json:",inline" yaml:",inline"` Mem string }
BuildRequest represents docker build request
func (*BuildRequest) Init ¶
func (r *BuildRequest) Init() error
type BuildResponse ¶
BuildResponse represents image ID
type CheckpointCreateRequest ¶ added in v0.33.0
type CheckpointCreateRequest struct { Container string types.CheckpointCreateOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
CheckpointCreateRequest represents request
func (*CheckpointCreateRequest) Call ¶ added in v0.33.0
func (r *CheckpointCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*CheckpointCreateRequest) GetId ¶ added in v0.33.0
func (r *CheckpointCreateRequest) GetId() string
GetId returns request id
func (*CheckpointCreateRequest) SetContext ¶ added in v0.33.0
func (r *CheckpointCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*CheckpointCreateRequest) SetService ¶ added in v0.33.0
func (r *CheckpointCreateRequest) SetService(service interface{}) error
SetService sets service
type CheckpointDeleteRequest ¶ added in v0.33.0
type CheckpointDeleteRequest struct { ContainerID string types.CheckpointDeleteOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
CheckpointDeleteRequest represents request
func (*CheckpointDeleteRequest) Call ¶ added in v0.33.0
func (r *CheckpointDeleteRequest) Call() (result interface{}, err error)
Call calls service
func (*CheckpointDeleteRequest) GetId ¶ added in v0.33.0
func (r *CheckpointDeleteRequest) GetId() string
GetId returns request id
func (*CheckpointDeleteRequest) SetContext ¶ added in v0.33.0
func (r *CheckpointDeleteRequest) SetContext(ctx context.Context)
SetContext sets context
func (*CheckpointDeleteRequest) SetService ¶ added in v0.33.0
func (r *CheckpointDeleteRequest) SetService(service interface{}) error
SetService sets service
type CheckpointListRequest ¶ added in v0.33.0
type CheckpointListRequest struct { Container string types.CheckpointListOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
CheckpointListRequest represents request
func (*CheckpointListRequest) Call ¶ added in v0.33.0
func (r *CheckpointListRequest) Call() (result interface{}, err error)
Call calls service
func (*CheckpointListRequest) GetId ¶ added in v0.33.0
func (r *CheckpointListRequest) GetId() string
GetId returns request id
func (*CheckpointListRequest) SetContext ¶ added in v0.33.0
func (r *CheckpointListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*CheckpointListRequest) SetService ¶ added in v0.33.0
func (r *CheckpointListRequest) SetService(service interface{}) error
SetService sets service
type ConfigCreateRequest ¶ added in v0.33.0
type ConfigCreateRequest struct { Config swarm.ConfigSpec // contains filtered or unexported fields }
ConfigCreateRequest represents request
func (*ConfigCreateRequest) Call ¶ added in v0.33.0
func (r *ConfigCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*ConfigCreateRequest) GetId ¶ added in v0.33.0
func (r *ConfigCreateRequest) GetId() string
GetId returns request id
func (*ConfigCreateRequest) SetContext ¶ added in v0.33.0
func (r *ConfigCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ConfigCreateRequest) SetService ¶ added in v0.33.0
func (r *ConfigCreateRequest) SetService(service interface{}) error
SetService sets service
type ConfigListRequest ¶ added in v0.33.0
type ConfigListRequest struct { types.ConfigListOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ConfigListRequest represents request
func (*ConfigListRequest) Call ¶ added in v0.33.0
func (r *ConfigListRequest) Call() (result interface{}, err error)
Call calls service
func (*ConfigListRequest) GetId ¶ added in v0.33.0
func (r *ConfigListRequest) GetId() string
GetId returns request id
func (*ConfigListRequest) SetContext ¶ added in v0.33.0
func (r *ConfigListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ConfigListRequest) SetService ¶ added in v0.33.0
func (r *ConfigListRequest) SetService(service interface{}) error
SetService sets service
type ConfigRemoveRequest ¶ added in v0.33.0
type ConfigRemoveRequest struct { Id string // contains filtered or unexported fields }
ConfigRemoveRequest represents request
func (*ConfigRemoveRequest) Call ¶ added in v0.33.0
func (r *ConfigRemoveRequest) Call() (result interface{}, err error)
Call calls service
func (*ConfigRemoveRequest) GetId ¶ added in v0.33.0
func (r *ConfigRemoveRequest) GetId() string
GetId returns request id
func (*ConfigRemoveRequest) SetContext ¶ added in v0.33.0
func (r *ConfigRemoveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ConfigRemoveRequest) SetService ¶ added in v0.33.0
func (r *ConfigRemoveRequest) SetService(service interface{}) error
SetService sets service
type ConfigUpdateRequest ¶ added in v0.33.0
type ConfigUpdateRequest struct { Id string Version swarm.Version Config swarm.ConfigSpec // contains filtered or unexported fields }
ConfigUpdateRequest represents request
func (*ConfigUpdateRequest) Call ¶ added in v0.33.0
func (r *ConfigUpdateRequest) Call() (result interface{}, err error)
Call calls service
func (*ConfigUpdateRequest) GetId ¶ added in v0.33.0
func (r *ConfigUpdateRequest) GetId() string
GetId returns request id
func (*ConfigUpdateRequest) SetContext ¶ added in v0.33.0
func (r *ConfigUpdateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ConfigUpdateRequest) SetService ¶ added in v0.33.0
func (r *ConfigUpdateRequest) SetService(service interface{}) error
SetService sets service
type ContainerAttachRequest ¶ added in v0.33.0
type ContainerAttachRequest struct { Container string types.ContainerAttachOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ContainerAttachRequest represents request
func (*ContainerAttachRequest) Call ¶ added in v0.33.0
func (r *ContainerAttachRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerAttachRequest) GetId ¶ added in v0.33.0
func (r *ContainerAttachRequest) GetId() string
GetId returns request id
func (*ContainerAttachRequest) SetContext ¶ added in v0.33.0
func (r *ContainerAttachRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerAttachRequest) SetService ¶ added in v0.33.0
func (r *ContainerAttachRequest) SetService(service interface{}) error
SetService sets service
type ContainerCommitRequest ¶ added in v0.33.0
type ContainerCommitRequest struct { Container string types.ContainerCommitOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ContainerCommitRequest represents request
func (*ContainerCommitRequest) Call ¶ added in v0.33.0
func (r *ContainerCommitRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerCommitRequest) GetId ¶ added in v0.33.0
func (r *ContainerCommitRequest) GetId() string
GetId returns request id
func (*ContainerCommitRequest) SetContext ¶ added in v0.33.0
func (r *ContainerCommitRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerCommitRequest) SetService ¶ added in v0.33.0
func (r *ContainerCommitRequest) SetService(service interface{}) error
SetService sets service
type ContainerCreateRequest ¶ added in v0.33.0
type ContainerCreateRequest struct { Config *container.Config HostConfig *container.HostConfig NetworkingConfig *network.NetworkingConfig ContainerName string // contains filtered or unexported fields }
ContainerCreateRequest represents request
func (*ContainerCreateRequest) Call ¶ added in v0.33.0
func (r *ContainerCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerCreateRequest) GetId ¶ added in v0.33.0
func (r *ContainerCreateRequest) GetId() string
GetId returns request id
func (*ContainerCreateRequest) SetContext ¶ added in v0.33.0
func (r *ContainerCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerCreateRequest) SetService ¶ added in v0.33.0
func (r *ContainerCreateRequest) SetService(service interface{}) error
SetService sets service
type ContainerDiffRequest ¶ added in v0.33.0
type ContainerDiffRequest struct { ContainerID string // contains filtered or unexported fields }
ContainerDiffRequest represents request
func (*ContainerDiffRequest) Call ¶ added in v0.33.0
func (r *ContainerDiffRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerDiffRequest) GetId ¶ added in v0.33.0
func (r *ContainerDiffRequest) GetId() string
GetId returns request id
func (*ContainerDiffRequest) SetContext ¶ added in v0.33.0
func (r *ContainerDiffRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerDiffRequest) SetService ¶ added in v0.33.0
func (r *ContainerDiffRequest) SetService(service interface{}) error
SetService sets service
type ContainerExecAttachRequest ¶ added in v0.33.0
type ContainerExecAttachRequest struct { ExecID string Config types.ExecStartCheck // contains filtered or unexported fields }
ContainerExecAttachRequest represents request
func (*ContainerExecAttachRequest) Call ¶ added in v0.33.0
func (r *ContainerExecAttachRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerExecAttachRequest) GetId ¶ added in v0.33.0
func (r *ContainerExecAttachRequest) GetId() string
GetId returns request id
func (*ContainerExecAttachRequest) SetContext ¶ added in v0.33.0
func (r *ContainerExecAttachRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerExecAttachRequest) SetService ¶ added in v0.33.0
func (r *ContainerExecAttachRequest) SetService(service interface{}) error
SetService sets service
type ContainerExecCreateRequest ¶ added in v0.33.0
type ContainerExecCreateRequest struct { Container string Config types.ExecConfig // contains filtered or unexported fields }
ContainerExecCreateRequest represents request
func (*ContainerExecCreateRequest) Call ¶ added in v0.33.0
func (r *ContainerExecCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerExecCreateRequest) GetId ¶ added in v0.33.0
func (r *ContainerExecCreateRequest) GetId() string
GetId returns request id
func (*ContainerExecCreateRequest) SetContext ¶ added in v0.33.0
func (r *ContainerExecCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerExecCreateRequest) SetService ¶ added in v0.33.0
func (r *ContainerExecCreateRequest) SetService(service interface{}) error
SetService sets service
type ContainerExecInspectRequest ¶ added in v0.33.0
type ContainerExecInspectRequest struct { ExecID string // contains filtered or unexported fields }
ContainerExecInspectRequest represents request
func (*ContainerExecInspectRequest) Call ¶ added in v0.33.0
func (r *ContainerExecInspectRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerExecInspectRequest) GetId ¶ added in v0.33.0
func (r *ContainerExecInspectRequest) GetId() string
GetId returns request id
func (*ContainerExecInspectRequest) SetContext ¶ added in v0.33.0
func (r *ContainerExecInspectRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerExecInspectRequest) SetService ¶ added in v0.33.0
func (r *ContainerExecInspectRequest) SetService(service interface{}) error
SetService sets service
type ContainerExecResizeRequest ¶ added in v0.33.0
type ContainerExecResizeRequest struct { ExecID string types.ResizeOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ContainerExecResizeRequest represents request
func (*ContainerExecResizeRequest) Call ¶ added in v0.33.0
func (r *ContainerExecResizeRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerExecResizeRequest) GetId ¶ added in v0.33.0
func (r *ContainerExecResizeRequest) GetId() string
GetId returns request id
func (*ContainerExecResizeRequest) SetContext ¶ added in v0.33.0
func (r *ContainerExecResizeRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerExecResizeRequest) SetService ¶ added in v0.33.0
func (r *ContainerExecResizeRequest) SetService(service interface{}) error
SetService sets service
type ContainerExecStartRequest ¶ added in v0.33.0
type ContainerExecStartRequest struct { ExecID string Config types.ExecStartCheck // contains filtered or unexported fields }
ContainerExecStartRequest represents request
func (*ContainerExecStartRequest) Call ¶ added in v0.33.0
func (r *ContainerExecStartRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerExecStartRequest) GetId ¶ added in v0.33.0
func (r *ContainerExecStartRequest) GetId() string
GetId returns request id
func (*ContainerExecStartRequest) SetContext ¶ added in v0.33.0
func (r *ContainerExecStartRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerExecStartRequest) SetService ¶ added in v0.33.0
func (r *ContainerExecStartRequest) SetService(service interface{}) error
SetService sets service
type ContainerExportRequest ¶ added in v0.33.0
type ContainerExportRequest struct { ContainerID string // contains filtered or unexported fields }
ContainerExportRequest represents request
func (*ContainerExportRequest) Call ¶ added in v0.33.0
func (r *ContainerExportRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerExportRequest) GetId ¶ added in v0.33.0
func (r *ContainerExportRequest) GetId() string
GetId returns request id
func (*ContainerExportRequest) SetContext ¶ added in v0.33.0
func (r *ContainerExportRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerExportRequest) SetService ¶ added in v0.33.0
func (r *ContainerExportRequest) SetService(service interface{}) error
SetService sets service
type ContainerInspectRequest ¶ added in v0.33.0
type ContainerInspectRequest struct { ContainerID string // contains filtered or unexported fields }
ContainerInspectRequest represents request
func (*ContainerInspectRequest) Call ¶ added in v0.33.0
func (r *ContainerInspectRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerInspectRequest) GetId ¶ added in v0.33.0
func (r *ContainerInspectRequest) GetId() string
GetId returns request id
func (*ContainerInspectRequest) SetContext ¶ added in v0.33.0
func (r *ContainerInspectRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerInspectRequest) SetService ¶ added in v0.33.0
func (r *ContainerInspectRequest) SetService(service interface{}) error
SetService sets service
type ContainerKillRequest ¶ added in v0.33.0
type ContainerKillRequest struct { ContainerID string Signal string // contains filtered or unexported fields }
ContainerKillRequest represents request
func (*ContainerKillRequest) Call ¶ added in v0.33.0
func (r *ContainerKillRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerKillRequest) GetId ¶ added in v0.33.0
func (r *ContainerKillRequest) GetId() string
GetId returns request id
func (*ContainerKillRequest) SetContext ¶ added in v0.33.0
func (r *ContainerKillRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerKillRequest) SetService ¶ added in v0.33.0
func (r *ContainerKillRequest) SetService(service interface{}) error
SetService sets service
type ContainerListRequest ¶ added in v0.33.0
type ContainerListRequest struct { types.ContainerListOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ContainerListRequest represents request
func (*ContainerListRequest) Call ¶ added in v0.33.0
func (r *ContainerListRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerListRequest) GetId ¶ added in v0.33.0
func (r *ContainerListRequest) GetId() string
GetId returns request id
func (*ContainerListRequest) SetContext ¶ added in v0.33.0
func (r *ContainerListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerListRequest) SetService ¶ added in v0.33.0
func (r *ContainerListRequest) SetService(service interface{}) error
SetService sets service
type ContainerLogsRequest ¶ added in v0.33.0
type ContainerLogsRequest struct { Container string types.ContainerLogsOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ContainerLogsRequest represents request
func (*ContainerLogsRequest) Call ¶ added in v0.33.0
func (r *ContainerLogsRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerLogsRequest) GetId ¶ added in v0.33.0
func (r *ContainerLogsRequest) GetId() string
GetId returns request id
func (*ContainerLogsRequest) SetContext ¶ added in v0.33.0
func (r *ContainerLogsRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerLogsRequest) SetService ¶ added in v0.33.0
func (r *ContainerLogsRequest) SetService(service interface{}) error
SetService sets service
type ContainerPauseRequest ¶ added in v0.33.0
type ContainerPauseRequest struct { ContainerID string // contains filtered or unexported fields }
ContainerPauseRequest represents request
func (*ContainerPauseRequest) Call ¶ added in v0.33.0
func (r *ContainerPauseRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerPauseRequest) GetId ¶ added in v0.33.0
func (r *ContainerPauseRequest) GetId() string
GetId returns request id
func (*ContainerPauseRequest) SetContext ¶ added in v0.33.0
func (r *ContainerPauseRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerPauseRequest) SetService ¶ added in v0.33.0
func (r *ContainerPauseRequest) SetService(service interface{}) error
SetService sets service
type ContainerRemoveRequest ¶ added in v0.33.0
type ContainerRemoveRequest struct { ContainerID string types.ContainerRemoveOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ContainerRemoveRequest represents request
func (*ContainerRemoveRequest) Call ¶ added in v0.33.0
func (r *ContainerRemoveRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerRemoveRequest) GetId ¶ added in v0.33.0
func (r *ContainerRemoveRequest) GetId() string
GetId returns request id
func (*ContainerRemoveRequest) SetContext ¶ added in v0.33.0
func (r *ContainerRemoveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerRemoveRequest) SetService ¶ added in v0.33.0
func (r *ContainerRemoveRequest) SetService(service interface{}) error
SetService sets service
type ContainerRenameRequest ¶ added in v0.33.0
type ContainerRenameRequest struct { ContainerID string NewContainerName string // contains filtered or unexported fields }
ContainerRenameRequest represents request
func (*ContainerRenameRequest) Call ¶ added in v0.33.0
func (r *ContainerRenameRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerRenameRequest) GetId ¶ added in v0.33.0
func (r *ContainerRenameRequest) GetId() string
GetId returns request id
func (*ContainerRenameRequest) SetContext ¶ added in v0.33.0
func (r *ContainerRenameRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerRenameRequest) SetService ¶ added in v0.33.0
func (r *ContainerRenameRequest) SetService(service interface{}) error
SetService sets service
type ContainerResizeRequest ¶ added in v0.33.0
type ContainerResizeRequest struct { ContainerID string types.ResizeOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ContainerResizeRequest represents request
func (*ContainerResizeRequest) Call ¶ added in v0.33.0
func (r *ContainerResizeRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerResizeRequest) GetId ¶ added in v0.33.0
func (r *ContainerResizeRequest) GetId() string
GetId returns request id
func (*ContainerResizeRequest) SetContext ¶ added in v0.33.0
func (r *ContainerResizeRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerResizeRequest) SetService ¶ added in v0.33.0
func (r *ContainerResizeRequest) SetService(service interface{}) error
SetService sets service
type ContainerRestartRequest ¶ added in v0.33.0
type ContainerRestartRequest struct { ContainerID string Timeout *time.Duration // contains filtered or unexported fields }
ContainerRestartRequest represents request
func (*ContainerRestartRequest) Call ¶ added in v0.33.0
func (r *ContainerRestartRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerRestartRequest) GetId ¶ added in v0.33.0
func (r *ContainerRestartRequest) GetId() string
GetId returns request id
func (*ContainerRestartRequest) SetContext ¶ added in v0.33.0
func (r *ContainerRestartRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerRestartRequest) SetService ¶ added in v0.33.0
func (r *ContainerRestartRequest) SetService(service interface{}) error
SetService sets service
type ContainerStartRequest ¶ added in v0.33.0
type ContainerStartRequest struct { ContainerID string types.ContainerStartOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ContainerStartRequest represents request
func (*ContainerStartRequest) Call ¶ added in v0.33.0
func (r *ContainerStartRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerStartRequest) GetId ¶ added in v0.33.0
func (r *ContainerStartRequest) GetId() string
GetId returns request id
func (*ContainerStartRequest) SetContext ¶ added in v0.33.0
func (r *ContainerStartRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerStartRequest) SetService ¶ added in v0.33.0
func (r *ContainerStartRequest) SetService(service interface{}) error
SetService sets service
type ContainerStatPathRequest ¶ added in v0.33.0
type ContainerStatPathRequest struct { ContainerID string Path string // contains filtered or unexported fields }
ContainerStatPathRequest represents request
func (*ContainerStatPathRequest) Call ¶ added in v0.33.0
func (r *ContainerStatPathRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerStatPathRequest) GetId ¶ added in v0.33.0
func (r *ContainerStatPathRequest) GetId() string
GetId returns request id
func (*ContainerStatPathRequest) SetContext ¶ added in v0.33.0
func (r *ContainerStatPathRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerStatPathRequest) SetService ¶ added in v0.33.0
func (r *ContainerStatPathRequest) SetService(service interface{}) error
SetService sets service
type ContainerStatsRequest ¶ added in v0.33.0
type ContainerStatsRequest struct { ContainerID string Stream bool // contains filtered or unexported fields }
ContainerStatsRequest represents request
func (*ContainerStatsRequest) Call ¶ added in v0.33.0
func (r *ContainerStatsRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerStatsRequest) GetId ¶ added in v0.33.0
func (r *ContainerStatsRequest) GetId() string
GetId returns request id
func (*ContainerStatsRequest) SetContext ¶ added in v0.33.0
func (r *ContainerStatsRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerStatsRequest) SetService ¶ added in v0.33.0
func (r *ContainerStatsRequest) SetService(service interface{}) error
SetService sets service
type ContainerStopRequest ¶ added in v0.33.0
type ContainerStopRequest struct { ContainerID string Timeout *time.Duration // contains filtered or unexported fields }
ContainerStopRequest represents request
func (*ContainerStopRequest) Call ¶ added in v0.33.0
func (r *ContainerStopRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerStopRequest) GetId ¶ added in v0.33.0
func (r *ContainerStopRequest) GetId() string
GetId returns request id
func (*ContainerStopRequest) SetContext ¶ added in v0.33.0
func (r *ContainerStopRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerStopRequest) SetService ¶ added in v0.33.0
func (r *ContainerStopRequest) SetService(service interface{}) error
SetService sets service
type ContainerTopRequest ¶ added in v0.33.0
type ContainerTopRequest struct { ContainerID string Arguments []string // contains filtered or unexported fields }
ContainerTopRequest represents request
func (*ContainerTopRequest) Call ¶ added in v0.33.0
func (r *ContainerTopRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerTopRequest) GetId ¶ added in v0.33.0
func (r *ContainerTopRequest) GetId() string
GetId returns request id
func (*ContainerTopRequest) SetContext ¶ added in v0.33.0
func (r *ContainerTopRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerTopRequest) SetService ¶ added in v0.33.0
func (r *ContainerTopRequest) SetService(service interface{}) error
SetService sets service
type ContainerUnpauseRequest ¶ added in v0.33.0
type ContainerUnpauseRequest struct { ContainerID string // contains filtered or unexported fields }
ContainerUnpauseRequest represents request
func (*ContainerUnpauseRequest) Call ¶ added in v0.33.0
func (r *ContainerUnpauseRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerUnpauseRequest) GetId ¶ added in v0.33.0
func (r *ContainerUnpauseRequest) GetId() string
GetId returns request id
func (*ContainerUnpauseRequest) SetContext ¶ added in v0.33.0
func (r *ContainerUnpauseRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerUnpauseRequest) SetService ¶ added in v0.33.0
func (r *ContainerUnpauseRequest) SetService(service interface{}) error
SetService sets service
type ContainerUpdateRequest ¶ added in v0.33.0
type ContainerUpdateRequest struct { ContainerID string UpdateConfig container.UpdateConfig // contains filtered or unexported fields }
ContainerUpdateRequest represents request
func (*ContainerUpdateRequest) Call ¶ added in v0.33.0
func (r *ContainerUpdateRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerUpdateRequest) GetId ¶ added in v0.33.0
func (r *ContainerUpdateRequest) GetId() string
GetId returns request id
func (*ContainerUpdateRequest) SetContext ¶ added in v0.33.0
func (r *ContainerUpdateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerUpdateRequest) SetService ¶ added in v0.33.0
func (r *ContainerUpdateRequest) SetService(service interface{}) error
SetService sets service
type ContainerWaitRequest ¶ added in v0.33.0
type ContainerWaitRequest struct { ContainerID string Condition container.WaitCondition // contains filtered or unexported fields }
ContainerWaitRequest represents request
func (*ContainerWaitRequest) Call ¶ added in v0.33.0
func (r *ContainerWaitRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainerWaitRequest) GetId ¶ added in v0.33.0
func (r *ContainerWaitRequest) GetId() string
GetId returns request id
func (*ContainerWaitRequest) SetContext ¶ added in v0.33.0
func (r *ContainerWaitRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainerWaitRequest) SetService ¶ added in v0.33.0
func (r *ContainerWaitRequest) SetService(service interface{}) error
SetService sets service
type ContainersPruneRequest ¶ added in v0.33.0
type ContainersPruneRequest struct { PruneFilters filters.Args // contains filtered or unexported fields }
ContainersPruneRequest represents request
func (*ContainersPruneRequest) Call ¶ added in v0.33.0
func (r *ContainersPruneRequest) Call() (result interface{}, err error)
Call calls service
func (*ContainersPruneRequest) GetId ¶ added in v0.33.0
func (r *ContainersPruneRequest) GetId() string
GetId returns request id
func (*ContainersPruneRequest) SetContext ¶ added in v0.33.0
func (r *ContainersPruneRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ContainersPruneRequest) SetService ¶ added in v0.33.0
func (r *ContainersPruneRequest) SetService(service interface{}) error
SetService sets service
type ContractAdapter ¶ added in v0.33.0
type ContractAdapter interface { SetService(service interface{}) error SetContext(ctx context.Context) Call() (result interface{}, err error) GetId() string }
ContractAdapter represents a contract adapter
type CopyRequest ¶ added in v0.33.0
PushResponse represents a docker push request
func (*CopyRequest) Validate ¶ added in v0.33.0
func (r *CopyRequest) Validate() error
type CopyResponse ¶ added in v0.33.0
type CopyResponse struct{}
CopyResponse represents a copy response
type CopyToContainerRequest ¶ added in v0.33.0
type CopyToContainerRequest struct { ContainerID string DstPath string Content io.Reader types.CopyToContainerOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
CopyToContainerRequest represents request
func (*CopyToContainerRequest) Call ¶ added in v0.33.0
func (r *CopyToContainerRequest) Call() (result interface{}, err error)
Call calls service
func (*CopyToContainerRequest) GetId ¶ added in v0.33.0
func (r *CopyToContainerRequest) GetId() string
GetId returns request id
func (*CopyToContainerRequest) SetContext ¶ added in v0.33.0
func (r *CopyToContainerRequest) SetContext(ctx context.Context)
SetContext sets context
func (*CopyToContainerRequest) SetService ¶ added in v0.33.0
func (r *CopyToContainerRequest) SetService(service interface{}) error
SetService sets service
type CtxClient ¶ added in v0.33.0
type CtxClient struct { Client *client.Client Context context.Context APIVersion string AuthToken map[string]string }
CtxClient represents generic docker client
type DataError ¶ added in v0.33.0
type DataError struct {
Message string `json:"message"`
}
DataError represent data error
type DataStream ¶ added in v0.33.0
type DataStream struct { Stream string `json:"stream"` Progress string `json:"progress"` Status string `json:"status"` Id string `json:"id"` ErrorDetail *DataError `json:"errorDetail"` Aux *DataAux `json:"aux"` Error string `json:"error"` }
DataStream represents a data strem
func (*DataStream) Data ¶ added in v0.33.0
func (s *DataStream) Data() string
type DialHijackRequest ¶ added in v0.39.0
type DialHijackRequest struct { Url string Proto string Meta map[string][]string // contains filtered or unexported fields }
DialHijackRequest represents request
func (*DialHijackRequest) Call ¶ added in v0.39.0
func (r *DialHijackRequest) Call() (result interface{}, err error)
Call calls service
func (*DialHijackRequest) GetId ¶ added in v0.39.0
func (r *DialHijackRequest) GetId() string
GetId returns request id
func (*DialHijackRequest) SetContext ¶ added in v0.39.0
func (r *DialHijackRequest) SetContext(ctx context.Context)
SetContext sets context
func (*DialHijackRequest) SetService ¶ added in v0.39.0
func (r *DialHijackRequest) SetService(service interface{}) error
SetService sets service
type DiskUsageRequest ¶ added in v0.33.0
type DiskUsageRequest struct {
// contains filtered or unexported fields
}
DiskUsageRequest represents request
func (*DiskUsageRequest) Call ¶ added in v0.33.0
func (r *DiskUsageRequest) Call() (result interface{}, err error)
Call calls service
func (*DiskUsageRequest) GetId ¶ added in v0.33.0
func (r *DiskUsageRequest) GetId() string
GetId returns request id
func (*DiskUsageRequest) SetContext ¶ added in v0.33.0
func (r *DiskUsageRequest) SetContext(ctx context.Context)
SetContext sets context
func (*DiskUsageRequest) SetService ¶ added in v0.33.0
func (r *DiskUsageRequest) SetService(service interface{}) error
SetService sets service
type DistributionInspectRequest ¶ added in v0.33.0
type DistributionInspectRequest struct { Image string EncodedRegistryAuth string // contains filtered or unexported fields }
DistributionInspectRequest represents request
func (*DistributionInspectRequest) Call ¶ added in v0.33.0
func (r *DistributionInspectRequest) Call() (result interface{}, err error)
Call calls service
func (*DistributionInspectRequest) GetId ¶ added in v0.33.0
func (r *DistributionInspectRequest) GetId() string
GetId returns request id
func (*DistributionInspectRequest) SetContext ¶ added in v0.33.0
func (r *DistributionInspectRequest) SetContext(ctx context.Context)
SetContext sets context
func (*DistributionInspectRequest) SetService ¶ added in v0.33.0
func (r *DistributionInspectRequest) SetService(service interface{}) error
SetService sets service
type EventsRequest ¶ added in v0.33.0
type EventsRequest struct { types.EventsOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
EventsRequest represents request
func (*EventsRequest) Call ¶ added in v0.33.0
func (r *EventsRequest) Call() (result interface{}, err error)
Call calls service
func (*EventsRequest) GetId ¶ added in v0.33.0
func (r *EventsRequest) GetId() string
GetId returns request id
func (*EventsRequest) SetContext ¶ added in v0.33.0
func (r *EventsRequest) SetContext(ctx context.Context)
SetContext sets context
func (*EventsRequest) SetService ¶ added in v0.33.0
func (r *EventsRequest) SetService(service interface{}) error
SetService sets service
type ImageBuildRequest ¶ added in v0.33.0
type ImageBuildRequest struct { BuildContext io.Reader types.ImageBuildOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ImageBuildRequest represents request
func (*ImageBuildRequest) Call ¶ added in v0.33.0
func (r *ImageBuildRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageBuildRequest) GetId ¶ added in v0.33.0
func (r *ImageBuildRequest) GetId() string
GetId returns request id
func (*ImageBuildRequest) SetContext ¶ added in v0.33.0
func (r *ImageBuildRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageBuildRequest) SetService ¶ added in v0.33.0
func (r *ImageBuildRequest) SetService(service interface{}) error
SetService sets service
type ImageCreateRequest ¶ added in v0.33.0
type ImageCreateRequest struct { ParentReference string types.ImageCreateOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ImageCreateRequest represents request
func (*ImageCreateRequest) Call ¶ added in v0.33.0
func (r *ImageCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageCreateRequest) GetId ¶ added in v0.33.0
func (r *ImageCreateRequest) GetId() string
GetId returns request id
func (*ImageCreateRequest) SetContext ¶ added in v0.33.0
func (r *ImageCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageCreateRequest) SetService ¶ added in v0.33.0
func (r *ImageCreateRequest) SetService(service interface{}) error
SetService sets service
type ImageHistoryRequest ¶ added in v0.33.0
type ImageHistoryRequest struct { ImageID string // contains filtered or unexported fields }
ImageHistoryRequest represents request
func (*ImageHistoryRequest) Call ¶ added in v0.33.0
func (r *ImageHistoryRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageHistoryRequest) GetId ¶ added in v0.33.0
func (r *ImageHistoryRequest) GetId() string
GetId returns request id
func (*ImageHistoryRequest) SetContext ¶ added in v0.33.0
func (r *ImageHistoryRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageHistoryRequest) SetService ¶ added in v0.33.0
func (r *ImageHistoryRequest) SetService(service interface{}) error
SetService sets service
type ImageImportRequest ¶ added in v0.33.0
type ImageImportRequest struct { types.ImageImportSource Ref string Options types.ImageImportOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ImageImportRequest represents request
func (*ImageImportRequest) Call ¶ added in v0.33.0
func (r *ImageImportRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageImportRequest) GetId ¶ added in v0.33.0
func (r *ImageImportRequest) GetId() string
GetId returns request id
func (*ImageImportRequest) SetContext ¶ added in v0.33.0
func (r *ImageImportRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageImportRequest) SetService ¶ added in v0.33.0
func (r *ImageImportRequest) SetService(service interface{}) error
SetService sets service
type ImageListRequest ¶ added in v0.33.0
type ImageListRequest struct { types.ImageListOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ImageListRequest represents request
func (*ImageListRequest) Call ¶ added in v0.33.0
func (r *ImageListRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageListRequest) GetId ¶ added in v0.33.0
func (r *ImageListRequest) GetId() string
GetId returns request id
func (*ImageListRequest) SetContext ¶ added in v0.33.0
func (r *ImageListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageListRequest) SetService ¶ added in v0.33.0
func (r *ImageListRequest) SetService(service interface{}) error
SetService sets service
type ImageLoadRequest ¶ added in v0.33.0
type ImageLoadRequest struct { Input io.Reader Quiet bool // contains filtered or unexported fields }
ImageLoadRequest represents request
func (*ImageLoadRequest) Call ¶ added in v0.33.0
func (r *ImageLoadRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageLoadRequest) GetId ¶ added in v0.33.0
func (r *ImageLoadRequest) GetId() string
GetId returns request id
func (*ImageLoadRequest) SetContext ¶ added in v0.33.0
func (r *ImageLoadRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageLoadRequest) SetService ¶ added in v0.33.0
func (r *ImageLoadRequest) SetService(service interface{}) error
SetService sets service
type ImagePullRequest ¶ added in v0.33.0
type ImagePullRequest struct { RefStr string types.ImagePullOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ImagePullRequest represents request
func (*ImagePullRequest) Call ¶ added in v0.33.0
func (r *ImagePullRequest) Call() (result interface{}, err error)
Call calls service
func (*ImagePullRequest) GetId ¶ added in v0.33.0
func (r *ImagePullRequest) GetId() string
GetId returns request id
func (*ImagePullRequest) SetContext ¶ added in v0.33.0
func (r *ImagePullRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImagePullRequest) SetService ¶ added in v0.33.0
func (r *ImagePullRequest) SetService(service interface{}) error
SetService sets service
type ImagePushRequest ¶ added in v0.33.0
type ImagePushRequest struct { Image string types.ImagePushOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ImagePushRequest represents request
func (*ImagePushRequest) Call ¶ added in v0.33.0
func (r *ImagePushRequest) Call() (result interface{}, err error)
Call calls service
func (*ImagePushRequest) GetId ¶ added in v0.33.0
func (r *ImagePushRequest) GetId() string
GetId returns request id
func (*ImagePushRequest) SetContext ¶ added in v0.33.0
func (r *ImagePushRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImagePushRequest) SetService ¶ added in v0.33.0
func (r *ImagePushRequest) SetService(service interface{}) error
SetService sets service
type ImageRemoveRequest ¶ added in v0.33.0
type ImageRemoveRequest struct { ImageID string types.ImageRemoveOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ImageRemoveRequest represents request
func (*ImageRemoveRequest) Call ¶ added in v0.33.0
func (r *ImageRemoveRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageRemoveRequest) GetId ¶ added in v0.33.0
func (r *ImageRemoveRequest) GetId() string
GetId returns request id
func (*ImageRemoveRequest) SetContext ¶ added in v0.33.0
func (r *ImageRemoveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageRemoveRequest) SetService ¶ added in v0.33.0
func (r *ImageRemoveRequest) SetService(service interface{}) error
SetService sets service
type ImageSaveRequest ¶ added in v0.33.0
type ImageSaveRequest struct { ImageIDs []string // contains filtered or unexported fields }
ImageSaveRequest represents request
func (*ImageSaveRequest) Call ¶ added in v0.33.0
func (r *ImageSaveRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageSaveRequest) GetId ¶ added in v0.33.0
func (r *ImageSaveRequest) GetId() string
GetId returns request id
func (*ImageSaveRequest) SetContext ¶ added in v0.33.0
func (r *ImageSaveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageSaveRequest) SetService ¶ added in v0.33.0
func (r *ImageSaveRequest) SetService(service interface{}) error
SetService sets service
type ImageSearchRequest ¶ added in v0.33.0
type ImageSearchRequest struct { Term string types.ImageSearchOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ImageSearchRequest represents request
func (*ImageSearchRequest) Call ¶ added in v0.33.0
func (r *ImageSearchRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageSearchRequest) GetId ¶ added in v0.33.0
func (r *ImageSearchRequest) GetId() string
GetId returns request id
func (*ImageSearchRequest) SetContext ¶ added in v0.33.0
func (r *ImageSearchRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageSearchRequest) SetService ¶ added in v0.33.0
func (r *ImageSearchRequest) SetService(service interface{}) error
SetService sets service
type ImageTagRequest ¶ added in v0.33.0
type ImageTagRequest struct { Source string Target string // contains filtered or unexported fields }
ImageTagRequest represents request
func (*ImageTagRequest) Call ¶ added in v0.33.0
func (r *ImageTagRequest) Call() (result interface{}, err error)
Call calls service
func (*ImageTagRequest) GetId ¶ added in v0.33.0
func (r *ImageTagRequest) GetId() string
GetId returns request id
func (*ImageTagRequest) SetContext ¶ added in v0.33.0
func (r *ImageTagRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImageTagRequest) SetService ¶ added in v0.33.0
func (r *ImageTagRequest) SetService(service interface{}) error
SetService sets service
type ImagesPruneRequest ¶ added in v0.33.0
type ImagesPruneRequest struct { PruneFilters filters.Args // contains filtered or unexported fields }
ImagesPruneRequest represents request
func (*ImagesPruneRequest) Call ¶ added in v0.33.0
func (r *ImagesPruneRequest) Call() (result interface{}, err error)
Call calls service
func (*ImagesPruneRequest) GetId ¶ added in v0.33.0
func (r *ImagesPruneRequest) GetId() string
GetId returns request id
func (*ImagesPruneRequest) SetContext ¶ added in v0.33.0
func (r *ImagesPruneRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ImagesPruneRequest) SetService ¶ added in v0.33.0
func (r *ImagesPruneRequest) SetService(service interface{}) error
SetService sets service
type InfoRequest ¶ added in v0.33.0
type InfoRequest struct {
// contains filtered or unexported fields
}
InfoRequest represents request
func (*InfoRequest) Call ¶ added in v0.33.0
func (r *InfoRequest) Call() (result interface{}, err error)
Call calls service
func (*InfoRequest) GetId ¶ added in v0.33.0
func (r *InfoRequest) GetId() string
GetId returns request id
func (*InfoRequest) SetContext ¶ added in v0.33.0
func (r *InfoRequest) SetContext(ctx context.Context)
SetContext sets context
func (*InfoRequest) SetService ¶ added in v0.33.0
func (r *InfoRequest) SetService(service interface{}) error
SetService sets service
type InspectRequest ¶
type InspectRequest StatusRequest
InspectRequest represents a docker inspect request, target name refers to container name
func (*InspectRequest) AsStatusRequest ¶ added in v0.33.0
func (r *InspectRequest) AsStatusRequest() *StatusRequest
StatusRequest returns status request
type InspectResponse ¶
type InspectResponse struct {
Info []types.ContainerJSON //you can extract any instance default, for instance to get Ip you can use Info[0].NetworkSettings.IPAddress in the variable action post from key
}
InspectResponse represents a docker inspect request
type LoginRequest ¶
type LoginRequest struct { Credentials string `required:"true" description:"credentials path"` Repository string `required:"true" description:"repository url"` }
LoginRequest represents a docker pull request
func (*LoginRequest) Validate ¶
func (r *LoginRequest) Validate() error
type LogoutRequest ¶
type LogoutRequest struct {
Repository string `required:"true" description:"repository URL"`
}
LogoutRequest represents a docker logout request
type LogoutResponse ¶
type LogoutResponse struct{}
LogoutResponse represents a docker logout response
type LogsRequest ¶
type LogsRequest struct { StatusRequest *types.ContainerLogsOptions }
LogsRequest represents docker runner container logs to take stdout
func (*LogsRequest) AsStatusRequest ¶ added in v0.33.0
func (r *LogsRequest) AsStatusRequest() *StatusRequest
StatusRequest returns status request
func (*LogsRequest) Init ¶ added in v0.33.0
func (r *LogsRequest) Init() error
StatusRequest returns status request
type LogsResponse ¶
type LogsResponse struct {
Stdout string
}
LogsResponse represents docker container logs response
type NegotiateAPIVersionRequest ¶ added in v0.33.0
type NegotiateAPIVersionRequest struct {
// contains filtered or unexported fields
}
NegotiateAPIVersionRequest represents request
func (*NegotiateAPIVersionRequest) Call ¶ added in v0.33.0
func (r *NegotiateAPIVersionRequest) Call() (result interface{}, err error)
Call calls service
func (*NegotiateAPIVersionRequest) GetId ¶ added in v0.33.0
func (r *NegotiateAPIVersionRequest) GetId() string
GetId returns request id
func (*NegotiateAPIVersionRequest) SetContext ¶ added in v0.33.0
func (r *NegotiateAPIVersionRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NegotiateAPIVersionRequest) SetService ¶ added in v0.33.0
func (r *NegotiateAPIVersionRequest) SetService(service interface{}) error
SetService sets service
type NetworkConnectRequest ¶ added in v0.33.0
type NetworkConnectRequest struct { NetworkID string ContainerID string Config *network.EndpointSettings // contains filtered or unexported fields }
NetworkConnectRequest represents request
func (*NetworkConnectRequest) Call ¶ added in v0.33.0
func (r *NetworkConnectRequest) Call() (result interface{}, err error)
Call calls service
func (*NetworkConnectRequest) GetId ¶ added in v0.33.0
func (r *NetworkConnectRequest) GetId() string
GetId returns request id
func (*NetworkConnectRequest) SetContext ¶ added in v0.33.0
func (r *NetworkConnectRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NetworkConnectRequest) SetService ¶ added in v0.33.0
func (r *NetworkConnectRequest) SetService(service interface{}) error
SetService sets service
type NetworkCreateRequest ¶ added in v0.33.0
type NetworkCreateRequest struct { Name string types.NetworkCreate `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
NetworkCreateRequest represents request
func (*NetworkCreateRequest) Call ¶ added in v0.33.0
func (r *NetworkCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*NetworkCreateRequest) GetId ¶ added in v0.33.0
func (r *NetworkCreateRequest) GetId() string
GetId returns request id
func (*NetworkCreateRequest) SetContext ¶ added in v0.33.0
func (r *NetworkCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NetworkCreateRequest) SetService ¶ added in v0.33.0
func (r *NetworkCreateRequest) SetService(service interface{}) error
SetService sets service
type NetworkDisconnectRequest ¶ added in v0.33.0
type NetworkDisconnectRequest struct { NetworkID string ContainerID string Force bool // contains filtered or unexported fields }
NetworkDisconnectRequest represents request
func (*NetworkDisconnectRequest) Call ¶ added in v0.33.0
func (r *NetworkDisconnectRequest) Call() (result interface{}, err error)
Call calls service
func (*NetworkDisconnectRequest) GetId ¶ added in v0.33.0
func (r *NetworkDisconnectRequest) GetId() string
GetId returns request id
func (*NetworkDisconnectRequest) SetContext ¶ added in v0.33.0
func (r *NetworkDisconnectRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NetworkDisconnectRequest) SetService ¶ added in v0.33.0
func (r *NetworkDisconnectRequest) SetService(service interface{}) error
SetService sets service
type NetworkInspectRequest ¶ added in v0.33.0
type NetworkInspectRequest struct { NetworkID string types.NetworkInspectOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
NetworkInspectRequest represents request
func (*NetworkInspectRequest) Call ¶ added in v0.33.0
func (r *NetworkInspectRequest) Call() (result interface{}, err error)
Call calls service
func (*NetworkInspectRequest) GetId ¶ added in v0.33.0
func (r *NetworkInspectRequest) GetId() string
GetId returns request id
func (*NetworkInspectRequest) SetContext ¶ added in v0.33.0
func (r *NetworkInspectRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NetworkInspectRequest) SetService ¶ added in v0.33.0
func (r *NetworkInspectRequest) SetService(service interface{}) error
SetService sets service
type NetworkListRequest ¶ added in v0.33.0
type NetworkListRequest struct { types.NetworkListOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
NetworkListRequest represents request
func (*NetworkListRequest) Call ¶ added in v0.33.0
func (r *NetworkListRequest) Call() (result interface{}, err error)
Call calls service
func (*NetworkListRequest) GetId ¶ added in v0.33.0
func (r *NetworkListRequest) GetId() string
GetId returns request id
func (*NetworkListRequest) SetContext ¶ added in v0.33.0
func (r *NetworkListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NetworkListRequest) SetService ¶ added in v0.33.0
func (r *NetworkListRequest) SetService(service interface{}) error
SetService sets service
type NetworkRemoveRequest ¶ added in v0.33.0
type NetworkRemoveRequest struct { NetworkID string // contains filtered or unexported fields }
NetworkRemoveRequest represents request
func (*NetworkRemoveRequest) Call ¶ added in v0.33.0
func (r *NetworkRemoveRequest) Call() (result interface{}, err error)
Call calls service
func (*NetworkRemoveRequest) GetId ¶ added in v0.33.0
func (r *NetworkRemoveRequest) GetId() string
GetId returns request id
func (*NetworkRemoveRequest) SetContext ¶ added in v0.33.0
func (r *NetworkRemoveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NetworkRemoveRequest) SetService ¶ added in v0.33.0
func (r *NetworkRemoveRequest) SetService(service interface{}) error
SetService sets service
type NetworksPruneRequest ¶ added in v0.33.0
type NetworksPruneRequest struct { PruneFilters filters.Args // contains filtered or unexported fields }
NetworksPruneRequest represents request
func (*NetworksPruneRequest) Call ¶ added in v0.33.0
func (r *NetworksPruneRequest) Call() (result interface{}, err error)
Call calls service
func (*NetworksPruneRequest) GetId ¶ added in v0.33.0
func (r *NetworksPruneRequest) GetId() string
GetId returns request id
func (*NetworksPruneRequest) SetContext ¶ added in v0.33.0
func (r *NetworksPruneRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NetworksPruneRequest) SetService ¶ added in v0.33.0
func (r *NetworksPruneRequest) SetService(service interface{}) error
SetService sets service
type NodeListRequest ¶ added in v0.33.0
type NodeListRequest struct { types.NodeListOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
NodeListRequest represents request
func (*NodeListRequest) Call ¶ added in v0.33.0
func (r *NodeListRequest) Call() (result interface{}, err error)
Call calls service
func (*NodeListRequest) GetId ¶ added in v0.33.0
func (r *NodeListRequest) GetId() string
GetId returns request id
func (*NodeListRequest) SetContext ¶ added in v0.33.0
func (r *NodeListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NodeListRequest) SetService ¶ added in v0.33.0
func (r *NodeListRequest) SetService(service interface{}) error
SetService sets service
type NodeRemoveRequest ¶ added in v0.33.0
type NodeRemoveRequest struct { NodeID string types.NodeRemoveOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
NodeRemoveRequest represents request
func (*NodeRemoveRequest) Call ¶ added in v0.33.0
func (r *NodeRemoveRequest) Call() (result interface{}, err error)
Call calls service
func (*NodeRemoveRequest) GetId ¶ added in v0.33.0
func (r *NodeRemoveRequest) GetId() string
GetId returns request id
func (*NodeRemoveRequest) SetContext ¶ added in v0.33.0
func (r *NodeRemoveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NodeRemoveRequest) SetService ¶ added in v0.33.0
func (r *NodeRemoveRequest) SetService(service interface{}) error
SetService sets service
type NodeUpdateRequest ¶ added in v0.33.0
type NodeUpdateRequest struct { NodeID string Version swarm.Version Node swarm.NodeSpec // contains filtered or unexported fields }
NodeUpdateRequest represents request
func (*NodeUpdateRequest) Call ¶ added in v0.33.0
func (r *NodeUpdateRequest) Call() (result interface{}, err error)
Call calls service
func (*NodeUpdateRequest) GetId ¶ added in v0.33.0
func (r *NodeUpdateRequest) GetId() string
GetId returns request id
func (*NodeUpdateRequest) SetContext ¶ added in v0.33.0
func (r *NodeUpdateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*NodeUpdateRequest) SetService ¶ added in v0.33.0
func (r *NodeUpdateRequest) SetService(service interface{}) error
SetService sets service
type OutputEvent ¶ added in v0.33.0
type OutputEvent struct {
*msg.OutputEvent
}
OutputEvent represents an output event
type PingRequest ¶ added in v0.33.0
type PingRequest struct {
// contains filtered or unexported fields
}
PingRequest represents request
func (*PingRequest) Call ¶ added in v0.33.0
func (r *PingRequest) Call() (result interface{}, err error)
Call calls service
func (*PingRequest) GetId ¶ added in v0.33.0
func (r *PingRequest) GetId() string
GetId returns request id
func (*PingRequest) SetContext ¶ added in v0.33.0
func (r *PingRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PingRequest) SetService ¶ added in v0.33.0
func (r *PingRequest) SetService(service interface{}) error
SetService sets service
type PluginCreateRequest ¶ added in v0.33.0
type PluginCreateRequest struct { CreateContext io.Reader types.PluginCreateOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
PluginCreateRequest represents request
func (*PluginCreateRequest) Call ¶ added in v0.33.0
func (r *PluginCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*PluginCreateRequest) GetId ¶ added in v0.33.0
func (r *PluginCreateRequest) GetId() string
GetId returns request id
func (*PluginCreateRequest) SetContext ¶ added in v0.33.0
func (r *PluginCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PluginCreateRequest) SetService ¶ added in v0.33.0
func (r *PluginCreateRequest) SetService(service interface{}) error
SetService sets service
type PluginDisableRequest ¶ added in v0.33.0
type PluginDisableRequest struct { Name string types.PluginDisableOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
PluginDisableRequest represents request
func (*PluginDisableRequest) Call ¶ added in v0.33.0
func (r *PluginDisableRequest) Call() (result interface{}, err error)
Call calls service
func (*PluginDisableRequest) GetId ¶ added in v0.33.0
func (r *PluginDisableRequest) GetId() string
GetId returns request id
func (*PluginDisableRequest) SetContext ¶ added in v0.33.0
func (r *PluginDisableRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PluginDisableRequest) SetService ¶ added in v0.33.0
func (r *PluginDisableRequest) SetService(service interface{}) error
SetService sets service
type PluginEnableRequest ¶ added in v0.33.0
type PluginEnableRequest struct { Name string types.PluginEnableOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
PluginEnableRequest represents request
func (*PluginEnableRequest) Call ¶ added in v0.33.0
func (r *PluginEnableRequest) Call() (result interface{}, err error)
Call calls service
func (*PluginEnableRequest) GetId ¶ added in v0.33.0
func (r *PluginEnableRequest) GetId() string
GetId returns request id
func (*PluginEnableRequest) SetContext ¶ added in v0.33.0
func (r *PluginEnableRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PluginEnableRequest) SetService ¶ added in v0.33.0
func (r *PluginEnableRequest) SetService(service interface{}) error
SetService sets service
type PluginInstallRequest ¶ added in v0.33.0
type PluginInstallRequest struct { Name string types.PluginInstallOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
PluginInstallRequest represents request
func (*PluginInstallRequest) Call ¶ added in v0.33.0
func (r *PluginInstallRequest) Call() (result interface{}, err error)
Call calls service
func (*PluginInstallRequest) GetId ¶ added in v0.33.0
func (r *PluginInstallRequest) GetId() string
GetId returns request id
func (*PluginInstallRequest) SetContext ¶ added in v0.33.0
func (r *PluginInstallRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PluginInstallRequest) SetService ¶ added in v0.33.0
func (r *PluginInstallRequest) SetService(service interface{}) error
SetService sets service
type PluginListRequest ¶ added in v0.33.0
PluginListRequest represents request
func (*PluginListRequest) Call ¶ added in v0.33.0
func (r *PluginListRequest) Call() (result interface{}, err error)
Call calls service
func (*PluginListRequest) GetId ¶ added in v0.33.0
func (r *PluginListRequest) GetId() string
GetId returns request id
func (*PluginListRequest) SetContext ¶ added in v0.33.0
func (r *PluginListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PluginListRequest) SetService ¶ added in v0.33.0
func (r *PluginListRequest) SetService(service interface{}) error
SetService sets service
type PluginPushRequest ¶ added in v0.33.0
type PluginPushRequest struct { Name string RegistryAuth string // contains filtered or unexported fields }
PluginPushRequest represents request
func (*PluginPushRequest) Call ¶ added in v0.33.0
func (r *PluginPushRequest) Call() (result interface{}, err error)
Call calls service
func (*PluginPushRequest) GetId ¶ added in v0.33.0
func (r *PluginPushRequest) GetId() string
GetId returns request id
func (*PluginPushRequest) SetContext ¶ added in v0.33.0
func (r *PluginPushRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PluginPushRequest) SetService ¶ added in v0.33.0
func (r *PluginPushRequest) SetService(service interface{}) error
SetService sets service
type PluginRemoveRequest ¶ added in v0.33.0
type PluginRemoveRequest struct { Name string types.PluginRemoveOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
PluginRemoveRequest represents request
func (*PluginRemoveRequest) Call ¶ added in v0.33.0
func (r *PluginRemoveRequest) Call() (result interface{}, err error)
Call calls service
func (*PluginRemoveRequest) GetId ¶ added in v0.33.0
func (r *PluginRemoveRequest) GetId() string
GetId returns request id
func (*PluginRemoveRequest) SetContext ¶ added in v0.33.0
func (r *PluginRemoveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PluginRemoveRequest) SetService ¶ added in v0.33.0
func (r *PluginRemoveRequest) SetService(service interface{}) error
SetService sets service
type PluginSetRequest ¶ added in v0.33.0
type PluginSetRequest struct { Name string Args []string // contains filtered or unexported fields }
PluginSetRequest represents request
func (*PluginSetRequest) Call ¶ added in v0.33.0
func (r *PluginSetRequest) Call() (result interface{}, err error)
Call calls service
func (*PluginSetRequest) GetId ¶ added in v0.33.0
func (r *PluginSetRequest) GetId() string
GetId returns request id
func (*PluginSetRequest) SetContext ¶ added in v0.33.0
func (r *PluginSetRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PluginSetRequest) SetService ¶ added in v0.33.0
func (r *PluginSetRequest) SetService(service interface{}) error
SetService sets service
type PluginUpgradeRequest ¶ added in v0.33.0
type PluginUpgradeRequest struct { Name string types.PluginInstallOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
PluginUpgradeRequest represents request
func (*PluginUpgradeRequest) Call ¶ added in v0.33.0
func (r *PluginUpgradeRequest) Call() (result interface{}, err error)
Call calls service
func (*PluginUpgradeRequest) GetId ¶ added in v0.33.0
func (r *PluginUpgradeRequest) GetId() string
GetId returns request id
func (*PluginUpgradeRequest) SetContext ¶ added in v0.33.0
func (r *PluginUpgradeRequest) SetContext(ctx context.Context)
SetContext sets context
func (*PluginUpgradeRequest) SetService ¶ added in v0.33.0
func (r *PluginUpgradeRequest) SetService(service interface{}) error
SetService sets service
type PullRequest ¶
type PullRequest struct { Credentials string Image string types.ImagePullOptions `json:",inline" yaml:",inline"` }
PullRequest represents pull request
func (*PullRequest) Init ¶ added in v0.33.0
func (r *PullRequest) Init() error
type PullResponse ¶
type PullResponse struct { types.ImageSummary Stdout []string }
PullResponse represents pull response
type PushRequest ¶
PushRequest represents a docker push request
type PushResponse ¶
type PushResponse struct {
Stdout []string
}
PushResponse represents push response
type RegistryLoginRequest ¶ added in v0.33.0
type RegistryLoginRequest struct { Auth types.AuthConfig // contains filtered or unexported fields }
RegistryLoginRequest represents request
func (*RegistryLoginRequest) Call ¶ added in v0.33.0
func (r *RegistryLoginRequest) Call() (result interface{}, err error)
Call calls service
func (*RegistryLoginRequest) GetId ¶ added in v0.33.0
func (r *RegistryLoginRequest) GetId() string
GetId returns request id
func (*RegistryLoginRequest) SetContext ¶ added in v0.33.0
func (r *RegistryLoginRequest) SetContext(ctx context.Context)
SetContext sets context
func (*RegistryLoginRequest) SetService ¶ added in v0.33.0
func (r *RegistryLoginRequest) SetService(service interface{}) error
SetService sets service
type RemoveRequest ¶
type RemoveRequest StatusRequest
RemoveRequest represents docker remove request
func (*RemoveRequest) AsStatusRequest ¶ added in v0.33.0
func (r *RemoveRequest) AsStatusRequest() *StatusRequest
StatusRequest returns status request
type RunRequest ¶
type RunRequest struct { Credentials string `description:"credentials"` Name string Image string `required:"true" description:"container image to runAdapter" example:"mysql:5.6"` Port string `description:"publish a container’s port(s) to the host, docker -p option"` Env map[string]string `description:"set docker container an environment variable, docker -e KEY=VAL option"` Mount map[string]string `description:"bind mount a volume, docker -v option"` Ports map[string]string `description:"publish a container’s port(s) to the host, docker -p option"` Workdir string `description:"working directory inside the container, docker -w option"` Reuse bool `description:"reuse existing container if exists, otherwise always removes"` Cmd []string Entrypoint []string types.ContainerCreateConfig `json:",inline" yaml:",inline"` Secrets map[secret.SecretKey]secret.Secret `description:"map of secrets used within env"` }
RunRequest represents a docker runAdapter request
func (*RunRequest) CreateContainerRequest ¶ added in v0.33.0
func (r *RunRequest) CreateContainerRequest() *ContainerCreateRequest
func (*RunRequest) Init ¶ added in v0.33.0
func (r *RunRequest) Init() error
func (*RunRequest) Validate ¶
func (r *RunRequest) Validate() error
type RunResponse ¶
type SecretCreateRequest ¶ added in v0.33.0
type SecretCreateRequest struct { Secret swarm.SecretSpec // contains filtered or unexported fields }
SecretCreateRequest represents request
func (*SecretCreateRequest) Call ¶ added in v0.33.0
func (r *SecretCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*SecretCreateRequest) GetId ¶ added in v0.33.0
func (r *SecretCreateRequest) GetId() string
GetId returns request id
func (*SecretCreateRequest) SetContext ¶ added in v0.33.0
func (r *SecretCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SecretCreateRequest) SetService ¶ added in v0.33.0
func (r *SecretCreateRequest) SetService(service interface{}) error
SetService sets service
type SecretListRequest ¶ added in v0.33.0
type SecretListRequest struct { types.SecretListOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
SecretListRequest represents request
func (*SecretListRequest) Call ¶ added in v0.33.0
func (r *SecretListRequest) Call() (result interface{}, err error)
Call calls service
func (*SecretListRequest) GetId ¶ added in v0.33.0
func (r *SecretListRequest) GetId() string
GetId returns request id
func (*SecretListRequest) SetContext ¶ added in v0.33.0
func (r *SecretListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SecretListRequest) SetService ¶ added in v0.33.0
func (r *SecretListRequest) SetService(service interface{}) error
SetService sets service
type SecretRemoveRequest ¶ added in v0.33.0
type SecretRemoveRequest struct { Id string // contains filtered or unexported fields }
SecretRemoveRequest represents request
func (*SecretRemoveRequest) Call ¶ added in v0.33.0
func (r *SecretRemoveRequest) Call() (result interface{}, err error)
Call calls service
func (*SecretRemoveRequest) GetId ¶ added in v0.33.0
func (r *SecretRemoveRequest) GetId() string
GetId returns request id
func (*SecretRemoveRequest) SetContext ¶ added in v0.33.0
func (r *SecretRemoveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SecretRemoveRequest) SetService ¶ added in v0.33.0
func (r *SecretRemoveRequest) SetService(service interface{}) error
SetService sets service
type SecretUpdateRequest ¶ added in v0.33.0
type SecretUpdateRequest struct { Id string Version swarm.Version Secret swarm.SecretSpec // contains filtered or unexported fields }
SecretUpdateRequest represents request
func (*SecretUpdateRequest) Call ¶ added in v0.33.0
func (r *SecretUpdateRequest) Call() (result interface{}, err error)
Call calls service
func (*SecretUpdateRequest) GetId ¶ added in v0.33.0
func (r *SecretUpdateRequest) GetId() string
GetId returns request id
func (*SecretUpdateRequest) SetContext ¶ added in v0.33.0
func (r *SecretUpdateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SecretUpdateRequest) SetService ¶ added in v0.33.0
func (r *SecretUpdateRequest) SetService(service interface{}) error
SetService sets service
type ServerVersionRequest ¶ added in v0.33.0
type ServerVersionRequest struct {
// contains filtered or unexported fields
}
ServerVersionRequest represents request
func (*ServerVersionRequest) Call ¶ added in v0.33.0
func (r *ServerVersionRequest) Call() (result interface{}, err error)
Call calls service
func (*ServerVersionRequest) GetId ¶ added in v0.33.0
func (r *ServerVersionRequest) GetId() string
GetId returns request id
func (*ServerVersionRequest) SetContext ¶ added in v0.33.0
func (r *ServerVersionRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ServerVersionRequest) SetService ¶ added in v0.33.0
func (r *ServerVersionRequest) SetService(service interface{}) error
SetService sets service
type ServiceCreateRequest ¶ added in v0.33.0
type ServiceCreateRequest struct { swarm.ServiceSpec Options types.ServiceCreateOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ServiceCreateRequest represents request
func (*ServiceCreateRequest) Call ¶ added in v0.33.0
func (r *ServiceCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*ServiceCreateRequest) GetId ¶ added in v0.33.0
func (r *ServiceCreateRequest) GetId() string
GetId returns request id
func (*ServiceCreateRequest) SetContext ¶ added in v0.33.0
func (r *ServiceCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ServiceCreateRequest) SetService ¶ added in v0.33.0
func (r *ServiceCreateRequest) SetService(service interface{}) error
SetService sets service
type ServiceListRequest ¶ added in v0.33.0
type ServiceListRequest struct { types.ServiceListOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ServiceListRequest represents request
func (*ServiceListRequest) Call ¶ added in v0.33.0
func (r *ServiceListRequest) Call() (result interface{}, err error)
Call calls service
func (*ServiceListRequest) GetId ¶ added in v0.33.0
func (r *ServiceListRequest) GetId() string
GetId returns request id
func (*ServiceListRequest) SetContext ¶ added in v0.33.0
func (r *ServiceListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ServiceListRequest) SetService ¶ added in v0.33.0
func (r *ServiceListRequest) SetService(service interface{}) error
SetService sets service
type ServiceLogsRequest ¶ added in v0.33.0
type ServiceLogsRequest struct { ServiceID string types.ContainerLogsOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ServiceLogsRequest represents request
func (*ServiceLogsRequest) Call ¶ added in v0.33.0
func (r *ServiceLogsRequest) Call() (result interface{}, err error)
Call calls service
func (*ServiceLogsRequest) GetId ¶ added in v0.33.0
func (r *ServiceLogsRequest) GetId() string
GetId returns request id
func (*ServiceLogsRequest) SetContext ¶ added in v0.33.0
func (r *ServiceLogsRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ServiceLogsRequest) SetService ¶ added in v0.33.0
func (r *ServiceLogsRequest) SetService(service interface{}) error
SetService sets service
type ServiceRemoveRequest ¶ added in v0.33.0
type ServiceRemoveRequest struct { ServiceID string // contains filtered or unexported fields }
ServiceRemoveRequest represents request
func (*ServiceRemoveRequest) Call ¶ added in v0.33.0
func (r *ServiceRemoveRequest) Call() (result interface{}, err error)
Call calls service
func (*ServiceRemoveRequest) GetId ¶ added in v0.33.0
func (r *ServiceRemoveRequest) GetId() string
GetId returns request id
func (*ServiceRemoveRequest) SetContext ¶ added in v0.33.0
func (r *ServiceRemoveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ServiceRemoveRequest) SetService ¶ added in v0.33.0
func (r *ServiceRemoveRequest) SetService(service interface{}) error
SetService sets service
type ServiceUpdateRequest ¶ added in v0.33.0
type ServiceUpdateRequest struct { ServiceID string swarm.Version Service swarm.ServiceSpec Options types.ServiceUpdateOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
ServiceUpdateRequest represents request
func (*ServiceUpdateRequest) Call ¶ added in v0.33.0
func (r *ServiceUpdateRequest) Call() (result interface{}, err error)
Call calls service
func (*ServiceUpdateRequest) GetId ¶ added in v0.33.0
func (r *ServiceUpdateRequest) GetId() string
GetId returns request id
func (*ServiceUpdateRequest) SetContext ¶ added in v0.33.0
func (r *ServiceUpdateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*ServiceUpdateRequest) SetService ¶ added in v0.33.0
func (r *ServiceUpdateRequest) SetService(service interface{}) error
SetService sets service
type StartRequest ¶
type StartRequest StatusRequest
StartRequest start request
func (*StartRequest) AsStatusRequest ¶ added in v0.33.0
func (r *StartRequest) AsStatusRequest() *StatusRequest
StatusRequest returns status request
type StatusRequest ¶ added in v0.33.0
StatusRequest represents a docker check container status request
func (*StatusRequest) Init ¶ added in v0.33.0
func (r *StatusRequest) Init() error
type StatusResponse ¶ added in v0.33.0
StatusResponse represents status response
type StopRequest ¶
type StopRequest StatusRequest
StopRequest represents docker stop running images/containers request
func (*StopRequest) AsStatusRequest ¶ added in v0.33.0
func (r *StopRequest) AsStatusRequest() *StatusRequest
StatusRequest returns status request
type StopResponse ¶
type StopResponse StatusResponse
StopImagesResponse represents docker stop images response
type SwarmGetUnlockKeyRequest ¶ added in v0.33.0
type SwarmGetUnlockKeyRequest struct {
// contains filtered or unexported fields
}
SwarmGetUnlockKeyRequest represents request
func (*SwarmGetUnlockKeyRequest) Call ¶ added in v0.33.0
func (r *SwarmGetUnlockKeyRequest) Call() (result interface{}, err error)
Call calls service
func (*SwarmGetUnlockKeyRequest) GetId ¶ added in v0.33.0
func (r *SwarmGetUnlockKeyRequest) GetId() string
GetId returns request id
func (*SwarmGetUnlockKeyRequest) SetContext ¶ added in v0.33.0
func (r *SwarmGetUnlockKeyRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SwarmGetUnlockKeyRequest) SetService ¶ added in v0.33.0
func (r *SwarmGetUnlockKeyRequest) SetService(service interface{}) error
SetService sets service
type SwarmInitRequest ¶ added in v0.33.0
type SwarmInitRequest struct { Req swarm.InitRequest // contains filtered or unexported fields }
SwarmInitRequest represents request
func (*SwarmInitRequest) Call ¶ added in v0.33.0
func (r *SwarmInitRequest) Call() (result interface{}, err error)
Call calls service
func (*SwarmInitRequest) GetId ¶ added in v0.33.0
func (r *SwarmInitRequest) GetId() string
GetId returns request id
func (*SwarmInitRequest) SetContext ¶ added in v0.33.0
func (r *SwarmInitRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SwarmInitRequest) SetService ¶ added in v0.33.0
func (r *SwarmInitRequest) SetService(service interface{}) error
SetService sets service
type SwarmInspectRequest ¶ added in v0.33.0
type SwarmInspectRequest struct {
// contains filtered or unexported fields
}
SwarmInspectRequest represents request
func (*SwarmInspectRequest) Call ¶ added in v0.33.0
func (r *SwarmInspectRequest) Call() (result interface{}, err error)
Call calls service
func (*SwarmInspectRequest) GetId ¶ added in v0.33.0
func (r *SwarmInspectRequest) GetId() string
GetId returns request id
func (*SwarmInspectRequest) SetContext ¶ added in v0.33.0
func (r *SwarmInspectRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SwarmInspectRequest) SetService ¶ added in v0.33.0
func (r *SwarmInspectRequest) SetService(service interface{}) error
SetService sets service
type SwarmJoinRequest ¶ added in v0.33.0
type SwarmJoinRequest struct { Req swarm.JoinRequest // contains filtered or unexported fields }
SwarmJoinRequest represents request
func (*SwarmJoinRequest) Call ¶ added in v0.33.0
func (r *SwarmJoinRequest) Call() (result interface{}, err error)
Call calls service
func (*SwarmJoinRequest) GetId ¶ added in v0.33.0
func (r *SwarmJoinRequest) GetId() string
GetId returns request id
func (*SwarmJoinRequest) SetContext ¶ added in v0.33.0
func (r *SwarmJoinRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SwarmJoinRequest) SetService ¶ added in v0.33.0
func (r *SwarmJoinRequest) SetService(service interface{}) error
SetService sets service
type SwarmLeaveRequest ¶ added in v0.33.0
type SwarmLeaveRequest struct { Force bool // contains filtered or unexported fields }
SwarmLeaveRequest represents request
func (*SwarmLeaveRequest) Call ¶ added in v0.33.0
func (r *SwarmLeaveRequest) Call() (result interface{}, err error)
Call calls service
func (*SwarmLeaveRequest) GetId ¶ added in v0.33.0
func (r *SwarmLeaveRequest) GetId() string
GetId returns request id
func (*SwarmLeaveRequest) SetContext ¶ added in v0.33.0
func (r *SwarmLeaveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SwarmLeaveRequest) SetService ¶ added in v0.33.0
func (r *SwarmLeaveRequest) SetService(service interface{}) error
SetService sets service
type SwarmUnlockRequest ¶ added in v0.33.0
type SwarmUnlockRequest struct { Req swarm.UnlockRequest // contains filtered or unexported fields }
SwarmUnlockRequest represents request
func (*SwarmUnlockRequest) Call ¶ added in v0.33.0
func (r *SwarmUnlockRequest) Call() (result interface{}, err error)
Call calls service
func (*SwarmUnlockRequest) GetId ¶ added in v0.33.0
func (r *SwarmUnlockRequest) GetId() string
GetId returns request id
func (*SwarmUnlockRequest) SetContext ¶ added in v0.33.0
func (r *SwarmUnlockRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SwarmUnlockRequest) SetService ¶ added in v0.33.0
func (r *SwarmUnlockRequest) SetService(service interface{}) error
SetService sets service
type SwarmUpdateRequest ¶ added in v0.33.0
type SwarmUpdateRequest struct { Version swarm.Version Swarm swarm.Spec Flags swarm.UpdateFlags // contains filtered or unexported fields }
SwarmUpdateRequest represents request
func (*SwarmUpdateRequest) Call ¶ added in v0.33.0
func (r *SwarmUpdateRequest) Call() (result interface{}, err error)
Call calls service
func (*SwarmUpdateRequest) GetId ¶ added in v0.33.0
func (r *SwarmUpdateRequest) GetId() string
GetId returns request id
func (*SwarmUpdateRequest) SetContext ¶ added in v0.33.0
func (r *SwarmUpdateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*SwarmUpdateRequest) SetService ¶ added in v0.33.0
func (r *SwarmUpdateRequest) SetService(service interface{}) error
SetService sets service
type TagRequest ¶
TagRequest represents docker tag request
type TagResponse ¶
type TagResponse struct {
Stdout string
}
TagResponse represents docker tag response
type TaskListRequest ¶ added in v0.33.0
type TaskListRequest struct { types.TaskListOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
TaskListRequest represents request
func (*TaskListRequest) Call ¶ added in v0.33.0
func (r *TaskListRequest) Call() (result interface{}, err error)
Call calls service
func (*TaskListRequest) GetId ¶ added in v0.33.0
func (r *TaskListRequest) GetId() string
GetId returns request id
func (*TaskListRequest) SetContext ¶ added in v0.33.0
func (r *TaskListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*TaskListRequest) SetService ¶ added in v0.33.0
func (r *TaskListRequest) SetService(service interface{}) error
SetService sets service
type TaskLogsRequest ¶ added in v0.33.0
type TaskLogsRequest struct { TaskID string types.ContainerLogsOptions `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
TaskLogsRequest represents request
func (*TaskLogsRequest) Call ¶ added in v0.33.0
func (r *TaskLogsRequest) Call() (result interface{}, err error)
Call calls service
func (*TaskLogsRequest) GetId ¶ added in v0.33.0
func (r *TaskLogsRequest) GetId() string
GetId returns request id
func (*TaskLogsRequest) SetContext ¶ added in v0.33.0
func (r *TaskLogsRequest) SetContext(ctx context.Context)
SetContext sets context
func (*TaskLogsRequest) SetService ¶ added in v0.33.0
func (r *TaskLogsRequest) SetService(service interface{}) error
SetService sets service
type VolumeCreateRequest ¶ added in v0.33.0
type VolumeCreateRequest struct { volumetypes.VolumeCreateBody `json:",inline" yaml:",inline"` // contains filtered or unexported fields }
VolumeCreateRequest represents request
func (*VolumeCreateRequest) Call ¶ added in v0.33.0
func (r *VolumeCreateRequest) Call() (result interface{}, err error)
Call calls service
func (*VolumeCreateRequest) GetId ¶ added in v0.33.0
func (r *VolumeCreateRequest) GetId() string
GetId returns request id
func (*VolumeCreateRequest) SetContext ¶ added in v0.33.0
func (r *VolumeCreateRequest) SetContext(ctx context.Context)
SetContext sets context
func (*VolumeCreateRequest) SetService ¶ added in v0.33.0
func (r *VolumeCreateRequest) SetService(service interface{}) error
SetService sets service
type VolumeInspectRequest ¶ added in v0.33.0
type VolumeInspectRequest struct { VolumeID string // contains filtered or unexported fields }
VolumeInspectRequest represents request
func (*VolumeInspectRequest) Call ¶ added in v0.33.0
func (r *VolumeInspectRequest) Call() (result interface{}, err error)
Call calls service
func (*VolumeInspectRequest) GetId ¶ added in v0.33.0
func (r *VolumeInspectRequest) GetId() string
GetId returns request id
func (*VolumeInspectRequest) SetContext ¶ added in v0.33.0
func (r *VolumeInspectRequest) SetContext(ctx context.Context)
SetContext sets context
func (*VolumeInspectRequest) SetService ¶ added in v0.33.0
func (r *VolumeInspectRequest) SetService(service interface{}) error
SetService sets service
type VolumeListRequest ¶ added in v0.33.0
VolumeListRequest represents request
func (*VolumeListRequest) Call ¶ added in v0.33.0
func (r *VolumeListRequest) Call() (result interface{}, err error)
Call calls service
func (*VolumeListRequest) GetId ¶ added in v0.33.0
func (r *VolumeListRequest) GetId() string
GetId returns request id
func (*VolumeListRequest) SetContext ¶ added in v0.33.0
func (r *VolumeListRequest) SetContext(ctx context.Context)
SetContext sets context
func (*VolumeListRequest) SetService ¶ added in v0.33.0
func (r *VolumeListRequest) SetService(service interface{}) error
SetService sets service
type VolumeRemoveRequest ¶ added in v0.33.0
type VolumeRemoveRequest struct { VolumeID string Force bool // contains filtered or unexported fields }
VolumeRemoveRequest represents request
func (*VolumeRemoveRequest) Call ¶ added in v0.33.0
func (r *VolumeRemoveRequest) Call() (result interface{}, err error)
Call calls service
func (*VolumeRemoveRequest) GetId ¶ added in v0.33.0
func (r *VolumeRemoveRequest) GetId() string
GetId returns request id
func (*VolumeRemoveRequest) SetContext ¶ added in v0.33.0
func (r *VolumeRemoveRequest) SetContext(ctx context.Context)
SetContext sets context
func (*VolumeRemoveRequest) SetService ¶ added in v0.33.0
func (r *VolumeRemoveRequest) SetService(service interface{}) error
SetService sets service
type VolumesPruneRequest ¶ added in v0.33.0
type VolumesPruneRequest struct { PruneFilters filters.Args // contains filtered or unexported fields }
VolumesPruneRequest represents request
func (*VolumesPruneRequest) Call ¶ added in v0.33.0
func (r *VolumesPruneRequest) Call() (result interface{}, err error)
Call calls service
func (*VolumesPruneRequest) GetId ¶ added in v0.33.0
func (r *VolumesPruneRequest) GetId() string
GetId returns request id
func (*VolumesPruneRequest) SetContext ¶ added in v0.33.0
func (r *VolumesPruneRequest) SetContext(ctx context.Context)
SetContext sets context
func (*VolumesPruneRequest) SetService ¶ added in v0.33.0
func (r *VolumesPruneRequest) SetService(service interface{}) error
SetService sets service