bundlesecret

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2015 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdBundleSecret

func NewCmdBundleSecret(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command

Types

type CreateSecretOptions

type CreateSecretOptions struct {
	// Name of the resulting secret
	Name string
	// Files/Directories to read from.
	// Directory sources are listed and any direct file children included (but subfolders are not traversed)
	Sources util.StringList
	// Writer to write warnings to
	Stderr io.Writer
	// Controls whether to output warnings
	Quiet bool
}

func NewDefaultOptions

func NewDefaultOptions() *CreateSecretOptions

func (*CreateSecretOptions) Complete

func (o *CreateSecretOptions) Complete(args []string)

func (*CreateSecretOptions) CreateSecret

func (o *CreateSecretOptions) CreateSecret() (*kapi.Secret, error)

func (*CreateSecretOptions) Validate

func (o *CreateSecretOptions) Validate() error

Jump to

Keyboard shortcuts

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