drivers

package
v0.11.0-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpniManager

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

func (k *OpniManager) UninstallCluster(ctx context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

type OpniManagerClusterDriverOptions

type OpniManagerClusterDriverOptions struct {
	K8sClient         client.Client        `option:"k8sClient"`
	MonitoringCluster types.NamespacedName `option:"monitoringCluster"`
	GatewayRef        types.NamespacedName `option:"gatewayRef"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL