Documentation ¶
Index ¶
- Constants
- Variables
- func FetchSpannerDatabaseIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func FetchSpannerInstanceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GetSpannerDatabaseApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSpannerDatabaseCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSpannerDatabaseIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSpannerDatabaseIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSpannerDatabaseIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSpannerInstanceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSpannerInstanceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSpannerInstanceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSpannerInstanceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSpannerInstanceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeSpannerDatabaseIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeSpannerDatabaseIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeSpannerDatabaseIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeSpannerDatabaseIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeSpannerDatabaseIamPolicy(existing, incoming cai.Asset) cai.Asset
- func MergeSpannerInstanceIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeSpannerInstanceIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeSpannerInstanceIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeSpannerInstanceIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeSpannerInstanceIamPolicy(existing, incoming cai.Asset) cai.Asset
- 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 ResourceConverterSpannerDatabase() cai.ResourceConverter
- func ResourceConverterSpannerDatabaseIamBinding() cai.ResourceConverter
- func ResourceConverterSpannerDatabaseIamMember() cai.ResourceConverter
- func ResourceConverterSpannerDatabaseIamPolicy() cai.ResourceConverter
- func ResourceConverterSpannerInstance() cai.ResourceConverter
- func ResourceConverterSpannerInstanceIamBinding() cai.ResourceConverter
- func ResourceConverterSpannerInstanceIamMember() cai.ResourceConverter
- func ResourceConverterSpannerInstanceIamPolicy() cai.ResourceConverter
- func SpannerDatabaseIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func SpannerInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) 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
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 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 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 ¶
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
Click to show internal directories.
Click to hide internal directories.