package
0.0.0-20210209154853-8018142368d2
Repository: https://github.com/joyent/containerpilot.git
Documentation: pkg.go.dev
# Functions
GetPing allows us to check if the control socket is up without making a mutation of ContainerPilot's state.
NewConfig parses a json config into a validated Config used by control Server.
NewHTTPServer initializes a new control server for manipulating ContainerPilot's runtime configuration.
# Variables
DefaultSocket is the default location of the unix domain socket file.
SocketType is the default listener type.
SocketType is the default listener type.
# Structs
Config represents the location on the file system which serves the Unix control socket file.
Endpoints wraps the EventBus so we can bridge data across the App and HTTPServer API boundary.
HTTPServer contains the state of the HTTP Server used by ContainerPilot's HTTP transport control plane.
# Type aliases
PostHandler is an adapter which allows a normal function to serve itself and handle incoming HTTP POST requests, and allows us to pass thru EventBus to handlers.