emitters

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DatadogEmit

func DatadogEmit(payload tilt.Payload, emitterConfig interface{}) (string, error)

func DatadogEmitWithClient

func DatadogEmitWithClient(payload tilt.Payload, emitterConfig interface{}, client statsd.ClientInterface) (string, error)

func InfluxDBEmit added in v1.2.0

func InfluxDBEmit(payload tilt.Payload, emitterConfig interface{}) (string, error)

func SQLiteEmit

func SQLiteEmit(payload tilt.Payload, emitterConfig interface{}) (string, error)

func WebhookEmit

func WebhookEmit(payload tilt.Payload, emitterConfig interface{}) (string, error)

Types

type Datadog

type Datadog struct {
	Enabled    bool
	StatsdHost string `json:"statsd_host"`
	StatsdPort int    `json:"statsd_port"`
}

type InfluxDB added in v1.2.0

type InfluxDB struct {
	Enabled                    bool
	URL                        string `json:"url"`
	VerifySSL                  bool   `json:"verify_ssl"`
	Bucket                     string `json:"bucket"`
	Org                        string `json:"org"`
	Token                      string `json:"token"`
	GravityPayloadTemplate     string `json:"gravity_payload_template"`
	TemperaturePayloadTemplate string `json:"temperature_payload_template"`
}

type SQLite

type SQLite struct {
	Enabled bool
	File    string
}

type Template

type Template struct {
	Color     string
	Gravity   string
	Mac       string
	Temp      string
	Timestamp int64
}

type Webhook

type Webhook struct {
	Enabled  bool
	URL      string
	Headers  string
	Template string
	Method   string
}

Jump to

Keyboard shortcuts

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