cli

package
v0.0.0-...-66c0c6b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CliKubeResourceMapsDTO

type CliKubeResourceMapsDTO struct {
	AddResourcesMap  *sync.Map // create
	ModResourcesMap  *sync.Map // update
	GetResourcesMap  *sync.Map // get
	DelResourcesMap  *sync.Map // delete
	ListResourcesMap *sync.Map // list
}

type Commander

type Commander interface {
	SetArguments(args []string, maps ...*CliKubeResourceMapsDTO)
	Exec() (string, error)
}

func NewDecoratedCommander

func NewDecoratedCommander(cmdPrefix string, requests ...*KRest.Request) Commander

Jump to

Keyboard shortcuts

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