tidbdashboard

package
v1.6.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureImage

func EnsureImage(td *v1alpha1.TidbDashboard) string

func ServiceName

func ServiceName(td string) string

ServiceName return a service name for dashboard.

func StatefulSetName

func StatefulSetName(td string) string

StatefulSetName return dashboard name.

func TCClusterClientTLSSecretName

func TCClusterClientTLSSecretName(td string) string

TCClusterClientTLSSecretName return name of secret which contains cluster client certs borrowed from tc.

func TCMySQLClientTLSSecretName

func TCMySQLClientTLSSecretName(td string) string

TCMySQLClientTLSSecretName return name of secret which contains mysql client certs borrowed from tc.

Types

type FakeManager

type FakeManager struct {
	// contains filtered or unexported fields
}

func NewFakeManager

func NewFakeManager() *FakeManager

func (*FakeManager) MockSync

func (m *FakeManager) MockSync(sync func(td *v1alpha1.TidbDashboard, tc *v1alpha1.TidbCluster) error)

func (*FakeManager) Sync

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager manages the specific kubernetes native resources for tidb dashboard.

func NewManager

func NewManager(deps *controller.Dependencies) *Manager

func (*Manager) Sync

type TcTlsManager

type TcTlsManager struct {
	// contains filtered or unexported fields
}

TcTlsManager manages the tls secrets, which are borrowed from TiDBCluster, for TiDBDashboard.

func NewTcTlsManager

func NewTcTlsManager(deps *controller.Dependencies) *TcTlsManager

func (*TcTlsManager) Sync

Jump to

Keyboard shortcuts

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