Versions in this module Expand all Collapse all v0 v0.1.0 Sep 19, 2019 Changes in this version + const UserAgent + func IsNotFound(err error) bool + func MySQLServerVirtualNetworkRuleNeedsUpdate(kube *azuredbv1alpha2.MysqlServerVirtualNetworkRule, ...) bool + func MySQLVirtualNetworkRuleStatusFromAzure(az mysql.VirtualNetworkRule) azuredbv1alpha2.VirtualNetworkRuleStatus + func NewMySQLVirtualNetworkRuleParameters(v *azuredbv1alpha2.MysqlServerVirtualNetworkRule) mysql.VirtualNetworkRule + func NewPostgreSQLVirtualNetworkRuleParameters(v *azuredbv1alpha2.PostgresqlServerVirtualNetworkRule) postgresql.VirtualNetworkRule + func PostgreSQLServerVirtualNetworkRuleNeedsUpdate(kube *azuredbv1alpha2.PostgresqlServerVirtualNetworkRule, ...) bool + func PostgreSQLVirtualNetworkRuleStatusFromAzure(az postgresql.VirtualNetworkRule) azuredbv1alpha2.VirtualNetworkRuleStatus + func SQLServerCondition(state string) runtimev1alpha1.Condition + func SQLServerSkuName(pricingTier azuredbv1alpha2.PricingTierSpec) (string, error) + func SQLServerStatusMessage(instanceName string, state string) string + func ToBoolPtr(b bool, o ...FieldOption) *bool + func ToGeoRedundantBackup(geoRedundantBackup bool) mysql.GeoRedundantBackup + func ToInt(i *int32) int + func ToInt32Ptr(i int, o ...FieldOption) *int32 + func ToSslEnforcement(sslEnforced bool) mysql.SslEnforcementEnum + func ToString(s *string) string + func ToStringPtr(s string, o ...FieldOption) *string + func ToStringPtrMap(m map[string]string) map[string]*string + func ValidateClient(client *Client) error + type ApplicationAPI interface + CreateApplication func(ctx context.Context, appParams ApplicationParameters) (*graphrbac.Application, error) + DeleteApplication func(ctx context.Context, appObjectID string) error + type ApplicationClient struct + func NewApplicationClient(provider *v1alpha2.Provider, clientset kubernetes.Interface) (*ApplicationClient, error) + func (c *ApplicationClient) CreateApplication(ctx context.Context, appParams ApplicationParameters) (*graphrbac.Application, error) + func (c *ApplicationClient) DeleteApplication(ctx context.Context, appObjectID string) error + type ApplicationParameters struct + ClientSecret string + DNSNamePrefix string + Location string + Name string + ObjectID string + type Client struct + SubscriptionID string + func NewClient(provider *v1alpha2.Provider, clientset kubernetes.Interface) (*Client, error) + type Credentials struct + ActiveDirectoryEndpointURL string + ActiveDirectoryGraphResourceID string + ClientID string + ClientSecret string + ResourceManagerEndpointURL string + SubscriptionID string + TenantID string + type FieldOption int + const FieldRequired + type MySQLServerClient struct + func NewMySQLServerClient(provider *v1alpha2.Provider, clientset kubernetes.Interface) (*MySQLServerClient, error) + func (c *MySQLServerClient) CreateFirewallRulesBegin(ctx context.Context, instance azuredbv1alpha2.SQLServer, ...) ([]byte, error) + func (c *MySQLServerClient) CreateFirewallRulesEnd(createOp []byte) (done bool, err error) + func (c *MySQLServerClient) CreateServerBegin(ctx context.Context, instance azuredbv1alpha2.SQLServer, adminPassword string) ([]byte, error) + func (c *MySQLServerClient) CreateServerEnd(createOp []byte) (done bool, err error) + func (c *MySQLServerClient) DeleteServer(ctx context.Context, instance azuredbv1alpha2.SQLServer) (azurerest.Future, error) + func (c *MySQLServerClient) GetFirewallRule(ctx context.Context, instance azuredbv1alpha2.SQLServer, ...) error + func (c *MySQLServerClient) GetServer(ctx context.Context, instance azuredbv1alpha2.SQLServer) (*SQLServer, error) + type MySQLServerClientFactory struct + func (f *MySQLServerClientFactory) CreateAPIInstance(provider *v1alpha2.Provider, clientset kubernetes.Interface) (SQLServerAPI, error) + type MySQLVirtualNetworkRulesClient mysqlapi.VirtualNetworkRulesClientAPI + func NewMySQLVirtualNetworkRulesClient(ctx context.Context, credentials []byte) (MySQLVirtualNetworkRulesClient, error) + type PostgreSQLServerClient struct + func NewPostgreSQLServerClient(provider *v1alpha2.Provider, clientset kubernetes.Interface) (*PostgreSQLServerClient, error) + func (c *PostgreSQLServerClient) CreateFirewallRulesBegin(ctx context.Context, instance azuredbv1alpha2.SQLServer, ...) ([]byte, error) + func (c *PostgreSQLServerClient) CreateFirewallRulesEnd(createOp []byte) (done bool, err error) + func (c *PostgreSQLServerClient) CreateServerBegin(ctx context.Context, instance azuredbv1alpha2.SQLServer, adminPassword string) ([]byte, error) + func (c *PostgreSQLServerClient) CreateServerEnd(createOp []byte) (done bool, err error) + func (c *PostgreSQLServerClient) DeleteServer(ctx context.Context, instance azuredbv1alpha2.SQLServer) (azurerest.Future, error) + func (c *PostgreSQLServerClient) GetFirewallRule(ctx context.Context, instance azuredbv1alpha2.SQLServer, ...) error + func (c *PostgreSQLServerClient) GetServer(ctx context.Context, instance azuredbv1alpha2.SQLServer) (*SQLServer, error) + type PostgreSQLServerClientFactory struct + func (f *PostgreSQLServerClientFactory) CreateAPIInstance(provider *v1alpha2.Provider, clientset kubernetes.Interface) (SQLServerAPI, error) + type PostgreSQLVirtualNetworkRulesClient postgresqlapi.VirtualNetworkRulesClientAPI + func NewPostgreSQLVirtualNetworkRulesClient(ctx context.Context, credentials []byte) (PostgreSQLVirtualNetworkRulesClient, error) + type SQLServer struct + FQDN string + ID string + State string + type SQLServerAPI interface + CreateFirewallRulesBegin func(ctx context.Context, instance azuredbv1alpha2.SQLServer, ...) ([]byte, error) + CreateFirewallRulesEnd func(createOp []byte) (bool, error) + CreateServerBegin func(ctx context.Context, instance azuredbv1alpha2.SQLServer, adminPassword string) ([]byte, error) + CreateServerEnd func(createOp []byte) (bool, error) + DeleteServer func(ctx context.Context, instance azuredbv1alpha2.SQLServer) (azurerest.Future, error) + GetFirewallRule func(ctx context.Context, instance azuredbv1alpha2.SQLServer, ...) (err error) + GetServer func(ctx context.Context, instance azuredbv1alpha2.SQLServer) (*SQLServer, error) + type SQLServerAPIFactory interface + CreateAPIInstance func(*v1alpha2.Provider, kubernetes.Interface) (SQLServerAPI, error) + type ServicePrincipalAPI interface + CreateServicePrincipal func(ctx context.Context, spID, appID string) (*graphrbac.ServicePrincipal, error) + DeleteServicePrincipal func(ctx context.Context, spID string) error + type ServicePrincipalClient struct + func NewServicePrincipalClient(provider *v1alpha2.Provider, clientset kubernetes.Interface) (*ServicePrincipalClient, error) + func (c *ServicePrincipalClient) CreateServicePrincipal(ctx context.Context, spID, appID string) (*graphrbac.ServicePrincipal, error) + func (c *ServicePrincipalClient) DeleteServicePrincipal(ctx context.Context, spID string) error