Documentation ¶
Index ¶
Constants ¶
View Source
const (
MetricsNamespace = "azure_operator"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type ClusterCollector ¶
type ClusterCollector interface { Collect(ctx context.Context, cr *capiv1alpha3.Cluster, ch chan<- prometheus.Metric) error Describe(ch chan<- *prometheus.Desc) error }
type Collectors ¶
type Collectors struct {
// contains filtered or unexported fields
}
func NewCollectors ¶
func NewCollectors(ctrlClient client.Client, logger micrologger.Logger) (*Collectors, error)
func (*Collectors) Add ¶
func (c *Collectors) Add(cc ClusterCollector)
func (*Collectors) Collect ¶
func (c *Collectors) Collect(ch chan<- prometheus.Metric) error
func (*Collectors) Describe ¶
func (c *Collectors) Describe(ch chan<- *prometheus.Desc) error
type Conditions ¶
type Conditions struct {
// contains filtered or unexported fields
}
func NewConditions ¶
func NewConditions(ctrlClient client.Client, logger micrologger.Logger) (*Conditions, error)
func (*Conditions) Collect ¶
func (c *Conditions) Collect(ctx context.Context, cluster *capiv1alpha3.Cluster, ch chan<- prometheus.Metric) error
func (*Conditions) Describe ¶
func (c *Conditions) Describe(ch chan<- *prometheus.Desc) error
type NodePools ¶ added in v2.9.0
type NodePools struct {
// contains filtered or unexported fields
}
func NewNodePools ¶ added in v2.9.0
func (*NodePools) Collect ¶ added in v2.9.0
func (n *NodePools) Collect(ctx context.Context, cluster *capiv1alpha3.Cluster, ch chan<- prometheus.Metric) error
type Releases ¶ added in v2.4.0
type Releases struct {
// contains filtered or unexported fields
}
func NewReleases ¶ added in v2.4.0
func (*Releases) Collect ¶ added in v2.4.0
func (c *Releases) Collect(ctx context.Context, cluster *capiv1alpha3.Cluster, ch chan<- prometheus.Metric) error
type TransitionTime ¶
type TransitionTime struct {
// contains filtered or unexported fields
}
func NewTransitionTime ¶
func NewTransitionTime(ctrlClient client.Client, logger micrologger.Logger) (*TransitionTime, error)
func (*TransitionTime) Collect ¶
func (t *TransitionTime) Collect(ctx context.Context, cluster *capiv1alpha3.Cluster, ch chan<- prometheus.Metric) error
func (*TransitionTime) Describe ¶
func (t *TransitionTime) Describe(ch chan<- *prometheus.Desc) error
Click to show internal directories.
Click to hide internal directories.