Add referencing functions;Add required flags;Populate and associate network protocol profile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-29 11:34:51 +01:00
parent e269632125
commit 502c361c21
6 changed files with 76 additions and 22 deletions

13
pkg/utils/utils.go Normal file
View 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
}