vsphere/internal/helper/vappcontainer/vappcontainer_helper.go
func FromPath(client *govmomi.Client, name string, dc *object.Datacenter) (*object.VirtualApp, error) {
	finder := find.NewFinder(client.Client, false)

	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	if dc != nil {
		finder.SetDatacenter(dc)
	}
	return finder.VirtualApp(ctx, name)
}
func FromPath(client *govmomi.Client, name string, dc *object.Datacenter) (*object.VirtualApp, error) {
	finder := find.NewFinder(client.Client, false)

	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	if dc != nil {
		finder.SetDatacenter(dc)
	}
	return finder.VirtualApp(ctx, name)
}
// FromPath returns a VirtualApp via its supplied path.