eksnodegroup

package
v0.0.0-...-c2cc54e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoscalingGroups

type AutoscalingGroups struct{}

type AutoscalingGroupsAttributes

type AutoscalingGroupsAttributes struct {
	// contains filtered or unexported fields
}

func (AutoscalingGroupsAttributes) InternalRef

func (ag AutoscalingGroupsAttributes) InternalRef() (terra.Reference, error)

func (AutoscalingGroupsAttributes) InternalTokens

func (ag AutoscalingGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoscalingGroupsAttributes) InternalWithRef

func (AutoscalingGroupsAttributes) Name

type AutoscalingGroupsState

type AutoscalingGroupsState struct {
	Name string `json:"name"`
}

type LaunchTemplate

type LaunchTemplate struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Version: string, required
	Version terra.StringValue `hcl:"version,attr" validate:"required"`
}

type LaunchTemplateAttributes

type LaunchTemplateAttributes struct {
	// contains filtered or unexported fields
}

func (LaunchTemplateAttributes) Id

func (LaunchTemplateAttributes) InternalRef

func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)

func (LaunchTemplateAttributes) InternalTokens

func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LaunchTemplateAttributes) InternalWithRef

func (LaunchTemplateAttributes) Name

func (LaunchTemplateAttributes) Version

type LaunchTemplateState

type LaunchTemplateState struct {
	Id      string `json:"id"`
	Name    string `json:"name"`
	Version string `json:"version"`
}

type RemoteAccess

type RemoteAccess struct {
	// Ec2SshKey: string, optional
	Ec2SshKey terra.StringValue `hcl:"ec2_ssh_key,attr"`
	// SourceSecurityGroupIds: set of string, optional
	SourceSecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"source_security_group_ids,attr"`
}

type RemoteAccessAttributes

type RemoteAccessAttributes struct {
	// contains filtered or unexported fields
}

func (RemoteAccessAttributes) Ec2SshKey

func (ra RemoteAccessAttributes) Ec2SshKey() terra.StringValue

func (RemoteAccessAttributes) InternalRef

func (ra RemoteAccessAttributes) InternalRef() (terra.Reference, error)

func (RemoteAccessAttributes) InternalTokens

func (ra RemoteAccessAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RemoteAccessAttributes) InternalWithRef

func (RemoteAccessAttributes) SourceSecurityGroupIds

func (ra RemoteAccessAttributes) SourceSecurityGroupIds() terra.SetValue[terra.StringValue]

type RemoteAccessState

type RemoteAccessState struct {
	Ec2SshKey              string   `json:"ec2_ssh_key"`
	SourceSecurityGroupIds []string `json:"source_security_group_ids"`
}

type Resources

type Resources struct {
	// AutoscalingGroups: min=0
	AutoscalingGroups []AutoscalingGroups `hcl:"autoscaling_groups,block" validate:"min=0"`
}

type ResourcesAttributes

type ResourcesAttributes struct {
	// contains filtered or unexported fields
}

func (ResourcesAttributes) AutoscalingGroups

func (ResourcesAttributes) InternalRef

func (r ResourcesAttributes) InternalRef() (terra.Reference, error)

func (ResourcesAttributes) InternalTokens

func (r ResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResourcesAttributes) InternalWithRef

func (r ResourcesAttributes) InternalWithRef(ref terra.Reference) ResourcesAttributes

func (ResourcesAttributes) RemoteAccessSecurityGroupId

func (r ResourcesAttributes) RemoteAccessSecurityGroupId() terra.StringValue

type ResourcesState

type ResourcesState struct {
	RemoteAccessSecurityGroupId string                   `json:"remote_access_security_group_id"`
	AutoscalingGroups           []AutoscalingGroupsState `json:"autoscaling_groups"`
}

type ScalingConfig

type ScalingConfig struct {
	// DesiredSize: number, required
	DesiredSize terra.NumberValue `hcl:"desired_size,attr" validate:"required"`
	// MaxSize: number, required
	MaxSize terra.NumberValue `hcl:"max_size,attr" validate:"required"`
	// MinSize: number, required
	MinSize terra.NumberValue `hcl:"min_size,attr" validate:"required"`
}

type ScalingConfigAttributes

type ScalingConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ScalingConfigAttributes) DesiredSize

func (sc ScalingConfigAttributes) DesiredSize() terra.NumberValue

func (ScalingConfigAttributes) InternalRef

func (sc ScalingConfigAttributes) InternalRef() (terra.Reference, error)

func (ScalingConfigAttributes) InternalTokens

func (sc ScalingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScalingConfigAttributes) InternalWithRef

func (ScalingConfigAttributes) MaxSize

func (ScalingConfigAttributes) MinSize

type ScalingConfigState

type ScalingConfigState struct {
	DesiredSize float64 `json:"desired_size"`
	MaxSize     float64 `json:"max_size"`
	MinSize     float64 `json:"min_size"`
}

type Taint

type Taint struct {
	// Effect: string, required
	Effect terra.StringValue `hcl:"effect,attr" validate:"required"`
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type TaintAttributes

type TaintAttributes struct {
	// contains filtered or unexported fields
}

func (TaintAttributes) Effect

func (t TaintAttributes) Effect() terra.StringValue

func (TaintAttributes) InternalRef

func (t TaintAttributes) InternalRef() (terra.Reference, error)

func (TaintAttributes) InternalTokens

func (t TaintAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TaintAttributes) InternalWithRef

func (t TaintAttributes) InternalWithRef(ref terra.Reference) TaintAttributes

func (TaintAttributes) Key

func (TaintAttributes) Value

func (t TaintAttributes) Value() terra.StringValue

type TaintState

type TaintState struct {
	Effect string `json:"effect"`
	Key    string `json:"key"`
	Value  string `json:"value"`
}

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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type UpdateConfig

type UpdateConfig struct {
	// MaxUnavailable: number, optional
	MaxUnavailable terra.NumberValue `hcl:"max_unavailable,attr"`
	// MaxUnavailablePercentage: number, optional
	MaxUnavailablePercentage terra.NumberValue `hcl:"max_unavailable_percentage,attr"`
}

type UpdateConfigAttributes

type UpdateConfigAttributes struct {
	// contains filtered or unexported fields
}

func (UpdateConfigAttributes) InternalRef

func (uc UpdateConfigAttributes) InternalRef() (terra.Reference, error)

func (UpdateConfigAttributes) InternalTokens

func (uc UpdateConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UpdateConfigAttributes) InternalWithRef

func (UpdateConfigAttributes) MaxUnavailable

func (uc UpdateConfigAttributes) MaxUnavailable() terra.NumberValue

func (UpdateConfigAttributes) MaxUnavailablePercentage

func (uc UpdateConfigAttributes) MaxUnavailablePercentage() terra.NumberValue

type UpdateConfigState

type UpdateConfigState struct {
	MaxUnavailable           float64 `json:"max_unavailable"`
	MaxUnavailablePercentage float64 `json:"max_unavailable_percentage"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL