Documentation ¶
Index ¶
- type ClusterEndpoint
- type ClusterEndpointAttributes
- func (ce ClusterEndpointAttributes) Address() terra.StringValue
- func (ce ClusterEndpointAttributes) InternalRef() (terra.Reference, error)
- func (ce ClusterEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ce ClusterEndpointAttributes) InternalWithRef(ref terra.Reference) ClusterEndpointAttributes
- func (ce ClusterEndpointAttributes) Port() terra.NumberValue
- type ClusterEndpointState
- type Endpoint
- type EndpointAttributes
- func (e EndpointAttributes) Address() terra.StringValue
- func (e EndpointAttributes) InternalRef() (terra.Reference, error)
- func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes
- func (e EndpointAttributes) Port() terra.NumberValue
- type EndpointState
- type Nodes
- type NodesAttributes
- func (n NodesAttributes) AvailabilityZone() terra.StringValue
- func (n NodesAttributes) CreateTime() terra.StringValue
- func (n NodesAttributes) Endpoint() terra.ListValue[EndpointAttributes]
- func (n NodesAttributes) InternalRef() (terra.Reference, error)
- func (n NodesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n NodesAttributes) InternalWithRef(ref terra.Reference) NodesAttributes
- func (n NodesAttributes) Name() terra.StringValue
- type NodesState
- type Shards
- type ShardsAttributes
- func (s ShardsAttributes) InternalRef() (terra.Reference, error)
- func (s ShardsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ShardsAttributes) InternalWithRef(ref terra.Reference) ShardsAttributes
- func (s ShardsAttributes) Name() terra.StringValue
- func (s ShardsAttributes) Nodes() terra.SetValue[NodesAttributes]
- func (s ShardsAttributes) NumNodes() terra.NumberValue
- func (s ShardsAttributes) Slots() terra.StringValue
- type ShardsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterEndpoint ¶
type ClusterEndpoint struct{}
type ClusterEndpointAttributes ¶
type ClusterEndpointAttributes struct {
// contains filtered or unexported fields
}
func (ClusterEndpointAttributes) Address ¶
func (ce ClusterEndpointAttributes) Address() terra.StringValue
func (ClusterEndpointAttributes) InternalRef ¶
func (ce ClusterEndpointAttributes) InternalRef() (terra.Reference, error)
func (ClusterEndpointAttributes) InternalTokens ¶
func (ce ClusterEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClusterEndpointAttributes) InternalWithRef ¶
func (ce ClusterEndpointAttributes) InternalWithRef(ref terra.Reference) ClusterEndpointAttributes
func (ClusterEndpointAttributes) Port ¶
func (ce ClusterEndpointAttributes) Port() terra.NumberValue
type ClusterEndpointState ¶
type EndpointAttributes ¶
type EndpointAttributes struct {
// contains filtered or unexported fields
}
func (EndpointAttributes) Address ¶
func (e EndpointAttributes) Address() terra.StringValue
func (EndpointAttributes) InternalRef ¶
func (e EndpointAttributes) InternalRef() (terra.Reference, error)
func (EndpointAttributes) InternalTokens ¶
func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EndpointAttributes) InternalWithRef ¶
func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes
func (EndpointAttributes) Port ¶
func (e EndpointAttributes) Port() terra.NumberValue
type EndpointState ¶
type Nodes ¶
type Nodes struct { // Endpoint: min=0 Endpoint []Endpoint `hcl:"endpoint,block" validate:"min=0"` }
type NodesAttributes ¶
type NodesAttributes struct {
// contains filtered or unexported fields
}
func (NodesAttributes) AvailabilityZone ¶
func (n NodesAttributes) AvailabilityZone() terra.StringValue
func (NodesAttributes) CreateTime ¶
func (n NodesAttributes) CreateTime() terra.StringValue
func (NodesAttributes) Endpoint ¶
func (n NodesAttributes) Endpoint() terra.ListValue[EndpointAttributes]
func (NodesAttributes) InternalRef ¶
func (n NodesAttributes) InternalRef() (terra.Reference, error)
func (NodesAttributes) InternalTokens ¶
func (n NodesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NodesAttributes) InternalWithRef ¶
func (n NodesAttributes) InternalWithRef(ref terra.Reference) NodesAttributes
func (NodesAttributes) Name ¶
func (n NodesAttributes) Name() terra.StringValue
type NodesState ¶
type NodesState struct { AvailabilityZone string `json:"availability_zone"` CreateTime string `json:"create_time"` Name string `json:"name"` Endpoint []EndpointState `json:"endpoint"` }
type Shards ¶
type Shards struct { // Nodes: min=0 Nodes []Nodes `hcl:"nodes,block" validate:"min=0"` }
type ShardsAttributes ¶
type ShardsAttributes struct {
// contains filtered or unexported fields
}
func (ShardsAttributes) InternalRef ¶
func (s ShardsAttributes) InternalRef() (terra.Reference, error)
func (ShardsAttributes) InternalTokens ¶
func (s ShardsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShardsAttributes) InternalWithRef ¶
func (s ShardsAttributes) InternalWithRef(ref terra.Reference) ShardsAttributes
func (ShardsAttributes) Name ¶
func (s ShardsAttributes) Name() terra.StringValue
func (ShardsAttributes) Nodes ¶
func (s ShardsAttributes) Nodes() terra.SetValue[NodesAttributes]
func (ShardsAttributes) NumNodes ¶
func (s ShardsAttributes) NumNodes() terra.NumberValue
func (ShardsAttributes) Slots ¶
func (s ShardsAttributes) Slots() terra.StringValue
type ShardsState ¶
type ShardsState struct { Name string `json:"name"` NumNodes float64 `json:"num_nodes"` Slots string `json:"slots"` Nodes []NodesState `json:"nodes"` }
Click to show internal directories.
Click to hide internal directories.