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 PromConfig ¶ added in v1.4.3
type PromConfig metrics.PromConfig
func ParsePromConfig ¶ added in v1.4.3
func ParsePromConfig(pc metrics.PromConfig) PromConfig
func (PromConfig) RegisterPolicy ¶ added in v1.4.3
func (pc PromConfig) RegisterPolicy(policy interface{}, policyChangeType PolicyChangeType) error
type PromMetrics ¶
type PromMetrics metrics.PromMetrics
func ParsePromMetrics ¶
func ParsePromMetrics(pm metrics.PromMetrics) PromMetrics
Click to show internal directories.
Click to hide internal directories.