Documentation ¶
Index ¶
- type EKSConfig
- type EKSConfigBuilder
- func (b *EKSConfigBuilder) Build() (*EKSConfig, error)
- func (b *EKSConfigBuilder) SetClusterEndpointPublicAccess(enable bool) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetClusterName(expr string) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetClusterVersion(version string) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetCreateSecurityGroups(cluster, node bool) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetEnableClusterCreatorAdminPermissions(enable bool) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetFargateProfiles(expr string) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetSource(source string) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetSubnetIds(expr string) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetTags(expr string) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetVPCId(expr string) *EKSConfigBuilder
- func (b *EKSConfigBuilder) SetVersion(version string) *EKSConfigBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EKSConfig ¶
type EKSConfig struct { // Module settings Source *hcl.HclField `hcl:"source"` Version *hcl.HclField `hcl:"version"` // Cluster settings ClusterName *hcl.HclField `hcl:"cluster_name"` ClusterVersion *hcl.HclField `hcl:"cluster_version"` ClusterEndpointPublic *hcl.HclField `hcl:"cluster_endpoint_public_access"` // Network settings VPCId *hcl.HclField `hcl:"vpc_id"` SubnetIds *hcl.HclField `hcl:"subnet_ids"` // Security settings CreateClusterSecurityGroup *hcl.HclField `hcl:"create_cluster_security_group"` CreateNodeSecurityGroup *hcl.HclField `hcl:"create_node_security_group"` EnableClusterCreatorAdminPermissions *hcl.HclField `hcl:"enable_cluster_creator_admin_permissions"` // Fargate settings FargateProfiles *hcl.HclField `hcl:"fargate_profiles"` // Tags Tags *hcl.HclField `hcl:"tags"` }
EKSConfig represents the configuration for an EKS cluster
func (*EKSConfig) GenerateHCL ¶
type EKSConfigBuilder ¶
type EKSConfigBuilder struct {
// contains filtered or unexported fields
}
EKSConfigBuilder is a builder for EKSConfig
func NewEKSConfig ¶
func NewEKSConfig() *EKSConfigBuilder
NewEKSConfig creates a new EKSConfigBuilder with default values
func (*EKSConfigBuilder) Build ¶
func (b *EKSConfigBuilder) Build() (*EKSConfig, error)
func (*EKSConfigBuilder) SetClusterEndpointPublicAccess ¶
func (b *EKSConfigBuilder) SetClusterEndpointPublicAccess(enable bool) *EKSConfigBuilder
func (*EKSConfigBuilder) SetClusterName ¶
func (b *EKSConfigBuilder) SetClusterName(expr string) *EKSConfigBuilder
func (*EKSConfigBuilder) SetClusterVersion ¶
func (b *EKSConfigBuilder) SetClusterVersion(version string) *EKSConfigBuilder
func (*EKSConfigBuilder) SetCreateSecurityGroups ¶
func (b *EKSConfigBuilder) SetCreateSecurityGroups(cluster, node bool) *EKSConfigBuilder
func (*EKSConfigBuilder) SetEnableClusterCreatorAdminPermissions ¶
func (b *EKSConfigBuilder) SetEnableClusterCreatorAdminPermissions(enable bool) *EKSConfigBuilder
func (*EKSConfigBuilder) SetFargateProfiles ¶
func (b *EKSConfigBuilder) SetFargateProfiles(expr string) *EKSConfigBuilder
func (*EKSConfigBuilder) SetSource ¶
func (b *EKSConfigBuilder) SetSource(source string) *EKSConfigBuilder
func (*EKSConfigBuilder) SetSubnetIds ¶
func (b *EKSConfigBuilder) SetSubnetIds(expr string) *EKSConfigBuilder
func (*EKSConfigBuilder) SetTags ¶
func (b *EKSConfigBuilder) SetTags(expr string) *EKSConfigBuilder
func (*EKSConfigBuilder) SetVPCId ¶
func (b *EKSConfigBuilder) SetVPCId(expr string) *EKSConfigBuilder
func (*EKSConfigBuilder) SetVersion ¶
func (b *EKSConfigBuilder) SetVersion(version string) *EKSConfigBuilder
Click to show internal directories.
Click to hide internal directories.