Documentation ¶
Index ¶
- type PauseCluster
- type PauseClusterAttributes
- func (pc PauseClusterAttributes) ClusterIdentifier() terra.StringValue
- func (pc PauseClusterAttributes) InternalRef() (terra.Reference, error)
- func (pc PauseClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc PauseClusterAttributes) InternalWithRef(ref terra.Reference) PauseClusterAttributes
- type PauseClusterState
- type ResizeCluster
- type ResizeClusterAttributes
- func (rc ResizeClusterAttributes) Classic() terra.BoolValue
- func (rc ResizeClusterAttributes) ClusterIdentifier() terra.StringValue
- func (rc ResizeClusterAttributes) ClusterType() terra.StringValue
- func (rc ResizeClusterAttributes) InternalRef() (terra.Reference, error)
- func (rc ResizeClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc ResizeClusterAttributes) InternalWithRef(ref terra.Reference) ResizeClusterAttributes
- func (rc ResizeClusterAttributes) NodeType() terra.StringValue
- func (rc ResizeClusterAttributes) NumberOfNodes() terra.NumberValue
- type ResizeClusterState
- type ResumeCluster
- type ResumeClusterAttributes
- func (rc ResumeClusterAttributes) ClusterIdentifier() terra.StringValue
- func (rc ResumeClusterAttributes) InternalRef() (terra.Reference, error)
- func (rc ResumeClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc ResumeClusterAttributes) InternalWithRef(ref terra.Reference) ResumeClusterAttributes
- type ResumeClusterState
- type TargetAction
- type TargetActionAttributes
- func (ta TargetActionAttributes) InternalRef() (terra.Reference, error)
- func (ta TargetActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ta TargetActionAttributes) InternalWithRef(ref terra.Reference) TargetActionAttributes
- func (ta TargetActionAttributes) PauseCluster() terra.ListValue[PauseClusterAttributes]
- func (ta TargetActionAttributes) ResizeCluster() terra.ListValue[ResizeClusterAttributes]
- func (ta TargetActionAttributes) ResumeCluster() terra.ListValue[ResumeClusterAttributes]
- type TargetActionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PauseCluster ¶
type PauseCluster struct { // ClusterIdentifier: string, required ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"` }
type PauseClusterAttributes ¶
type PauseClusterAttributes struct {
// contains filtered or unexported fields
}
func (PauseClusterAttributes) ClusterIdentifier ¶
func (pc PauseClusterAttributes) ClusterIdentifier() terra.StringValue
func (PauseClusterAttributes) InternalRef ¶
func (pc PauseClusterAttributes) InternalRef() (terra.Reference, error)
func (PauseClusterAttributes) InternalTokens ¶
func (pc PauseClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PauseClusterAttributes) InternalWithRef ¶
func (pc PauseClusterAttributes) InternalWithRef(ref terra.Reference) PauseClusterAttributes
type PauseClusterState ¶
type PauseClusterState struct {
ClusterIdentifier string `json:"cluster_identifier"`
}
type ResizeCluster ¶
type ResizeCluster struct { // Classic: bool, optional Classic terra.BoolValue `hcl:"classic,attr"` // ClusterIdentifier: string, required ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"` // ClusterType: string, optional ClusterType terra.StringValue `hcl:"cluster_type,attr"` // NodeType: string, optional NodeType terra.StringValue `hcl:"node_type,attr"` // NumberOfNodes: number, optional NumberOfNodes terra.NumberValue `hcl:"number_of_nodes,attr"` }
type ResizeClusterAttributes ¶
type ResizeClusterAttributes struct {
// contains filtered or unexported fields
}
func (ResizeClusterAttributes) Classic ¶
func (rc ResizeClusterAttributes) Classic() terra.BoolValue
func (ResizeClusterAttributes) ClusterIdentifier ¶
func (rc ResizeClusterAttributes) ClusterIdentifier() terra.StringValue
func (ResizeClusterAttributes) ClusterType ¶
func (rc ResizeClusterAttributes) ClusterType() terra.StringValue
func (ResizeClusterAttributes) InternalRef ¶
func (rc ResizeClusterAttributes) InternalRef() (terra.Reference, error)
func (ResizeClusterAttributes) InternalTokens ¶
func (rc ResizeClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResizeClusterAttributes) InternalWithRef ¶
func (rc ResizeClusterAttributes) InternalWithRef(ref terra.Reference) ResizeClusterAttributes
func (ResizeClusterAttributes) NodeType ¶
func (rc ResizeClusterAttributes) NodeType() terra.StringValue
func (ResizeClusterAttributes) NumberOfNodes ¶
func (rc ResizeClusterAttributes) NumberOfNodes() terra.NumberValue
type ResizeClusterState ¶
type ResumeCluster ¶
type ResumeCluster struct { // ClusterIdentifier: string, required ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"` }
type ResumeClusterAttributes ¶
type ResumeClusterAttributes struct {
// contains filtered or unexported fields
}
func (ResumeClusterAttributes) ClusterIdentifier ¶
func (rc ResumeClusterAttributes) ClusterIdentifier() terra.StringValue
func (ResumeClusterAttributes) InternalRef ¶
func (rc ResumeClusterAttributes) InternalRef() (terra.Reference, error)
func (ResumeClusterAttributes) InternalTokens ¶
func (rc ResumeClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResumeClusterAttributes) InternalWithRef ¶
func (rc ResumeClusterAttributes) InternalWithRef(ref terra.Reference) ResumeClusterAttributes
type ResumeClusterState ¶
type ResumeClusterState struct {
ClusterIdentifier string `json:"cluster_identifier"`
}
type TargetAction ¶
type TargetAction struct { // PauseCluster: optional PauseCluster *PauseCluster `hcl:"pause_cluster,block"` // ResizeCluster: optional ResizeCluster *ResizeCluster `hcl:"resize_cluster,block"` // ResumeCluster: optional ResumeCluster *ResumeCluster `hcl:"resume_cluster,block"` }
type TargetActionAttributes ¶
type TargetActionAttributes struct {
// contains filtered or unexported fields
}
func (TargetActionAttributes) InternalRef ¶
func (ta TargetActionAttributes) InternalRef() (terra.Reference, error)
func (TargetActionAttributes) InternalTokens ¶
func (ta TargetActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetActionAttributes) InternalWithRef ¶
func (ta TargetActionAttributes) InternalWithRef(ref terra.Reference) TargetActionAttributes
func (TargetActionAttributes) PauseCluster ¶
func (ta TargetActionAttributes) PauseCluster() terra.ListValue[PauseClusterAttributes]
func (TargetActionAttributes) ResizeCluster ¶
func (ta TargetActionAttributes) ResizeCluster() terra.ListValue[ResizeClusterAttributes]
func (TargetActionAttributes) ResumeCluster ¶
func (ta TargetActionAttributes) ResumeCluster() terra.ListValue[ResumeClusterAttributes]
type TargetActionState ¶
type TargetActionState struct { PauseCluster []PauseClusterState `json:"pause_cluster"` ResizeCluster []ResizeClusterState `json:"resize_cluster"` ResumeCluster []ResumeClusterState `json:"resume_cluster"` }
Click to show internal directories.
Click to hide internal directories.