Documentation ¶
Index ¶
- type OpniManager
- func (k *OpniManager) ConfigureCluster(ctx context.Context, conf *cortexops.ClusterConfiguration) (*emptypb.Empty, error)
- func (k *OpniManager) GetClusterConfiguration(ctx context.Context, _ *emptypb.Empty) (*cortexops.ClusterConfiguration, error)
- func (k *OpniManager) GetClusterStatus(ctx context.Context, _ *emptypb.Empty) (*cortexops.InstallStatus, error)
- func (k *OpniManager) ShouldDisableNode(_ *corev1.Reference) error
- func (k *OpniManager) UninstallCluster(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, 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 }
func NewOpniManagerClusterDriver ¶
func NewOpniManagerClusterDriver(options OpniManagerClusterDriverOptions) (*OpniManager, error)
func (*OpniManager) ConfigureCluster ¶
func (k *OpniManager) ConfigureCluster(ctx context.Context, conf *cortexops.ClusterConfiguration) (*emptypb.Empty, error)
func (*OpniManager) GetClusterConfiguration ¶
func (k *OpniManager) GetClusterConfiguration(ctx context.Context, _ *emptypb.Empty) (*cortexops.ClusterConfiguration, error)
func (*OpniManager) GetClusterStatus ¶
func (k *OpniManager) GetClusterStatus(ctx context.Context, _ *emptypb.Empty) (*cortexops.InstallStatus, error)
func (*OpniManager) ShouldDisableNode ¶
func (k *OpniManager) ShouldDisableNode(_ *corev1.Reference) error
func (*OpniManager) UninstallCluster ¶
type OpniManagerClusterDriverOptions ¶
type OpniManagerClusterDriverOptions struct { K8sClient client.Client `option:"k8sClient"` MonitoringCluster types.NamespacedName `option:"monitoringCluster"` GatewayRef types.NamespacedName `option:"gatewayRef"` }
Click to show internal directories.
Click to hide internal directories.