Documentation ¶
Index ¶
- func NewCmdDiagnoseInfo(tkcContext *config.TkcContext, streams genericclioptions.IOStreams) *cobra.Command
- func NewConfigMapDumper(kubeCli *kubernetes.Clientset, tc *v1alpha1.TidbCluster, ...) *configMapDumper
- func NewDiagnoseInfoOptions(streams genericclioptions.IOStreams) *diagnoseInfoOptions
- func NewPodDumper(kubeCli *kubernetes.Clientset, pod v1.Pod, sinceSeconds int64, ...) *podDumper
- func NewPrinter() printers.ResourcePrinter
- func NewPvcDumper(kubeCli *kubernetes.Clientset, tc *v1alpha1.TidbCluster, ...) *pvcDumper
- func NewSvcDumper(kubeCli *kubernetes.Clientset, tc *v1alpha1.TidbCluster, ...) *svcDumper
- func NewTiDBClusterDumper(tc *v1alpha1.TidbCluster, printer printers.ResourcePrinter) *tidbClusterDumper
- func NewTiDBClusterStatefulDumper(tc *v1alpha1.TidbCluster, kubeCli *kubernetes.Clientset, ...) *tidbClusterStatefulDumper
- func NewTiDBPrinter() (printers.ResourcePrinter, error)
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.
Click to show internal directories.
Click to hide internal directories.