Documentation ¶
Index ¶
- func CreateNIC(ctx context.Context, location, groupName string, subnet network.Subnet, ...) (nic network.Interface, err error)
- func CreatePublicIP(ctx context.Context, location, groupName string, ...) (ip network.PublicIPAddress, err error)
- func CreateVM(ctx context.Context, location, groupName, sshKeyData string, ...) error
- func GetLatestOperatorRelease() string
- func Setup(ctx context.Context, c Config) error
- func Teardown(c Config) error
- func WaitForNetworkToBeCreated(ctx context.Context, logger micrologger.Logger, ...) error
- func WrapTestMain(m *testing.M, c Config)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNIC ¶
func CreateNIC(ctx context.Context, location, groupName string, subnet network.Subnet, ip network.PublicIPAddress, nicClient network.InterfacesClient) (nic network.Interface, err error)
CreateNIC creates a new network interface in the passed subnet using the passed public ip address.
func CreatePublicIP ¶
func CreatePublicIP(ctx context.Context, location, groupName string, ipClient network.PublicIPAddressesClient) (ip network.PublicIPAddress, err error)
CreatePublicIP creates a new public IP.
func CreateVM ¶
func CreateVM(ctx context.Context, location, groupName, sshKeyData string, nic network.Interface, config Config) error
CreateVM creates a new virtual machine with the specified name using the specified NIC.
func GetLatestOperatorRelease ¶
func GetLatestOperatorRelease() string
func WaitForNetworkToBeCreated ¶
func WaitForNetworkToBeCreated(ctx context.Context, logger micrologger.Logger, resourceGroupName, virtualNetworkName, masterSubnetName string, subnetsClient network.SubnetsClient) error
func WrapTestMain ¶
WrapTestMain setup and teardown e2e testing environment.
Types ¶
Click to show internal directories.
Click to hide internal directories.