Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server holds the server side of the API.
func NewServer ¶
func NewServer(s *state.State, addr string, cert, key []byte, datadir, logDir string) (*Server, error)
NewServer serves the given state by accepting requests on the given listener, using the given certificate and key (in PEM format) for authentication.
func (*Server) Dead ¶
func (srv *Server) Dead() <-chan struct{}
Dead returns a channel that signals when the server has exited.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
The machine package implements the API interfaces used by the machine agent.
|
The machine package implements the API interfaces used by the machine agent. |
The machiner package implements the API interface used by the machiner worker.
|
The machiner package implements the API interface used by the machiner worker. |
The uniter package implements the API interface used by the uniter worker.
|
The uniter package implements the API interface used by the uniter worker. |
Click to show internal directories.
Click to hide internal directories.