cmd

package
v0.0.0-...-9d70a59 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KubernetesConfigFlags *genericclioptions.ConfigFlags
)

Functions

func GlanceK8s

func GlanceK8s(k8sClient *kubernetes.Clientset, gc *GlanceConfig) (err error)

GlanceK8s displays cluster information for a given clientset

func NewGlanceCmd

func NewGlanceCmd() *cobra.Command

NewGlanceCmd provides a cobra command

Types

type GlanceConfig

type GlanceConfig struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

GlanceOptions contains options and configurations needed by glance

func NewGlanceConfig

func NewGlanceConfig() (gc *GlanceConfig, err error)

NewGlanceConfig provides an instance of GlanceConfig with default values

type NodeStats

type NodeStats struct {
	// contains filtered or unexported fields
}

nolint unused NodeStats is an object to hold relevent node stats

Jump to

Keyboard shortcuts

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