cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdPodViewer

func NewCmdPodViewer(streams genericclioptions.IOStreams) *cobra.Command

NewCmdPodViewer runs the pod-view root command

Types

type ViewerPodOptions

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

func NewPodViewerOption

func NewPodViewerOption(streams genericclioptions.IOStreams) *ViewerPodOptions

func (*ViewerPodOptions) Complete

func (v *ViewerPodOptions) Complete(cmd *cobra.Command, args []string) error

func (*ViewerPodOptions) LogOptions

func (v *ViewerPodOptions) LogOptions(cmd *cobra.Command) *corev1.PodLogOptions

LogOptions defines log options for a given pod

func (ViewerPodOptions) Overview

func (v ViewerPodOptions) Overview(podName, namespace string, client kubernetes.Interface, cmd *cobra.Command) (string, error)

Overview creates a full overview of kubernetes pods

func (ViewerPodOptions) Run

func (v ViewerPodOptions) Run(cmd *cobra.Command) error

func (*ViewerPodOptions) Validate

func (v *ViewerPodOptions) Validate() error

Validate the root cmd arguments

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳