Documentation ¶
Index ¶
- type ExternalPromOperatorDriver
- func (d *ExternalPromOperatorDriver) ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig) error
- func (d *ExternalPromOperatorDriver) ConfigureRuleGroupFinder(config *v1beta1.RulesSpec) notifier.Finder[rules.RuleGroup]
- func (d *ExternalPromOperatorDriver) DiscoverPrometheuses(ctx context.Context, namespace string) ([]*remoteread.DiscoveryEntry, error)
- type ExternalPromOperatorDriverOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalPromOperatorDriver ¶
type ExternalPromOperatorDriver struct { ExternalPromOperatorDriverOptions // contains filtered or unexported fields }
func NewExternalPromOperatorDriver ¶
func NewExternalPromOperatorDriver(options ExternalPromOperatorDriverOptions) (*ExternalPromOperatorDriver, error)
func (*ExternalPromOperatorDriver) ConfigureNode ¶
func (d *ExternalPromOperatorDriver) ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig) error
func (*ExternalPromOperatorDriver) ConfigureRuleGroupFinder ¶
func (*ExternalPromOperatorDriver) DiscoverPrometheuses ¶
func (d *ExternalPromOperatorDriver) DiscoverPrometheuses(ctx context.Context, namespace string) ([]*remoteread.DiscoveryEntry, error)
type ExternalPromOperatorDriverOptions ¶
type ExternalPromOperatorDriverOptions struct { K8sClient client.Client `option:"k8sClient"` Logger *zap.SugaredLogger `option:"logger"` Namespace string `option:"namespace"` }
Click to show internal directories.
Click to hide internal directories.