Documentation ¶
Overview ¶
Package cmd provide common implementations for commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeclareYAMLReplacerFlags ¶
DeclareYAMLReplacerFlags declares the flags for the YAML replacer
func WithImageRegex ¶
func WithImageRegex(regex string) func(*YAMLReplacer)
WithImageRegex sets the image regex
Types ¶
type YAMLReplacer ¶
YAMLReplacer replaces container image references in YAML files
func NewYAMLReplacer ¶
func NewYAMLReplacer(cli *cobra.Command, opts ...func(*YAMLReplacer)) (*YAMLReplacer, error)
NewYAMLReplacer creates a new YAMLReplacer from the given command-line arguments and options
Click to show internal directories.
Click to hide internal directories.