Documentation ¶
Index ¶
- func GetDBInstances(account internal.GCPAccount) []*sqladmin.DatabaseInstance
- func RunChecks(wa *sync.WaitGroup, account internal.GCPAccount, c *commons.Config, ...)
- func SQLBackupsAreMultiRegional(resource commons.Resource) bool
- func SQLInstanceBackupWithPITREnabled(resource commons.Resource) bool
- func SQLInstanceEncryptedTrafficEnforced(resource commons.Resource) bool
- func SQLInstanceIsEncryptedWithKMS(resource commons.Resource) bool
- func SQLInstanceIsRegional(resource commons.Resource) bool
- func SQLInstanceNotPublicIP(resource commons.Resource) bool
- type SQLInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDBInstances ¶
func GetDBInstances(account internal.GCPAccount) []*sqladmin.DatabaseInstance
Get all the SQL instances of the account, only keep the instance of type CLOUD_SQL_INSTANCE
func SQLBackupsAreMultiRegional ¶ added in v1.4.0
func SQLInstanceIsRegional ¶
func SQLInstanceNotPublicIP ¶
Types ¶
type SQLInstance ¶
type SQLInstance struct {
Instance sqladmin.DatabaseInstance
}
func (*SQLInstance) GetID ¶
func (s *SQLInstance) GetID() string
Click to show internal directories.
Click to hide internal directories.