Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AIAConf ¶
AIAConf is exported to receive YAML configuration
func (AIAConf) Instrument ¶
func (c AIAConf) Instrument() map[string]prometheus.Collector
Instrument constructs any `prometheus.Collector` objects the `AIAProbe` will need to report its own metrics. A map is returned containing the constructed objects, indexed by the name of the prometheus metric. If no objects were constructed, nil is returned.
func (AIAConf) MakeProber ¶
MakeProber constructs a `AIAProbe` object from the contents of the bound `AIAConf` object. If the `AIAConf` cannot be validated, an error appropriate for end-user consumption is returned instead.
func (AIAConf) UnmarshalSettings ¶
func (c AIAConf) UnmarshalSettings(settings []byte) (probers.Configurer, error)
UnmarshalSettings constructs a AIAConf object from YAML as bytes.
type AIAProbe ¶
type AIAProbe struct {
// contains filtered or unexported fields
}
AIAProbe is the exported 'Prober' object for monitors configured to monitor AIA certificate availability & characteristics.