publishers

package
v0.0.0-...-b44688a Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCassandraConfiguration

func ApplyCassandraConfiguration(publisher *wmap.PublishWorkflowMapNode)

ApplyCassandraConfiguration is a helper which applies the Cassandra related settings from the command line flags and applies them to a snap workflow.

func ApplyInfluxDBConfiguration

func ApplyInfluxDBConfiguration(publisher *wmap.PublishWorkflowMapNode)

ApplyInfluxDBConfiguration is a helper which applies the InfluxDB related settings from the command line flags and applies them to a snap workflow.

Types

type Publisher

type Publisher struct {
	PluginName string
	Publisher  *wmap.PublishWorkflowMapNode
}

Publisher stores default publisher object

func NewDefaultCassandraPublisher

func NewDefaultCassandraPublisher() (pub Publisher)

NewDefaultCassandraPublisher constructs new cassandra snap publisher.

func NewDefaultInfluxDBPublisher

func NewDefaultInfluxDBPublisher() (pub Publisher)

NewDefaultInfluxDBPublisher constructs new snap influxdb publisher.

func NewDefaultPublisher

func NewDefaultPublisher() Publisher

NewDefaultPublisher construct new snap publisher object based on default flag in configuration.

Jump to

Keyboard shortcuts

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