Documentation ¶ Index ¶ Constants func New() policyapi.Backend type NoMetrics func (*NoMetrics) Collect(chan<- prometheus.Metric) func (*NoMetrics) Describe(chan<- *prometheus.Desc) Constants ¶ View Source const ( // PolicyName is the name used to activate this policy implementation. PolicyName = "template" // PolicyDescription is a short description of this policy. PolicyDescription = "" ) Variables ¶ This section is empty. Functions ¶ func New ¶ added in v0.3.0 func New() policyapi.Backend New creates a new uninitialized template policy instance. Types ¶ type NoMetrics ¶ added in v0.8.0 type NoMetrics struct{} func (*NoMetrics) Collect ¶ added in v0.8.0 func (*NoMetrics) Collect(chan<- prometheus.Metric) func (*NoMetrics) Describe ¶ added in v0.8.0 func (*NoMetrics) Describe(chan<- *prometheus.Desc) Source Files ¶ View all Source files template-policy.go Click to show internal directories. Click to hide internal directories.