Documentation
¶
Index ¶
- Constants
- func ParseCmdLineOptions(pluginName string, pluginType types.PluginType, args []string) (*plugin.Options, error)
- func ParseEnvOptions(environ []string, opt *plugin.Options) (*plugin.Options, error)
- func StartCollector(collector plugin.Collector, name string, version string)
- func StartCollectorWithContext(ctx context.Context, collector plugin.Collector, name string, version string)
- func StartPublisher(publisher plugin.Publisher, name string, version string)
- func StartPublisherWithContext(ctx context.Context, publisher plugin.Publisher, name string, version string)
- func StartStreamingCollector(collector plugin.StreamingCollector, name string, version string)
- func StartStreamingCollectorWithContext(ctx context.Context, collector plugin.StreamingCollector, name string, ...)
- func ValidateOptions(opt *plugin.Options) error
Constants ¶
View Source
const (
EnvOptionPrefix = "SNAP_PLUGIN_OPT_"
)
Variables ¶
This section is empty.
Functions ¶
func ParseCmdLineOptions ¶
func ParseEnvOptions ¶ added in v2.2.0
func StartStreamingCollector ¶
func StartStreamingCollector(collector plugin.StreamingCollector, name string, version string)
func ValidateOptions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.