Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GuestAgentClient ¶
type GuestAgentClient interface {
HTTPClient() *http.Client
Info(context.Context) (*api.Info, error)
Events(context.Context, func(api.Event)) error
}
func NewGuestAgentClient ¶
func NewGuestAgentClient(conn net.Conn) (GuestAgentClient, error)
NewGuestAgentClient creates a client. remote is a path to the UNIX socket, without unix:// prefix or a remote hostname/IP address.
func NewGuestAgentClientWithHTTPClient ¶
func NewGuestAgentClientWithHTTPClient(hc *http.Client) GuestAgentClient
Click to show internal directories.
Click to hide internal directories.