Directories ¶
Path | Synopsis |
---|---|
chapter
|
|
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. |
11/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. |
11/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. |
11/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. |
16/workflow/client
Package client provides access to the workflow service.
|
Package client provides access to the workflow service. |
16/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 |
16/workflow/internal/es
Package es contains an emergency stop implementation.
|
Package es contains an emergency stop implementation. |
16/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. |
16/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. |
16/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. |
16/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. |
16/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. |
16/workflow/internal/service
Package service implements our gRPC service called Workflow.
|
Package service implements our gRPC service called Workflow. |
16/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. |
16/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. |
16/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. |
16/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". |
16/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. |
16/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". |
16/workflow/internal/token
Package token contains a standard token bucket implementation.
|
Package token contains a standard token bucket implementation. |
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. |
8/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. |
8/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. |
8/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. |
10
Module
|
|
11/petstore
Module
|
|
13/petstore-provider
Module
|
|
14/petstore-operator
Module
|
Click to show internal directories.
Click to hide internal directories.