bundlesecret

package
Version: v0.5.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

	// SecretTypeName is the type to use when creating the secret.  It is checked against known types.
	SecretTypeName 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) error

func (*CreateSecretOptions) CreateSecret

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

func (*CreateSecretOptions) Validate

func (o *CreateSecretOptions) Validate() error

type KnownSecretType added in v0.5.3

type KnownSecretType struct {
	Type             kapi.SecretType
	RequiredContents util.StringSet
}

func (KnownSecretType) Matches added in v0.5.3

func (ks KnownSecretType) Matches(secretContent map[string][]byte) bool

Jump to

Keyboard shortcuts

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