Documentation ¶
Index ¶
- type Client
- func (c *Client) Download(ctx context.Context, src string) (io.ReadCloser, int64, error)
- func (c *Client) RoundTrip(req *http.Request) (*http.Response, error)
- func (c *Client) Run(ctx context.Context, cmd *exec.Cmd) error
- func (c *Client) Upload(ctx context.Context, src io.Reader, dst string, p soap.Upload, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ProcessManager *guest.ProcessManager FileManager *guest.FileManager Authentication types.BaseGuestAuthentication }
Client attempts to expose guest.OperationsManager as idiomatic Go interfaces
func (*Client) RoundTrip ¶
RoundTrip implements http.RoundTripper over vmx guest RPC. This transport depends on govmomi/toolbox running in the VM guest and does not work with standard VMware tools. Using this transport makes it is possible to connect to HTTP endpoints that are bound to the VM's loopback address. Note that the toolbox's http.RoundTripper only supports the "http" scheme, "https" is not supported.
Click to show internal directories.
Click to hide internal directories.