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 RemoveAllNamespacesOptions
Types ¶
type RemoveAllNamespacesOptions ¶
type RemoveAllNamespacesOptions struct { IOStreams genericclioptions.IOStreams // contains filtered or unexported fields }
RemoveAllNamespacesOptions is struct for removing a resource from all namespaces
func NewRemoveAllNamespacesOptions ¶
func NewRemoveAllNamespacesOptions(streams genericclioptions.IOStreams) *RemoveAllNamespacesOptions
NewRemoveAllNamespacesOptions provides an instance of RemoveAllNamespacesOptions with default values
func (*RemoveAllNamespacesOptions) Complete ¶
func (o *RemoveAllNamespacesOptions) Complete(cmd *cobra.Command, args []string) error
Complete sets all information required for updating the current context
func (*RemoveAllNamespacesOptions) Run ¶
func (o *RemoveAllNamespacesOptions) 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 (*RemoveAllNamespacesOptions) Validate ¶
func (o *RemoveAllNamespacesOptions) Validate() error
Validate ensures that all required arguments and flag values are provided
Click to show internal directories.
Click to hide internal directories.