Documentation ¶
Index ¶
Constants ¶
View Source
const ( DatabaseFamilyMySQL = "MYSQL" DatabaseFamilyPostgres = "POSTGRES" DatabaseFamilySQLServer = "SQLSERVER" )
View Source
const ( DatabaseVersionMySQL_5_6 = "MYSQL_5_6" DatabaseVersionMySQL_5_7 = "MYSQL_5_7" DatabaseVersionMySQL_8_0 = "MYSQL_8_0" DatabaseVersionPostgres_9_6 = "POSTGRES_9_6" DatabaseVersionPostgres_10 = "POSTGRES_10" DatabaseVersionPostgres_11 = "POSTGRES_11" DatabaseVersionPostgres_12 = "POSTGRES_12" DatabaseVersionPostgres_13 = "POSTGRES_13" DatabaseVersionSQLServer_2017_STANDARD = "SQLSERVER_2017_STANDARD" DatabaseVersionSQLServer_2017_ENTERPRISE = "SQLSERVER_2017_ENTERPRISE" DatabaseVersionSQLServer_2017_EXPRESS = "SQLSERVER_2017_EXPRESS" DatabaseVersionSQLServer_2017_WEB = "SQLSERVER_2017_WEB" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backups ¶ added in v0.3.23
func (*Backups) GetMetadata ¶ added in v0.3.24
func (*Backups) GetRawValue ¶ added in v0.3.24
func (b *Backups) GetRawValue() interface{}
type DatabaseInstance ¶
type DatabaseInstance struct { types.Metadata DatabaseVersion types.StringValue Settings Settings }
func (*DatabaseInstance) DatabaseFamily ¶
func (i *DatabaseInstance) DatabaseFamily() string
func (*DatabaseInstance) GetMetadata ¶ added in v0.3.24
func (d *DatabaseInstance) GetMetadata() *types.Metadata
func (*DatabaseInstance) GetRawValue ¶ added in v0.3.24
func (d *DatabaseInstance) GetRawValue() interface{}
type Flags ¶ added in v0.3.23
type Flags struct { types.Metadata LogTempFileSize types.IntValue LocalInFile types.BoolValue ContainedDatabaseAuthentication types.BoolValue CrossDBOwnershipChaining types.BoolValue LogCheckpoints types.BoolValue LogConnections types.BoolValue LogDisconnections types.BoolValue LogLockWaits types.BoolValue LogMinMessages types.StringValue // FATAL, PANIC, LOG, ERROR, WARN LogMinDurationStatement types.IntValue }
func (*Flags) GetMetadata ¶ added in v0.3.24
func (*Flags) GetRawValue ¶ added in v0.3.24
func (f *Flags) GetRawValue() interface{}
type IPConfiguration ¶ added in v0.3.23
type IPConfiguration struct { types.Metadata RequireTLS types.BoolValue EnableIPv4 types.BoolValue AuthorizedNetworks []struct { Name types.StringValue CIDR types.StringValue } }
func (*IPConfiguration) GetMetadata ¶ added in v0.3.24
func (i *IPConfiguration) GetMetadata() *types.Metadata
func (*IPConfiguration) GetRawValue ¶ added in v0.3.24
func (i *IPConfiguration) GetRawValue() interface{}
type SQL ¶
type SQL struct { types.Metadata Instances []DatabaseInstance }
func (*SQL) GetMetadata ¶ added in v0.3.24
func (*SQL) GetRawValue ¶ added in v0.3.24
func (s *SQL) GetRawValue() interface{}
type Settings ¶ added in v0.3.23
type Settings struct { types.Metadata Flags Flags Backups Backups IPConfiguration IPConfiguration }
func (*Settings) GetMetadata ¶ added in v0.3.24
func (*Settings) GetRawValue ¶ added in v0.3.24
func (s *Settings) GetRawValue() interface{}
Click to show internal directories.
Click to hide internal directories.