Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "unknown"
Version is set during build time
Functions ¶
func NewCmdModifySecret ¶
func NewCmdModifySecret(streams genericclioptions.IOStreams) *cobra.Command
NewCmdModifySecret provides a cobra command wrapping ModifySecretOptions
Types ¶
type ModifySecretOptions ¶
type ModifySecretOptions struct { IOStreams genericclioptions.IOStreams // contains filtered or unexported fields }
ModifySecretOptions is struct for modify secret
func NewModifySecretOptions ¶
func NewModifySecretOptions(streams genericclioptions.IOStreams) *ModifySecretOptions
NewModifySecretOptions provides an instance of ModifySecretOptions with default values
func (*ModifySecretOptions) Complete ¶
func (o *ModifySecretOptions) Complete(cmd *cobra.Command, args []string) error
Complete sets all information required for updating the current context
func (*ModifySecretOptions) Run ¶
func (o *ModifySecretOptions) Run() error
Run fetches the given secret manifest from the cluster, decodes the payload, opens an editor to make changes, and applies the modified manifest when done
func (*ModifySecretOptions) Validate ¶
func (o *ModifySecretOptions) Validate() error
Validate ensures that all required arguments and flag values are provided
Click to show internal directories.
Click to hide internal directories.