Documentation ¶
Index ¶
- type Args
- type IndexConfig
- type IndexConfigAttributes
- func (ic IndexConfigAttributes) Indexes() terra.SetValue[IndexConfigIndexesAttributes]
- func (ic IndexConfigAttributes) InternalRef() (terra.Reference, error)
- func (ic IndexConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic IndexConfigAttributes) InternalWithRef(ref terra.Reference) IndexConfigAttributes
- type IndexConfigIndexes
- type IndexConfigIndexesAttributes
- func (i IndexConfigIndexesAttributes) ArrayConfig() terra.StringValue
- func (i IndexConfigIndexesAttributes) InternalRef() (terra.Reference, error)
- func (i IndexConfigIndexesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IndexConfigIndexesAttributes) InternalWithRef(ref terra.Reference) IndexConfigIndexesAttributes
- func (i IndexConfigIndexesAttributes) Order() terra.StringValue
- func (i IndexConfigIndexesAttributes) QueryScope() terra.StringValue
- type IndexConfigIndexesState
- type IndexConfigState
- type Resource
- func (gff *Resource) Attributes() googleFirestoreFieldAttributes
- func (gff *Resource) Configuration() interface{}
- func (gff *Resource) DependOn() terra.Reference
- func (gff *Resource) Dependencies() terra.Dependencies
- func (gff *Resource) ImportState(state io.Reader) error
- func (gff *Resource) LifecycleManagement() *terra.Lifecycle
- func (gff *Resource) LocalName() string
- func (gff *Resource) State() (*googleFirestoreFieldState, bool)
- func (gff *Resource) StateMust() *googleFirestoreFieldState
- func (gff *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type TtlConfig
- type TtlConfigAttributes
- type TtlConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Collection: string, required Collection terra.StringValue `hcl:"collection,attr" validate:"required"` // Database: string, optional Database terra.StringValue `hcl:"database,attr"` // Field: string, required Field terra.StringValue `hcl:"field,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // IndexConfig: optional IndexConfig *IndexConfig `hcl:"index_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // TtlConfig: optional TtlConfig *TtlConfig `hcl:"ttl_config,block"` }
Args contains the configurations for google_firestore_field.
type IndexConfig ¶
type IndexConfig struct { // IndexConfigIndexes: min=0 Indexes []IndexConfigIndexes `hcl:"indexes,block" validate:"min=0"` }
type IndexConfigAttributes ¶
type IndexConfigAttributes struct {
// contains filtered or unexported fields
}
func (IndexConfigAttributes) Indexes ¶
func (ic IndexConfigAttributes) Indexes() terra.SetValue[IndexConfigIndexesAttributes]
func (IndexConfigAttributes) InternalRef ¶
func (ic IndexConfigAttributes) InternalRef() (terra.Reference, error)
func (IndexConfigAttributes) InternalTokens ¶
func (ic IndexConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IndexConfigAttributes) InternalWithRef ¶
func (ic IndexConfigAttributes) InternalWithRef(ref terra.Reference) IndexConfigAttributes
type IndexConfigIndexes ¶
type IndexConfigIndexes struct { // ArrayConfig: string, optional ArrayConfig terra.StringValue `hcl:"array_config,attr"` // Order: string, optional Order terra.StringValue `hcl:"order,attr"` // QueryScope: string, optional QueryScope terra.StringValue `hcl:"query_scope,attr"` }
type IndexConfigIndexesAttributes ¶
type IndexConfigIndexesAttributes struct {
// contains filtered or unexported fields
}
func (IndexConfigIndexesAttributes) ArrayConfig ¶
func (i IndexConfigIndexesAttributes) ArrayConfig() terra.StringValue
func (IndexConfigIndexesAttributes) InternalRef ¶
func (i IndexConfigIndexesAttributes) InternalRef() (terra.Reference, error)
func (IndexConfigIndexesAttributes) InternalTokens ¶
func (i IndexConfigIndexesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IndexConfigIndexesAttributes) InternalWithRef ¶
func (i IndexConfigIndexesAttributes) InternalWithRef(ref terra.Reference) IndexConfigIndexesAttributes
func (IndexConfigIndexesAttributes) Order ¶
func (i IndexConfigIndexesAttributes) Order() terra.StringValue
func (IndexConfigIndexesAttributes) QueryScope ¶
func (i IndexConfigIndexesAttributes) QueryScope() terra.StringValue
type IndexConfigIndexesState ¶
type IndexConfigState ¶
type IndexConfigState struct {
Indexes []IndexConfigIndexesState `json:"indexes"`
}
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_firestore_field.
func (*Resource) Attributes ¶
func (gff *Resource) Attributes() googleFirestoreFieldAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gff *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gff *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type TtlConfigAttributes ¶
type TtlConfigAttributes struct {
// contains filtered or unexported fields
}
func (TtlConfigAttributes) InternalRef ¶
func (tc TtlConfigAttributes) InternalRef() (terra.Reference, error)
func (TtlConfigAttributes) InternalTokens ¶
func (tc TtlConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TtlConfigAttributes) InternalWithRef ¶
func (tc TtlConfigAttributes) InternalWithRef(ref terra.Reference) TtlConfigAttributes
func (TtlConfigAttributes) State ¶
func (tc TtlConfigAttributes) State() terra.StringValue
type TtlConfigState ¶
type TtlConfigState struct {
State string `json:"state"`
}
Click to show internal directories.
Click to hide internal directories.