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
Index ¶
- Variables
- func DataSourceSpannerDatabase() *schema.Resource
- func DataSourceSpannerInstance() *schema.Resource
- func NewSpannerDatabaseIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NewSpannerInstanceIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func ResourceSpannerBackupSchedule() *schema.Resource
- func ResourceSpannerDatabase() *schema.Resource
- func ResourceSpannerInstance() *schema.Resource
- func ResourceSpannerInstanceConfig() *schema.Resource
- func SpannerDatabaseIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func SpannerInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func SpannerOperationWaitTime(config *transport_tpg.Config, op map[string]interface{}, ...) error
- func SpannerOperationWaitTimeWithResponse(config *transport_tpg.Config, op map[string]interface{}, ...) error
- type SpannerDatabaseIamUpdater
- func (u *SpannerDatabaseIamUpdater) DescribeResource() string
- func (u *SpannerDatabaseIamUpdater) GetMutexKey() string
- func (u *SpannerDatabaseIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *SpannerDatabaseIamUpdater) GetResourceId() string
- func (u *SpannerDatabaseIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type SpannerDatabaseId
- type SpannerInstanceIamUpdater
- func (u *SpannerInstanceIamUpdater) DescribeResource() string
- func (u *SpannerInstanceIamUpdater) GetMutexKey() string
- func (u *SpannerInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *SpannerInstanceIamUpdater) GetResourceId() string
- func (u *SpannerInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type SpannerInstanceId
- type SpannerOperationWaiter
Constants ¶
This section is empty.
Variables ¶
View Source
var IamSpannerDatabaseSchema = map[string]*schema.Schema{ "instance": { Type: schema.TypeString, Required: true, ForceNew: true, }, "database": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
View Source
var IamSpannerInstanceSchema = map[string]*schema.Schema{ "instance": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
Functions ¶
func NewSpannerDatabaseIamUpdater ¶
func NewSpannerDatabaseIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NewSpannerInstanceIamUpdater ¶
func NewSpannerInstanceIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func ResourceSpannerDatabase ¶
func ResourceSpannerInstance ¶
func SpannerDatabaseIdParseFunc ¶
func SpannerDatabaseIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func SpannerInstanceIdParseFunc ¶
func SpannerInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func SpannerOperationWaitTimeWithResponse ¶
func SpannerOperationWaitTimeWithResponse(config *transport_tpg.Config, op map[string]interface{}, response *map[string]interface{}, project, activity, userAgent string, timeout time.Duration) error
nolint: deadcode,unused
Types ¶
type SpannerDatabaseIamUpdater ¶
type SpannerDatabaseIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*SpannerDatabaseIamUpdater) DescribeResource ¶
func (u *SpannerDatabaseIamUpdater) DescribeResource() string
func (*SpannerDatabaseIamUpdater) GetMutexKey ¶
func (u *SpannerDatabaseIamUpdater) GetMutexKey() string
func (*SpannerDatabaseIamUpdater) GetResourceIamPolicy ¶
func (u *SpannerDatabaseIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SpannerDatabaseIamUpdater) GetResourceId ¶
func (u *SpannerDatabaseIamUpdater) GetResourceId() string
func (*SpannerDatabaseIamUpdater) SetResourceIamPolicy ¶
func (u *SpannerDatabaseIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type SpannerDatabaseId ¶
func (SpannerDatabaseId) TerraformId ¶
func (s SpannerDatabaseId) TerraformId() string
type SpannerInstanceIamUpdater ¶
type SpannerInstanceIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*SpannerInstanceIamUpdater) DescribeResource ¶
func (u *SpannerInstanceIamUpdater) DescribeResource() string
func (*SpannerInstanceIamUpdater) GetMutexKey ¶
func (u *SpannerInstanceIamUpdater) GetMutexKey() string
func (*SpannerInstanceIamUpdater) GetResourceIamPolicy ¶
func (u *SpannerInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SpannerInstanceIamUpdater) GetResourceId ¶
func (u *SpannerInstanceIamUpdater) GetResourceId() string
func (*SpannerInstanceIamUpdater) SetResourceIamPolicy ¶
func (u *SpannerInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type SpannerInstanceId ¶
func (SpannerInstanceId) TerraformId ¶
func (s SpannerInstanceId) TerraformId() string
type SpannerOperationWaiter ¶
type SpannerOperationWaiter struct { Config *transport_tpg.Config UserAgent string Project string tpgresource.CommonOperationWaiter }
func (*SpannerOperationWaiter) QueryOp ¶
func (w *SpannerOperationWaiter) QueryOp() (interface{}, error)
Source Files ¶
- data_source_spanner_database.go
- data_source_spanner_instance.go
- iam_spanner_database.go
- iam_spanner_instance.go
- resource_spanner_backup_schedule.go
- resource_spanner_backup_schedule_sweeper.go
- resource_spanner_database.go
- resource_spanner_instance.go
- resource_spanner_instance_config.go
- resource_spanner_instance_config_sweeper.go
- resource_spanner_instance_sweeper.go
- spanner_operation.go
Click to show internal directories.
Click to hide internal directories.