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