convert

package
v0.1.40 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModifyResults added in v0.1.29

type ModifyResults struct {
	Namespace string
	Name      string
	Modified  bool
}

ModifyResults returns the results of modifying a file

type Options

type Options struct {
	options.BaseOptions

	VaultMountPoint  string `env:"JX_VAULT_MOUNT_POINT"`
	VaultRole        string `env:"JX_VAULT_ROLE"`
	Dir              string `env:"JX_DIR"`
	DefaultNamespace string `env:"JX_DEFAULT_NAMESPACE"`
	SourceDir        string
	VersionStreamDir string
	HelmSecretFolder string
	SecretMapping    *v1alpha1.SecretMapping

	Prefix string
}

LabelOptions the options for the command

func NewCmdSecretConvert

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

NewCmdSecretConvert creates a command object for the command

func (*Options) ModifyYAML added in v0.1.29

func (o *Options) ModifyYAML(node *yaml.RNode, path string) (ModifyResults, error)

ModifyYAML modifies the given YAML files

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate added in v0.1.29

func (o *Options) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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