importcmd

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	File               string
	Namespace          string
	SecretClient       extsecrets.Interface
	KubeClient         kubernetes.Interface
	CommandRunner      cmdrunner.CommandRunner
	QuietCommandRunner cmdrunner.CommandRunner
	FailOnUnknownKey   bool
	ExternalSecrets    []*v1.ExternalSecret
	Handlers           map[string]*backendHandler

	// EditorCache the optional cache of editors
	EditorCache map[string]editor.Interface
}

Options the options for the command

func NewCmdImport

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

NewCmdImport 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