Documentation
¶
Index ¶
- type Service
- func (s *Service) BridgeTarget(botID string) string
- func (s *Service) CheckNetwork(ctx context.Context, req containerapi.NetworkRequest) error
- func (s *Service) Close() error
- func (s *Service) CommitSnapshot(ctx context.Context, req containerapi.CommitSnapshotRequest) error
- func (s *Service) CreateContainer(ctx context.Context, req containerapi.CreateContainerRequest) (containerapi.ContainerInfo, error)
- func (s *Service) DeleteContainer(ctx context.Context, id string, opts *containerapi.DeleteContainerOptions) error
- func (s *Service) DeleteImage(ctx context.Context, ref string, _ *containerapi.DeleteImageOptions) error
- func (s *Service) DeleteTask(ctx context.Context, id string, opts *containerapi.DeleteTaskOptions) error
- func (s *Service) GetContainer(ctx context.Context, id string) (containerapi.ContainerInfo, error)
- func (s *Service) GetContainerMetrics(ctx context.Context, id string) (containerapi.ContainerMetrics, error)
- func (s *Service) GetImage(ctx context.Context, ref string) (containerapi.ImageInfo, error)
- func (s *Service) GetTaskInfo(ctx context.Context, id string) (containerapi.TaskInfo, error)
- func (s *Service) ListContainers(ctx context.Context) ([]containerapi.ContainerInfo, error)
- func (s *Service) ListContainersByLabel(ctx context.Context, key, value string) ([]containerapi.ContainerInfo, error)
- func (s *Service) ListImages(ctx context.Context) ([]containerapi.ImageInfo, error)
- func (s *Service) ListSnapshots(ctx context.Context, req containerapi.ListSnapshotsRequest) ([]containerapi.SnapshotInfo, error)
- func (s *Service) ListTasks(ctx context.Context, _ *containerapi.ListTasksOptions) ([]containerapi.TaskInfo, error)
- func (s *Service) PrepareSnapshot(ctx context.Context, req containerapi.PrepareSnapshotRequest) error
- func (s *Service) PullImage(ctx context.Context, ref string, opts *containerapi.PullImageOptions) (containerapi.ImageInfo, error)
- func (s *Service) RemoveNetwork(ctx context.Context, req containerapi.NetworkRequest) error
- func (*Service) ResolveRemoteDigest(context.Context, string) (string, error)
- func (s *Service) RestoreContainer(ctx context.Context, req containerapi.CreateContainerRequest) (containerapi.ContainerInfo, error)
- func (s *Service) SetupNetwork(ctx context.Context, req containerapi.NetworkRequest) (containerapi.NetworkResult, error)
- func (s *Service) StartContainer(ctx context.Context, id string, _ *containerapi.StartTaskOptions) error
- func (s *Service) StopContainer(ctx context.Context, id string, opts *containerapi.StopTaskOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) BridgeTarget ¶
func (*Service) CheckNetwork ¶
func (s *Service) CheckNetwork(ctx context.Context, req containerapi.NetworkRequest) error
func (*Service) CommitSnapshot ¶
func (s *Service) CommitSnapshot(ctx context.Context, req containerapi.CommitSnapshotRequest) error
func (*Service) CreateContainer ¶
func (s *Service) CreateContainer(ctx context.Context, req containerapi.CreateContainerRequest) (containerapi.ContainerInfo, error)
func (*Service) DeleteContainer ¶
func (s *Service) DeleteContainer(ctx context.Context, id string, opts *containerapi.DeleteContainerOptions) error
func (*Service) DeleteImage ¶
func (s *Service) DeleteImage(ctx context.Context, ref string, _ *containerapi.DeleteImageOptions) error
func (*Service) DeleteTask ¶
func (s *Service) DeleteTask(ctx context.Context, id string, opts *containerapi.DeleteTaskOptions) error
func (*Service) GetContainer ¶
func (s *Service) GetContainer(ctx context.Context, id string) (containerapi.ContainerInfo, error)
func (*Service) GetContainerMetrics ¶
func (s *Service) GetContainerMetrics(ctx context.Context, id string) (containerapi.ContainerMetrics, error)
func (*Service) GetTaskInfo ¶
func (*Service) ListContainers ¶
func (s *Service) ListContainers(ctx context.Context) ([]containerapi.ContainerInfo, error)
func (*Service) ListContainersByLabel ¶
func (s *Service) ListContainersByLabel(ctx context.Context, key, value string) ([]containerapi.ContainerInfo, error)
func (*Service) ListImages ¶
func (*Service) ListSnapshots ¶
func (s *Service) ListSnapshots(ctx context.Context, req containerapi.ListSnapshotsRequest) ([]containerapi.SnapshotInfo, error)
func (*Service) ListTasks ¶
func (s *Service) ListTasks(ctx context.Context, _ *containerapi.ListTasksOptions) ([]containerapi.TaskInfo, error)
func (*Service) PrepareSnapshot ¶
func (s *Service) PrepareSnapshot(ctx context.Context, req containerapi.PrepareSnapshotRequest) error
func (*Service) PullImage ¶
func (s *Service) PullImage(ctx context.Context, ref string, opts *containerapi.PullImageOptions) (containerapi.ImageInfo, error)
func (*Service) RemoveNetwork ¶
func (s *Service) RemoveNetwork(ctx context.Context, req containerapi.NetworkRequest) error
func (*Service) ResolveRemoteDigest ¶
func (*Service) RestoreContainer ¶
func (s *Service) RestoreContainer(ctx context.Context, req containerapi.CreateContainerRequest) (containerapi.ContainerInfo, error)
func (*Service) SetupNetwork ¶
func (s *Service) SetupNetwork(ctx context.Context, req containerapi.NetworkRequest) (containerapi.NetworkResult, error)
func (*Service) StartContainer ¶
func (s *Service) StartContainer(ctx context.Context, id string, _ *containerapi.StartTaskOptions) error
func (*Service) StopContainer ¶
func (s *Service) StopContainer(ctx context.Context, id string, opts *containerapi.StopTaskOptions) error
Click to show internal directories.
Click to hide internal directories.