Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkStack ¶
type NetworkStack struct { VNet network.VirtualNetwork PublicIP network.PublicIPAddress PrivateIP string Interface network.Interface }
NetworkStack contains all the network info we need.
func CreateNetworkStack ¶
func CreateNetworkStack(ctx context.Context, config azconfig.AZConfig, basename string) NetworkStack
CreateNetworkStack creates a virtual network, a public IP, and a NIC.
func GetNetworkStack ¶
GetNetworkStack obtains virtual network components from a NIC.
func (*NetworkStack) FQDN ¶
func (ns *NetworkStack) FQDN() string
FQDN returns the fully-qualified domain name.
func (*NetworkStack) SubnetID ¶
func (ns *NetworkStack) SubnetID() string
SubnetID returns the subnet ID
Click to show internal directories.
Click to hide internal directories.