Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gatekeeper ¶
type Gatekeeper struct {
// contains filtered or unexported fields
}
Gatekeeper exposes an HTTP interface over a normal TCP socket. It handles machine creation, for machines bootstrapped with `torus bootstrap`
func NewGatekeeper ¶
NewGatekeeper returns a new Gatekeeper.
func (*Gatekeeper) Addr ¶
func (g *Gatekeeper) Addr() string
Addr returns the address of the running Gatekeeper service
func (*Gatekeeper) Close ¶
func (g *Gatekeeper) Close() error
Close gracefully stops the HTTP server
func (*Gatekeeper) Listen ¶
func (g *Gatekeeper) Listen() error
Listen listens on a TCP port for HTTP machine requests
Click to show internal directories.
Click to hide internal directories.