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
Index ¶
- Constants
- Variables
- func BigtableInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func BigtableTableIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func FlattenColumnFamily(families []string) []map[string]interface{}
- func GcPolicyToGCRuleString(gc bigtable.GCPolicy, topLevel bool) (map[string]interface{}, error)
- func NewBigtableInstanceUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NewBigtableTableUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func ParseDuration(s string) (time.Duration, error)
- func ResourceBigtableAppProfile() *schema.Resource
- func ResourceBigtableGCPolicy() *schema.Resource
- func ResourceBigtableInstance() *schema.Resource
- func ResourceBigtableInstanceUpgradeV0(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)
- func ResourceBigtableTable() *schema.Resource
- type BigtableInstanceIamUpdater
- func (u *BigtableInstanceIamUpdater) DescribeResource() string
- func (u *BigtableInstanceIamUpdater) GetMutexKey() string
- func (u *BigtableInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BigtableInstanceIamUpdater) GetResourceId() string
- func (u *BigtableInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type BigtableTableIamUpdater
- func (u *BigtableTableIamUpdater) DescribeResource() string
- func (u *BigtableTableIamUpdater) GetMutexKey() string
- func (u *BigtableTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BigtableTableIamUpdater) GetResourceId() string
- func (u *BigtableTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Constants ¶
const ( GCPolicyModeIntersection = "INTERSECTION" GCPolicyModeUnion = "UNION" )
Variables ¶
var IamBigtableInstanceSchema = map[string]*schema.Schema{ "instance": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, }
var IamBigtableTableSchema = map[string]*schema.Schema{ "instance": { Type: schema.TypeString, Required: true, ForceNew: true, }, "project": { Type: schema.TypeString, Optional: true, Computed: true, ForceNew: true, }, "table": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
Functions ¶
func BigtableInstanceIdParseFunc ¶
func BigtableInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func BigtableTableIdParseFunc ¶
func BigtableTableIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func FlattenColumnFamily ¶
func GcPolicyToGCRuleString ¶
Recursively convert Bigtable GC policy to JSON format in a map.
func NewBigtableInstanceUpdater ¶
func NewBigtableInstanceUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NewBigtableTableUpdater ¶
func NewBigtableTableUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func ParseDuration ¶
ParseDuration parses a duration string. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
func ResourceBigtableTable ¶
Types ¶
type BigtableInstanceIamUpdater ¶
type BigtableInstanceIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*BigtableInstanceIamUpdater) DescribeResource ¶
func (u *BigtableInstanceIamUpdater) DescribeResource() string
func (*BigtableInstanceIamUpdater) GetMutexKey ¶
func (u *BigtableInstanceIamUpdater) GetMutexKey() string
func (*BigtableInstanceIamUpdater) GetResourceIamPolicy ¶
func (u *BigtableInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*BigtableInstanceIamUpdater) GetResourceId ¶
func (u *BigtableInstanceIamUpdater) GetResourceId() string
func (*BigtableInstanceIamUpdater) SetResourceIamPolicy ¶
func (u *BigtableInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
type BigtableTableIamUpdater ¶
type BigtableTableIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*BigtableTableIamUpdater) DescribeResource ¶
func (u *BigtableTableIamUpdater) DescribeResource() string
func (*BigtableTableIamUpdater) GetMutexKey ¶
func (u *BigtableTableIamUpdater) GetMutexKey() string
func (*BigtableTableIamUpdater) GetResourceIamPolicy ¶
func (u *BigtableTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*BigtableTableIamUpdater) GetResourceId ¶
func (u *BigtableTableIamUpdater) GetResourceId() string
func (*BigtableTableIamUpdater) SetResourceIamPolicy ¶
func (u *BigtableTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error