github.com/vmware/govmomi@v0.51.0/object/network_reference.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 object 6 7 import ( 8 "context" 9 10 "github.com/vmware/govmomi/vim25/types" 11 ) 12 13 // The NetworkReference interface is implemented by managed objects 14 // which can be used as the backing for a VirtualEthernetCard. 15 type NetworkReference interface { 16 Reference 17 GetInventoryPath() string 18 EthernetCardBackingInfo(ctx context.Context) (types.BaseVirtualDeviceBackingInfo, error) 19 }