Documentation ¶
Index ¶
- type MockPublicIPAddressClient
- func (c *MockPublicIPAddressClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPAddressName string, ...) (result network.PublicIPAddressesCreateOrUpdateFuture, err error)
- func (c *MockPublicIPAddressClient) Delete(ctx context.Context, resourceGroupName string, publicIPAddressName string) (result network.PublicIPAddressesDeleteFuture, err error)
- func (c *MockPublicIPAddressClient) Get(ctx context.Context, resourceGroupName string, publicIPAddressName string, ...) (result network.PublicIPAddress, err error)
- func (c *MockPublicIPAddressClient) List(ctx context.Context, resourceGroupName string) (result network.PublicIPAddressListResultPage, err error)
- type MockSubnetsClient
- func (c *MockSubnetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result network.SubnetsCreateOrUpdateFuture, err error)
- func (c *MockSubnetsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result network.SubnetsDeleteFuture, err error)
- func (c *MockSubnetsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result network.Subnet, err error)
- func (c *MockSubnetsClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.SubnetListResultPage, err error)
- type MockVirtualNetworksClient
- func (c *MockVirtualNetworksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result network.VirtualNetworksCreateOrUpdateFuture, err error)
- func (c *MockVirtualNetworksClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.VirtualNetworksDeleteFuture, err error)
- func (c *MockVirtualNetworksClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, ...) (result network.VirtualNetwork, err error)
- func (c *MockVirtualNetworksClient) List(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkListResultPage, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPublicIPAddressClient ¶
type MockPublicIPAddressClient struct { networkapi.PublicIPAddressesClientAPI MockCreateOrUpdate func(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters network.PublicIPAddress) (result network.PublicIPAddressesCreateOrUpdateFuture, err error) MockDelete func(ctx context.Context, resourceGroupName string, publicIPAddressName string) (result network.PublicIPAddressesDeleteFuture, err error) MockGet func(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (result network.PublicIPAddress, err error) MockList func(ctx context.Context, resourceGroupName string) (result network.PublicIPAddressListResultPage, err error) }
MockPublicIPAddressClient is a fake implementation of network.PublicIPAddressClient.
func (*MockPublicIPAddressClient) CreateOrUpdate ¶
func (c *MockPublicIPAddressClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters network.PublicIPAddress) (result network.PublicIPAddressesCreateOrUpdateFuture, err error)
CreateOrUpdate calls the MockPublicIPAddressClient's MockCreateOrUpdate method.
func (*MockPublicIPAddressClient) Delete ¶
func (c *MockPublicIPAddressClient) Delete(ctx context.Context, resourceGroupName string, publicIPAddressName string) (result network.PublicIPAddressesDeleteFuture, err error)
Delete calls the MockPublicIPAddressClient's MockDelete method.
func (*MockPublicIPAddressClient) Get ¶
func (c *MockPublicIPAddressClient) Get(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (result network.PublicIPAddress, err error)
Get calls the MockPublicIPAddressClient's MockGet method.
func (*MockPublicIPAddressClient) List ¶
func (c *MockPublicIPAddressClient) List(ctx context.Context, resourceGroupName string) (result network.PublicIPAddressListResultPage, err error)
List calls the MockPublicIPAddressClient's MockListKeys method.
type MockSubnetsClient ¶
type MockSubnetsClient struct { networkapi.SubnetsClientAPI MockCreateOrUpdate func(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters network.Subnet) (result network.SubnetsCreateOrUpdateFuture, err error) MockDelete func(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result network.SubnetsDeleteFuture, err error) MockGet func(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (result network.Subnet, err error) MockList func(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.SubnetListResultPage, err error) }
MockSubnetsClient is a fake implementation of network.SubnetsClient.
func (*MockSubnetsClient) CreateOrUpdate ¶
func (c *MockSubnetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters network.Subnet) (result network.SubnetsCreateOrUpdateFuture, err error)
CreateOrUpdate calls the MockSubnetsClient's MockCreateOrUpdate method.
func (*MockSubnetsClient) Delete ¶
func (c *MockSubnetsClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result network.SubnetsDeleteFuture, err error)
Delete calls the MockSubnetsClient's MockDelete method.
func (*MockSubnetsClient) Get ¶
func (c *MockSubnetsClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (result network.Subnet, err error)
Get calls the MockSubnetsClient's MockGet method.
func (*MockSubnetsClient) List ¶
func (c *MockSubnetsClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.SubnetListResultPage, err error)
List calls the MockSubnetsClient's MockListKeys method.
type MockVirtualNetworksClient ¶
type MockVirtualNetworksClient struct { networkapi.VirtualNetworksClientAPI MockCreateOrUpdate func(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters network.VirtualNetwork) (result network.VirtualNetworksCreateOrUpdateFuture, err error) MockDelete func(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.VirtualNetworksDeleteFuture, err error) MockGet func(ctx context.Context, resourceGroupName string, virtualNetworkName string, expand string) (result network.VirtualNetwork, err error) MockList func(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkListResultPage, err error) }
MockVirtualNetworksClient is a fake implementation of network.VirtualNetworksClient.
func (*MockVirtualNetworksClient) CreateOrUpdate ¶
func (c *MockVirtualNetworksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters network.VirtualNetwork) (result network.VirtualNetworksCreateOrUpdateFuture, err error)
CreateOrUpdate calls the MockVirtualNetworksClient's MockCreateOrUpdate method.
func (*MockVirtualNetworksClient) Delete ¶
func (c *MockVirtualNetworksClient) Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.VirtualNetworksDeleteFuture, err error)
Delete calls the MockVirtualNetworksClient's MockDelete method.
func (*MockVirtualNetworksClient) Get ¶
func (c *MockVirtualNetworksClient) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, expand string) (result network.VirtualNetwork, err error)
Get calls the MockVirtualNetworksClient's MockGet method.
func (*MockVirtualNetworksClient) List ¶
func (c *MockVirtualNetworksClient) List(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkListResultPage, err error)
List calls the MockVirtualNetworksClient's MockListKeys method.