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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CloudSQLConditionType converts the given CloudSQL state string into a corresponding condition type.
CloudSQLStatusMessage returns a status message based on the state of the given instance.
CredentialsFromFile retrieve google service account credentials from the provided json file.
GetGoogleClient returns a client object that can be used to interact with the Google API.
IsErrorAlreadyExists gets a value indicating whether the given error represents a "conflict" response from the Google API.
IsErrorBadRequest gets a value indicating whether the given error represents a "bad request" response from the Google API.
IsErrorNotFound gets a value indicating whether the given error represents a "not found" response from the Google API.
No description provided by the author
No description provided by the author
NewCloudSQLClient creates a new instance of a CloudSQLClient.
Project returns project information.
ProviderCredentials return google credentials based on the provider's credentials secret data.
TestPermissions tests service account permission using provided credentials and assert that it has all the provided permissions.
No description provided by the author

# Constants

DefaultScope is the default scope to use for a GCP client.

# Structs

CloudSQLClient implements the CloudSQLAPI interface for real CloudSQL instances.
CloudSQLClientFactory will create a real CloudSQL client that talks to GCP.
ProjectInfo represent GCP Project information.

# Interfaces

CloudSQLAPI provides an interface for operations on CloudSQL instances.
CloudSQLAPIFactory defines an interface for creating instances of the CloudSQLAPI interface.