backend

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsBackend

func (*MetricsBackend) CanInstall

func (m *MetricsBackend) CanInstall(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

func (*MetricsBackend) CancelUninstall

func (m *MetricsBackend) CancelUninstall(ctx context.Context, cluster *corev1.Reference) (*emptypb.Empty, error)

func (*MetricsBackend) ConfigureCluster

func (m *MetricsBackend) ConfigureCluster(ctx context.Context, in *cortexops.ClusterConfiguration) (*emptypb.Empty, error)

func (*MetricsBackend) GetClusterConfiguration

func (m *MetricsBackend) GetClusterConfiguration(ctx context.Context, in *emptypb.Empty) (*cortexops.ClusterConfiguration, error)

func (*MetricsBackend) GetClusterStatus

func (m *MetricsBackend) GetClusterStatus(ctx context.Context, in *emptypb.Empty) (*cortexops.InstallStatus, error)

func (*MetricsBackend) Info

func (*MetricsBackend) Initialize

func (m *MetricsBackend) Initialize(conf MetricsBackendConfig)

func (*MetricsBackend) Install

func (*MetricsBackend) InstallerTemplate

func (*MetricsBackend) Status

func (*MetricsBackend) Sync

Implements node.NodeMetricsCapabilityServer

func (*MetricsBackend) Uninstall

func (*MetricsBackend) UninstallCluster

func (m *MetricsBackend) UninstallCluster(ctx context.Context, in *emptypb.Empty) (*emptypb.Empty, error)

func (*MetricsBackend) UninstallStatus

func (m *MetricsBackend) UninstallStatus(ctx context.Context, cluster *corev1.Reference) (*corev1.TaskStatus, error)

type MetricsBackendConfig

type MetricsBackendConfig struct {
	Logger              *zap.SugaredLogger             `validate:"required"`
	StorageBackend      storage.Backend                `validate:"required"`
	MgmtClient          managementv1.ManagementClient  `validate:"required"`
	NodeManagerClient   capabilityv1.NodeManagerClient `validate:"required"`
	UninstallController *task.Controller               `validate:"required"`
	ClusterDriver       drivers.ClusterDriver          `validate:"required"`
}

Jump to

Keyboard shortcuts

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