Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImdsClient ¶
type ImdsClient struct {
// contains filtered or unexported fields
}
ImdsClient cna be used to connect to VM Host agent in Azure.
func (*ImdsClient) GetPrimaryInterfaceInfoFromHost ¶
func (imdsClient *ImdsClient) GetPrimaryInterfaceInfoFromHost() (*InterfaceInfo, error)
GetPrimaryInterfaceInfoFromHost retrieves subnet and gateway of primary NIC from Host.
func (*ImdsClient) GetPrimaryInterfaceInfoFromMemory ¶
func (imdsClient *ImdsClient) GetPrimaryInterfaceInfoFromMemory() (*InterfaceInfo, error)
GetPrimaryInterfaceInfoFromMemory retrieves subnet and gateway of primary NIC that is saved in memory.
Click to show internal directories.
Click to hide internal directories.