Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
Check aggregates metrics from one Check instance
func (*Check) Configure ¶
func (c *Check) Configure(rawInstance integration.Data, rawInitConfig integration.Data, source string) error
Configure configures the snmp checks
type Number ¶
type Number int
Number can unmarshal yaml string or integer
func (*Number) UnmarshalYAML ¶
UnmarshalYAML unmarshalls Number
type StringArray ¶
type StringArray []string
StringArray is list of string with a yaml un-marshaller that support both array and string. See test file for example usage. Credit: https://github.com/go-yaml/yaml/issues/100#issuecomment-324964723
func (*StringArray) UnmarshalYAML ¶
func (a *StringArray) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML unmarshalls StringArray
Source Files ¶
Click to show internal directories.
Click to hide internal directories.