Documentation
¶
Index ¶
- type ContainerdClient
- type SnapshotterService
- func (s *SnapshotterService) CommitWorker(sn string) error
- func (s *SnapshotterService) PrepareContainerSnapshot(name, tag, acceleratedImages string, optimize bool, optimizeGroup string) (sn string, mnt []mount.Mount, err error)
- func (s *SnapshotterService) PrepareDeltaImage(fromImages, toImages string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerdClient ¶
type ContainerdClient struct {
Container containerd.Container
Task containerd.Task
ExitSignal <-chan containerd.ExitStatus
Client *containerd.Client
Sn *SnapshotterService
SnId string
// contains filtered or unexported fields
}
func NewContainerdClient ¶
func NewContainerdClient(namespace, socket, logLevel string) (c *ContainerdClient, ctx context.Context, err error)
type SnapshotterService ¶
type SnapshotterService struct {
// contains filtered or unexported fields
}
func NewSnapshotterService ¶
func NewSnapshotterService(ctx context.Context, client *containerd.Client) (sn *SnapshotterService)
func (*SnapshotterService) CommitWorker ¶
func (s *SnapshotterService) CommitWorker(sn string) error
func (*SnapshotterService) PrepareContainerSnapshot ¶
func (*SnapshotterService) PrepareDeltaImage ¶
func (s *SnapshotterService) PrepareDeltaImage(fromImages, toImages string) error
PrepareDeltaImage gets
Click to show internal directories.
Click to hide internal directories.