Add referencing functions;Add required flags;Populate and associate network protocol profile
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
13
pkg/utils/utils.go
Normal file
13
pkg/utils/utils.go
Normal file
@ -0,0 +1,13 @@
|
||||
package utils
|
||||
|
||||
import "github.com/vmware/govmomi/vim25/types"
|
||||
|
||||
func BoolAddr(b bool) *bool {
|
||||
boolVar := b
|
||||
return &boolVar
|
||||
}
|
||||
|
||||
func MoRefAddr(mo types.ManagedObjectReference) *types.ManagedObjectReference {
|
||||
morefVar := mo
|
||||
return &morefVar
|
||||
}
|
Reference in New Issue
Block a user