cli

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MainLoop

func MainLoop(opts *Options) error

func NewAlignCommand

func NewAlignCommand(env *environ.Environ, opts *Options) *cobra.Command

func NewInfoCacheCommand added in v0.0.5

func NewInfoCacheCommand(env *environ.Environ, opts *Options) *cobra.Command

func NewInfoCommand

func NewInfoCommand(env *environ.Environ, opts *Options) *cobra.Command

func NewK8SCommand added in v0.0.5

func NewK8SCommand(env *environ.Environ, opts *Options) *cobra.Command

func NewK8SMachineInfoCommand added in v0.0.5

func NewK8SMachineInfoCommand(env *environ.Environ, opts *Options) *cobra.Command

func NewRootCommand

func NewRootCommand(env *environ.Environ, extraCmds ...NewCommandFunc) *cobra.Command

NewRootCommand returns entrypoint command to interact with all other commands

func ShowHelp

func ShowHelp(cmd *cobra.Command, args []string) error

Types

type AlignOptions

type AlignOptions struct{}

type InfoOptions

type InfoOptions struct{}

type K8SOptions added in v0.0.5

type K8SOptions struct{}

type NewCommandFunc

type NewCommandFunc func(ko *Options) *cobra.Command

type Options

type Options struct {
	Verbose      int
	SleepForever bool
}

Jump to

Keyboard shortcuts

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