fluence

package
v0.0.0-...-cb30e37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 14 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL