Documentation
¶
Index ¶
- func NewCmdPodViewer(streams genericclioptions.IOStreams) *cobra.Command
- type ViewerPodOptions
- func (v *ViewerPodOptions) Complete(cmd *cobra.Command, args []string) error
- func (v *ViewerPodOptions) LogOptions(cmd *cobra.Command) *corev1.PodLogOptions
- func (v ViewerPodOptions) Overview(podName, namespace string, client kubernetes.Interface, cmd *cobra.Command) (string, error)
- func (v ViewerPodOptions) Run(cmd *cobra.Command) error
- func (v *ViewerPodOptions) Validate() error
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) Validate ¶
func (v *ViewerPodOptions) Validate() error
Validate the root cmd arguments
Click to show internal directories.
Click to hide internal directories.