package
0.1.0
Repository: https://github.com/hasheddan/crossplane.git
Documentation: pkg.go.dev

# Functions

IsNotFound returns a value indicating whether the given error represents that the resource was not found.
MySQLServerConditionType converts the given MySQL Server state string into a corresponding condition type.
MySQLServerSkuName returns the name of the MySQL Server SKU, which is tier + family + cores, e.g.
MySQLServerStatusMessage returns a status message based on the given server state.
NewAKSClusterClient creates and initializes a AKSClusterClient instance.
NewApplicationClient creates and initializes a ApplicationClient instance.
NewClient will look up the Azure credential information from the given provider and return a client that can be used to connect to Azure services.
NewMySQLServerClient creates and initializes a MySQLServerClient instance.
NewServicePrincipalClient creates and initializes a ServicePrincipalClient instance.
SanitizeClusterName sanitizes the given AKS cluster name.
ToGeoRedundantBackup converts the given bool its corresponding GeoRedundantBackup value.
ToSslEnforcement converts the given bool its corresponding SslEnforcementEnum value.
ValidateClient verifies if the given client is valid by testing if it can make an Azure service API call TODO: is there a better way to validate the Azure client?.

# Constants

AgentPoolProfileNameFmt is a format string for the name of the automatically created cluster agent pool profile.
UserAgent is the user agent extension that identifies the Crossplane Azure client.

# Structs

AKSClusterClient is the concreate implementation of the AKSClusterAPI interface that calls Azure API.
AKSSetupClient is a type that implements all of the AKS setup interface.
AKSSetupClientFactory implements the AKSSetupAPIFactory interface by returning real clients that talk to Azure APIs.
ApplicationClient is the concreate implementation of the ApplicationAPI interface that calls Azure API.
ApplicationParameters are the parameters used to create an AD application.
Client struct that represents the information needed to connect to the Azure services as a client.
MySQLServerClient is the concreate implementation of the MySQLServerAPI interface that calls Azure API.
MySQLServerClientFactory implements the MySQLServerAPIFactory by returning the concrete MySQLServerClient implementation.
ServicePrincipalClient is the concreate implementation of the ServicePrincipalAPI interface that calls Azure API.

# Interfaces

AKSClusterAPI represents the API interface for a AKS Cluster client.
AKSSetupAPIFactory is an interface that can create instances of the AKSSetupClient.
ApplicationAPI represents the API interface for an Azure Application client.
MySQLServerAPI represents the API interface for a MySQL Server client.
MySQLServerAPIFactory is an interface that can create instances of the MySQLServerAPI interface.
ServicePrincipalAPI represents the API interface for an Azure service principal client.