pinimages

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package pinimages implements manifest.pin_images: for each service, it finds the workload document matching the service name and sets each artifact's "source image:version" reference on the container already running that artifact's image repository.

Index

Constants

This section is empty.

Variables

View Source
var (
	// A miss or an ambiguous match fails the step rather than skipping the service, so a
	// typo'd service name cannot silently pin nothing.
	ErrWorkloadNotFound  = errors.New("workload not found")
	ErrWorkloadAmbiguous = errors.New("workload matched more than one document")

	// ErrContainerNotFound also covers a Rollout that defers to a workloadRef, which
	// has no spec.template.spec.containers at all.
	ErrContainerNotFound  = errors.New("container not found")
	ErrContainerAmbiguous = errors.New("image matched more than one container")
)

Functions

func New

func New() runner.BuiltinFunction

Types

This section is empty.

Jump to

Keyboard shortcuts

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