Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // KubeConfigPath is the path to the optional kubeconfig file KubeConfigPath string // KubeClient is the optional client-go client KubeClient kubernetes.Interface // SkipCluster true means to show the details of the cluster SkipCluster bool // SkipNodes true means to show the details of each node SkipNodes bool // NodeNames are the names of the nodes to info NodeNames []string // RootDumpDir contains the node dump files used by cluster info RootDumpDir string // Writer writes the cluster info data. Default is os.Stdout Writer io.Writer }
Options are the options for the info command If you want to dump more info from pods, change the dump/scripts.go/dumpSubsetScript script, then change extractNodeInfo and display.go to display the information
Click to show internal directories.
Click to hide internal directories.