Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pull ¶
func Pull(ctx context.Context, image string, retries int) error
Pull pulls an image, retrying up to retries times
func PullIfNotPresent ¶
func PullIfNotPresent(ctx context.Context, image string, retries int) (pulled bool, err error)
PullIfNotPresent will pull an image if it is not present locally retrying up to retries times it returns true if it attempted to pull, and any errors from pulling
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.