mysql

package
v0.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	azureEnvironment azure.Environment,
	armDeployer arm.Deployer,
	checkNameAvailabilityClient mysqlSDK.CheckNameAvailabilityClient,
	serversClient mysqlSDK.ServersClient,
	databaseClient mysqlSDK.DatabasesClient,
) service.Module

New returns a new instance of a type that fulfills the service.Module interface and is capable of provisioning MySQL DBMS and databases using "Azure Database for MySQL"

Types

type AllInOneProvisioningParameters

type AllInOneProvisioningParameters struct {
	DBMSProvisioningParameters `json:",squash"`
}

AllInOneProvisioningParameters encapsulates non-sensitive dbms AND database MySQL-specific provisioning options

type Credentials

type Credentials struct {
	Host        string   `json:"host"`
	Port        int      `json:"port"`
	Database    string   `json:"database"`
	Username    string   `json:"username"`
	Password    string   `json:"password"`
	SSLRequired bool     `json:"sslRequired"`
	URI         string   `json:"uri"`
	Tags        []string `json:"tags"`
}

Credentials encapsulates MySQL-specific coonection details and credentials.

type DBMSProvisioningParameters

type DBMSProvisioningParameters struct {
	SSLEnforcement string         `json:"sslEnforcement"`
	FirewallRules  []FirewallRule `json:"firewallRules"`
}

DBMSProvisioningParameters encapsulates non-sensitive MySQL-specific DBMS provisioning options

type FirewallRule

type FirewallRule struct {
	Name    string `json:"name"`
	StartIP string `json:"startIPAddress"`
	EndIP   string `json:"endIPAddress"`
}

FirewallRule represents a firewall rule to be applied to the DBMS

Jump to

Keyboard shortcuts

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