Documentation
¶
Index ¶
- func DeleteOldDigest(ctx context.Context, cli *client.Client, imageID string, imageName string) error
- func GetImageDigest(image types.ImageInspect) string
- func ListWatchedContainers(ctx context.Context, cli *client.Client) ([]types.Container, error)
- func New() (*client.Client, error)
- func PullLatestImage(ctx context.Context, cli *client.Client, imageStr string) error
- func RestartContainer(ctx context.Context, cli *client.Client, old types.ContainerJSON) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteOldDigest ¶
func GetImageDigest ¶
func GetImageDigest(image types.ImageInspect) string
func ListWatchedContainers ¶
ListWatchedContainers returns all containers with label io.watcher.enable=true
func PullLatestImage ¶
func RestartContainer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.