cmd

package
v0.0.0-...-ec65fbd Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action int
const (
	Node Action = iota
	Pod
)

type Command

type Command struct {
	Kubeconfig              string
	Action                  Action
	Namespace               string
	Attributes              []string
	MaxColumns              int
	ExcludePodPattern       string
	ExcludeContainerPattern string
}

func Parse

func Parse() (*Command, error)

Parse creates a Command based in flags on the command line.

Jump to

Keyboard shortcuts

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