namespace

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateNamespaceInYamlFiles

func UpdateNamespaceInYamlFiles(dir string, ns string, filter kyamls.Filter) error

UpdateNamespaceInYamlFiles updates the namespace in yaml files

Types

type Options

type Options struct {
	kyamls.Filter
	Dir       string
	Namespace string
	DirMode   bool
}

NamespaceOptions the options for the command

func NewCmdUpdateNamespace

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

NewCmdUpdate creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) RunDirMode added in v0.0.4

func (o *Options) RunDirMode() error

Jump to

Keyboard shortcuts

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