spanner

package
v0.0.0-...-0d862b9 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0, MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 DataSourceSpannerInstance

func DataSourceSpannerInstance() *schema.Resource

func SpannerDatabaseIdParseFunc

func SpannerDatabaseIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func SpannerInstanceIdParseFunc

func SpannerInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

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

type SpannerDatabaseId struct {
	Project  string
	Instance string
	Database string
}

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

type SpannerInstanceId struct {
	Project  string
	Instance string
}

func (SpannerInstanceId) TerraformId

func (s SpannerInstanceId) TerraformId() string

Jump to

Keyboard shortcuts

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