kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go

type TopPodOptions

const metricsCreationDelay

var topPodLong

var topPodExample

func NewCmdTopPod(f cmdutil.Factory, o *TopPodOptions, streams genericiooptions.IOStreams) *cobra.Command {}

func (o *TopPodOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error {}

func (o *TopPodOptions) Validate() error {}

func (o TopPodOptions) RunTopPod() error {}

func getMetricsFromMetricsAPI(metricsClient metricsclientset.Interface, namespace, resourceName string, allNamespaces bool, labelSelector labels.Selector, fieldSelector fields.Selector) (*metricsapi.PodMetricsList, error) {}

func verifyEmptyMetrics(o TopPodOptions, labelSelector labels.Selector, fieldSelector fields.Selector) error {}

func checkPodAge(pod *corev1.Pod) error {}