sink

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File added in v0.8.1

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

func NewFile added in v0.8.1

func NewFile(options FileOptions, observability *common.Observability) *File

func (*File) Name added in v0.8.1

func (f *File) Name() string

func (*File) Process added in v0.8.1

func (f *File) Process(d common.Discovery, so common.SinkObject)

func (*File) Providers added in v0.8.1

func (f *File) Providers() []string

type FileOptions added in v0.8.1

type FileOptions struct {
	Checksum  bool
	Providers []string
	Names     []string
}

type Json

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

func NewJson

func NewJson(options JsonOptions, observability *common.Observability) *Json

func (*Json) Name

func (j *Json) Name() string

func (*Json) Process

func (j *Json) Process(d common.Discovery, so common.SinkObject)

func (*Json) Providers added in v0.6.1

func (j *Json) Providers() []string

type JsonOptions

type JsonOptions struct {
	Dir       string
	Providers []string
}

type Observability

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

func NewObservability

func NewObservability(options ObservabilityOptions, observability *common.Observability) *Observability

func (*Observability) Name

func (o *Observability) Name() string

func (*Observability) Process

func (o *Observability) Process(d common.Discovery, so common.SinkObject)

func (*Observability) Providers added in v0.6.1

func (o *Observability) Providers() []string

type ObservabilityOptions

type ObservabilityOptions struct {
	DiscoveryName string
	TotalName     string
	Providers     []string
	Labels        []string
}

type PubSub

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

func NewPubSub added in v0.6.11

func NewPubSub(options PubSubOptions, observability *common.Observability) *PubSub

func (*PubSub) Close added in v0.6.11

func (ps *PubSub) Close()

func (*PubSub) Name added in v0.6.11

func (ps *PubSub) Name() string

func (*PubSub) Process added in v0.6.11

func (ps *PubSub) Process(d common.Discovery, so common.SinkObject)

func (*PubSub) Providers added in v0.6.11

func (ps *PubSub) Providers() []string

type PubSubOptions added in v0.6.11

type PubSubOptions struct {
	Enabled     bool
	Credentials string
	ProjectID   string
	TopicID     string
	Providers   []string
}

type PubSubPublishObject added in v0.6.11

type PubSubPublishObject struct {
	Source  string      `json:"source"`
	Type    string      `json:"type"`
	Cluster string      `json:"cluster"`
	Data    interface{} `json:"data"`
}

type Telegraf

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

func NewTelegraf

func NewTelegraf(options TelegrafOptions, observability *common.Observability) *Telegraf

func (*Telegraf) Name

func (t *Telegraf) Name() string

func (*Telegraf) Process

func (t *Telegraf) Process(d common.Discovery, so common.SinkObject)

func (*Telegraf) Providers added in v0.6.1

func (t *Telegraf) Providers() []string

type TelegrafCertOptions

type TelegrafCertOptions struct {
	telegraf.InputX509CertOptions
	Template string
	Conf     string
}

type TelegrafDNSOptions

type TelegrafDNSOptions struct {
	telegraf.InputDNSQueryOptions
	Template string
	Conf     string
}

type TelegrafHTTPOptions

type TelegrafHTTPOptions struct {
	telegraf.InputHTTPResponseOptions
	Template string
	Conf     string
}

type TelegrafOptions

type TelegrafOptions struct {
	Providers []string
	Signal    TelegrafSignalOptions
	Cert      TelegrafCertOptions
	DNS       TelegrafDNSOptions
	HTTP      TelegrafHTTPOptions
	TCP       TelegrafTCPOptions
	Checksum  bool
}

type TelegrafSignalOptions

type TelegrafSignalOptions struct {
	telegraf.InputPrometheusHttpOptions
	Template string
	Tags     string
}

type TelegrafTCPOptions

type TelegrafTCPOptions struct {
	telegraf.InputNetResponseOptions
	Template string
	Conf     string
}

type Yaml

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

func NewYaml

func NewYaml(options YamlOptions, observability *common.Observability) *Yaml

func (*Yaml) Name

func (y *Yaml) Name() string

func (*Yaml) Process

func (y *Yaml) Process(d common.Discovery, so common.SinkObject)

func (*Yaml) Providers added in v0.6.1

func (y *Yaml) Providers() []string

type YamlOptions

type YamlOptions struct {
	Dir       string
	Providers []string
}

Jump to

Keyboard shortcuts

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