pull

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package pull is the Compose pull_policy vocabulary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode string

Mode is a Compose pull_policy value.

const (
	Always       Mode = "always"
	Never        Mode = "never"
	Missing      Mode = "missing"
	IfNotPresent Mode = "if_not_present"
	Build        Mode = "build"
	Refresh      Mode = "refresh"
	Daily        Mode = "daily"
	Weekly       Mode = "weekly"
)

func All

func All() []Mode

All returns every fixed pull_policy (not every_<period> forms).

func Every

func Every(period string) Mode

Every returns Compose pull_policy every_<period> (for example "24h").

Jump to

Keyboard shortcuts

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