Documentation ¶
Index ¶
- type Args
- type DiscoveryEndpointsAttributes
- func (de DiscoveryEndpointsAttributes) Address() terra.StringValue
- func (de DiscoveryEndpointsAttributes) InternalRef() (terra.Reference, error)
- func (de DiscoveryEndpointsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (de DiscoveryEndpointsAttributes) InternalWithRef(ref terra.Reference) DiscoveryEndpointsAttributes
- func (de DiscoveryEndpointsAttributes) Port() terra.NumberValue
- func (de DiscoveryEndpointsAttributes) PscConfig() terra.ListValue[DiscoveryEndpointsPscConfigAttributes]
- type DiscoveryEndpointsPscConfigAttributes
- func (pc DiscoveryEndpointsPscConfigAttributes) InternalRef() (terra.Reference, error)
- func (pc DiscoveryEndpointsPscConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc DiscoveryEndpointsPscConfigAttributes) InternalWithRef(ref terra.Reference) DiscoveryEndpointsPscConfigAttributes
- func (pc DiscoveryEndpointsPscConfigAttributes) Network() terra.StringValue
- type DiscoveryEndpointsPscConfigState
- type DiscoveryEndpointsState
- type PscConfigs
- type PscConfigsAttributes
- type PscConfigsState
- type PscConnectionsAttributes
- func (pc PscConnectionsAttributes) Address() terra.StringValue
- func (pc PscConnectionsAttributes) ForwardingRule() terra.StringValue
- func (pc PscConnectionsAttributes) InternalRef() (terra.Reference, error)
- func (pc PscConnectionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc PscConnectionsAttributes) InternalWithRef(ref terra.Reference) PscConnectionsAttributes
- func (pc PscConnectionsAttributes) Network() terra.StringValue
- func (pc PscConnectionsAttributes) ProjectId() terra.StringValue
- func (pc PscConnectionsAttributes) PscConnectionId() terra.StringValue
- type PscConnectionsState
- type Resource
- func (grc *Resource) Attributes() googleRedisClusterAttributes
- func (grc *Resource) Configuration() interface{}
- func (grc *Resource) DependOn() terra.Reference
- func (grc *Resource) Dependencies() terra.Dependencies
- func (grc *Resource) ImportState(state io.Reader) error
- func (grc *Resource) LifecycleManagement() *terra.Lifecycle
- func (grc *Resource) LocalName() string
- func (grc *Resource) State() (*googleRedisClusterState, bool)
- func (grc *Resource) StateMust() *googleRedisClusterState
- func (grc *Resource) Type() string
- type StateInfoAttributes
- func (si StateInfoAttributes) InternalRef() (terra.Reference, error)
- func (si StateInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (si StateInfoAttributes) InternalWithRef(ref terra.Reference) StateInfoAttributes
- func (si StateInfoAttributes) UpdateInfo() terra.ListValue[StateInfoUpdateInfoAttributes]
- type StateInfoState
- type StateInfoUpdateInfoAttributes
- func (ui StateInfoUpdateInfoAttributes) InternalRef() (terra.Reference, error)
- func (ui StateInfoUpdateInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ui StateInfoUpdateInfoAttributes) InternalWithRef(ref terra.Reference) StateInfoUpdateInfoAttributes
- func (ui StateInfoUpdateInfoAttributes) TargetReplicaCount() terra.NumberValue
- func (ui StateInfoUpdateInfoAttributes) TargetShardCount() terra.NumberValue
- type StateInfoUpdateInfoState
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AuthorizationMode: string, optional AuthorizationMode terra.StringValue `hcl:"authorization_mode,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NodeType: string, optional NodeType terra.StringValue `hcl:"node_type,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // ReplicaCount: number, optional ReplicaCount terra.NumberValue `hcl:"replica_count,attr"` // ShardCount: number, required ShardCount terra.NumberValue `hcl:"shard_count,attr" validate:"required"` // TransitEncryptionMode: string, optional TransitEncryptionMode terra.StringValue `hcl:"transit_encryption_mode,attr"` // PscConfigs: min=1 PscConfigs []PscConfigs `hcl:"psc_configs,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_redis_cluster.
type DiscoveryEndpointsAttributes ¶
type DiscoveryEndpointsAttributes struct {
// contains filtered or unexported fields
}
func (DiscoveryEndpointsAttributes) Address ¶
func (de DiscoveryEndpointsAttributes) Address() terra.StringValue
func (DiscoveryEndpointsAttributes) InternalRef ¶
func (de DiscoveryEndpointsAttributes) InternalRef() (terra.Reference, error)
func (DiscoveryEndpointsAttributes) InternalTokens ¶
func (de DiscoveryEndpointsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiscoveryEndpointsAttributes) InternalWithRef ¶
func (de DiscoveryEndpointsAttributes) InternalWithRef(ref terra.Reference) DiscoveryEndpointsAttributes
func (DiscoveryEndpointsAttributes) Port ¶
func (de DiscoveryEndpointsAttributes) Port() terra.NumberValue
func (DiscoveryEndpointsAttributes) PscConfig ¶
func (de DiscoveryEndpointsAttributes) PscConfig() terra.ListValue[DiscoveryEndpointsPscConfigAttributes]
type DiscoveryEndpointsPscConfigAttributes ¶
type DiscoveryEndpointsPscConfigAttributes struct {
// contains filtered or unexported fields
}
func (DiscoveryEndpointsPscConfigAttributes) InternalRef ¶
func (pc DiscoveryEndpointsPscConfigAttributes) InternalRef() (terra.Reference, error)
func (DiscoveryEndpointsPscConfigAttributes) InternalTokens ¶
func (pc DiscoveryEndpointsPscConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiscoveryEndpointsPscConfigAttributes) InternalWithRef ¶
func (pc DiscoveryEndpointsPscConfigAttributes) InternalWithRef(ref terra.Reference) DiscoveryEndpointsPscConfigAttributes
func (DiscoveryEndpointsPscConfigAttributes) Network ¶
func (pc DiscoveryEndpointsPscConfigAttributes) Network() terra.StringValue
type DiscoveryEndpointsPscConfigState ¶
type DiscoveryEndpointsPscConfigState struct {
Network string `json:"network"`
}
type DiscoveryEndpointsState ¶
type DiscoveryEndpointsState struct { Address string `json:"address"` Port float64 `json:"port"` PscConfig []DiscoveryEndpointsPscConfigState `json:"psc_config"` }
type PscConfigs ¶
type PscConfigs struct { // Network: string, required Network terra.StringValue `hcl:"network,attr" validate:"required"` }
type PscConfigsAttributes ¶
type PscConfigsAttributes struct {
// contains filtered or unexported fields
}
func (PscConfigsAttributes) InternalRef ¶
func (pc PscConfigsAttributes) InternalRef() (terra.Reference, error)
func (PscConfigsAttributes) InternalTokens ¶
func (pc PscConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PscConfigsAttributes) InternalWithRef ¶
func (pc PscConfigsAttributes) InternalWithRef(ref terra.Reference) PscConfigsAttributes
func (PscConfigsAttributes) Network ¶
func (pc PscConfigsAttributes) Network() terra.StringValue
type PscConfigsState ¶
type PscConfigsState struct {
Network string `json:"network"`
}
type PscConnectionsAttributes ¶
type PscConnectionsAttributes struct {
// contains filtered or unexported fields
}
func (PscConnectionsAttributes) Address ¶
func (pc PscConnectionsAttributes) Address() terra.StringValue
func (PscConnectionsAttributes) ForwardingRule ¶
func (pc PscConnectionsAttributes) ForwardingRule() terra.StringValue
func (PscConnectionsAttributes) InternalRef ¶
func (pc PscConnectionsAttributes) InternalRef() (terra.Reference, error)
func (PscConnectionsAttributes) InternalTokens ¶
func (pc PscConnectionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PscConnectionsAttributes) InternalWithRef ¶
func (pc PscConnectionsAttributes) InternalWithRef(ref terra.Reference) PscConnectionsAttributes
func (PscConnectionsAttributes) Network ¶
func (pc PscConnectionsAttributes) Network() terra.StringValue
func (PscConnectionsAttributes) ProjectId ¶
func (pc PscConnectionsAttributes) ProjectId() terra.StringValue
func (PscConnectionsAttributes) PscConnectionId ¶
func (pc PscConnectionsAttributes) PscConnectionId() terra.StringValue
type PscConnectionsState ¶
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_redis_cluster.
func (*Resource) Attributes ¶
func (grc *Resource) Attributes() googleRedisClusterAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (grc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (grc *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 StateInfoAttributes ¶
type StateInfoAttributes struct {
// contains filtered or unexported fields
}
func (StateInfoAttributes) InternalRef ¶
func (si StateInfoAttributes) InternalRef() (terra.Reference, error)
func (StateInfoAttributes) InternalTokens ¶
func (si StateInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StateInfoAttributes) InternalWithRef ¶
func (si StateInfoAttributes) InternalWithRef(ref terra.Reference) StateInfoAttributes
func (StateInfoAttributes) UpdateInfo ¶
func (si StateInfoAttributes) UpdateInfo() terra.ListValue[StateInfoUpdateInfoAttributes]
type StateInfoState ¶
type StateInfoState struct {
UpdateInfo []StateInfoUpdateInfoState `json:"update_info"`
}
type StateInfoUpdateInfoAttributes ¶
type StateInfoUpdateInfoAttributes struct {
// contains filtered or unexported fields
}
func (StateInfoUpdateInfoAttributes) InternalRef ¶
func (ui StateInfoUpdateInfoAttributes) InternalRef() (terra.Reference, error)
func (StateInfoUpdateInfoAttributes) InternalTokens ¶
func (ui StateInfoUpdateInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StateInfoUpdateInfoAttributes) InternalWithRef ¶
func (ui StateInfoUpdateInfoAttributes) InternalWithRef(ref terra.Reference) StateInfoUpdateInfoAttributes
func (StateInfoUpdateInfoAttributes) TargetReplicaCount ¶
func (ui StateInfoUpdateInfoAttributes) TargetReplicaCount() terra.NumberValue
func (StateInfoUpdateInfoAttributes) TargetShardCount ¶
func (ui StateInfoUpdateInfoAttributes) TargetShardCount() terra.NumberValue
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 ¶
Click to show internal directories.
Click to hide internal directories.