test

package
v0.10.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestEnvMetricsClusterDriver

type TestEnvMetricsClusterDriver struct {
	cortexops.UnsafeCortexOpsServer

	Env           *test.Environment
	Configuration *cortexops.ClusterConfiguration
	// contains filtered or unexported fields
}

func NewTestEnvMetricsClusterDriver

func NewTestEnvMetricsClusterDriver(env *test.Environment) *TestEnvMetricsClusterDriver

func (*TestEnvMetricsClusterDriver) ConfigureCluster

func (*TestEnvMetricsClusterDriver) GetClusterConfiguration

func (*TestEnvMetricsClusterDriver) GetClusterStatus

func (*TestEnvMetricsClusterDriver) Name

func (*TestEnvMetricsClusterDriver) ShouldDisableNode

func (d *TestEnvMetricsClusterDriver) ShouldDisableNode(*corev1.Reference) error

func (*TestEnvMetricsClusterDriver) UninstallCluster

type TestEnvMetricsNodeDriver

type TestEnvMetricsNodeDriver struct {
	// contains filtered or unexported fields
}

func NewTestEnvMetricsNodeDriver

func NewTestEnvMetricsNodeDriver(env *test.Environment) *TestEnvMetricsNodeDriver

func (*TestEnvMetricsNodeDriver) ConfigureNode

func (d *TestEnvMetricsNodeDriver) ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig)

ConfigureNode implements drivers.MetricsNodeDriver

func (*TestEnvMetricsNodeDriver) ConfigureRuleGroupFinder

func (d *TestEnvMetricsNodeDriver) ConfigureRuleGroupFinder(config *v1beta1.RulesSpec) notifier.Finder[rules.RuleGroup]

func (*TestEnvMetricsNodeDriver) DiscoverPrometheuses

DiscoverPrometheuses implements drivers.MetricsNodeDriver

Jump to

Keyboard shortcuts

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