# Packages
No description provided by the author
# Functions
CacheTTL will override the default cache TTL for the this plugin.
ConcurrencyCount is the max number of concurrent calls the plugin should take.
CopyNamespace copies array of namespace elements to new array.
Exclusive == true results in a single instance of the plugin running regardless of the number of tasks using the plugin.
No description provided by the author
NewConfig returns initialized Config.
No description provided by the author
Newnamespace takes an array of strings and returns a namespace.
NewNamespaceElement tasks a string and returns a namespaceElement where the Value field is set to the provided string argument.
RoutingStrategy will override the routing strategy this plugin requires.
SetDefaultBool Allows easy setting of the Default value for an rpc.BoolRule.
SetDefaultFloat Allows easy setting of the Default value for an rpc.FloatRule.
SetDefaultInt Allows easy setting of the Default value for an rpc.IntegerRule.
SetDefaultString Allows easy setting of the Default value for an rpc.StringRule.
SetMaxFloat Allows easy setting of the Max value for an rpc.FloatRule.
SetMaxInt Allows easy setting of the Max value for an rpc.IntegerRule.
SetMinFloat Allows easy setting of the Min value for an rpc.FloatRule.
SetMinInt Allows easy setting of the Min value for an rpc.IntegerRule.
StartCollector is given a Collector implementation and its metadata, generates a response for the initial stdin / stdout handshake, and starts the plugin's gRPC server.
StartProcessor is given a Processor implementation and its metadata, generates a response for the initial stdin / stdout handshake, and starts the plugin's gRPC server.
StartPublisher is given a Publisher implementation and its metadata, generates a response for the initial stdin / stdout handshake, and starts the plugin's gRPC server.
StartStreamCollector is given a StreamCollector implementation and its metadata, generates a response for the initial stdin / stdout handshake, and starts the plugin's gRPC server.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
ErrConfigNotFound is returned when a config doesn't exist in the config map.
ErrEmptyKey is returned when a Rule with an empty key is created.
No description provided by the author
No description provided by the author
No description provided by the author
ErrNotA<type> is returned when the found config item doesn't have the expected type.
Flags required by the plugin lib flags - plugin authors can provide their own flags.
ListenAddr the address that GRPC will listen on.
No description provided by the author
PingTimeoutDuration is the duration during which a ping healthcheck should be received.
PingTimeoutLimit is the number of successively missed ping health checks which must occur before the plugin is stopped.
# Structs
Arg represents arguments passed to startup of Plugin.
No description provided by the author
Metric contains all info related to a Snap Metric.
namespaceElement provides meta data related to the namespace.
No description provided by the author
# Interfaces
Collector is a plugin which is the source of new data in the Snap pipeline.
osInputOutput supports interactions with OS for the plugin lib.
Plugin is the base plugin type.
Processor is a plugin which filters, aggregates, or decorates data in the Snap pipeline.
Publisher is a sink in the Snap pipeline.
StreamCollector is a Collector that can send back metrics within configurable limits defined in task manifest.