Versions in this module Expand all Collapse all v0 v0.22.3 Sep 17, 2021 Changes in this version + func NewCmdTop(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdTopNode(f cmdutil.Factory, o *TopNodeOptions, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdTopPod(f cmdutil.Factory, o *TopPodOptions, streams genericclioptions.IOStreams) *cobra.Command + func SupportedMetricsAPIVersionAvailable(discoveredAPIGroups *metav1.APIGroupList) bool + type TopNodeOptions struct + DiscoveryClient discovery.DiscoveryInterface + MetricsClient metricsclientset.Interface + NoHeaders bool + NodeClient corev1client.CoreV1Interface + Printer *metricsutil.TopCmdPrinter + ResourceName string + Selector string + SortBy string + UseProtocolBuffers bool + func (o *TopNodeOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *TopNodeOptions) Validate() error + func (o TopNodeOptions) RunTopNode() error + type TopPodOptions struct + AllNamespaces bool + DiscoveryClient discovery.DiscoveryInterface + FieldSelector string + LabelSelector string + MetricsClient metricsclientset.Interface + Namespace string + NoHeaders bool + PodClient corev1client.PodsGetter + PrintContainers bool + Printer *metricsutil.TopCmdPrinter + ResourceName string + SortBy string + UseProtocolBuffers bool + func (o *TopPodOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *TopPodOptions) Validate() error + func (o TopPodOptions) RunTopPod() error