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 TestEnvMetricsNodeDriver
- func (d *TestEnvMetricsNodeDriver) ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig)
- func (d *TestEnvMetricsNodeDriver) ConfigureRuleGroupFinder(config *v1beta1.RulesSpec) notifier.Finder[rules.RuleGroup]
- func (*TestEnvMetricsNodeDriver) 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 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 (*TestEnvMetricsNodeDriver) DiscoverPrometheuses ¶
func (*TestEnvMetricsNodeDriver) DiscoverPrometheuses(context.Context, string) ([]*remoteread.DiscoveryEntry, error)
DiscoverPrometheuses implements drivers.MetricsNodeDriver
Click to show internal directories.
Click to hide internal directories.