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