discovery

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (*Cert) Discover added in v0.5.17

func (c *Cert) Discover()

func (*Cert) Name added in v0.6.0

func (c *Cert) Name() string

func (*Cert) Source added in v0.6.0

func (c *Cert) Source() string

type CertOptions added in v0.5.17

type CertOptions struct {
	Query       string
	QueryPeriod string
	QueryStep   string
	Schedule    string
	Pattern     string
	Names       string
	Exclusion   string
}

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

func (*DNS) Discover

func (d *DNS) Discover()

func (*DNS) Name added in v0.6.0

func (d *DNS) Name() string

func (*DNS) Source added in v0.6.0

func (d *DNS) Source() string

type DNSOptions

type DNSOptions struct {
	Query       string
	QueryPeriod string
	QueryStep   string
	Schedule    string
	Pattern     string
	Names       string
	Exclusion   string
}

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 File

type File struct {
	Time time.Time   `json:"time"`
	Type string      `json:"type"`
	Data interface{} `json:"data"`
}

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

func (*HTTP) Discover added in v0.5.9

func (h *HTTP) Discover()

func (*HTTP) Name added in v0.6.0

func (h *HTTP) Name() string

func (*HTTP) Source added in v0.6.0

func (h *HTTP) Source() string

type HTTPOptions added in v0.5.9

type HTTPOptions struct {
	Query       string
	QueryPeriod string
	QueryStep   string
	Schedule    string
	Pattern     string
	Names       string
	Exclusion   string
	NoSSL       string
	Path        string
}

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 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

func (*Observium) Discover added in v0.5.19

func (o *Observium) Discover()

func (*Observium) Name added in v0.6.0

func (o *Observium) Name() string

func (*Observium) Source added in v0.6.0

func (o *Observium) Source() string

type ObserviumDevice added in v0.6.0

type ObserviumDevice struct {
	Name   string `json:"sysName"`
	Host   string `json:"hostname"`
	IP     string `json:"ip"`
	Vendor string `json:"vendor"`
}

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 (*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(options PubSubOptions, observability *common.Observability, sinks *common.Sinks) *PubSub

func (*PubSub) Discover

func (ps *PubSub) Discover()

func (*PubSub) Name added in v0.6.0

func (ps *PubSub) Name() string

func (*PubSub) Source added in v0.6.0

func (ps *PubSub) Source() string

type PubSubOptions

type PubSubOptions struct {
	Enabled                 bool
	Credentials             string
	ProjectID               string
	TopicID                 string
	SubscriptionName        string
	SubscriptionAckDeadline int
	SubscriptionRetention   int
	Dir                     string
}

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

func (*Signal) Discover

func (s *Signal) Discover()

func (*Signal) Name added in v0.6.0

func (s *Signal) Name() string

func (*Signal) Source added in v0.6.0

func (s *Signal) Source() string

type SignalOptions

type SignalOptions struct {
	URL          string
	User         string
	Password     string
	Disabled     []string
	Schedule     string
	Query        string
	QueryPeriod  string
	QueryStep    string
	Metric       string
	Service      string
	Field        string
	BaseTemplate string
	Vars         string
	Files        string
}

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

func (*TCP) Discover added in v0.5.10

func (t *TCP) Discover()

func (*TCP) Name added in v0.6.0

func (t *TCP) Name() string

func (*TCP) Source added in v0.6.0

func (t *TCP) Source() string

type TCPOptions added in v0.5.10

type TCPOptions struct {
	Query       string
	QueryPeriod string
	QueryStep   string
	Schedule    string
	Pattern     string
	Names       string
	Exclusion   string
	NoSSL       string
}

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{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL