Documentation ¶
Index ¶
Constants ¶
View Source
const ContainerCountRoute = "/api/container/count"
ContainerCountRoute GET request for total running containers
View Source
const RunContainerRoute = "/api/container/run"
RunContainerRoute POST request for running a specified container Requires specified image name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientAPI ¶
type ClientAPI interface {
CreateRoutes()
}
ClientAPI is the base interface for creating different clients
type HalClient ¶
HalClient is the implementation of the Hal api
func (*HalClient) CreateRoutes ¶
func (api *HalClient) CreateRoutes()
CreateRoutes adds specific route endpoints
Click to show internal directories.
Click to hide internal directories.