Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusRuleFinder ¶
type PrometheusRuleFinder struct { PrometheusRuleFinderOptions // contains filtered or unexported fields }
PrometheusRuleFinder can find rules defined in PrometheusRule CRDs.
func NewPrometheusRuleFinder ¶
func NewPrometheusRuleFinder(k8sClient client.Client, opts ...PrometheusRuleFinderOption) *PrometheusRuleFinder
type PrometheusRuleFinderOption ¶
type PrometheusRuleFinderOption func(*PrometheusRuleFinderOptions)
func WithLogger ¶
func WithLogger(lg *zap.SugaredLogger) PrometheusRuleFinderOption
func WithNamespaces ¶
func WithNamespaces(namespaces ...string) PrometheusRuleFinderOption
type PrometheusRuleFinderOptions ¶
type PrometheusRuleFinderOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.