diagnose

package
v1.3.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDiagnoseInfo

func NewCmdDiagnoseInfo(tkcContext *config.TkcContext, streams genericclioptions.IOStreams) *cobra.Command

NewCmdDiagnoseInfo creates the diagnose command to export diagnose information of specify tidb cluster.

func NewConfigMapDumper

func NewConfigMapDumper(kubeCli *kubernetes.Clientset, tc *v1alpha1.TidbCluster, options metav1.ListOptions, printer printers.ResourcePrinter) *configMapDumper

NewConfigMapDumper returns a pvcDumper.

func NewDiagnoseInfoOptions

func NewDiagnoseInfoOptions(streams genericclioptions.IOStreams) *diagnoseInfoOptions

NewDiagnoseInfoOptions returns a diagnoseInfoOptions.

func NewPodDumper

func NewPodDumper(kubeCli *kubernetes.Clientset, pod v1.Pod, sinceSeconds int64, byteReadLimit int64) *podDumper

NewPodDumper returns a podDumper.

func NewPrinter

func NewPrinter() printers.ResourcePrinter

NewPrinter creates a common HumanReadablePrinter.

func NewPvcDumper

func NewPvcDumper(kubeCli *kubernetes.Clientset, tc *v1alpha1.TidbCluster, options metav1.ListOptions, printer printers.ResourcePrinter) *pvcDumper

NewPvcDumper returns a pvcDumper.

func NewSvcDumper

func NewSvcDumper(kubeCli *kubernetes.Clientset, tc *v1alpha1.TidbCluster, options metav1.ListOptions, printer printers.ResourcePrinter) *svcDumper

NewSvcDumper returns a pvcDumper.

func NewTiDBClusterDumper

func NewTiDBClusterDumper(tc *v1alpha1.TidbCluster, printer printers.ResourcePrinter) *tidbClusterDumper

NewTiDBClusterDummper returns a tidbClusterDumper.

func NewTiDBClusterStatefulDumper

func NewTiDBClusterStatefulDumper(tc *v1alpha1.TidbCluster, kubeCli *kubernetes.Clientset, printer printers.ResourcePrinter) *tidbClusterStatefulDumper

NewTiDBClusterStatefulDumper returns a tidbClusterStatefulDumper

func NewTiDBPrinter

func NewTiDBPrinter() (printers.ResourcePrinter, error)

NewTiDBPrinter creates a TiDB object printer

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL