spanner

package
v5.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const SpannerDatabaseAssetType string = "spanner.googleapis.com/Database"
View Source
const SpannerInstanceAssetType string = "spanner.googleapis.com/Instance"

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 FetchSpannerDatabaseIamPolicy

func FetchSpannerDatabaseIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func FetchSpannerInstanceIamPolicy

func FetchSpannerInstanceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func GetSpannerDatabaseApiObject

func GetSpannerDatabaseApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetSpannerDatabaseCaiObject

func GetSpannerDatabaseCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetSpannerDatabaseIamBindingCaiObject

func GetSpannerDatabaseIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetSpannerDatabaseIamMemberCaiObject

func GetSpannerDatabaseIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetSpannerDatabaseIamPolicyCaiObject

func GetSpannerDatabaseIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetSpannerInstanceApiObject

func GetSpannerInstanceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetSpannerInstanceCaiObject

func GetSpannerInstanceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetSpannerInstanceIamBindingCaiObject

func GetSpannerInstanceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetSpannerInstanceIamMemberCaiObject

func GetSpannerInstanceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetSpannerInstanceIamPolicyCaiObject

func GetSpannerInstanceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func MergeSpannerDatabaseIamBinding

func MergeSpannerDatabaseIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeSpannerDatabaseIamBindingDelete

func MergeSpannerDatabaseIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeSpannerDatabaseIamMember

func MergeSpannerDatabaseIamMember(existing, incoming cai.Asset) cai.Asset

func MergeSpannerDatabaseIamMemberDelete

func MergeSpannerDatabaseIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeSpannerDatabaseIamPolicy

func MergeSpannerDatabaseIamPolicy(existing, incoming cai.Asset) cai.Asset

func MergeSpannerInstanceIamBinding

func MergeSpannerInstanceIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeSpannerInstanceIamBindingDelete

func MergeSpannerInstanceIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeSpannerInstanceIamMember

func MergeSpannerInstanceIamMember(existing, incoming cai.Asset) cai.Asset

func MergeSpannerInstanceIamMemberDelete

func MergeSpannerInstanceIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeSpannerInstanceIamPolicy

func MergeSpannerInstanceIamPolicy(existing, incoming cai.Asset) cai.Asset

func ResourceConverterSpannerDatabase

func ResourceConverterSpannerDatabase() cai.ResourceConverter

func ResourceConverterSpannerDatabaseIamBinding

func ResourceConverterSpannerDatabaseIamBinding() cai.ResourceConverter

func ResourceConverterSpannerDatabaseIamMember

func ResourceConverterSpannerDatabaseIamMember() cai.ResourceConverter

func ResourceConverterSpannerDatabaseIamPolicy

func ResourceConverterSpannerDatabaseIamPolicy() cai.ResourceConverter

func ResourceConverterSpannerInstance

func ResourceConverterSpannerInstance() cai.ResourceConverter

func ResourceConverterSpannerInstanceIamBinding

func ResourceConverterSpannerInstanceIamBinding() cai.ResourceConverter

func ResourceConverterSpannerInstanceIamMember

func ResourceConverterSpannerInstanceIamMember() cai.ResourceConverter

func ResourceConverterSpannerInstanceIamPolicy

func ResourceConverterSpannerInstanceIamPolicy() cai.ResourceConverter

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