Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrometheusBuiltin ¶
type PrometheusBuiltin struct {
// contains filtered or unexported fields
}
PrometheusBuiltin applies `prometheus.io` annotations on stats service so that Prometheus can scrape this stats service. ref: https://github.com/prometheus/prometheus/blob/a51c500e30e96df4026282c8a4f743cf6a8827f1/documentation/examples/prometheus-kubernetes.yml#L136
func (*PrometheusBuiltin) CreateOrUpdate ¶
func (agent *PrometheusBuiltin) CreateOrUpdate(sp api.StatsAccessor, new *api.AgentSpec) (kutil.VerbType, error)
func (*PrometheusBuiltin) Delete ¶
func (agent *PrometheusBuiltin) Delete(sp api.StatsAccessor) (kutil.VerbType, error)
func (*PrometheusBuiltin) GetType ¶
func (agent *PrometheusBuiltin) GetType() api.AgentType
Click to show internal directories.
Click to hide internal directories.