rename

package
v0.16.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveGoTemplateLines added in v0.3.12

func RemoveGoTemplateLines(b []byte) string

RemoveGoTemplateLines removes any lines which start with go templates so that we can parse as much of the YAML as possible; such as resources with some templating inside the spec

Types

type Options

type Options struct {
	Dir     string
	Verbose bool
}

Options the options for the command

func NewCmdRename

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

NewCmdRename creates a command object for the command

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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