Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostAgentClient ¶
type HostAgentClient interface { HTTPClient() *http.Client Info(context.Context) (*api.Info, error) }
func NewHostAgentClient ¶
func NewHostAgentClient(socketPath string) (HostAgentClient, error)
NewHostAgentClient creates a client. socketPath is a path to the UNIX socket, without unix:// prefix.
func NewHostAgentClientWithHTTPClient ¶
func NewHostAgentClientWithHTTPClient(hc *http.Client) HostAgentClient
Click to show internal directories.
Click to hide internal directories.