k8s

package
v0.3.10-0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	R = shell.R
)

Functions

func FileTempEdit

func FileTempEdit(prefix, suffix string, input string) (string, error)

func NewK8sJointCmd

func NewK8sJointCmd(manager modulebase.JointManager) *shell.JointCmd

func PrintListResultTable

func PrintListResultTable(res *modulebase.ListResult, printer k8s.ListPrinter, s *mcclient.ClientSession)

Types

type K8sResourceCmd

type K8sResourceCmd struct {
	*shell.ResourceCmd
	// contains filtered or unexported fields
}

func NewK8sResourceCmd

func NewK8sResourceCmd(manager modulebase.IBaseManager) *K8sResourceCmd

func (*K8sResourceCmd) EditRaw

func (cmd *K8sResourceCmd) EditRaw(opt shell.IGetOpt) *K8sResourceCmd

func (*K8sResourceCmd) GetClusterResManager

func (cmd *K8sResourceCmd) GetClusterResManager() k8s.IClusterResourceManager

func (*K8sResourceCmd) ShowEvent

func (cmd *K8sResourceCmd) ShowEvent() *K8sResourceCmd

func (*K8sResourceCmd) ShowRaw

func (cmd *K8sResourceCmd) ShowRaw(args shell.IGetOpt) *K8sResourceCmd

type RawOpt

type RawOpt struct {
	o.NamespaceWithClusterOptions
	KIND string `help:"resource kind"`
	NAME string `help:"instance name"`
}

Jump to

Keyboard shortcuts

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