Documentation ¶
Index ¶
- func GetGoNetworkSubnetClient(creds config.Credentials, subscription string) network.SubnetsClient
- type MySQLVNetRuleClient
- func (c *MySQLVNetRuleClient) CreateOrUpdateSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ...) (vnr mysql.VirtualNetworkRule, err error)
- func (vr *MySQLVNetRuleClient) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (c *MySQLVNetRuleClient) DeleteSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ...) (err error)
- func (vr *MySQLVNetRuleClient) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (vr *MySQLVNetRuleClient) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
- func (c *MySQLVNetRuleClient) GetSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ...) (result mysql.VirtualNetworkRule, err error)
- func (vr *MySQLVNetRuleClient) GetStatus(obj runtime.Object) (*azurev1alpha1.ASOStatus, error)
- type MySqlVNetRuleManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGoNetworkSubnetClient ¶
func GetGoNetworkSubnetClient(creds config.Credentials, subscription string) network.SubnetsClient
GetNetworkSubnetClient retrieves a Subnetclient
Types ¶
type MySQLVNetRuleClient ¶
type MySQLVNetRuleClient struct {
// contains filtered or unexported fields
}
func NewMySQLVNetRuleClient ¶
func NewMySQLVNetRuleClient(creds config.Credentials) *MySQLVNetRuleClient
func (*MySQLVNetRuleClient) CreateOrUpdateSQLVNetRule ¶
func (c *MySQLVNetRuleClient) CreateOrUpdateSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string, VNetRG string, VNetName string, SubnetName string, subscription string, IgnoreServiceEndpoint bool) (vnr mysql.VirtualNetworkRule, err error)
CreateOrUpdateSQLVNetRule creates or updates a VNet rule based on code from: https://godoc.org/github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/v3.0/sql#VirtualNetworkRulesClient.CreateOrUpdate
func (*MySQLVNetRuleClient) Delete ¶
func (vr *MySQLVNetRuleClient) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Delete drops a sqlvnetrule
func (*MySQLVNetRuleClient) DeleteSQLVNetRule ¶
func (c *MySQLVNetRuleClient) DeleteSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (err error)
DeleteSQLVNetRule deletes a VNet rule
func (*MySQLVNetRuleClient) Ensure ¶
func (vr *MySQLVNetRuleClient) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Ensure creates a sqlvnetrule
func (*MySQLVNetRuleClient) GetParents ¶
func (vr *MySQLVNetRuleClient) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
GetParents returns the parents of sqlvnetrule
func (*MySQLVNetRuleClient) GetSQLVNetRule ¶
func (c *MySQLVNetRuleClient) GetSQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (result mysql.VirtualNetworkRule, err error)
GetSQLVNetRule returns a VNet rule
func (*MySQLVNetRuleClient) GetStatus ¶
func (vr *MySQLVNetRuleClient) GetStatus(obj runtime.Object) (*azurev1alpha1.ASOStatus, error)
type MySqlVNetRuleManager ¶
type MySqlVNetRuleManager interface { CreateOrUpdateMySQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string, VNetRG string, VNetName string, SubnetName string, IgnoreServiceEndpoint bool) (result mysql.VirtualNetworkRule, err error) DeleteMySQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (err error) GetMySQLVNetRule(ctx context.Context, resourceGroupName string, serverName string, ruleName string) (result mysql.VirtualNetworkRule, err error) resourcemanager.ARMClient }
Click to show internal directories.
Click to hide internal directories.