Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Drivers = driverutil.NewDriverCache[ClusterDriver]()
Functions ¶
This section is empty.
Types ¶
type ClusterDriver ¶
type ClusterDriver interface { alertops.AlertingAdminServer // ShouldDisableNode is called during node sync for nodes which otherwise // have this capability enabled. If this function returns an error, the // node will be set to disabled instead, and the error will be logged. ShouldDisableNode(*corev1.Reference) error GetRuntimeOptions() shared.AlertingClusterOptions }
type NoopClusterDriver ¶
type NoopClusterDriver struct {
alertops.UnimplementedAlertingAdminServer
}
func (*NoopClusterDriver) GetRuntimeOptions ¶
func (d *NoopClusterDriver) GetRuntimeOptions() shared.AlertingClusterOptions
func (*NoopClusterDriver) ShouldDisableNode ¶
func (d *NoopClusterDriver) ShouldDisableNode(*corev1.Reference) error
Click to show internal directories.
Click to hide internal directories.