bigtable

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: 21 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

Index

Constants

View Source
const (
	GCPolicyModeIntersection = "INTERSECTION"
	GCPolicyModeUnion        = "UNION"
)

Variables

View Source
var IamBigtableInstanceSchema = map[string]*schema.Schema{
	"instance": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"project": {
		Type:     schema.TypeString,
		Optional: true,
		Computed: true,
		ForceNew: true,
	},
}
View Source
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 FlattenColumnFamily(families []string) []map[string]interface{}

func GcPolicyToGCRuleString

func GcPolicyToGCRuleString(gc bigtable.GCPolicy, topLevel bool) (map[string]interface{}, error)

Recursively convert Bigtable GC policy to JSON format in a map.

func ParseDuration

func ParseDuration(s string) (time.Duration, error)

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 ResourceBigtableAppProfile

func ResourceBigtableAppProfile() *schema.Resource

func ResourceBigtableGCPolicy

func ResourceBigtableGCPolicy() *schema.Resource

func ResourceBigtableInstance

func ResourceBigtableInstance() *schema.Resource

func ResourceBigtableInstanceUpgradeV0

func ResourceBigtableInstanceUpgradeV0(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)

func ResourceBigtableTable

func ResourceBigtableTable() *schema.Resource

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

Jump to

Keyboard shortcuts

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