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" DiscoExtensionsKey = "extensions/splunk.discovery" DiscoReceiversKey = "receivers/splunk.discovery" )
Variables ¶
View Source
var NoType = component.NewID("")
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.