_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c21300 | train | // RevertToCurrentSnapshot reverts to the current snapshot | {
"resource": ""
} | ||
c21301 | train | // RevertToSnapshot reverts to a named snapshot | {
"resource": ""
} | ||
c21302 | train | // IsToolsRunning returns true if VMware Tools is currently running in the guest OS, and false otherwise. | {
"resource": ""
} | ||
c21303 | train | // Wait for the VirtualMachine to change to the desired power state. | {
"resource": ""
} | ||
c21304 | train | // QueryEnvironmentBrowser is a helper to get the environmentBrowser property. | {
"resource": ""
} | ||
c21305 | train | // UUID is a helper to get the UUID of the VirtualMachine managed object.
// This method returns an empty string if an error occurs when retrieving UUID from the VirtualMachine object. | {
"resource": ""
} | ||
c21306 | train | // Return a string for the specified reflect.Type. Panic if unknown. | {
"resource": ""
} | ||
c21307 | train | // inspect applies container network settings to vm.Guest properties. | {
"resource": ""
} | ||
c21308 | train | // start runs the container if specified by the RUN.container extraConfig property. | {
"resource": ""
} | ||
c21309 | train | // Login dispatches to the SessionManager. | {
"resource": ""
} | ||
c21310 | train | // Logout dispatches to the SessionManager. | {
"resource": ""
} | ||
c21311 | train | // RetrieveOne dispatches to the Retrieve function on the default property collector. | {
"resource": ""
} | ||
c21312 | train | // Retrieve dispatches to the Retrieve function on the default property collector. | {
"resource": ""
} | ||
c21313 | train | // Wait dispatches to property.Wait. | {
"resource": ""
} | ||
c21314 | train | // NewClient returns a client targeting the STS API endpoint.
// The Client.URL will be set to that of the Lookup Service's endpoint registration,
// as the SSO endpoint can be external to vCenter. If the Lookup Service is not available,
// URL defaults to Path on the vim25.Client.URL.Host. | {
"resource": ""
} | ||
c21315 | train | // Renew is used to request a security token renewal. | {
"resource": ""
} | ||
c21316 | train | // QueryVsanObjectUuidsByFilter returns vSAN DOM object uuids by filter. | {
"resource": ""
} | ||
c21317 | train | // NewURL constructs a url.URL with the given file path for datastore access over HTTP. | {
"resource": ""
} | ||
c21318 | train | // URL is deprecated, use NewURL instead. | {
"resource": ""
} | ||
c21319 | train | // HostContext returns a Context where the given host will be used for datastore HTTP access
// via the ServiceTicket method. | {
"resource": ""
} | ||
c21320 | train | // ServiceTicket obtains a ticket via AcquireGenericServiceTicket and returns it an http.Cookie with the url.URL
// that can be used along with the ticket cookie to access the given path. An host is chosen at random unless the
// the given Context was created with a specific host via the HostContext method. | {
"resource": ""
} | ||
c21321 | train | // Upload via soap.Upload with an http service ticket | {
"resource": ""
} | ||
c21322 | train | // UploadFile via soap.Upload with an http service ticket | {
"resource": ""
} | ||
c21323 | train | // Download via soap.Download with an http service ticket | {
"resource": ""
} | ||
c21324 | train | // DownloadFile via soap.Download with an http service ticket | {
"resource": ""
} | ||
c21325 | train | // AttachedHosts returns hosts that have this Datastore attached, accessible and writable. | {
"resource": ""
} | ||
c21326 | train | // AttachedClusterHosts returns hosts that have this Datastore attached, accessible and writable and are members of the given cluster. | {
"resource": ""
} | ||
c21327 | train | // Type returns the type of file system volume. | {
"resource": ""
} | ||
c21328 | train | // NewAssociation returns an Association, converting ref to an AssociatedObject. | {
"resource": ""
} | ||
c21329 | train | // URL creates a URL resource | {
"resource": ""
} | ||
c21330 | train | // WithID appends id to the URL.Path | {
"resource": ""
} | ||
c21331 | train | // WithAction sets adds action to the URL.RawQuery | {
"resource": ""
} | ||
c21332 | train | // WithParameter sets adds a parameter to the URL.RawQuery | {
"resource": ""
} | ||
c21333 | train | // Request returns a new http.Request for the given method.
// An optional body can be provided for POST and PATCH methods. | {
"resource": ""
} | ||
c21334 | train | // encode body as JSON, deferring any errors until io.Reader is used. | {
"resource": ""
} | ||
c21335 | train | // NewClient creates and returns a new client with the ServiceContent field
// filled in. | {
"resource": ""
} | ||
c21336 | train | // RoundTrip dispatches to the RoundTripper field. | {
"resource": ""
} | ||
c21337 | train | // Valid returns whether or not the client is valid and ready for use.
// This should be called after unmarshalling the client. | {
"resource": ""
} | ||
c21338 | train | // taskName describes the tasks similar to the ESX ui | {
"resource": ""
} | ||
c21339 | train | // NewCustomDatastoreFlag creates and returns a new DatastoreFlag without
// trying to retrieve an existing one from the specified context. | {
"resource": ""
} | ||
c21340 | train | // NewFileManager creates a new instance of DatastoreFileManager | {
"resource": ""
} | ||
c21341 | train | // Delete dispatches to the appropriate Delete method based on file name extension | {
"resource": ""
} | ||
c21342 | train | // DeleteFile calls FileManager.DeleteDatastoreFile | {
"resource": ""
} | ||
c21343 | train | // DeleteVirtualDisk calls VirtualDiskManager.DeleteVirtualDisk
// Regardless of the Datastore type, DeleteVirtualDisk will fail if 'ddb.deletable=false',
// so if Force=true this method attempts to set 'ddb.deletable=true' before starting the delete task. | {
"resource": ""
} | ||
c21344 | train | // Copy dispatches to the appropriate FileManager or VirtualDiskManager Copy method based on file name extension | {
"resource": ""
} | ||
c21345 | train | // MoveFile calls FileManager.MoveDatastoreFile | {
"resource": ""
} | ||
c21346 | train | // Move dispatches to the appropriate FileManager or VirtualDiskManager Move method based on file name extension | {
"resource": ""
} | ||
c21347 | train | // Path converts path name to a DatastorePath | {
"resource": ""
} | ||
c21348 | train | // Abort wraps methods.Abort | {
"resource": ""
} | ||
c21349 | train | // Complete wraps methods.Complete | {
"resource": ""
} | ||
c21350 | train | // GetManifest wraps methods.GetManifest | {
"resource": ""
} | ||
c21351 | train | // Progress wraps methods.Progress | {
"resource": ""
} | ||
c21352 | train | // FindLibrary returns one or more libraries that match the provided search
// criteria.
//
// The provided name is case-insensitive.
//
// Either the name or type of library may be set to empty values in order
// to search for all libraries, all libraries with a specific name, regardless
// of type, or all libraries o... | {
"resource": ""
} | ||
c21353 | train | // CreateLibrary creates a new library with the given Type, Name,
// Description, and CategoryID. | {
"resource": ""
} | ||
c21354 | train | // DeleteLibrary deletes an existing library. | {
"resource": ""
} | ||
c21355 | train | // ListLibraries returns a list of all content library IDs in the system. | {
"resource": ""
} | ||
c21356 | train | // GetLibraryByID returns information on a library for the given ID. | {
"resource": ""
} | ||
c21357 | train | // GetLibraryByName returns information on a library for the given name. | {
"resource": ""
} | ||
c21358 | train | // GetLibraries returns a list of all content library details in the system. | {
"resource": ""
} | ||
c21359 | train | // wrapValue converts slice types to the appropriate ArrayOf type used in property collector responses. | {
"resource": ""
} | ||
c21360 | train | // RetrieveProperties is deprecated, but govmomi is still using it at the moment. | {
"resource": ""
} | ||
c21361 | train | // WaitForUpdates is deprecated, but pyvmomi is still using it at the moment. | {
"resource": ""
} | ||
c21362 | train | // Fetch is not documented in the vSphere SDK, but ovftool depends on it.
// A Fetch request is converted to a RetrievePropertiesEx method call by vcsim. | {
"resource": ""
} | ||
c21363 | train | // FromString parses a datastore path.
// Returns true if the path could be parsed, false otherwise. | {
"resource": ""
} | ||
c21364 | train | // String formats a datastore path. | {
"resource": ""
} | ||
c21365 | train | // Name returns the base name of the InventoryPath field | {
"resource": ""
} | ||
c21366 | train | // ObjectName returns the base name of the InventoryPath field if set,
// otherwise fetches the mo.ManagedEntity.Name field via the property collector. | {
"resource": ""
} | ||
c21367 | train | // UserSession retrieves and returns the SessionManager's CurrentSession field.
// Nil is returned if the session is not authenticated. | {
"resource": ""
} | ||
c21368 | train | // SessionIsActive checks whether the session that was created at login is
// still valid. This function only works against vCenter. | {
"resource": ""
} | ||
c21369 | train | // DefaultCollector returns the session's default property collector. | {
"resource": ""
} | ||
c21370 | train | // Create creates a new session-specific Collector that can be used to
// retrieve property updates independent of any other Collector. | {
"resource": ""
} | ||
c21371 | train | // Destroy destroys this Collector. | {
"resource": ""
} | ||
c21372 | train | // Add a new ObjectSpec and PropertySpec to the WaitFilter | {
"resource": ""
} | ||
c21373 | train | // Wait creates a new WaitFilter and calls the specified function for each ObjectUpdate via WaitForUpdates | {
"resource": ""
} | ||
c21374 | train | // Change applies update backing and hardware address changes to the given network device. | {
"resource": ""
} | ||
c21375 | train | // GetExtensionManager wraps NewExtensionManager, returning ErrNotSupported
// when the client is not connected to a vCenter instance. | {
"resource": ""
} | ||
c21376 | train | // NewDatacenter creates a Datacenter and its child folders. | {
"resource": ""
} | ||
c21377 | train | // CreateTag creates a new tag with the given Name, Description and CategoryID. | {
"resource": ""
} | ||
c21378 | train | // UpdateTag can update one or both of the tag Description and Name fields. | {
"resource": ""
} | ||
c21379 | train | // DeleteTag deletes an existing tag. | {
"resource": ""
} | ||
c21380 | train | // GetTag fetches the tag information for the given identifier.
// The id parameter can be a Tag ID or Tag Name. | {
"resource": ""
} | ||
c21381 | train | // GetTagForCategory fetches the tag information for the given identifier in the given category. | {
"resource": ""
} | ||
c21382 | train | // ListTags returns all tag IDs in the system. | {
"resource": ""
} | ||
c21383 | train | // GetTags fetches an array of tag information in the system. | {
"resource": ""
} | ||
c21384 | train | // NewServiceClient creates a NewClient with the given URL.Path and namespace. | {
"resource": ""
} | ||
c21385 | train | // Add default https port if missing | {
"resource": ""
} | ||
c21386 | train | // Thumbprint returns the certificate thumbprint for the given host if known to this client. | {
"resource": ""
} | ||
c21387 | train | // LoadThumbprints from file with the give name.
// If name is empty or name does not exist this function will return nil. | {
"resource": ""
} | ||
c21388 | train | // WithHeader can be used to modify the outgoing request soap.Header fields. | {
"resource": ""
} | ||
c21389 | train | // Upload PUTs the local file to the given URL | {
"resource": ""
} | ||
c21390 | train | // UploadFile PUTs the local file to the given URL | {
"resource": ""
} | ||
c21391 | train | // DownloadRequest wraps http.Client.Do, returning the http.Response without checking its StatusCode | {
"resource": ""
} | ||
c21392 | train | // Download GETs the remote file from the given URL | {
"resource": ""
} | ||
c21393 | train | // DownloadFile GETs the given URL to a local file | {
"resource": ""
} | ||
c21394 | train | // WithIO enables toolbox Process IO without file system disk IO. | {
"resource": ""
} | ||
c21395 | train | // NewProcessManager creates a new ProcessManager instance. | {
"resource": ""
} | ||
c21396 | train | // Start calls the Process.Start function, returning the pid on success or an error.
// A goroutine is started that calls the Process.Wait function. After Process.Wait has
// returned, the ProcessState EndTime and ExitCode fields are set. The process state can be
// queried via ListProcessesInGuest until it is remove... | {
"resource": ""
} | ||
c21397 | train | // Kill cancels the Process Context.
// Returns true if pid exists in the process table, false otherwise. | {
"resource": ""
} | ||
c21398 | train | // ListProcesses marshals the ProcessState for the given pids.
// If no pids are specified, all current processes are included.
// The return value can be used for responding to a VixMsgListProcessesExRequest. | {
"resource": ""
} | ||
c21399 | train | // Stat implements hgfs.FileHandler.Stat | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.