16/

directory
v0.0.0-...-3736fb9 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT

Directories

Path Synopsis
client
Package client provides access to the workflow service.
Package client provides access to the workflow service.
data/packages/sites
Package sites contains types, functions and methods for reading and interpreting data about sites contained in data files sites.json and machines.json
Package sites contains types, functions and methods for reading and interpreting data about sites contained in data files sites.json and machines.json
internal/es
Package es contains an emergency stop implementation.
Package es contains an emergency stop implementation.
internal/policy
Package policy provides policy primatives, policy registration and functions to run policies against a WorkReq that is submitted to the system.
Package policy provides policy primatives, policy registration and functions to run policies against a WorkReq that is submitted to the system.
internal/policy/config
Package config stores the policy configuration Go representation, a global variable called Policies that is for reading the Config as it is updated on disk and configuration validation to make sure errors don't slip in to the Config.
Package config stores the policy configuration Go representation, a global variable called Policies that is for reading the Config as it is updated on disk and configuration validation to make sure errors don't slip in to the Config.
internal/policy/register/restrictjobtypes
Package restrictjobtypes provides a policy that can be invoked to ensure that a WorkReq only contains jobs of certain types.
Package restrictjobtypes provides a policy that can be invoked to ensure that a WorkReq only contains jobs of certain types.
internal/policy/register/sameargs
Package sameargs defines a generic policy that can be used to look at Jobs of certain types and validate that every Job of that type has certain arguments that are the same for every invocation.
Package sameargs defines a generic policy that can be used to look at Jobs of certain types and validate that every Job of that type has certain arguments that are the same for every invocation.
internal/policy/register/startorend
Package startorend implements a policy that can be used to check that a WorkReq has a particular Job in the first block or the last block with certain settings.
Package startorend implements a policy that can be used to check that a WorkReq has a particular Job in the first block or the last block with certain settings.
internal/service
Package service implements our gRPC service called Workflow.
Package service implements our gRPC service called Workflow.
internal/service/executor
Package executor provides the Work type which is used to execute a pb.WorkReq.
Package executor provides the Work type which is used to execute a pb.WorkReq.
internal/service/jobs
Package jobs defines our Job type, which executes work and a registration system for registering Jobs.
Package jobs defines our Job type, which executes work and a registration system for registering Jobs.
internal/service/jobs/register/diskerase
Package diskerase registers a job that can be used to erase a disk on a machine.
Package diskerase registers a job that can be used to erase a disk on a machine.
internal/service/jobs/register/sleep
Package validatedecom registers a job that is used to validate a site is set to state "decom".
Package validatedecom registers a job that is used to validate a site is set to state "decom".
internal/service/jobs/register/tokenbucket
Package tokenbucket registers a job that is used to fetch a token from a token bucket.
Package tokenbucket registers a job that is used to fetch a token from a token bucket.
internal/service/jobs/register/validatedecom
Package validatedecom registers a job that is used to validate a site is set to state "decom".
Package validatedecom registers a job that is used to validate a site is set to state "decom".
internal/token
Package token contains a standard token bucket implementation.
Package token contains a standard token bucket implementation.

Jump to

Keyboard shortcuts

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