Documentation ¶
Overview ¶
Package client implements a remote client for the reflow bootstrap.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client implements an http Client. Client serves two purposes: 1. To get the status of the bootstrap. 2. To push an image to bootstrap.
func New ¶
New creates a new Client which connects to a given host using the provided http.Client. If http.Client is nil, the default client is used. If logger is not nil, Client logs detailed request/response information to it.
func (*Client) InstallImage ¶
InstallImage instructs the bootstrap instance to install and run a new image.
Click to show internal directories.
Click to hide internal directories.