runner

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 22 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCmdLineOptions

func ParseCmdLineOptions(pluginName string, pluginType types.PluginType, args []string) (*plugin.Options, error)

func StartCollector

func StartCollector(collector plugin.Collector, name string, version string)

func StartCollectorWithContext

func StartCollectorWithContext(ctx context.Context, collector plugin.Collector, name string, version string)

func StartPublisher

func StartPublisher(publisher plugin.Publisher, name string, version string)

func StartPublisherWithContext

func StartPublisherWithContext(ctx context.Context, publisher plugin.Publisher, name string, version string)

func StartStreamingCollector

func StartStreamingCollector(collector plugin.StreamingCollector, name string, version string)

func StartStreamingCollectorWithContext

func StartStreamingCollectorWithContext(ctx context.Context, collector plugin.StreamingCollector, name string, version string)

func ValidateOptions

func ValidateOptions(opt *plugin.Options) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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