Documentation ¶
Index ¶
- type Args
- type MaxAge
- type MaxAgeAttributes
- func (ma MaxAgeAttributes) Days() terra.NumberValue
- func (ma MaxAgeAttributes) Duration() terra.StringValue
- func (ma MaxAgeAttributes) InternalRef() (terra.Reference, error)
- func (ma MaxAgeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ma MaxAgeAttributes) InternalWithRef(ref terra.Reference) MaxAgeAttributes
- type MaxAgeState
- type MaxVersion
- type MaxVersionAttributes
- type MaxVersionState
- type Resource
- func (gbgp *Resource) Attributes() googleBigtableGcPolicyAttributes
- func (gbgp *Resource) Configuration() interface{}
- func (gbgp *Resource) DependOn() terra.Reference
- func (gbgp *Resource) Dependencies() terra.Dependencies
- func (gbgp *Resource) ImportState(state io.Reader) error
- func (gbgp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gbgp *Resource) LocalName() string
- func (gbgp *Resource) State() (*googleBigtableGcPolicyState, bool)
- func (gbgp *Resource) StateMust() *googleBigtableGcPolicyState
- func (gbgp *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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ColumnFamily: string, required ColumnFamily terra.StringValue `hcl:"column_family,attr" validate:"required"` // DeletionPolicy: string, optional DeletionPolicy terra.StringValue `hcl:"deletion_policy,attr"` // GcRules: string, optional GcRules terra.StringValue `hcl:"gc_rules,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceName: string, required InstanceName terra.StringValue `hcl:"instance_name,attr" validate:"required"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Table: string, required Table terra.StringValue `hcl:"table,attr" validate:"required"` // MaxAge: optional MaxAge *MaxAge `hcl:"max_age,block"` // MaxVersion: min=0 MaxVersion []MaxVersion `hcl:"max_version,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_bigtable_gc_policy.
type MaxAge ¶
type MaxAge struct { // Days: number, optional Days terra.NumberValue `hcl:"days,attr"` // Duration: string, optional Duration terra.StringValue `hcl:"duration,attr"` }
type MaxAgeAttributes ¶
type MaxAgeAttributes struct {
// contains filtered or unexported fields
}
func (MaxAgeAttributes) Days ¶
func (ma MaxAgeAttributes) Days() terra.NumberValue
func (MaxAgeAttributes) Duration ¶
func (ma MaxAgeAttributes) Duration() terra.StringValue
func (MaxAgeAttributes) InternalRef ¶
func (ma MaxAgeAttributes) InternalRef() (terra.Reference, error)
func (MaxAgeAttributes) InternalTokens ¶
func (ma MaxAgeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaxAgeAttributes) InternalWithRef ¶
func (ma MaxAgeAttributes) InternalWithRef(ref terra.Reference) MaxAgeAttributes
type MaxAgeState ¶
type MaxVersion ¶
type MaxVersion struct { // Number: number, required Number terra.NumberValue `hcl:"number,attr" validate:"required"` }
type MaxVersionAttributes ¶
type MaxVersionAttributes struct {
// contains filtered or unexported fields
}
func (MaxVersionAttributes) InternalRef ¶
func (mv MaxVersionAttributes) InternalRef() (terra.Reference, error)
func (MaxVersionAttributes) InternalTokens ¶
func (mv MaxVersionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaxVersionAttributes) InternalWithRef ¶
func (mv MaxVersionAttributes) InternalWithRef(ref terra.Reference) MaxVersionAttributes
func (MaxVersionAttributes) Number ¶
func (mv MaxVersionAttributes) Number() terra.NumberValue
type MaxVersionState ¶
type MaxVersionState struct {
Number float64 `json:"number"`
}
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_bigtable_gc_policy.
func (*Resource) Attributes ¶
func (gbgp *Resource) Attributes() googleBigtableGcPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gbgp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gbgp *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"` }
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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.