Documentation
¶
Index ¶
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) GetHash ¶
func (s *SnapshotterService) GetHash(ref string) string
func (*SnapshotterService) Pull ¶
func (s *SnapshotterService) Pull(from, proxy, ref string) (err error)
Click to show internal directories.
Click to hide internal directories.