Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdFluence ¶
func NewCmdFluence(streams genericiooptions.IOStreams) *cobra.Command
NewCmdFluence provides a cobra command wrapping FluenceOptions
Types ¶
type FluenceOptions ¶
type FluenceOptions struct { genericiooptions.IOStreams // contains filtered or unexported fields }
FluenceOptions provides information to interact with the fluence scheduler
func NewFluenceOptions ¶
func NewFluenceOptions(streams genericiooptions.IOStreams) *FluenceOptions
NewNamespaceOptions provides an instance of NamespaceOptions with default values
func (*FluenceOptions) Complete ¶
func (o *FluenceOptions) Complete(cmd *cobra.Command, args []string) error
Complete sets all information required for updating the current context
func (*FluenceOptions) Run ¶
func (o *FluenceOptions) Run() error
Run lists all available namespaces on a user's KUBECONFIG or updates the current context based on a provided namespace.
func (*FluenceOptions) Validate ¶
func (o *FluenceOptions) Validate() error
Validate ensures that all required arguments and flag values are provided
Click to show internal directories.
Click to hide internal directories.