package
0.16.1-beta
Repository: https://github.com/intelsdi-x/pulse.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CollectQSizeOption sets the collector queue size(length) and returns the previous queue option state.
CollectWkrSizeOption sets the collector worker pool size and returns the previous collector worker pool state.
get the default snapd configuration.
New returns an instance of the scheduler The MetricManager must be set before the scheduler can be started.
ProcessQSizeOption sets the processor queue size(length) and returns the previous queue option state.
ProcessWkrSizeOption sets the processor worker pool size and return the previous processor worker pool state.
PublishQSizeOption sets the publisher queue size(length) and returns the previous queue option state.
PublishWkrSizeOption sets the publisher worker pool size and returns the previous previous publisher worker pool state.

# Constants

No description provided by the author
DefaultDeadlineDuration - The default timeout is 5 second.
DefaultStopOnFailure is used to set the number of failures before a task is disabled.
Workflow state constants.
Workflow state constants.

# Variables

ErrMetricManagerNotSet - The error message for metricManager is not set.
WorkflowStateLookup map and error vars.
WorkflowStateLookup map and error vars.
ErrSchedulerNotStarted - The error message for scheduler is not started.
ErrTaskAlreadyRunning - The error message for task is already running.
ErrTaskAlreadyStopped - The error message for task is already stopped.
ErrTaskDisabledNotRunnable - The error message for task is disabled and cannot be started.
ErrTaskDisabledNotStoppable - The error message for when a task is disabled and cannot be stopped.
ErrTaskDisabledOnFailures - The error message for task disabled due to consecutive failures.
ErrTaskHasAlreadyBeenAdded - The error message for task has already been added.
ErrTaskNotDisabled - The error message for task must be disabled.
ErrTaskNotFound - The error message for task not found.
ErrTaskNotStopped - The error message for task must be stopped.
Flags consumed by snapd.
HandlerRegistrationName registers a handler with the event manager.
WorkflowStateLookup map and error vars.

# Structs

holds the configuration passed in through the SNAP config file Note: if this struct is modified, then the switch statement in the UnmarshalJSON method in this same file needs to be modified to match the field mapping that is defined here.
TaskWatcher struct type.

# Type aliases

WorkflowState int type.