Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyChangeType ¶
type PolicyChangeType string
const ( PolicyCreated PolicyChangeType = "created" PolicyUpdated PolicyChangeType = "updated" PolicyDeleted PolicyChangeType = "deleted" )
type PromMetrics ¶
type PromMetrics metrics.PromMetrics
func ParsePromMetrics ¶
func ParsePromMetrics(pm metrics.PromMetrics) PromMetrics
func (PromMetrics) RegisterPolicy ¶
func (pm PromMetrics) RegisterPolicy(policy interface{}, policyChangeType PolicyChangeType) error
Click to show internal directories.
Click to hide internal directories.