Documentation ¶
Index ¶
- func GetClusterClientTLSConfig(c kubernetes.Interface, namespace, tcName string, timemot time.Duration) (*tls.Config, error)
- func GetClusterTLSConfig(c kubernetes.Interface, namespace, tcName, component string, ...) (*tls.Config, error)
- func GetDmClientTLSConfig(c kubernetes.Interface, namespace, dcName string, timemot time.Duration) (*tls.Config, error)
- func GetTiDBClientTLSConfig(c kubernetes.Interface, namespace, tcName string, timemot time.Duration) (*tls.Config, error)
- func GetTiDBServerTLSConfig(c kubernetes.Interface, namespace, tcName string, timemot time.Duration) (*tls.Config, error)
- func LoadTLSConfigFromSecret(secret *corev1.Secret) (*tls.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterClientTLSConfig ¶
func GetClusterClientTLSConfig(c kubernetes.Interface, namespace, tcName string, timemot time.Duration) (*tls.Config, error)
GetClusterClientClientTLSConfig GetDmClientTLSConfig return *tls.Config for given tidb cluster clinet
func GetClusterTLSConfig ¶
func GetClusterTLSConfig(c kubernetes.Interface, namespace, tcName, component string, timemot time.Duration) (*tls.Config, error)
GetClusterTLSConfig GetDmClientTLSConfig return *tls.Config for given tidb cluster
func GetDmClientTLSConfig ¶
func GetDmClientTLSConfig(c kubernetes.Interface, namespace, dcName string, timemot time.Duration) (*tls.Config, error)
GetDmClientTLSConfig return *tls.Config for given DM clinet
func GetTiDBClientTLSConfig ¶
func GetTiDBClientTLSConfig(c kubernetes.Interface, namespace, tcName string, timemot time.Duration) (*tls.Config, error)
GetTiDBClientTLSConfig GetDmClientTLSConfig return *tls.Config for given tidb client
func GetTiDBServerTLSConfig ¶
func GetTiDBServerTLSConfig(c kubernetes.Interface, namespace, tcName string, timemot time.Duration) (*tls.Config, error)
GetTiDBServerTLSConfig GetDmClientTLSConfig return *tls.Config for given tidb client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.