Documentation ¶
Index ¶
- Constants
- func IsMySQLConfigurationUpToDate(p azuredbv1beta1.SQLServerConfigurationParameters, in mysql.Configuration) bool
- func IsPostgreSQLConfigurationUpToDate(p azuredbv1beta1.SQLServerConfigurationParameters, in postgresql.Configuration) bool
- func UpdateMySQLConfigurationObservation(o *azuredbv1beta1.SQLServerConfigurationObservation, in mysql.Configuration)
- func UpdatePostgreSQLConfigurationObservation(o *azuredbv1beta1.SQLServerConfigurationObservation, ...)
- type MySQLConfigurationAPI
- type MySQLConfigurationClient
- func (c *MySQLConfigurationClient) CreateOrUpdate(ctx context.Context, cr *azuredbv1beta1.MySQLServerConfiguration) error
- func (c *MySQLConfigurationClient) Delete(ctx context.Context, cr *azuredbv1beta1.MySQLServerConfiguration) error
- func (c *MySQLConfigurationClient) Get(ctx context.Context, cr *azuredbv1beta1.MySQLServerConfiguration) (mysql.Configuration, error)
- func (c *MySQLConfigurationClient) GetRESTClient() autorest.Sender
- type PostgreSQLConfigurationAPI
- type PostgreSQLConfigurationClient
- func (c *PostgreSQLConfigurationClient) CreateOrUpdate(ctx context.Context, cr *azuredbv1beta1.PostgreSQLServerConfiguration) error
- func (c *PostgreSQLConfigurationClient) Delete(ctx context.Context, cr *azuredbv1beta1.PostgreSQLServerConfiguration) error
- func (c *PostgreSQLConfigurationClient) Get(ctx context.Context, cr *azuredbv1beta1.PostgreSQLServerConfiguration) (postgresql.Configuration, error)
- func (c *PostgreSQLConfigurationClient) GetRESTClient() autorest.Sender
Constants ¶
const (
// SourceSystemManaged represents the source for system-managed configuration values
SourceSystemManaged = "system-default"
)
Variables ¶
This section is empty.
Functions ¶
func IsMySQLConfigurationUpToDate ¶
func IsMySQLConfigurationUpToDate(p azuredbv1beta1.SQLServerConfigurationParameters, in mysql.Configuration) bool
IsMySQLConfigurationUpToDate is used to report whether given mysql.Configuration is in sync with the SQLServerConfigurationParameters that user desires.
func IsPostgreSQLConfigurationUpToDate ¶
func IsPostgreSQLConfigurationUpToDate(p azuredbv1beta1.SQLServerConfigurationParameters, in postgresql.Configuration) bool
IsPostgreSQLConfigurationUpToDate is used to report whether given postgresql.Configuration is in sync with the SQLServerConfigurationParameters that user desires.
func UpdateMySQLConfigurationObservation ¶
func UpdateMySQLConfigurationObservation(o *azuredbv1beta1.SQLServerConfigurationObservation, in mysql.Configuration)
UpdateMySQLConfigurationObservation produces SQLServerConfigurationObservation from mysql.Configuration.
func UpdatePostgreSQLConfigurationObservation ¶
func UpdatePostgreSQLConfigurationObservation(o *azuredbv1beta1.SQLServerConfigurationObservation, in postgresql.Configuration)
UpdatePostgreSQLConfigurationObservation produces SQLServerConfigurationObservation from postgresql.Configuration.
Types ¶
type MySQLConfigurationAPI ¶
type MySQLConfigurationAPI interface { Get(ctx context.Context, s *azuredbv1beta1.MySQLServerConfiguration) (mysql.Configuration, error) CreateOrUpdate(ctx context.Context, s *azuredbv1beta1.MySQLServerConfiguration) error Delete(ctx context.Context, s *azuredbv1beta1.MySQLServerConfiguration) error GetRESTClient() autorest.Sender }
MySQLConfigurationAPI represents the API interface for a MySQL Server Configuration client
type MySQLConfigurationClient ¶
type MySQLConfigurationClient struct {
mysql.ConfigurationsClient
}
MySQLConfigurationClient is the concreate implementation of the MySQLConfigurationAPI interface for MySQL that calls Azure API.
func NewMySQLConfigurationClient ¶
func NewMySQLConfigurationClient(cl mysql.ConfigurationsClient) *MySQLConfigurationClient
NewMySQLConfigurationClient creates and initializes a MySQLConfigurationClient instance.
func (*MySQLConfigurationClient) CreateOrUpdate ¶
func (c *MySQLConfigurationClient) CreateOrUpdate(ctx context.Context, cr *azuredbv1beta1.MySQLServerConfiguration) error
CreateOrUpdate creates or updates a MySQL Server Configuration
func (*MySQLConfigurationClient) Delete ¶
func (c *MySQLConfigurationClient) Delete(ctx context.Context, cr *azuredbv1beta1.MySQLServerConfiguration) error
Delete deletes the given MySQL Server Configuration
func (*MySQLConfigurationClient) Get ¶
func (c *MySQLConfigurationClient) Get(ctx context.Context, cr *azuredbv1beta1.MySQLServerConfiguration) (mysql.Configuration, error)
Get retrieves the requested MySQL Configuration
func (*MySQLConfigurationClient) GetRESTClient ¶
func (c *MySQLConfigurationClient) GetRESTClient() autorest.Sender
GetRESTClient returns the underlying REST client that the client object uses.
type PostgreSQLConfigurationAPI ¶
type PostgreSQLConfigurationAPI interface { Get(ctx context.Context, s *azuredbv1beta1.PostgreSQLServerConfiguration) (postgresql.Configuration, error) CreateOrUpdate(ctx context.Context, s *azuredbv1beta1.PostgreSQLServerConfiguration) error Delete(ctx context.Context, s *azuredbv1beta1.PostgreSQLServerConfiguration) error GetRESTClient() autorest.Sender }
PostgreSQLConfigurationAPI represents the API interface for a PostgreSQL Server Configuration client
type PostgreSQLConfigurationClient ¶
type PostgreSQLConfigurationClient struct {
postgresql.ConfigurationsClient
}
PostgreSQLConfigurationClient is the concreate implementation of the PostgreSQLConfigurationAPI interface for PostgreSQL that calls Azure API.
func NewPostgreSQLConfigurationClient ¶
func NewPostgreSQLConfigurationClient(cl postgresql.ConfigurationsClient) *PostgreSQLConfigurationClient
NewPostgreSQLConfigurationClient creates and initializes a PostgreSQLConfigurationClient instance.
func (*PostgreSQLConfigurationClient) CreateOrUpdate ¶
func (c *PostgreSQLConfigurationClient) CreateOrUpdate(ctx context.Context, cr *azuredbv1beta1.PostgreSQLServerConfiguration) error
CreateOrUpdate creates or updates a PostgreSQL Server Configuration
func (*PostgreSQLConfigurationClient) Delete ¶
func (c *PostgreSQLConfigurationClient) Delete(ctx context.Context, cr *azuredbv1beta1.PostgreSQLServerConfiguration) error
Delete deletes the given PostgreSQL Server Configuration
func (*PostgreSQLConfigurationClient) Get ¶
func (c *PostgreSQLConfigurationClient) Get(ctx context.Context, cr *azuredbv1beta1.PostgreSQLServerConfiguration) (postgresql.Configuration, error)
Get retrieves the requested PostgreSQL Configuration
func (*PostgreSQLConfigurationClient) GetRESTClient ¶
func (c *PostgreSQLConfigurationClient) GetRESTClient() autorest.Sender
GetRESTClient returns the underlying REST client that the client object uses.