Documentation
¶
Index ¶
- Constants
- type AWSEC2
- type AWSEC2Options
- type AWSEC2SinkObject
- type AWSOptions
- type Cert
- type CertOptions
- type CertSinkObject
- type DNS
- type DNSOptions
- type DNSSinkObject
- type Dumb
- type DumbOptions
- type DumbSinkObject
- type HTTP
- type HTTPOptions
- type HTTPSinkObject
- type K8s
- type K8sOptions
- type K8sSinkObject
- type Observium
- type ObserviumDevice
- type ObserviumDeviceResponse
- type ObserviumOptions
- type ObserviumSinkObject
- type PubSub
- type PubSubMessage
- type PubSubMessagePayload
- type PubSubMessagePayloadCompression
- type PubSubMessagePayloadFile
- type PubSubMessagePayloadFiles
- type PubSubMessagePayloadKind
- type PubSubOptions
- type PubSubSinkObject
- type Signal
- type SignalOptions
- type SignalSinkObject
- type TCP
- type TCPOptions
- type TCPSinkObject
- type VCenter
- type VCenterCluster
- type VCenterClusterResponse
- type VCenterHost
- type VCenterHostResponse
- type VCenterOptions
- type VCenterSinkObject
- type VCenterVM
- type VCenterVMGuestIdentity
- type VCenterVMGuestIdentityFullName
- type VCenterVMGuestIdentityResponse
- type VCenterVMResponse
- type Zabbix
- type ZabbixHost
- type ZabbixHostGetResponse
- type ZabbixHostInterface
- type ZabbixOptions
- type ZabbixSinkObject
Constants ¶
View Source
const ( PubSubMessagePayloadKindUnknown int = iota PubSubMessagePayloadKindFile PubSubMessagePayloadKindFiles )
View Source
const ( PubSubMessagePayloadCompressionNone int = iota PubSubMessagePayloadCompressionGZip )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSEC2 ¶ added in v0.6.15
type AWSEC2 struct {
// contains filtered or unexported fields
}
func NewAWSEC2 ¶ added in v0.6.15
func NewAWSEC2(options AWSEC2Options, observability *common.Observability, sinks *common.Sinks) *AWSEC2
type AWSEC2Options ¶ added in v0.6.15
type AWSEC2Options struct { Schedule string AWSOptions }
type AWSEC2SinkObject ¶ added in v0.6.15
type AWSEC2SinkObject struct { EC2 *AWSEC2 // contains filtered or unexported fields }
func (*AWSEC2SinkObject) Map ¶ added in v0.6.15
func (os *AWSEC2SinkObject) Map() common.SinkMap
func (*AWSEC2SinkObject) Options ¶ added in v0.6.15
func (os *AWSEC2SinkObject) Options() interface{}
type AWSOptions ¶ added in v0.6.15
type AWSOptions struct {
toolsVendors.AWSKeys
}
type Cert ¶ added in v0.5.17
type Cert struct {
// contains filtered or unexported fields
}
func NewCert ¶ added in v0.5.17
func NewCert(source string, prometheusOptions common.PrometheusOptions, options CertOptions, observability *common.Observability, sinks *common.Sinks) *Cert
type CertOptions ¶ added in v0.5.17
type CertSinkObject ¶ added in v0.6.0
type CertSinkObject struct {
// contains filtered or unexported fields
}
func (*CertSinkObject) Map ¶ added in v0.6.0
func (cs *CertSinkObject) Map() common.SinkMap
func (*CertSinkObject) Options ¶ added in v0.6.0
func (cs *CertSinkObject) Options() interface{}
type DNS ¶
type DNS struct {
// contains filtered or unexported fields
}
func NewDNS ¶
func NewDNS(source string, prometheusOptions common.PrometheusOptions, options DNSOptions, observability *common.Observability, sinks *common.Sinks) *DNS
type DNSOptions ¶
type DNSSinkObject ¶ added in v0.6.0
type DNSSinkObject struct {
// contains filtered or unexported fields
}
func (*DNSSinkObject) Map ¶ added in v0.6.0
func (ds *DNSSinkObject) Map() common.SinkMap
func (*DNSSinkObject) Options ¶ added in v0.6.0
func (ds *DNSSinkObject) Options() interface{}
type Dumb ¶ added in v0.6.10
type Dumb struct {
// contains filtered or unexported fields
}
Dumb is a discovery that sends test data to sinks
func NewDumb ¶ added in v0.6.10
func NewDumb(options DumbOptions, obs *common.Observability, sinks *common.Sinks) *Dumb
type DumbOptions ¶ added in v0.6.10
type DumbSinkObject ¶ added in v0.6.10
type DumbSinkObject struct {
// contains filtered or unexported fields
}
func (*DumbSinkObject) Map ¶ added in v0.6.10
func (d *DumbSinkObject) Map() common.SinkMap
func (*DumbSinkObject) Options ¶ added in v0.6.10
func (d *DumbSinkObject) Options() interface{}
type HTTP ¶ added in v0.5.9
type HTTP struct {
// contains filtered or unexported fields
}
func NewHTTP ¶ added in v0.5.9
func NewHTTP(source string, prometheusOptions common.PrometheusOptions, options HTTPOptions, observability *common.Observability, sinks *common.Sinks) *HTTP
type HTTPOptions ¶ added in v0.5.9
type HTTPSinkObject ¶ added in v0.6.0
type HTTPSinkObject struct {
// contains filtered or unexported fields
}
func (*HTTPSinkObject) Map ¶ added in v0.6.0
func (hs *HTTPSinkObject) Map() common.SinkMap
func (*HTTPSinkObject) Options ¶ added in v0.6.0
func (hs *HTTPSinkObject) Options() interface{}
type K8s ¶ added in v0.6.6
type K8s struct {
// contains filtered or unexported fields
}
func NewK8s ¶ added in v0.6.6
func NewK8s(options K8sOptions, obs *common.Observability, sinks *common.Sinks) *K8s
type K8sOptions ¶ added in v0.6.6
type K8sSinkObject ¶ added in v0.6.6
type K8sSinkObject struct {
// contains filtered or unexported fields
}
func (*K8sSinkObject) Map ¶ added in v0.6.6
func (kso *K8sSinkObject) Map() common.SinkMap
func (*K8sSinkObject) Options ¶ added in v0.6.6
func (kso *K8sSinkObject) Options() interface{}
type Observium ¶ added in v0.5.19
type Observium struct {
// contains filtered or unexported fields
}
func NewObservium ¶ added in v0.5.19
func NewObservium(options ObserviumOptions, observability *common.Observability, sinks *common.Sinks) *Observium
type ObserviumDevice ¶ added in v0.6.0
type ObserviumDeviceResponse ¶ added in v0.6.0
type ObserviumDeviceResponse struct { Status string `json:"status"` Count int `json:"count"` Devices map[string]ObserviumDevice `json:"devices"` }
type ObserviumOptions ¶ added in v0.5.19
type ObserviumOptions struct { toolsVendors.ObserviumOptions Schedule string }
type ObserviumSinkObject ¶ added in v0.6.0
type ObserviumSinkObject struct {
// contains filtered or unexported fields
}
func (*ObserviumSinkObject) Map ¶ added in v0.6.0
func (os *ObserviumSinkObject) Map() common.SinkMap
func (*ObserviumSinkObject) Options ¶ added in v0.6.0
func (os *ObserviumSinkObject) Options() interface{}
type PubSub ¶
type PubSub struct {
// contains filtered or unexported fields
}
func NewPubSub ¶
func NewPubSub(source string, options PubSubOptions, observability *common.Observability, sinks *common.Sinks) *PubSub
type PubSubMessage ¶ added in v0.8.1
type PubSubMessage struct {
Payload map[string]*PubSubMessagePayload `json:"payload"`
}
type PubSubMessagePayload ¶ added in v0.8.1
type PubSubMessagePayload struct { Kind PubSubMessagePayloadKind `json:"kind"` Compression PubSubMessagePayloadCompression `json:"compression"` Data []byte `json:"data"` }
type PubSubMessagePayloadCompression ¶ added in v0.8.5
type PubSubMessagePayloadCompression = int
type PubSubMessagePayloadFile ¶ added in v0.8.1
type PubSubMessagePayloadFiles ¶ added in v0.8.5
type PubSubMessagePayloadFiles = []*PubSubMessagePayloadFile
type PubSubMessagePayloadKind ¶ added in v0.8.1
type PubSubMessagePayloadKind = int
type PubSubOptions ¶
type PubSubSinkObject ¶ added in v0.8.1
type PubSubSinkObject struct {
// contains filtered or unexported fields
}
func (*PubSubSinkObject) Map ¶ added in v0.8.1
func (so *PubSubSinkObject) Map() common.SinkMap
func (*PubSubSinkObject) Options ¶ added in v0.8.1
func (so *PubSubSinkObject) Options() interface{}
type Signal ¶
type Signal struct {
// contains filtered or unexported fields
}
func NewSignal ¶
func NewSignal(source string, prometheusOptions common.PrometheusOptions, options SignalOptions, observability *common.Observability, sinks *common.Sinks) *Signal
type SignalOptions ¶
type SignalSinkObject ¶ added in v0.6.0
type SignalSinkObject struct {
// contains filtered or unexported fields
}
func (*SignalSinkObject) Map ¶ added in v0.6.0
func (ss *SignalSinkObject) Map() common.SinkMap
func (*SignalSinkObject) Options ¶ added in v0.6.0
func (ss *SignalSinkObject) Options() interface{}
type TCP ¶ added in v0.5.10
type TCP struct {
// contains filtered or unexported fields
}
func NewTCP ¶ added in v0.5.10
func NewTCP(source string, prometheusOptions common.PrometheusOptions, options TCPOptions, observability *common.Observability, sinks *common.Sinks) *TCP
type TCPOptions ¶ added in v0.5.10
type TCPSinkObject ¶ added in v0.6.0
type TCPSinkObject struct {
// contains filtered or unexported fields
}
func (*TCPSinkObject) Map ¶ added in v0.6.0
func (ts *TCPSinkObject) Map() common.SinkMap
func (*TCPSinkObject) Options ¶ added in v0.6.0
func (ts *TCPSinkObject) Options() interface{}
type VCenter ¶ added in v0.6.7
type VCenter struct {
// contains filtered or unexported fields
}
func NewVCenter ¶ added in v0.6.7
func NewVCenter(options VCenterOptions, observability *common.Observability, sinks *common.Sinks) *VCenter
type VCenterCluster ¶ added in v0.6.7
type VCenterClusterResponse ¶ added in v0.6.7
type VCenterClusterResponse struct {
Value []*VCenterCluster `json:"value"`
}
type VCenterHost ¶ added in v0.6.7
type VCenterHostResponse ¶ added in v0.6.7
type VCenterHostResponse struct {
Value []*VCenterHost `json:"value"`
}
type VCenterOptions ¶ added in v0.6.7
type VCenterOptions struct { toolsVendors.VCenterOptions Schedule string }
type VCenterSinkObject ¶ added in v0.6.7
type VCenterSinkObject struct { VCenter *VCenter // contains filtered or unexported fields }
func (*VCenterSinkObject) Map ¶ added in v0.6.7
func (os *VCenterSinkObject) Map() common.SinkMap
func (*VCenterSinkObject) Options ¶ added in v0.6.7
func (os *VCenterSinkObject) Options() interface{}
type VCenterVMGuestIdentity ¶ added in v0.6.7
type VCenterVMGuestIdentity struct { FullName *VCenterVMGuestIdentityFullName `json:"full_name"` IP string `json:"ip_address"` Host string `json:"host_name"` Family string `json:"family"` }
type VCenterVMGuestIdentityFullName ¶ added in v0.6.7
type VCenterVMGuestIdentityFullName struct {
OS string `json:"default_message"`
}
type VCenterVMGuestIdentityResponse ¶ added in v0.6.7
type VCenterVMGuestIdentityResponse struct {
Value *VCenterVMGuestIdentity `json:"value"`
}
type VCenterVMResponse ¶ added in v0.6.7
type VCenterVMResponse struct {
Value []*VCenterVM `json:"value"`
}
type Zabbix ¶ added in v0.6.3
type Zabbix struct {
// contains filtered or unexported fields
}
func NewZabbix ¶ added in v0.6.3
func NewZabbix(options ZabbixOptions, observability *common.Observability, sinks *common.Sinks) *Zabbix
type ZabbixHost ¶ added in v0.6.3
type ZabbixHost struct { Name string `json:"name"` Host string `json:"host"` Inventory any `json:"inventory"` Interfaces []*ZabbixHostInterface `json:"interfaces"` }
type ZabbixHostGetResponse ¶ added in v0.6.3
type ZabbixHostGetResponse struct {
Result []*ZabbixHost `json:"result"`
}
type ZabbixHostInterface ¶ added in v0.6.3
type ZabbixOptions ¶ added in v0.6.3
type ZabbixOptions struct { toolsVendors.ZabbixOptions Schedule string }
type ZabbixSinkObject ¶ added in v0.6.3
type ZabbixSinkObject struct { Zabbix *Zabbix // contains filtered or unexported fields }
func (*ZabbixSinkObject) Map ¶ added in v0.6.3
func (os *ZabbixSinkObject) Map() common.SinkMap
func (*ZabbixSinkObject) Options ¶ added in v0.6.3
func (os *ZabbixSinkObject) Options() interface{}
Click to show internal directories.
Click to hide internal directories.