Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributionStrategy ¶
type DistributionStrategy interface { ID(*api.CollectorIDRequest) (*api.CollectorIDReply, error) SetIDs([]int32) error }
DistributionStrategy represents an algorithm used to decide which collector in a set should be used to monitor a given device.
type Type ¶
type Type int
Type is an enum for specifying a distributor type.
func (*Type) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Type) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
Click to show internal directories.
Click to hide internal directories.