Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClusterDrivers = driverutil.NewDriverCache[ClusterDriver]()
Functions ¶
This section is empty.
Types ¶
type ClusterDriver ¶
type ClusterDriver interface { cortexops.SpecializedConfigServer cortexops.SpecializedDryRunServer driverutil.InstallerServer // 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 ListPresets(context.Context, *emptypb.Empty) (*cortexops.PresetList, error) }
type NoopClusterDriver ¶
type NoopClusterDriver struct {
cortexops.UnimplementedCortexOpsServer
}
func (*NoopClusterDriver) Name ¶
func (d *NoopClusterDriver) Name() string
func (*NoopClusterDriver) ShouldDisableNode ¶
func (d *NoopClusterDriver) ShouldDisableNode(*corev1.Reference) error
Click to show internal directories.
Click to hide internal directories.