Documentation ¶
Index ¶
- func GetNamespaceToPreserveIfShouldKeepIt(node *yaml.RNode, path string) string
- func MoveToTargetNamespace(rootDir, originalPath, namespace, oldNamespace string, osUtils osTools) error
- func ShouldPreserveNamespace(node *yaml.RNode, path string) bool
- func UpdateNamespaceInYamlFiles(rootDir, dir, ns string, filter *kyamls.Filter, shouldMoveFiles bool) ([]string, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamespaceToPreserveIfShouldKeepIt ¶ added in v0.7.0
func MoveToTargetNamespace ¶ added in v0.7.0
func ShouldPreserveNamespace ¶ added in v0.7.0
Types ¶
type Options ¶
Options the options for the command
func NewCmdUpdateNamespace ¶
NewCmdUpdateNamespace creates a command object for the command
func (*Options) RunDirMode ¶
Click to show internal directories.
Click to hide internal directories.