namespace

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 18 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

func (o *Options) RunDirMode() error

Jump to

Keyboard shortcuts

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