Documentation ¶
Index ¶
- type MockMySQLFirewallRulesClient
- func (c *MockMySQLFirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result mysql.FirewallRulesCreateOrUpdateFuture, err error)
- func (c *MockMySQLFirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result mysql.FirewallRulesDeleteFuture, err error)
- func (c *MockMySQLFirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result mysql.FirewallRule, err error)
- type MockMySQLVirtualNetworkRulesClient
- func (c *MockMySQLVirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result mysql.VirtualNetworkRulesCreateOrUpdateFuture, err error)
- func (c *MockMySQLVirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result mysql.VirtualNetworkRulesDeleteFuture, err error)
- func (c *MockMySQLVirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result mysql.VirtualNetworkRule, err error)
- type MockPostgreSQLFirewallRulesClient
- func (c *MockPostgreSQLFirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result postgresql.FirewallRulesCreateOrUpdateFuture, err error)
- func (c *MockPostgreSQLFirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result postgresql.FirewallRulesDeleteFuture, err error)
- func (c *MockPostgreSQLFirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result postgresql.FirewallRule, err error)
- type MockPostgreSQLVirtualNetworkRulesClient
- func (c *MockPostgreSQLVirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, ...) (result postgresql.VirtualNetworkRulesCreateOrUpdateFuture, err error)
- func (c *MockPostgreSQLVirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, ...) (result postgresql.VirtualNetworkRulesDeleteFuture, err error)
- func (c *MockPostgreSQLVirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, ...) (result postgresql.VirtualNetworkRule, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMySQLFirewallRulesClient ¶
type MockMySQLFirewallRulesClient struct { mysqlapi.FirewallRulesClientAPI MockCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters mysql.FirewallRule) (result mysql.FirewallRulesCreateOrUpdateFuture, err error) MockDelete func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result mysql.FirewallRulesDeleteFuture, err error) MockGet func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result mysql.FirewallRule, err error) }
MockMySQLFirewallRulesClient is a fake implementation of mysql.FirewallRulesClient.
func (*MockMySQLFirewallRulesClient) CreateOrUpdate ¶
func (c *MockMySQLFirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters mysql.FirewallRule) (result mysql.FirewallRulesCreateOrUpdateFuture, err error)
CreateOrUpdate calls the MockMySQLFirewallRulesClient's MockCreateOrUpdate method.
func (*MockMySQLFirewallRulesClient) Delete ¶
func (c *MockMySQLFirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result mysql.FirewallRulesDeleteFuture, err error)
Delete calls the MockMySQLFirewallRulesClient's MockDelete method.
type MockMySQLVirtualNetworkRulesClient ¶
type MockMySQLVirtualNetworkRulesClient struct { mysqlapi.VirtualNetworkRulesClientAPI MockCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters mysql.VirtualNetworkRule) (result mysql.VirtualNetworkRulesCreateOrUpdateFuture, err error) MockDelete func(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result mysql.VirtualNetworkRulesDeleteFuture, err error) MockGet func(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result mysql.VirtualNetworkRule, err error) }
MockMySQLVirtualNetworkRulesClient is a fake implementation of mysql.VirtualNetworkRulesClient.
func (*MockMySQLVirtualNetworkRulesClient) CreateOrUpdate ¶
func (c *MockMySQLVirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters mysql.VirtualNetworkRule) (result mysql.VirtualNetworkRulesCreateOrUpdateFuture, err error)
CreateOrUpdate calls the MockMySQLVirtualNetworkRulesClient's MockCreateOrUpdate method.
func (*MockMySQLVirtualNetworkRulesClient) Delete ¶
func (c *MockMySQLVirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result mysql.VirtualNetworkRulesDeleteFuture, err error)
Delete calls the MockMySQLVirtualNetworkRulesClient's MockDelete method.
func (*MockMySQLVirtualNetworkRulesClient) Get ¶
func (c *MockMySQLVirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result mysql.VirtualNetworkRule, err error)
Get calls the MockMySQLVirtualNetworkRulesClient's MockGet method.
type MockPostgreSQLFirewallRulesClient ¶
type MockPostgreSQLFirewallRulesClient struct { postgresqlapi.FirewallRulesClientAPI MockCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters postgresql.FirewallRule) (result postgresql.FirewallRulesCreateOrUpdateFuture, err error) MockDelete func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result postgresql.FirewallRulesDeleteFuture, err error) MockGet func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result postgresql.FirewallRule, err error) }
MockPostgreSQLFirewallRulesClient is a fake implementation of postgresql.FirewallRulesClient.
func (*MockPostgreSQLFirewallRulesClient) CreateOrUpdate ¶
func (c *MockPostgreSQLFirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters postgresql.FirewallRule) (result postgresql.FirewallRulesCreateOrUpdateFuture, err error)
CreateOrUpdate calls the MockPostgreSQLFirewallRulesClient's MockCreateOrUpdate method.
func (*MockPostgreSQLFirewallRulesClient) Delete ¶
func (c *MockPostgreSQLFirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result postgresql.FirewallRulesDeleteFuture, err error)
Delete calls the MockPostgreSQLFirewallRulesClient's MockDelete method.
func (*MockPostgreSQLFirewallRulesClient) Get ¶
func (c *MockPostgreSQLFirewallRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string) (result postgresql.FirewallRule, err error)
Get calls the MockPostgreSQLFirewallRulesClient's MockGet method.
type MockPostgreSQLVirtualNetworkRulesClient ¶
type MockPostgreSQLVirtualNetworkRulesClient struct { postgresqlapi.VirtualNetworkRulesClientAPI MockCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters postgresql.VirtualNetworkRule) (result postgresql.VirtualNetworkRulesCreateOrUpdateFuture, err error) MockDelete func(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result postgresql.VirtualNetworkRulesDeleteFuture, err error) MockGet func(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result postgresql.VirtualNetworkRule, err error) }
MockPostgreSQLVirtualNetworkRulesClient is a fake implementation of postgresql.VirtualNetworkRulesClient.
func (*MockPostgreSQLVirtualNetworkRulesClient) CreateOrUpdate ¶
func (c *MockPostgreSQLVirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters postgresql.VirtualNetworkRule) (result postgresql.VirtualNetworkRulesCreateOrUpdateFuture, err error)
CreateOrUpdate calls the MockPostgreSQLVirtualNetworkRulesClient's MockCreateOrUpdate method.
func (*MockPostgreSQLVirtualNetworkRulesClient) Delete ¶
func (c *MockPostgreSQLVirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result postgresql.VirtualNetworkRulesDeleteFuture, err error)
Delete calls the MockPostgreSQLVirtualNetworkRulesClient's MockDelete method.
func (*MockPostgreSQLVirtualNetworkRulesClient) Get ¶
func (c *MockPostgreSQLVirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string) (result postgresql.VirtualNetworkRule, err error)
Get calls the MockPostgreSQLVirtualNetworkRulesClient's MockGet method.