rename

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 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