backend

package
v0.8.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 33 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) AddTarget added in v0.8.2

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) Discover added in v0.8.2

func (*MetricsBackend) EditTarget added in v0.8.2

func (m *MetricsBackend) EditTarget(ctx context.Context, request *remoteread.TargetEditRequest) (*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) GetTargetStatus added in v0.8.2

func (*MetricsBackend) Info

func (*MetricsBackend) Initialize

func (m *MetricsBackend) Initialize(conf MetricsBackendConfig)

func (*MetricsBackend) Install

func (*MetricsBackend) InstallerTemplate

func (*MetricsBackend) ListTargets added in v0.8.2

func (*MetricsBackend) RemoveTarget added in v0.8.2

func (m *MetricsBackend) RemoveTarget(ctx context.Context, request *remoteread.TargetRemoveRequest) (*emptypb.Empty, error)

func (*MetricsBackend) Start added in v0.8.2

func (*MetricsBackend) Stop added in v0.8.2

func (*MetricsBackend) Sync

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(_ 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"`
	Delegate            streamext.StreamDelegate[remoteread.RemoteReadAgentClient] `validate:"required"`
	RemoteWriteClient   *cortex.RemoteWriteForwarder                               `validate:"required"`
}

Jump to

Keyboard shortcuts

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