discovery

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 36 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PubSubMessagePayloadKindUnknown int = iota
	PubSubMessagePayloadKindFile
	PubSubMessagePayloadKindFiles
)
View Source
const (
	PubSubMessagePayloadCompressionNone int = iota
	PubSubMessagePayloadCompressionGZip
)

Variables

This section is empty.

Functions

func NewConsul added in v0.13.23

func NewConsul(options ConsulOptions, obs *common.Observability, processors *common.Processors) common.Discovery

Types

type AWSDiscoveryOptions added in v0.13.6

type AWSDiscoveryOptions struct {
	toolsVendors.AWSOptions
}

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, processors *common.Processors) *AWSEC2

func (*AWSEC2) Discover added in v0.6.15

func (o *AWSEC2) Discover()

func (*AWSEC2) Name added in v0.6.15

func (o *AWSEC2) Name() string

func (*AWSEC2) Source added in v0.6.15

func (o *AWSEC2) Source() string

type AWSEC2Options added in v0.6.15

type AWSEC2Options struct {
	Schedule string
	AWSDiscoveryOptions
}

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 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, processors *common.Processors) *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
	Source      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 Choice added in v0.13.16

type Choice struct {
	Value string `json:"value"`
	Label string `json:"label"`
}

Choice represents a field in NetBox that is chosen from a predefined list of options.

type Consul added in v0.13.23

type Consul struct {
	// contains filtered or unexported fields
}

func (*Consul) Discover added in v0.13.23

func (c *Consul) Discover()

func (*Consul) Name added in v0.13.23

func (c *Consul) Name() string

func (*Consul) Source added in v0.13.23

func (c *Consul) Source() string

type ConsulOptions added in v0.13.23

type ConsulOptions struct {
	CommonLabels map[string]string
	BaseUrl      string
	Schedule     string
	Workers      int
	Insecure     bool
}

type ConsulSinkObject added in v0.13.23

type ConsulSinkObject struct {
	// contains filtered or unexported fields
}

func (ConsulSinkObject) Map added in v0.13.23

func (so ConsulSinkObject) Map() common.SinkMap

func (ConsulSinkObject) Options added in v0.13.23

func (so ConsulSinkObject) Options() interface{}

type Credential added in v0.12.7

type Credential struct {
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

type Credentials added in v0.12.7

type Credentials map[string]Credential

type DNS

type DNS struct {
	// contains filtered or unexported fields
}

func NewDNS

func NewDNS(source string, prometheusOptions common.PrometheusOptions, options DNSOptions, observability *common.Observability, processors *common.Processors) *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
	Source      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 Dumb added in v0.6.10

type Dumb struct {
	// contains filtered or unexported fields
}

Dumb is a discovery that sends test data to processors

func NewDumb added in v0.6.10

func NewDumb(options DumbOptions, obs *common.Observability, processors *common.Processors) *Dumb

func (*Dumb) Discover added in v0.6.10

func (d *Dumb) Discover()

func (*Dumb) Name added in v0.6.10

func (d *Dumb) Name() string

func (*Dumb) Source added in v0.6.10

func (d *Dumb) Source() string

type DumbOptions added in v0.6.10

type DumbOptions struct {
	Enabled   bool
	LabelsMap common.LabelsMap
	Schedule  string
}

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 FileProvider added in v0.10.0

type FileProvider struct {
	// contains filtered or unexported fields
}

func (*FileProvider) Discover added in v0.10.0

func (p *FileProvider) Discover()

func (*FileProvider) Map added in v0.10.0

func (p *FileProvider) Map() common.SinkMap

func (*FileProvider) Name added in v0.10.0

func (p *FileProvider) Name() string

FileProvider

func (*FileProvider) Options added in v0.10.0

func (p *FileProvider) Options() interface{}

func (*FileProvider) Source added in v0.10.0

func (p *FileProvider) Source() string

type FileProviders added in v0.10.0

type FileProviders struct {
	// contains filtered or unexported fields
}

type Files added in v0.9.5

type Files struct {
	// contains filtered or unexported fields
}

func NewFiles added in v0.9.5

func NewFiles(options FilesOptions, observability *common.Observability, processors *common.Processors) *Files

func (*Files) Discover added in v0.9.5

func (d *Files) Discover()

func (*Files) Name added in v0.9.5

func (d *Files) Name() string

Files

func (*Files) Source added in v0.9.5

func (d *Files) Source() string

type FilesOptions added in v0.9.5

type FilesOptions struct {
	Folder     string
	Providers  string
	Converters string
}

type FilesSinkObject added in v0.9.5

type FilesSinkObject struct {
	Files *Files
	// contains filtered or unexported fields
}

func (*FilesSinkObject) Map added in v0.9.5

func (do *FilesSinkObject) Map() common.SinkMap

FilesSinkObject

func (*FilesSinkObject) Options added in v0.9.5

func (do *FilesSinkObject) 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, processors *common.Processors) *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 HTTPFileCache added in v0.13.10

type HTTPFileCache struct {
	Content      interface{}
	ContentHash  string
	ModifiedTime time.Time
}

type HTTPOptions added in v0.5.9

type HTTPOptions struct {
	Query       string
	QueryPeriod string
	QueryStep   string
	Schedule    string
	Pattern     string
	Names       string
	Files       string
	Exclusion   string
	NoSSL       string
	Path        string
	Source      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 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, processors *common.Processors) *K8s

func (*K8s) Discover added in v0.6.6

func (k *K8s) Discover()

func (*K8s) Name added in v0.6.6

func (k *K8s) Name() string

func (*K8s) Source added in v0.6.6

func (k *K8s) Source() string

type K8sOptions added in v0.6.6

type K8sOptions struct {
	Schedule       string
	ClusterName    string
	NsInclude      []string
	NsExclude      []string
	AppLabel       string
	ComponentLabel string
	InstanceLabel  string
	CommonLabels   map[string]string
	SkipUnknown    bool
	Environment    string
	Config         string
}

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 Labels added in v0.9.13

type Labels struct {
	// contains filtered or unexported fields
}

func NewLabels added in v0.9.13

func NewLabels(source string, prometheusOptions common.PrometheusOptions, options LabelsOptions, observability *common.Observability, processors *common.Processors) *Labels

func (*Labels) Discover added in v0.9.13

func (l *Labels) Discover()

func (*Labels) Name added in v0.9.13

func (l *Labels) Name() string

func (*Labels) Source added in v0.9.13

func (l *Labels) Source() string

type LabelsOptions added in v0.9.13

type LabelsOptions struct {
	Query       string
	QueryPeriod string
	QueryStep   string
	Schedule    string
	Name        string
	Source      string
}

type LabelsSinkObject added in v0.9.13

type LabelsSinkObject struct {
	// contains filtered or unexported fields
}

func (*LabelsSinkObject) Map added in v0.9.13

func (ls *LabelsSinkObject) Map() common.SinkMap

func (*LabelsSinkObject) Options added in v0.9.13

func (ls *LabelsSinkObject) Options() interface{}

type Ldap added in v0.12.6

type Ldap struct {
	// contains filtered or unexported fields
}

func NewLdap added in v0.12.6

func NewLdap(options LdapGlobalOptions, observability *common.Observability, processors *common.Processors) *Ldap

func (*Ldap) Discover added in v0.12.6

func (ld *Ldap) Discover()

func (*Ldap) Name added in v0.12.6

func (ld *Ldap) Name() string

func (*Ldap) Source added in v0.12.6

func (ld *Ldap) Source() string

type LdapGlobalOptions added in v0.12.6

type LdapGlobalOptions struct {
	ConfigString string
	Password     string
	Timeout      int
	Insecure     bool
	Schedule     string
}

type LdapOptions added in v0.12.6

type LdapOptions struct {
	Timeout          int
	Insecure         bool
	URL              string
	User             string
	Password         string
	BaseDN           string
	Kind             string
	Scope            int //ScopeBaseObject   = 0 ScopeSingleLevel  = 1 ScopeWholeSubtree = 2
	Filter           string
	Attributes       []string
	Fields           map[string]string
	Schedule         string
	Cert             string
	DiscoverDisabled bool
}

func GetLdapDiscoveryTargets added in v0.12.6

func GetLdapDiscoveryTargets(GlobalOptions LdapGlobalOptions, credentials Credentials, logger sreCommon.Logger) ([]LdapOptions, error)

func (*LdapOptions) CustomGetObjects added in v0.12.7

func (ldo *LdapOptions) CustomGetObjects() (map[string]map[string]string, error)

func (*LdapOptions) GetObjects added in v0.12.7

func (ldo *LdapOptions) GetObjects() (map[string]map[string]string, error)

func (*LdapOptions) PrepareLabels added in v0.12.7

func (ldo *LdapOptions) PrepareLabels(data map[string]string) common.Labels

type LdapSinkObject added in v0.12.6

type LdapSinkObject struct {
	// contains filtered or unexported fields
}

func (*LdapSinkObject) Map added in v0.12.6

func (ls *LdapSinkObject) Map() common.SinkMap

func (*LdapSinkObject) Options added in v0.12.6

func (ls *LdapSinkObject) Options() interface{}

type NestedIP added in v0.13.16

type NestedIP struct {
	ID      int    `json:"id,omitempty"`
	URL     string `json:"url,omitempty"`
	Address string `json:"address,omitempty"`
}

NestedIP represents nested IP address fields within a device record.

type NestedNetbox added in v0.13.16

type NestedNetbox struct {
	ID      int    `json:"id,omitempty"`
	URL     string `json:"url,omitempty"`
	Name    string `json:"name,omitempty"`
	Slug    string `json:"slug,omitempty"`
	Display string `json:"display,omitempty"`
}

type NestedNetboxType added in v0.13.16

type NestedNetboxType struct {
	ID           int    `json:"id,omitempty"`
	URL          string `json:"url,omitempty"`
	Name         string `json:"name,omitempty"`
	Slug         string `json:"slug,omitempty"`
	Display      string `json:"display,omitempty"`
	Manufacturer struct {
		ID          int    `json:"id,omitempty"`
		URL         string `json:"url,omitempty"`
		Display     string `json:"display,omitempty"`
		Name        string `json:"name,omitempty"`
		Slug        string `json:"slug,omitempty"`
		Description string `json:"description,omitempty"`
	} `json:"manufacturer,omitempty"`
}

type Netbox added in v0.13.16

type Netbox struct {
	// contains filtered or unexported fields
}

func NewNetbox added in v0.13.16

func NewNetbox(options NetboxOptions, observability *common.Observability, processors *common.Processors) *Netbox

func (*Netbox) Discover added in v0.13.16

func (n *Netbox) Discover()

func (*Netbox) Name added in v0.13.16

func (n *Netbox) Name() string

func (*Netbox) Source added in v0.13.16

func (n *Netbox) Source() string

type NetboxDevice added in v0.13.16

type NetboxDevice struct {
	ID         int              `json:"id"`
	Name       string           `json:"name"`
	Display    string           `json:"display"`
	DeviceType NestedNetboxType `json:"device_type"`
	DeviceRole NestedNetbox     `json:"role"`
	Site       NestedNetbox     `json:"site"`
	Rack       NestedNetbox     `json:"rack"`
	Status     Choice           `json:"status"`
	PrimaryIP  NestedIP         `json:"primary_ip"`
}

type NetboxDeviceResponse added in v0.13.16

type NetboxDeviceResponse struct {
	Status  string                  `json:"status"`
	Count   int                     `json:"count"`
	Devices map[string]NetboxDevice `json:"devices"`
}

type NetboxOptions added in v0.13.16

type NetboxOptions struct {
	toolsVendors.NetboxOptions
	Schedule string
	toolsVendors.NetboxDeviceOptions
}

type NetboxSinkObject added in v0.13.16

type NetboxSinkObject struct {
	Netbox *Netbox
	// contains filtered or unexported fields
}

func (*NetboxSinkObject) Map added in v0.13.16

func (ns *NetboxSinkObject) Map() common.SinkMap

func (*NetboxSinkObject) Options added in v0.13.16

func (ns *NetboxSinkObject) 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, processors *common.Processors) *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 Prometheus added in v0.14.0

type Prometheus struct {
	// contains filtered or unexported fields
}

func NewPrometheus added in v0.14.0

func NewPrometheus(source string, prometheusOptions common.PrometheusOptions, options PrometheusOptions, observability *common.Observability, processors *common.Processors) *Prometheus

func (*Prometheus) Discover added in v0.14.0

func (p *Prometheus) Discover()

func (*Prometheus) Name added in v0.14.0

func (p *Prometheus) Name() string

Prometheus

func (*Prometheus) Source added in v0.14.0

func (p *Prometheus) Source() string

type PrometheusOptions added in v0.14.0

type PrometheusOptions struct {
	Query       string
	QueryKeys   string
	QueryPeriod string
	QueryStep   string
	Schedule    string
	Source      string
}

type PrometheusQuery added in v0.14.0

type PrometheusQuery struct {
	// contains filtered or unexported fields
}

func (*PrometheusQuery) Discover added in v0.14.0

func (pq *PrometheusQuery) Discover()

func (*PrometheusQuery) Name added in v0.14.0

func (pq *PrometheusQuery) Name() string

Prometheus query

func (*PrometheusQuery) Source added in v0.14.0

func (pq *PrometheusQuery) Source() string

type PrometheusQuerySinkObject added in v0.14.0

type PrometheusQuerySinkObject struct {
	// contains filtered or unexported fields
}

func (*PrometheusQuerySinkObject) Map added in v0.14.0

PrometheusQuerySinkObject

func (*PrometheusQuerySinkObject) Options added in v0.14.0

func (ps *PrometheusQuerySinkObject) Options() interface{}

type PubSub

type PubSub struct {
	// contains filtered or unexported fields
}

func NewPubSub

func NewPubSub(options PubSubOptions, observability *common.Observability, processors *common.Processors) *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 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 PubSubMessagePayloadFile struct {
	Path string `json:"path"`
	Data []byte `json:"data"`
}

type PubSubMessagePayloadFiles added in v0.8.5

type PubSubMessagePayloadFiles = []*PubSubMessagePayloadFile

type PubSubMessagePayloadKind added in v0.8.1

type PubSubMessagePayloadKind = int

type PubSubOptions

type PubSubOptions struct {
	Credentials  string
	Project      string
	Topic        string
	Subscription string
	AckDeadline  int
	Retention    int
}

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, processors *common.Processors) *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 SignalCache added in v0.12.0

type SignalCache struct {
	// contains filtered or unexported fields
}

func NewSignalCache added in v0.12.0

func NewSignalCache(logger sreCommon.Logger, s *Signal) *SignalCache

type SignalFileCache added in v0.13.10

type SignalFileCache struct {
	Content      interface{}
	ModifiedTime time.Time
	// contains filtered or unexported fields
}

type SignalOptions

type SignalOptions struct {
	URL          string
	User         string
	Password     string
	Disabled     []string
	Schedule     string
	Query        string
	QueryPeriod  string
	QueryStep    string
	Metric       string
	Ident        string
	Field        string
	Instance     string
	Container    string
	BaseTemplate string
	BasePattern  string
	Vars         string
	Files        string
	CacheSize    int
	Source       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, processors *common.Processors) *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
	Source      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{}

type Teleport added in v0.13.20

type Teleport struct {
	// contains filtered or unexported fields
}

func NewTeleport added in v0.13.20

func NewTeleport(options TeleportOptions, observability *common.Observability, processors *common.Processors) *Teleport

func (*Teleport) Discover added in v0.13.20

func (t *Teleport) Discover()

func (*Teleport) Name added in v0.13.20

func (t *Teleport) Name() string

func (*Teleport) Source added in v0.13.20

func (t *Teleport) Source() string

type TeleportOptions added in v0.13.20

type TeleportOptions struct {
	toolsVendors.TeleportOptions
	Schedule string
	Kinds    []string
}

type TeleportResource added in v0.13.20

type TeleportResource struct {
	Kind string               `json:"kind"`
	Spec TeleportResourceSpec `json:"spec"`
}

type TeleportResourceCluster added in v0.13.20

type TeleportResourceCluster struct {
	Kind     string                          `json:"kind"`
	Metadata TeleportResourceClusterMetadata `json:"metadata"`
}

type TeleportResourceClusterMetadata added in v0.13.20

type TeleportResourceClusterMetadata struct {
	Name   string            `json:"name"`
	Labels map[string]string `json:"labels"`
}

type TeleportResourceSpec added in v0.13.20

type TeleportResourceSpec struct {
	Version string                  `json:"version"`
	Cluster TeleportResourceCluster `json:"cluster"`
}

type TeleportSinkObject added in v0.13.20

type TeleportSinkObject struct {
	// contains filtered or unexported fields
}

func (*TeleportSinkObject) Map added in v0.13.20

func (os *TeleportSinkObject) Map() common.SinkMap

func (*TeleportSinkObject) Options added in v0.13.20

func (os *TeleportSinkObject) 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(source string, options VCenterOptions, observability *common.Observability, processors *common.Processors) *VCenter

func (*VCenter) Discover added in v0.6.7

func (vc *VCenter) Discover()

func (*VCenter) Name added in v0.6.7

func (vc *VCenter) Name() string

func (*VCenter) Source added in v0.6.7

func (vc *VCenter) Source() string

type VCenterCluster added in v0.6.7

type VCenterCluster struct {
	Cluster string `json:"cluster"`
	Name    string `json:"name"`
	// contains filtered or unexported fields
}

type VCenterClusterResponse added in v0.6.7

type VCenterClusterResponse struct {
	Value []*VCenterCluster `json:"value"`
}

type VCenterHost added in v0.6.7

type VCenterHost struct {
	Host string `json:"host"`
	Name string `json:"name"`
	// contains filtered or unexported fields
}

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
	Names         string
	Schedule      string
	ClusterFilter string
	HostFilter    string
	VMFilter      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 VCenterVM added in v0.6.7

type VCenterVM struct {
	VM   string `json:"vm"`
	Name string `json:"name"`
	// contains filtered or unexported fields
}

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, processors *common.Processors) *Zabbix

func (*Zabbix) Discover added in v0.6.3

func (o *Zabbix) Discover()

func (*Zabbix) Name added in v0.6.3

func (o *Zabbix) Name() string

func (*Zabbix) Source added in v0.6.3

func (o *Zabbix) Source() string

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 ZabbixHostInterface struct {
	IP  string `json:"ip"`
	Dns string `json:"dns"`
}

type ZabbixOptions added in v0.6.3

type ZabbixOptions struct {
	toolsVendors.ZabbixOptions
	Schedule string
}

type ZabbixSinkObject added in v0.6.3

type ZabbixSinkObject struct {
	// 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{}

Jump to

Keyboard shortcuts

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