Documentation
¶
Index ¶
Constants ¶
View Source
const ( FailedSync = "FailedSync" SuccessSync = "SuccessSync" )
Variables ¶
This section is empty.
Functions ¶
func GetMonitorObjectName ¶
func GetMonitorObjectName(monitor *v1alpha1.TidbMonitor) string
func RenderPrometheusConfig ¶
func RenderPrometheusConfig(model *MonitorConfigModel) (string, error)
Types ¶
type MonitorConfigModel ¶
type MonitorManager ¶
type MonitorManager struct {
// contains filtered or unexported fields
}
func NewMonitorManager ¶
func NewMonitorManager( kubeCli kubernetes.Interface, informerFactory informers.SharedInformerFactory, kubeInformerFactory kubeinformers.SharedInformerFactory, typedControl controller.TypedControlInterface, recorder record.EventRecorder) *MonitorManager
func (*MonitorManager) Sync ¶
func (mm *MonitorManager) Sync(monitor *v1alpha1.TidbMonitor) error
Click to show internal directories.
Click to hide internal directories.