Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUnit ¶
DeleteUnit deletes the fleet unit with the given name.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App encapsulates the resources of the web service.
func (*App) ListenAndServe ¶
ListenAndServe starts the application on the given port.
type FleetClient ¶
type FleetClient struct {
// contains filtered or unexported fields
}
FleetClient encapsulates the fleet client.
func NewFleetClient ¶
func NewFleetClient(endpoint string) *FleetClient
NewFleetClient returns a new fleet client.
func (*FleetClient) CreateUnit ¶
CreateUnit submits a new fleet unit.
func (*FleetClient) ListMachines ¶
func (fc *FleetClient) ListMachines() ([]machine.MachineState, error)
ListMachines lists the active CoreOS nodes in the fleet.
Click to show internal directories.
Click to hide internal directories.