package
0.0.0-20250304205905-b47799d07ddf
Repository: https://github.com/aws/amazon-ssm-agent.git
Documentation: pkg.go.dev

# Functions

NewChanneledCancelFlag creates a new instance of ChanneledCancelFlag.
NewJobStore creates a new task with no jobs.
NewPool creates a new task pool and launches maxParallel workers.

# Constants

Canceled indicates a job for which cancellation has been requested.
Completed indicates a completed job.
ShutDown indicates a job for which ShutDown has been requested.

# Variables

DuplicateCommand represents duplicate command in the buffer.
InvalidJobId represents invalid job Id.
JobQueueFull represents that the job queue buffer is full.
UninitializedBuffer represents that the buffer has not been initialized in the pool.

# Structs

ChanneledCancelFlag is a default implementation of the task.CancelFlag interface.
JobStore is a collection of jobs.
JobToken embeds a job and its associated info.

# Interfaces

CancelFlag is an object that is passed to any job submitted to a task in order to communicated job cancellation.
Pool is a pool of jobs.

# Type aliases

Job is a function that receives a cancel flag through which it can be canceled.
No description provided by the author
State represents the state of a job.