chapter/

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
10 module
11
chatbot/bot
Package bot defines a basic slack bot that can listen for app mention events for our bot and send the message to a handler to handle the interaction.
Package bot defines a basic slack bot that can listen for app mention events for our bot and send the message to a handler to handle the interaction.
chatbot/internal/handlers
Package handlers provides an Ops type that has methods that implement bot.HandleFunc for various commands that could be sent to a bot.
Package handlers provides an Ops type that has methods that implement bot.HandleFunc for various commands that could be sent to a bot.
ops
ops/internal/jaeger/client
Package client provides a Jaegar client for grabbing traces from the Jaegar service.
Package client provides a Jaegar client for grabbing traces from the Jaegar service.
ops/internal/server
Package server contains our gRPC server implementation for the ops server.
Package server contains our gRPC server implementation for the ops server.
petstore Module
12
13
14
16
workflow/client
Package client provides access to the workflow service.
Package client provides access to the workflow service.
workflow/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
workflow/internal/es
Package es contains an emergency stop implementation.
Package es contains an emergency stop implementation.
workflow/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.
workflow/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.
workflow/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.
workflow/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.
workflow/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.
workflow/internal/service
Package service implements our gRPC service called Workflow.
Package service implements our gRPC service called Workflow.
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.
workflow/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.
workflow/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.
workflow/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".
workflow/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.
workflow/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".
workflow/internal/token
Package token contains a standard token bucket implementation.
Package token contains a standard token bucket implementation.
5
6
7
8
agent
The agent application is run on a remote system under a user you will connect to via RPC and issue commands.
The agent application is run on a remote system under a user you will connect to via RPC and issue commands.
agent/client
Package client provides a client to the system agent that uses SSH and unix sockets to make the connection.
Package client provides a client to the system agent that uses SSH and unix sockets to make the connection.
agent/internal/service
Package service contains the Agent that provides control access to the system and system stats.
Package service contains the Agent that provides control access to the system and system stats.
rollout/lb/server/grpc
Package grpc implements a gRPC server for controlling our HTTP load balancer.
Package grpc implements a gRPC server for controlling our HTTP load balancer.

Jump to

Keyboard shortcuts

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