importcmd

package
v0.0.157 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 19 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
	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