github.com/vmware/govmomi@v0.51.0/vim25/mo/registry.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 mo 6 7 import ( 8 "reflect" 9 10 "github.com/vmware/govmomi/vim25/types" 11 ) 12 13 var t = map[string]reflect.Type{} 14 15 // TODO: 9.0 mo below, not included in the generate mo/mo.go, since the generator still uses older rbvmomi vmodl.db 16 17 type DirectPathProfileManager struct { 18 Self types.ManagedObjectReference `json:"self"` 19 } 20 21 func (m DirectPathProfileManager) Reference() types.ManagedObjectReference { 22 return m.Self 23 } 24 25 func init() { 26 t["DirectPathProfileManager"] = reflect.TypeOf((*DirectPathProfileManager)(nil)).Elem() 27 }