configuration

package
v0.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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

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

CreateOrUpdate creates or updates a MySQL Server Configuration

func (*MySQLConfigurationClient) Delete

Delete deletes the given MySQL Server Configuration

func (*MySQLConfigurationClient) Get

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

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

CreateOrUpdate creates or updates a PostgreSQL Server Configuration

func (*PostgreSQLConfigurationClient) Delete

Delete deletes the given PostgreSQL Server Configuration

func (*PostgreSQLConfigurationClient) Get

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL