Documentation ¶
Index ¶
Constants ¶
View Source
const ( EndpointIDAttr = "discovery.endpoint.id" ObserverIDAttr = "discovery.observer.id" ReceiverConfigAttr = "discovery.receiver.config" ReceiverNameAttr = "discovery.receiver.name" ReceiverTypeAttr = "discovery.receiver.type" StatusAttr = "discovery.status" )
Variables ¶
View Source
var NoType = config.NewComponentID("")
View Source
var StatusTypes = []StatusType{Successful, Partial, Failed}
Functions ¶
func IsValidStatus ¶
func IsValidStatus(status StatusType) (bool, error)
Types ¶
type StatusType ¶
type StatusType string
const ( Successful StatusType = "successful" Partial StatusType = "partial" Failed StatusType = "failed" )
Click to show internal directories.
Click to hide internal directories.