sql

package
v0.0.0-...-7000f67 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceGoogleSQLCaCerts

func DataSourceGoogleSQLCaCerts() *schema.Resource

func DataSourceGoogleSQLTiers

func DataSourceGoogleSQLTiers() *schema.Resource

func DataSourceSqlBackupRun

func DataSourceSqlBackupRun() *schema.Resource

func DataSourceSqlDatabase

func DataSourceSqlDatabase() *schema.Resource

func DataSourceSqlDatabaseInstance

func DataSourceSqlDatabaseInstance() *schema.Resource

func DataSourceSqlDatabaseInstanceLatestRecoveryTime

func DataSourceSqlDatabaseInstanceLatestRecoveryTime() *schema.Resource

func DataSourceSqlDatabaseInstances

func DataSourceSqlDatabaseInstances() *schema.Resource

func DataSourceSqlDatabases

func DataSourceSqlDatabases() *schema.Resource

func IsSqlInternalError

func IsSqlInternalError(err error) (bool, string)

Retry if Cloud SQL operation returns a 429 with a specific message for concurrent operations.

func ResourceSQLDatabase

func ResourceSQLDatabase() *schema.Resource

func ResourceSQLSourceRepresentationInstance

func ResourceSQLSourceRepresentationInstance() *schema.Resource

func ResourceSqlDatabaseInstance

func ResourceSqlDatabaseInstance() *schema.Resource

func ResourceSqlSslCert

func ResourceSqlSslCert() *schema.Resource

func ResourceSqlUser

func ResourceSqlUser() *schema.Resource

func SqlAdminOperationWaitTime

func SqlAdminOperationWaitTime(config *transport_tpg.Config, res interface{}, project, activity, userAgent string, timeout time.Duration) error

Types

type SqlAdminOperationError

type SqlAdminOperationError sqladmin.OperationErrors

SqlAdminOperationError wraps sqladmin.OperationError and implements the error interface so it can be returned.

func (SqlAdminOperationError) Error

func (e SqlAdminOperationError) Error() string

type SqlAdminOperationWaiter

type SqlAdminOperationWaiter struct {
	Service *sqladmin.Service
	Op      *sqladmin.Operation
	Project string
}

func (*SqlAdminOperationWaiter) Error

func (w *SqlAdminOperationWaiter) Error() error

func (*SqlAdminOperationWaiter) IsRetryable

func (w *SqlAdminOperationWaiter) IsRetryable(error) bool

func (*SqlAdminOperationWaiter) OpName

func (w *SqlAdminOperationWaiter) OpName() string

func (*SqlAdminOperationWaiter) PendingStates

func (w *SqlAdminOperationWaiter) PendingStates() []string

func (*SqlAdminOperationWaiter) QueryOp

func (w *SqlAdminOperationWaiter) QueryOp() (interface{}, error)

func (*SqlAdminOperationWaiter) SetOp

func (w *SqlAdminOperationWaiter) SetOp(op interface{}) error

func (*SqlAdminOperationWaiter) State

func (w *SqlAdminOperationWaiter) State() string

func (*SqlAdminOperationWaiter) TargetStates

func (w *SqlAdminOperationWaiter) TargetStates() []string

Jump to

Keyboard shortcuts

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