pinflags

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PinFlags

type PinFlags interface {
	// AddFlags add version pinning flags such as --versions-file, --terra-helmfile-ref, and so forth to a Cobra command
	AddFlags(*cobra.Command)
	// GetPinOptions can be called during a Run function to get a bee.PinOptions populated with settings from version pinning CLI flags
	GetPinOptions(thelmaApp app.ThelmaApp, rc cli.RunContext) (bee.PinOptions, error)
}

PinFlags adds version pinning CLI flags to a cobra command and supports converting those flags to a bee.PinOptions struct

func NewPinFlags

func NewPinFlags() PinFlags

NewPinFlags returns a new PinFlags

Jump to

Keyboard shortcuts

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