Documentation
¶
Index ¶
- type Args
- type AutoscalingPolicy
- type AutoscalingPolicyAttributes
- func (ap AutoscalingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ap AutoscalingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ap AutoscalingPolicyAttributes) InternalWithRef(ref terra.Reference) AutoscalingPolicyAttributes
- func (ap AutoscalingPolicyAttributes) MaxNodes() terra.NumberValue
- func (ap AutoscalingPolicyAttributes) MinNodes() terra.NumberValue
- func (ap AutoscalingPolicyAttributes) Mode() terra.StringValue
- type AutoscalingPolicyState
- type MaintenanceWindow
- type MaintenanceWindowAttributes
- func (mw MaintenanceWindowAttributes) InternalRef() (terra.Reference, error)
- func (mw MaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mw MaintenanceWindowAttributes) InternalWithRef(ref terra.Reference) MaintenanceWindowAttributes
- func (mw MaintenanceWindowAttributes) StartTime() terra.StringValue
- type MaintenanceWindowState
- type Resource
- func (gcng *Resource) Attributes() googleComputeNodeGroupAttributes
- func (gcng *Resource) Configuration() interface{}
- func (gcng *Resource) DependOn() terra.Reference
- func (gcng *Resource) Dependencies() terra.Dependencies
- func (gcng *Resource) ImportState(state io.Reader) error
- func (gcng *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcng *Resource) LocalName() string
- func (gcng *Resource) State() (*googleComputeNodeGroupState, bool)
- func (gcng *Resource) StateMust() *googleComputeNodeGroupState
- func (gcng *Resource) Type() string
- type ShareSettings
- type ShareSettingsAttributes
- func (ss ShareSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ss ShareSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss ShareSettingsAttributes) InternalWithRef(ref terra.Reference) ShareSettingsAttributes
- func (ss ShareSettingsAttributes) ProjectMap() terra.SetValue[ShareSettingsProjectMapAttributes]
- func (ss ShareSettingsAttributes) ShareType() terra.StringValue
- type ShareSettingsProjectMap
- type ShareSettingsProjectMapAttributes
- func (pm ShareSettingsProjectMapAttributes) Id() terra.StringValue
- func (pm ShareSettingsProjectMapAttributes) InternalRef() (terra.Reference, error)
- func (pm ShareSettingsProjectMapAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pm ShareSettingsProjectMapAttributes) InternalWithRef(ref terra.Reference) ShareSettingsProjectMapAttributes
- func (pm ShareSettingsProjectMapAttributes) ProjectId() terra.StringValue
- type ShareSettingsProjectMapState
- type ShareSettingsState
- 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 { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InitialSize: number, optional InitialSize terra.NumberValue `hcl:"initial_size,attr"` // MaintenanceInterval: string, optional MaintenanceInterval terra.StringValue `hcl:"maintenance_interval,attr"` // MaintenancePolicy: string, optional MaintenancePolicy terra.StringValue `hcl:"maintenance_policy,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NodeTemplate: string, required NodeTemplate terra.StringValue `hcl:"node_template,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` // AutoscalingPolicy: optional AutoscalingPolicy *AutoscalingPolicy `hcl:"autoscaling_policy,block"` // MaintenanceWindow: optional MaintenanceWindow *MaintenanceWindow `hcl:"maintenance_window,block"` ShareSettings *ShareSettings `hcl:"share_settings,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_node_group.
type AutoscalingPolicy ¶
type AutoscalingPolicy struct { // MaxNodes: number, optional MaxNodes terra.NumberValue `hcl:"max_nodes,attr"` // MinNodes: number, optional MinNodes terra.NumberValue `hcl:"min_nodes,attr"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` }
type AutoscalingPolicyAttributes ¶
type AutoscalingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (AutoscalingPolicyAttributes) InternalRef ¶
func (ap AutoscalingPolicyAttributes) InternalRef() (terra.Reference, error)
func (AutoscalingPolicyAttributes) InternalTokens ¶
func (ap AutoscalingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoscalingPolicyAttributes) InternalWithRef ¶
func (ap AutoscalingPolicyAttributes) InternalWithRef(ref terra.Reference) AutoscalingPolicyAttributes
func (AutoscalingPolicyAttributes) MaxNodes ¶
func (ap AutoscalingPolicyAttributes) MaxNodes() terra.NumberValue
func (AutoscalingPolicyAttributes) MinNodes ¶
func (ap AutoscalingPolicyAttributes) MinNodes() terra.NumberValue
func (AutoscalingPolicyAttributes) Mode ¶
func (ap AutoscalingPolicyAttributes) Mode() terra.StringValue
type AutoscalingPolicyState ¶
type MaintenanceWindow ¶
type MaintenanceWindow struct { // StartTime: string, required StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"` }
type MaintenanceWindowAttributes ¶
type MaintenanceWindowAttributes struct {
// contains filtered or unexported fields
}
func (MaintenanceWindowAttributes) InternalRef ¶
func (mw MaintenanceWindowAttributes) InternalRef() (terra.Reference, error)
func (MaintenanceWindowAttributes) InternalTokens ¶
func (mw MaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaintenanceWindowAttributes) InternalWithRef ¶
func (mw MaintenanceWindowAttributes) InternalWithRef(ref terra.Reference) MaintenanceWindowAttributes
func (MaintenanceWindowAttributes) StartTime ¶
func (mw MaintenanceWindowAttributes) StartTime() terra.StringValue
type MaintenanceWindowState ¶
type MaintenanceWindowState struct {
StartTime string `json:"start_time"`
}
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_compute_node_group.
func (*Resource) Attributes ¶
func (gcng *Resource) Attributes() googleComputeNodeGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcng *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcng *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 ShareSettings ¶
type ShareSettings struct { terra.StringValue `hcl:"share_type,attr" validate:"required"` ProjectMap []ShareSettingsProjectMap `hcl:"project_map,block" validate:"min=0"` }ShareType
type ShareSettingsAttributes ¶
type ShareSettingsAttributes struct {
// contains filtered or unexported fields
}
func (ShareSettingsAttributes) InternalRef ¶
func (ss ShareSettingsAttributes) InternalRef() (terra.Reference, error)
func (ShareSettingsAttributes) InternalTokens ¶
func (ss ShareSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShareSettingsAttributes) InternalWithRef ¶
func (ss ShareSettingsAttributes) InternalWithRef(ref terra.Reference) ShareSettingsAttributes
func (ShareSettingsAttributes) ProjectMap ¶
func (ss ShareSettingsAttributes) ProjectMap() terra.SetValue[ShareSettingsProjectMapAttributes]
func (ShareSettingsAttributes) ShareType ¶
func (ss ShareSettingsAttributes) ShareType() terra.StringValue
type ShareSettingsProjectMap ¶
type ShareSettingsProjectMap struct { terra.StringValue `hcl:"id,attr" validate:"required"` ProjectId terra.StringValue `hcl:"project_id,attr" validate:"required"` }Id
type ShareSettingsProjectMapAttributes ¶
type ShareSettingsProjectMapAttributes struct {
// contains filtered or unexported fields
}
func (ShareSettingsProjectMapAttributes) Id ¶
func (pm ShareSettingsProjectMapAttributes) Id() terra.StringValue
func (ShareSettingsProjectMapAttributes) InternalRef ¶
func (pm ShareSettingsProjectMapAttributes) InternalRef() (terra.Reference, error)
func (ShareSettingsProjectMapAttributes) InternalTokens ¶
func (pm ShareSettingsProjectMapAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShareSettingsProjectMapAttributes) InternalWithRef ¶
func (pm ShareSettingsProjectMapAttributes) InternalWithRef(ref terra.Reference) ShareSettingsProjectMapAttributes
func (ShareSettingsProjectMapAttributes) ProjectId ¶
func (pm ShareSettingsProjectMapAttributes) ProjectId() terra.StringValue
type ShareSettingsProjectMapState ¶
type ShareSettingsProjectMapState struct {}
type ShareSettingsState ¶
type ShareSettingsState struct {}
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.