cmd

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Main will take the workload of executing/starting the cli, when the command is passed to it.

func SetDriftCommands

func SetDriftCommands() *cobra.Command

SetDriftCommands helps in gathering all the subcommands so that it can be used while registering it with main command.

Types

type EnvSettings added in v0.0.8

type EnvSettings struct {
	KubeConfig  string
	KubeContext string
	Namespace   string
}

func (*EnvSettings) AddFlags added in v0.0.8

func (s *EnvSettings) AddFlags(_ *pflag.FlagSet)

func (*EnvSettings) New added in v0.0.8

func (s *EnvSettings) New() *EnvSettings

Jump to

Keyboard shortcuts

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