Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.