kubernetesk8s.io/kubernetes/pkg/kubectl/cmd/clusterinfo Index | Files

package clusterinfo

import "k8s.io/kubernetes/pkg/kubectl/cmd/clusterinfo"

Index

Functions

func NewCmdClusterInfo

func NewCmdClusterInfo(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

func NewCmdClusterInfoDump

func NewCmdClusterInfoDump(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

Types

type ClusterInfoDumpOptions

type ClusterInfoDumpOptions struct {
	PrintFlags *genericclioptions.PrintFlags
	PrintObj   printers.ResourcePrinterFunc

	OutputDir     string
	AllNamespaces bool
	Namespaces    []string

	Timeout          time.Duration
	AppsClient       appsv1client.AppsV1Interface
	CoreClient       corev1client.CoreV1Interface
	Namespace        string
	RESTClientGetter genericclioptions.RESTClientGetter
	LogsForObject    polymorphichelpers.LogsForObjectFunc

	genericclioptions.IOStreams
}

func (*ClusterInfoDumpOptions) Complete

func (*ClusterInfoDumpOptions) Run

func (o *ClusterInfoDumpOptions) Run() error

type ClusterInfoOptions

type ClusterInfoOptions struct {
	genericclioptions.IOStreams

	Namespace string

	Builder *resource.Builder
	Client  *restclient.Config
}

func (*ClusterInfoOptions) Complete

func (o *ClusterInfoOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error

func (*ClusterInfoOptions) Run

func (o *ClusterInfoOptions) Run() error

Source Files

clusterinfo.go clusterinfo_dump.go

Version
v1.14.0
Published
Mar 21, 2019
Platform
js/wasm
Imports
22 packages
Last checked
4 minutes ago

Tools for package owners.