cmd

package
v0.10.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(obj Runnable, cmd cobra.Command) *cobra.Command

func Name

func Name(obj interface{}) string

Types

type DebugConfig

type DebugConfig struct {
	Debug      bool `usage:"Turn on debug logging"`
	DebugLevel int  `usage:"If debugging is enabled, set klog -v=X"`
}

func (*DebugConfig) SetupDebug

func (c *DebugConfig) SetupDebug() error

type PersistentPreRunnable

type PersistentPreRunnable interface {
	PersistentPre(cmd *cobra.Command, args []string) error
}

type PreRunnable

type PreRunnable interface {
	Pre(cmd *cobra.Command, args []string) error
}

type Runnable

type Runnable interface {
	Run(cmd *cobra.Command, args []string) error
}

Directories

Path Synopsis
cli
Package cli sets up the CLI commands for the fleet apply binary.
Package cli sets up the CLI commands for the fleet apply binary.
Package controller starts the fleet controller.
Package controller starts the fleet controller.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳