Documentation
¶
Overview ¶
Package watchables provides functionality for the watchables file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Write ¶
func Write(path string, watchables *Watchables) error
Write writes the provided watchables object to the watchables file.
Types ¶
type Watchable ¶
type Watchable struct {
Image string `yaml:"image"`
Repository string `yaml:"repository"`
DeployKey string `yaml:"deploy_key"`
CachedDigest string `yaml:"cached_digest"`
}
Watchable contains information of an image to be watched.
type Watchables ¶
Watchables is a collection of Watchable objects.
func Read ¶
func Read(path string) (*Watchables, error)
Read returns the contents of the watchables file.
Click to show internal directories.
Click to hide internal directories.