test

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 37 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
	*driverutil.BaseConfigServer[*cortexops.ResetRequest, *cortexops.ConfigurationHistoryResponse, *cortexops.CapabilityBackendConfigSpec]

	Env             *test.Environment
	ResourceVersion string
	// contains filtered or unexported fields
}

func NewTestEnvMetricsClusterDriver

func NewTestEnvMetricsClusterDriver(env *test.Environment) *TestEnvMetricsClusterDriver

func (*TestEnvMetricsClusterDriver) DryRun added in v0.12.0

DryRun implements cortexops.CortexOpsServer.

func (*TestEnvMetricsClusterDriver) ListPresets added in v0.12.0

ListPresets implements cortexops.CortexOpsServer.

func (*TestEnvMetricsClusterDriver) Name

func (*TestEnvMetricsClusterDriver) ShouldDisableNode

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

func (*TestEnvMetricsClusterDriver) Status added in v0.12.0

type TestEnvOtelNodeDriver added in v0.10.0

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

func NewTestEnvOtelNodeDriver added in v0.10.0

func NewTestEnvOtelNodeDriver(env *test.Environment) *TestEnvOtelNodeDriver

func (*TestEnvOtelNodeDriver) ConfigureNode added in v0.10.0

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

ConfigureNode implements drivers.MetricsNodeDriver.

func (*TestEnvOtelNodeDriver) ConfigureRuleGroupFinder added in v0.10.0

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

ConfigureRuleGroupFinder implements drivers.MetricsNodeDriver.

func (*TestEnvOtelNodeDriver) DiscoverPrometheuses added in v0.10.0

DiscoverPrometheuses implements drivers.MetricsNodeDriver.

type TestEnvPrometheusNodeDriver added in v0.10.0

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

func NewTestEnvPrometheusNodeDriver added in v0.10.0

func NewTestEnvPrometheusNodeDriver(env *test.Environment) *TestEnvPrometheusNodeDriver

func (*TestEnvPrometheusNodeDriver) ConfigureNode added in v0.10.0

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

ConfigureNode implements drivers.MetricsNodeDriver

func (*TestEnvPrometheusNodeDriver) ConfigureRuleGroupFinder added in v0.10.0

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

func (*TestEnvPrometheusNodeDriver) DiscoverPrometheuses added in v0.10.0

DiscoverPrometheuses implements drivers.MetricsNodeDriver

Jump to

Keyboard shortcuts

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