Documentation ¶
Index ¶
- Constants
- func CheckPeerMembersAndClusterStatus(clusterCli ctrlCli.Client, tc *v1alpha1.TidbCluster, ...) error
- func CheckStatusWhenAcrossK8s(cli versioned.Interface, tidbclusters []*v1alpha1.TidbCluster) error
- func CheckStatusWhenAcrossK8sWithTimeout(cli versioned.Interface, tidbclusters []*v1alpha1.TidbCluster, ...) error
- func DeleteCertManager(cli clientset.Interface) error
- func GetTCForAcrossKubernetes(ns, name, version, clusterDomain string, joinTC *v1alpha1.TidbCluster) *v1alpha1.TidbCluster
- func InstallCertManager(cli clientset.Interface) error
- func InstallDMCertificates(ns, dcName string) error
- func InstallMySQLCertificates(ns, dcName string) error
- func InstallTiDBCertificates(ns, tcName string) error
- func InstallTiDBComponentsCertificates(ns, tcName string) error
- func InstallTiDBIssuer(ns, tcName string) error
- func InstallXK8sTiDBCertificates(ns, tcName, clusterDomain string) error
- func InstallXK8sTiDBComponentsCertificates(ns, tcName, clusterDomain string, exceptPD bool) error
- func InstallXK8sTiDBIssuer(ns, tcName, clusterRef string) error
- func MustCreateXK8sTCWithComponentsReady(cli ctrlCli.Client, oa *tests.OperatorActions, ...)
- func MustGetLabelSelectorForComponents(tcName string, filterComponents ...string) labels.Selector
- func MustPrepareXK8sTLSResources(cli ctrlCli.Client, initialTC *v1alpha1.TidbCluster, ...)
- func WaitObjectToBeControlledByOrDie(c client.Client, obj client.Object, owner runtime.Object, ...)
Constants ¶
View Source
const ( OperatorLatestVersion string = "v1.3.1" OperatorPrevMajorVersion string = "v1.2.7" )
Variables ¶
This section is empty.
Functions ¶
func CheckPeerMembersAndClusterStatus ¶ added in v1.3.0
func CheckPeerMembersAndClusterStatus(clusterCli ctrlCli.Client, tc *v1alpha1.TidbCluster, expectNonExistedTc *v1alpha1.TidbCluster) error
func CheckStatusWhenAcrossK8s ¶ added in v1.3.0
func CheckStatusWhenAcrossK8s(cli versioned.Interface, tidbclusters []*v1alpha1.TidbCluster) error
func CheckStatusWhenAcrossK8sWithTimeout ¶ added in v1.3.0
func DeleteCertManager ¶ added in v1.1.6
func GetTCForAcrossKubernetes ¶ added in v1.3.0
func GetTCForAcrossKubernetes(ns, name, version, clusterDomain string, joinTC *v1alpha1.TidbCluster) *v1alpha1.TidbCluster
func InstallCertManager ¶ added in v1.1.6
func InstallDMCertificates ¶ added in v1.2.0
func InstallMySQLCertificates ¶ added in v1.2.0
func InstallTiDBCertificates ¶ added in v1.2.0
func InstallTiDBComponentsCertificates ¶ added in v1.3.0
func InstallTiDBIssuer ¶ added in v1.2.0
func InstallXK8sTiDBCertificates ¶ added in v1.3.0
func InstallXK8sTiDBComponentsCertificates ¶ added in v1.3.0
func InstallXK8sTiDBIssuer ¶ added in v1.3.0
func MustCreateXK8sTCWithComponentsReady ¶ added in v1.3.0
func MustCreateXK8sTCWithComponentsReady(cli ctrlCli.Client, oa *tests.OperatorActions, tidbclusters []*v1alpha1.TidbCluster, tlsEnabled bool)
func MustGetLabelSelectorForComponents ¶ added in v1.3.2
func MustPrepareXK8sTLSResources ¶ added in v1.3.0
func MustPrepareXK8sTLSResources(cli ctrlCli.Client, initialTC *v1alpha1.TidbCluster, restTCs []*v1alpha1.TidbCluster)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.