start

package
v0.1.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExcludableContainers

func ExcludableContainers() []string

func Run

func Run(ctx context.Context, fsys afero.Fs, excludedContainers []string, ignoreHealthCheck bool) error

Types

type RetryClient

type RetryClient struct {
	*client.Client
}

RetryClient wraps a Docker client to add retry logic for image pulls

func (*RetryClient) ImageInspect

func (cli *RetryClient) ImageInspect(ctx context.Context, refStr string, options ...client.ImageInspectOption) (image.InspectResponse, error)

Also retry ImageInspect: https://github.com/docker/compose/blob/main/pkg/compose/pull.go#L174

func (*RetryClient) ImagePull

func (cli *RetryClient) ImagePull(ctx context.Context, refStr string, options image.PullOptions) (io.ReadCloser, error)

ImagePull wraps the Docker client's ImagePull with retry logic and registry auth

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL