annotate

package
v0.2.40 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateAnnotateInYamlFiles

func UpdateAnnotateInYamlFiles(dir string, annotations []string, filter kyamls.Filter, podSpec bool) error

UpdateAnnotateInYamlFiles updates the annotations in yaml files

Types

type Options

type Options struct {
	kyamls.Filter
	Dir      string
	Annotate string
	PodSpec  bool
}

AnnotateOptions the options for the command

func NewCmdUpdateAnnotate

func NewCmdUpdateAnnotate() (*cobra.Command, *Options)

NewCmdUpdate creates a command object for the command

Jump to

Keyboard shortcuts

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