vsphere/internal/helper/storagepod/storage_pod_helper.go
func Properties(pod *object.StoragePod) (*mo.StoragePod, error) {
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	var props mo.StoragePod
	if err := pod.Properties(ctx, pod.Reference(), nil, &props); err != nil {
		return nil, err
	}
	return &props, nil
}
func Properties(pod *object.StoragePod) (*mo.StoragePod, error) {
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	var props mo.StoragePod
	if err := pod.Properties(ctx, pod.Reference(), nil, &props); err != nil {
		return nil, err
	}
	return &props, nil
}
func Properties ( pod * object . StoragePod ) ( * mo . StoragePod , error ) { ctx , cancel := context . WithTimeout ( context . Background ( ) , provider . DefaultAPITimeout ) defer cancel ( ) var props mo . StoragePod if err := pod . Properties ( ctx , pod . Reference ( ) , nil , & props ) ; err != nil { return nil , err } return & props , nil }
// Properties is a convenience method that wraps fetching the
// StoragePod MO from its higher-level object.
Properties is a convenience method that wraps fetching the StoragePod MO from its higher - level object .