namespace

package
v0.0.220 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 19 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
	ClusterDir 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