Documentation ¶
Index ¶
- type OpniManager
- func (k *OpniManager) DryRun(ctx context.Context, req *cortexops.DryRunRequest) (*cortexops.DryRunResponse, error)
- func (k *OpniManager) ListPresets(context.Context, *emptypb.Empty) (*cortexops.PresetList, error)
- func (k *OpniManager) ShouldDisableNode(_ *corev1.Reference) error
- func (k *OpniManager) Status(ctx context.Context, _ *emptypb.Empty) (*driverutil.InstallStatus, error)
- type OpniManagerClusterDriverOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpniManager ¶
type OpniManager struct { cortexops.UnsafeCortexOpsServer OpniManagerClusterDriverOptions *driverutil.BaseConfigServer[*cortexops.ResetRequest, *cortexops.ConfigurationHistoryResponse, *cortexops.CapabilityBackendConfigSpec] // contains filtered or unexported fields }
func NewOpniManagerClusterDriver ¶
func NewOpniManagerClusterDriver(options OpniManagerClusterDriverOptions) (*OpniManager, error)
func (*OpniManager) DryRun ¶ added in v0.12.0
func (k *OpniManager) DryRun(ctx context.Context, req *cortexops.DryRunRequest) (*cortexops.DryRunResponse, error)
func (*OpniManager) ListPresets ¶ added in v0.12.0
func (k *OpniManager) ListPresets(context.Context, *emptypb.Empty) (*cortexops.PresetList, error)
ListPresets implements cortexops.CortexOpsServer.
func (*OpniManager) ShouldDisableNode ¶
func (k *OpniManager) ShouldDisableNode(_ *corev1.Reference) error
func (*OpniManager) Status ¶ added in v0.12.0
func (k *OpniManager) Status(ctx context.Context, _ *emptypb.Empty) (*driverutil.InstallStatus, error)
Status implements cortexops.CortexOpsServer.
type OpniManagerClusterDriverOptions ¶
type OpniManagerClusterDriverOptions struct { K8sClient client.WithWatch `option:"k8sClient"` MonitoringCluster types.NamespacedName `option:"monitoringCluster"` GatewayRef types.NamespacedName `option:"gatewayRef"` DefaultConfigStore storage.ValueStoreT[*cortexops.CapabilityBackendConfigSpec] `option:"defaultConfigStore"` }
Click to show internal directories.
Click to hide internal directories.