Documentation ¶
Index ¶
- type KubeClients
- func (k *KubeClients) GetNodeList(labelSelector labels.Selector) (*corev1.NodeList, error)
- func (k *KubeClients) GetNodeMetricsList(labelSelector labels.Selector) (*metrics.NodeMetricsList, error)
- func (k *KubeClients) GetPodList(namespace string, labelSelector labels.Selector) (*corev1.PodList, error)
- func (k *KubeClients) GetPodMetricsList(namespace string, labelSelector labels.Selector) (*metrics.PodMetricsList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeClients ¶
type KubeClients struct { Flags *genericclioptions.ConfigFlags // contains filtered or unexported fields }
func NewKubeClients ¶
func NewKubeClients(flags *genericclioptions.ConfigFlags) (*KubeClients, error)
func (*KubeClients) GetNodeList ¶
func (*KubeClients) GetNodeMetricsList ¶
func (k *KubeClients) GetNodeMetricsList(labelSelector labels.Selector) (*metrics.NodeMetricsList, error)
func (*KubeClients) GetPodList ¶
func (*KubeClients) GetPodMetricsList ¶
func (k *KubeClients) GetPodMetricsList(namespace string, labelSelector labels.Selector) (*metrics.PodMetricsList, error)
Click to show internal directories.
Click to hide internal directories.