Documentation ¶
Index ¶
- 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 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.