filterflags

package
v1.1.40 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterFlags

type FilterFlags interface {
	// AddFlags add bee filtering flags such as --name-includes, --older-than, and --template to a command
	AddFlags(*cobra.Command)
	// GetFilter should be called during a Run function to get a terra.EnvironemntFilter that matches the given filter flags
	GetFilter(thelmaApp app.ThelmaApp) (terra.EnvironmentFilter, error)
}

FilterFlags adds bee filtering flags to a cobra command and supports converting those flags to a terra.EnvironmentFilter

func NewFilterFlags

func NewFilterFlags(opts ...flags.Option) FilterFlags

NewFilterFlags returns a new filterFlags

Jump to

Keyboard shortcuts

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