options

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Instance presenting the string literal "instance"
	Instance string = "instance"
)

Variables

View Source
var SupportedResources = []string{
	Instance,
}

SupportedResources contains the resources that can be tagged by the controller at the moment

Functions

This section is empty.

Types

type TaggingControllerOptions

type TaggingControllerOptions struct {
	Tags      map[string]string
	Resources []string
}

TaggingControllerOptions contains the inputs that can be used in the tagging controller

func (*TaggingControllerOptions) AddFlags

func (o *TaggingControllerOptions) AddFlags(fs *pflag.FlagSet)

AddFlags add the additional flags for the controller

func (*TaggingControllerOptions) Validate

func (o *TaggingControllerOptions) Validate() error

Validate checks for errors from user input

Jump to

Keyboard shortcuts

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