Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // APIURL is the base API URL used. Example value: // http://wharf-cmd-provisioner.default.svc.cluster.local APIURL string }
Client is a HTTP client that talks to wharf-cmd-provisioner.
func (Client) DeleteWorker ¶
DeleteWorker will terminate a worker based on its ID.
func (Client) ListWorkers ¶
func (c Client) ListWorkers() ([]provisioner.Worker, error)
ListWorkers returns a slice of all workers.
Click to show internal directories.
Click to hide internal directories.