Documentation ¶
Index ¶
Constants ¶
View Source
const (
ImageLabel = "boss.io/revision.image"
)
Variables ¶
View Source
var ErrNoPreviousRevision = errors.New("no previous revision")
Functions ¶
func WithNewSnapshot ¶
func WithNewSnapshot(i containerd.Image) containerd.NewContainerOpts
WithNewSnapshot creates a new snapshot managed by flux
func WithRollback ¶
func WithRollback(ctx context.Context, client *containerd.Client, c *containers.Container) error
WithRollback rolls back to the previous container's revision
func WithUpgrade ¶
func WithUpgrade(i containerd.Image) containerd.UpdateContainerOpts
WithUpgrade upgrades an existing container's image to a new one
Types ¶
Click to show internal directories.
Click to hide internal directories.