Documentation ¶
Index ¶
- type AutoscaleSettings
- type AutoscaleSettingsAttributes
- func (as AutoscaleSettingsAttributes) InternalRef() (terra.Reference, error)
- func (as AutoscaleSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as AutoscaleSettingsAttributes) InternalWithRef(ref terra.Reference) AutoscaleSettingsAttributes
- func (as AutoscaleSettingsAttributes) MaxThroughput() terra.NumberValue
- type AutoscaleSettingsState
- type CompositeIndex
- type CompositeIndexAttributes
- func (ci CompositeIndexAttributes) Index() terra.ListValue[IndexAttributes]
- func (ci CompositeIndexAttributes) InternalRef() (terra.Reference, error)
- func (ci CompositeIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ci CompositeIndexAttributes) InternalWithRef(ref terra.Reference) CompositeIndexAttributes
- type CompositeIndexState
- type ConflictResolutionPolicy
- type ConflictResolutionPolicyAttributes
- func (crp ConflictResolutionPolicyAttributes) ConflictResolutionPath() terra.StringValue
- func (crp ConflictResolutionPolicyAttributes) ConflictResolutionProcedure() terra.StringValue
- func (crp ConflictResolutionPolicyAttributes) InternalRef() (terra.Reference, error)
- func (crp ConflictResolutionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crp ConflictResolutionPolicyAttributes) InternalWithRef(ref terra.Reference) ConflictResolutionPolicyAttributes
- func (crp ConflictResolutionPolicyAttributes) Mode() terra.StringValue
- type ConflictResolutionPolicyState
- type Index
- type IndexAttributes
- func (i IndexAttributes) InternalRef() (terra.Reference, error)
- func (i IndexAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IndexAttributes) InternalWithRef(ref terra.Reference) IndexAttributes
- func (i IndexAttributes) Order() terra.StringValue
- func (i IndexAttributes) Path() terra.StringValue
- type IndexPolicy
- type IndexPolicyAttributes
- func (ip IndexPolicyAttributes) Automatic() terra.BoolValue
- func (ip IndexPolicyAttributes) CompositeIndex() terra.ListValue[CompositeIndexAttributes]
- func (ip IndexPolicyAttributes) ExcludedPaths() terra.SetValue[terra.StringValue]
- func (ip IndexPolicyAttributes) IncludedPaths() terra.SetValue[terra.StringValue]
- func (ip IndexPolicyAttributes) IndexingMode() terra.StringValue
- func (ip IndexPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ip IndexPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ip IndexPolicyAttributes) InternalWithRef(ref terra.Reference) IndexPolicyAttributes
- func (ip IndexPolicyAttributes) SpatialIndex() terra.ListValue[SpatialIndexAttributes]
- type IndexPolicyState
- type IndexState
- type SpatialIndex
- type SpatialIndexAttributes
- func (si SpatialIndexAttributes) InternalRef() (terra.Reference, error)
- func (si SpatialIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (si SpatialIndexAttributes) InternalWithRef(ref terra.Reference) SpatialIndexAttributes
- func (si SpatialIndexAttributes) Path() terra.StringValue
- func (si SpatialIndexAttributes) Types() terra.SetValue[terra.StringValue]
- type SpatialIndexState
- 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) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type UniqueKey
- type UniqueKeyAttributes
- type UniqueKeyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoscaleSettings ¶
type AutoscaleSettings struct { // MaxThroughput: number, optional MaxThroughput terra.NumberValue `hcl:"max_throughput,attr"` }
type AutoscaleSettingsAttributes ¶
type AutoscaleSettingsAttributes struct {
// contains filtered or unexported fields
}
func (AutoscaleSettingsAttributes) InternalRef ¶
func (as AutoscaleSettingsAttributes) InternalRef() (terra.Reference, error)
func (AutoscaleSettingsAttributes) InternalTokens ¶
func (as AutoscaleSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoscaleSettingsAttributes) InternalWithRef ¶
func (as AutoscaleSettingsAttributes) InternalWithRef(ref terra.Reference) AutoscaleSettingsAttributes
func (AutoscaleSettingsAttributes) MaxThroughput ¶
func (as AutoscaleSettingsAttributes) MaxThroughput() terra.NumberValue
type AutoscaleSettingsState ¶
type AutoscaleSettingsState struct {
MaxThroughput float64 `json:"max_throughput"`
}
type CompositeIndex ¶
type CompositeIndex struct { // Index: min=1 Index []Index `hcl:"index,block" validate:"min=1"` }
type CompositeIndexAttributes ¶
type CompositeIndexAttributes struct {
// contains filtered or unexported fields
}
func (CompositeIndexAttributes) Index ¶
func (ci CompositeIndexAttributes) Index() terra.ListValue[IndexAttributes]
func (CompositeIndexAttributes) InternalRef ¶
func (ci CompositeIndexAttributes) InternalRef() (terra.Reference, error)
func (CompositeIndexAttributes) InternalTokens ¶
func (ci CompositeIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CompositeIndexAttributes) InternalWithRef ¶
func (ci CompositeIndexAttributes) InternalWithRef(ref terra.Reference) CompositeIndexAttributes
type CompositeIndexState ¶
type CompositeIndexState struct {
Index []IndexState `json:"index"`
}
type ConflictResolutionPolicy ¶
type ConflictResolutionPolicy struct { // ConflictResolutionPath: string, optional ConflictResolutionPath terra.StringValue `hcl:"conflict_resolution_path,attr"` // ConflictResolutionProcedure: string, optional ConflictResolutionProcedure terra.StringValue `hcl:"conflict_resolution_procedure,attr"` // Mode: string, required Mode terra.StringValue `hcl:"mode,attr" validate:"required"` }
type ConflictResolutionPolicyAttributes ¶
type ConflictResolutionPolicyAttributes struct {
// contains filtered or unexported fields
}
func (ConflictResolutionPolicyAttributes) ConflictResolutionPath ¶
func (crp ConflictResolutionPolicyAttributes) ConflictResolutionPath() terra.StringValue
func (ConflictResolutionPolicyAttributes) ConflictResolutionProcedure ¶
func (crp ConflictResolutionPolicyAttributes) ConflictResolutionProcedure() terra.StringValue
func (ConflictResolutionPolicyAttributes) InternalRef ¶
func (crp ConflictResolutionPolicyAttributes) InternalRef() (terra.Reference, error)
func (ConflictResolutionPolicyAttributes) InternalTokens ¶
func (crp ConflictResolutionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConflictResolutionPolicyAttributes) InternalWithRef ¶
func (crp ConflictResolutionPolicyAttributes) InternalWithRef(ref terra.Reference) ConflictResolutionPolicyAttributes
func (ConflictResolutionPolicyAttributes) Mode ¶
func (crp ConflictResolutionPolicyAttributes) Mode() terra.StringValue
type Index ¶
type Index struct { // Order: string, required Order terra.StringValue `hcl:"order,attr" validate:"required"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` }
type IndexAttributes ¶
type IndexAttributes struct {
// contains filtered or unexported fields
}
func (IndexAttributes) InternalRef ¶
func (i IndexAttributes) InternalRef() (terra.Reference, error)
func (IndexAttributes) InternalTokens ¶
func (i IndexAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IndexAttributes) InternalWithRef ¶
func (i IndexAttributes) InternalWithRef(ref terra.Reference) IndexAttributes
func (IndexAttributes) Order ¶
func (i IndexAttributes) Order() terra.StringValue
func (IndexAttributes) Path ¶
func (i IndexAttributes) Path() terra.StringValue
type IndexPolicy ¶
type IndexPolicy struct { // Automatic: bool, optional Automatic terra.BoolValue `hcl:"automatic,attr"` // ExcludedPaths: set of string, optional ExcludedPaths terra.SetValue[terra.StringValue] `hcl:"excluded_paths,attr"` // IncludedPaths: set of string, optional IncludedPaths terra.SetValue[terra.StringValue] `hcl:"included_paths,attr"` // IndexingMode: string, required IndexingMode terra.StringValue `hcl:"indexing_mode,attr" validate:"required"` // CompositeIndex: min=0 CompositeIndex []CompositeIndex `hcl:"composite_index,block" validate:"min=0"` // SpatialIndex: min=0 SpatialIndex []SpatialIndex `hcl:"spatial_index,block" validate:"min=0"` }
type IndexPolicyAttributes ¶
type IndexPolicyAttributes struct {
// contains filtered or unexported fields
}
func (IndexPolicyAttributes) Automatic ¶
func (ip IndexPolicyAttributes) Automatic() terra.BoolValue
func (IndexPolicyAttributes) CompositeIndex ¶
func (ip IndexPolicyAttributes) CompositeIndex() terra.ListValue[CompositeIndexAttributes]
func (IndexPolicyAttributes) ExcludedPaths ¶
func (ip IndexPolicyAttributes) ExcludedPaths() terra.SetValue[terra.StringValue]
func (IndexPolicyAttributes) IncludedPaths ¶
func (ip IndexPolicyAttributes) IncludedPaths() terra.SetValue[terra.StringValue]
func (IndexPolicyAttributes) IndexingMode ¶
func (ip IndexPolicyAttributes) IndexingMode() terra.StringValue
func (IndexPolicyAttributes) InternalRef ¶
func (ip IndexPolicyAttributes) InternalRef() (terra.Reference, error)
func (IndexPolicyAttributes) InternalTokens ¶
func (ip IndexPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IndexPolicyAttributes) InternalWithRef ¶
func (ip IndexPolicyAttributes) InternalWithRef(ref terra.Reference) IndexPolicyAttributes
func (IndexPolicyAttributes) SpatialIndex ¶
func (ip IndexPolicyAttributes) SpatialIndex() terra.ListValue[SpatialIndexAttributes]
type IndexPolicyState ¶
type IndexPolicyState struct { Automatic bool `json:"automatic"` ExcludedPaths []string `json:"excluded_paths"` IncludedPaths []string `json:"included_paths"` IndexingMode string `json:"indexing_mode"` CompositeIndex []CompositeIndexState `json:"composite_index"` SpatialIndex []SpatialIndexState `json:"spatial_index"` }
type IndexState ¶
type SpatialIndex ¶
type SpatialIndex struct { // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` }
type SpatialIndexAttributes ¶
type SpatialIndexAttributes struct {
// contains filtered or unexported fields
}
func (SpatialIndexAttributes) InternalRef ¶
func (si SpatialIndexAttributes) InternalRef() (terra.Reference, error)
func (SpatialIndexAttributes) InternalTokens ¶
func (si SpatialIndexAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpatialIndexAttributes) InternalWithRef ¶
func (si SpatialIndexAttributes) InternalWithRef(ref terra.Reference) SpatialIndexAttributes
func (SpatialIndexAttributes) Path ¶
func (si SpatialIndexAttributes) Path() terra.StringValue
func (SpatialIndexAttributes) Types ¶
func (si SpatialIndexAttributes) Types() terra.SetValue[terra.StringValue]
type SpatialIndexState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type UniqueKey ¶
type UniqueKey struct { // Paths: set of string, required Paths terra.SetValue[terra.StringValue] `hcl:"paths,attr" validate:"required"` }
type UniqueKeyAttributes ¶
type UniqueKeyAttributes struct {
// contains filtered or unexported fields
}
func (UniqueKeyAttributes) InternalRef ¶
func (uk UniqueKeyAttributes) InternalRef() (terra.Reference, error)
func (UniqueKeyAttributes) InternalTokens ¶
func (uk UniqueKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UniqueKeyAttributes) InternalWithRef ¶
func (uk UniqueKeyAttributes) InternalWithRef(ref terra.Reference) UniqueKeyAttributes
func (UniqueKeyAttributes) Paths ¶
func (uk UniqueKeyAttributes) Paths() terra.SetValue[terra.StringValue]
type UniqueKeyState ¶
type UniqueKeyState struct {
Paths []string `json:"paths"`
}
Click to show internal directories.
Click to hide internal directories.