github.com/vmware/govmomi@v0.51.0/simulator/vpx/root_folder.go (about)

     1  // © Broadcom. All Rights Reserved.
     2  // The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
     3  // SPDX-License-Identifier: Apache-2.0
     4  
     5  package vpx
     6  
     7  import (
     8  	"github.com/vmware/govmomi/vim25/mo"
     9  	"github.com/vmware/govmomi/vim25/types"
    10  )
    11  
    12  var RootFolder = mo.Folder{
    13  	ManagedEntity: mo.ManagedEntity{
    14  		ExtensibleManagedObject: mo.ExtensibleManagedObject{
    15  			Self:           types.ManagedObjectReference{Type: "Folder", Value: "group-d1"},
    16  			Value:          nil,
    17  			AvailableField: nil,
    18  		},
    19  		Parent:        (*types.ManagedObjectReference)(nil),
    20  		CustomValue:   nil,
    21  		OverallStatus: "green",
    22  		ConfigStatus:  "green",
    23  		ConfigIssue:   nil,
    24  		EffectiveRole: []int32{-1},
    25  		Permission: []types.Permission{
    26  			{
    27  				DynamicData: types.DynamicData{},
    28  				Entity:      &types.ManagedObjectReference{Type: "Folder", Value: "group-d1"},
    29  				Principal:   "VSPHERE.LOCAL\\Administrator",
    30  				Group:       false,
    31  				RoleId:      -1,
    32  				Propagate:   true,
    33  			},
    34  			{
    35  				DynamicData: types.DynamicData{},
    36  				Entity:      &types.ManagedObjectReference{Type: "Folder", Value: "group-d1"},
    37  				Principal:   "VSPHERE.LOCAL\\Administrators",
    38  				Group:       true,
    39  				RoleId:      -1,
    40  				Propagate:   true,
    41  			},
    42  		},
    43  		Name:                "Datacenters",
    44  		DisabledMethod:      nil,
    45  		RecentTask:          nil,
    46  		DeclaredAlarmState:  nil,
    47  		AlarmActionsEnabled: (*bool)(nil),
    48  		Tag:                 nil,
    49  	},
    50  	ChildType:   []string{"Folder", "Datacenter"},
    51  	ChildEntity: nil,
    52  }