vault

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdVault

func NewCmdVault() *cobra.Command

NewCmdVault creates the new command

Types

type Options

type Options struct {
	PodName       string
	Namespace     string
	Console       bool
	PollDuration  time.Duration
	KubeClient    kubernetes.Interface
	CommandRunner cmdrunner.CommandRunner
}

Options the options for the command

func NewCmdPortForward

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

NewCmdPortForward 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