Documentation ¶
Index ¶
- type TestEnvMetricsClusterDriver
- func (d *TestEnvMetricsClusterDriver) DryRun(ctx context.Context, req *cortexops.DryRunRequest) (*cortexops.DryRunResponse, error)
- func (d *TestEnvMetricsClusterDriver) ListPresets(context.Context, *emptypb.Empty) (*cortexops.PresetList, error)
- func (d *TestEnvMetricsClusterDriver) Name() string
- func (d *TestEnvMetricsClusterDriver) ShouldDisableNode(*corev1.Reference) (err error)
- func (d *TestEnvMetricsClusterDriver) Status(context.Context, *emptypb.Empty) (out *driverutil.InstallStatus, _ 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 *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
func (d *TestEnvMetricsClusterDriver) DryRun(ctx context.Context, req *cortexops.DryRunRequest) (*cortexops.DryRunResponse, error)
DryRun implements cortexops.CortexOpsServer.
func (*TestEnvMetricsClusterDriver) ListPresets ¶ added in v0.12.0
func (d *TestEnvMetricsClusterDriver) ListPresets(context.Context, *emptypb.Empty) (*cortexops.PresetList, error)
ListPresets implements cortexops.CortexOpsServer.
func (*TestEnvMetricsClusterDriver) Name ¶
func (d *TestEnvMetricsClusterDriver) Name() string
func (*TestEnvMetricsClusterDriver) ShouldDisableNode ¶
func (d *TestEnvMetricsClusterDriver) ShouldDisableNode(*corev1.Reference) (err error)
func (*TestEnvMetricsClusterDriver) Status ¶ added in v0.12.0
func (d *TestEnvMetricsClusterDriver) Status(context.Context, *emptypb.Empty) (out *driverutil.InstallStatus, _ error)
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.