Documentation ¶
Index ¶
- type TestEnvMetricsClusterDriver
- func (d *TestEnvMetricsClusterDriver) ConfigureCluster(_ context.Context, conf *cortexops.ClusterConfiguration) (*emptypb.Empty, error)
- func (d *TestEnvMetricsClusterDriver) GetClusterConfiguration(context.Context, *emptypb.Empty) (*cortexops.ClusterConfiguration, error)
- func (d *TestEnvMetricsClusterDriver) GetClusterStatus(context.Context, *emptypb.Empty) (*cortexops.InstallStatus, error)
- func (d *TestEnvMetricsClusterDriver) Name() string
- func (d *TestEnvMetricsClusterDriver) ShouldDisableNode(*corev1.Reference) error
- func (d *TestEnvMetricsClusterDriver) UninstallCluster(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- type TestEnvOtelNodeDriver
- func (d *TestEnvOtelNodeDriver) ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig) error
- func (*TestEnvOtelNodeDriver) ConfigureRuleGroupFinder(config *v1beta1.RulesSpec) notifier.Finder[rules.RuleGroup]
- func (*TestEnvOtelNodeDriver) DiscoverPrometheuses(context.Context, string) ([]*remoteread.DiscoveryEntry, error)
- type TestEnvPrometheusNodeDriver
- func (d *TestEnvPrometheusNodeDriver) ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig) error
- func (d *TestEnvPrometheusNodeDriver) ConfigureRuleGroupFinder(config *v1beta1.RulesSpec) notifier.Finder[rules.RuleGroup]
- func (*TestEnvPrometheusNodeDriver) DiscoverPrometheuses(context.Context, string) ([]*remoteread.DiscoveryEntry, error)
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 (d *TestEnvMetricsClusterDriver) ConfigureCluster(_ context.Context, conf *cortexops.ClusterConfiguration) (*emptypb.Empty, error)
func (*TestEnvMetricsClusterDriver) GetClusterConfiguration ¶
func (d *TestEnvMetricsClusterDriver) GetClusterConfiguration(context.Context, *emptypb.Empty) (*cortexops.ClusterConfiguration, error)
func (*TestEnvMetricsClusterDriver) GetClusterStatus ¶
func (d *TestEnvMetricsClusterDriver) GetClusterStatus(context.Context, *emptypb.Empty) (*cortexops.InstallStatus, error)
func (*TestEnvMetricsClusterDriver) Name ¶
func (d *TestEnvMetricsClusterDriver) Name() string
func (*TestEnvMetricsClusterDriver) ShouldDisableNode ¶
func (d *TestEnvMetricsClusterDriver) ShouldDisableNode(*corev1.Reference) error
func (*TestEnvMetricsClusterDriver) UninstallCluster ¶
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
func (*TestEnvOtelNodeDriver) DiscoverPrometheuses(context.Context, string) ([]*remoteread.DiscoveryEntry, error)
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 (*TestEnvPrometheusNodeDriver) DiscoverPrometheuses ¶ added in v0.10.0
func (*TestEnvPrometheusNodeDriver) DiscoverPrometheuses(context.Context, string) ([]*remoteread.DiscoveryEntry, error)
DiscoverPrometheuses implements drivers.MetricsNodeDriver
Click to show internal directories.
Click to hide internal directories.