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(socketPath string) (GuestAgentClient, error)
NewGuestAgentClient creates a client. socketPath is a path to the UNIX socket, without unix:// prefix.
func NewGuestAgentClientWithHTTPClient ¶
func NewGuestAgentClientWithHTTPClient(hc *http.Client) GuestAgentClient
Click to show internal directories.
Click to hide internal directories.