Documentation ¶
Index ¶
- func CleanupAuthNetworks(ctx context.Context, target *resolved.Instance, mgr *common_main.Manager) error
- func CleanupConnectionProfiles(ctx context.Context, cfg *config.Config, gcpProject *resolved.GcpProject, ...) error
- func CreateConnectionProfiles(ctx context.Context, cfg *config.Config, gcpProject *resolved.GcpProject, ...) error
- func CreateInstance(ctx context.Context, cfg *config.Config, source *resolved.Instance, ...) (*resolved.Instance, error)
- func DefineInstance(instanceSettings *config.InstanceSettings, app *nais_io_v1alpha1.Application) *nais_io_v1.CloudSqlInstance
- func DeleteInstance(ctx context.Context, instanceName string, gcpProject *resolved.GcpProject, ...) error
- func DeleteSslCertByCommonName(ctx context.Context, instanceName, commonName string, ...) error
- func PrepareSourceInstance(ctx context.Context, source *resolved.Instance, target *resolved.Instance, ...) error
- func PrepareTargetInstance(ctx context.Context, target *resolved.Instance, mgr *common_main.Manager) error
- func UpdateTargetInstanceAfterPromotion(ctx context.Context, target *resolved.Instance, mgr *common_main.Manager) error
- func WaitForCnrmResourcesToGoAway(ctx context.Context, instanceName, applicationName string, ...) error
- func WaitForSQLDatabaseResourceToGoAway(ctx context.Context, appName string, mgr *common_main.Manager) error
- type CertPaths
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupAuthNetworks ¶
func CleanupConnectionProfiles ¶
func CleanupConnectionProfiles(ctx context.Context, cfg *config.Config, gcpProject *resolved.GcpProject, mgr *common_main.Manager) error
func CreateInstance ¶
func DefineInstance ¶
func DefineInstance(instanceSettings *config.InstanceSettings, app *nais_io_v1alpha1.Application) *nais_io_v1.CloudSqlInstance
func DeleteInstance ¶
func DeleteInstance(ctx context.Context, instanceName string, gcpProject *resolved.GcpProject, mgr *common_main.Manager) error
func DeleteSslCertByCommonName ¶
func DeleteSslCertByCommonName(ctx context.Context, instanceName, commonName string, gcpProject *resolved.GcpProject, mgr *common_main.Manager) error
func PrepareSourceInstance ¶
func PrepareTargetInstance ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.