Documentation ¶
Index ¶
- Constants
- func Render(v interface{}) (string, error)
- type LaunchTemplateOverride
- type ParamsMain
- type ParamsMainAutoScalingGroup
- type ParamsMainAutoScalingGroupCluster
- type ParamsMainIAMPolicies
- type ParamsMainIAMPoliciesCluster
- type ParamsMainIAMPoliciesNodePool
- type ParamsMainLaunchTemplate
- type ParamsMainLaunchTemplateBlockDeviceMapping
- type ParamsMainLaunchTemplateBlockDeviceMappingContainerd
- type ParamsMainLaunchTemplateBlockDeviceMappingContainerdVolume
- type ParamsMainLaunchTemplateBlockDeviceMappingDocker
- type ParamsMainLaunchTemplateBlockDeviceMappingDockerVolume
- type ParamsMainLaunchTemplateBlockDeviceMappingKubelet
- type ParamsMainLaunchTemplateBlockDeviceMappingKubeletVolume
- type ParamsMainLaunchTemplateBlockDeviceMappingLogging
- type ParamsMainLaunchTemplateBlockDeviceMappingLoggingVolume
- type ParamsMainLaunchTemplateInstance
- type ParamsMainLaunchTemplateMetadata
- type ParamsMainLaunchTemplateSmallCloudConfig
- type ParamsMainOutputs
- type ParamsMainOutputsInstance
- type ParamsMainRouteTables
- type ParamsMainRouteTablesListItem
- type ParamsMainRouteTablesListItemRoute
- type ParamsMainRouteTablesListItemTCCP
- type ParamsMainRouteTablesListItemTCCPNATGateway
- type ParamsMainRouteTablesListItemTCCPVPC
- type ParamsMainSecurityGroups
- type ParamsMainSecurityGroupsControlPlane
- type ParamsMainSecurityGroupsControlPlaneVPC
- type ParamsMainSecurityGroupsTenantCluster
- type ParamsMainSecurityGroupsTenantClusterAWSCNI
- type ParamsMainSecurityGroupsTenantClusterIngress
- type ParamsMainSecurityGroupsTenantClusterInternalAPI
- type ParamsMainSecurityGroupsTenantClusterMaster
- type ParamsMainSecurityGroupsTenantClusterNodePool
- type ParamsMainSecurityGroupsTenantClusterVPC
- type ParamsMainSubnets
- type ParamsMainSubnetsListItem
- type ParamsMainSubnetsListItemRouteTable
- type ParamsMainSubnetsListItemRouteTableAssociation
- type ParamsMainSubnetsListItemTCCP
- type ParamsMainSubnetsListItemTCCPVPC
- type ParamsMainVPC
- type ParamsMainVPCCluster
- type ParamsMainVPCRegion
- type ParamsMainVPCRouteTable
- type ParamsMainVPCRouteTableControlPlane
- type ParamsMainVPCRouteTableControlPlaneVPC
- type ParamsMainVPCRouteTableRoute
- type ParamsMainVPCRouteTableRouteTable
- type ParamsMainVPCRouteTableTenantCluster
- type ParamsMainVPCTCCP
- type ParamsMainVPCTCCPVPC
- type ParamsMainVPCTCNP
Constants ¶
View Source
const TemplateMain = `` /* 416-byte string literal not displayed */
View Source
const TemplateMainAutoScalingGroup = `` /* 3294-byte string literal not displayed */
View Source
const TemplateMainIAMPolicies = `` /* 5793-byte string literal not displayed */
View Source
const TemplateMainLaunchTemplate = `` /* 3539-byte string literal not displayed */
View Source
const TemplateMainOutputs = `` /* 339-byte string literal not displayed */
View Source
const TemplateMainRouteTables = `` /* 606-byte string literal not displayed */
View Source
const TemplateMainSecurityGroups = `` /* 4749-byte string literal not displayed */
View Source
const TemplateMainSubnets = `` /* 744-byte string literal not displayed */
View Source
const TemplateMainVPC = `` /* 1231-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LaunchTemplateOverride ¶
type LaunchTemplateOverride struct { InstanceType string // WeightedCapacity defines the number of capacity units, which gives the // instance type a proportional weight to other instance types. For example, // larger instance types are generally weighted more than smaller instance // types. These are the same units that you chose to set the desired capacity // in terms of instances, or a performance attribute such as vCPUs, memory, or I/O. WeightedCapacity int }
type ParamsMain ¶
type ParamsMain struct { AutoScalingGroup *ParamsMainAutoScalingGroup IAMPolicies *ParamsMainIAMPolicies LaunchTemplate *ParamsMainLaunchTemplate Outputs *ParamsMainOutputs RouteTables *ParamsMainRouteTables SecurityGroups *ParamsMainSecurityGroups Subnets *ParamsMainSubnets VPC *ParamsMainVPC }
ParamsMain is the data structure for the Tenant Cluster Node Pool template.
type ParamsMainAutoScalingGroup ¶
type ParamsMainAutoScalingGroup struct { AvailabilityZones []string Cluster ParamsMainAutoScalingGroupCluster DesiredCapacity int LifeCycleHookName string MaxBatchSize string MaxSize int MinInstancesInService string MinSize int NodePool ParamsMainIAMPoliciesNodePool Subnets []string // OnDemandPercentageAboveBaseCapacity controls the percentages of On-Demand // Instances and Spot Instances for your additional capacity beyond // OnDemandBaseCapacity. OnDemandPercentageAboveBaseCapacity int // OnDemandBaseCapacity defines the minimum amount of the Auto Scaling group's // capacity that must be fulfilled by On-Demand Instances. This base portion is // provisioned first as your group scales. OnDemandBaseCapacity int // PauseTime is defining the pause time between each batch in the ASG update PauseTime string // SpotAllocationStrategy If the allocation strategy is lowest-price, the Auto // Scaling group launches instances using the Spot pools with the lowest price, // and evenly allocates your instances across the number of Spot pools that you // specify. If the allocation strategy is capacity-optimized, the Auto Scaling // group launches instances using Spot pools that are optimally chosen based on // the available Spot capacity. SpotAllocationStrategy string // SpotInstancePools The number of Spot pools to use to allocate your Spot // capacity. The Spot pools are determined from the different instance types // in the Overrides array of LaunchTemplate. The range is 1–20. The default // value is 2. SpotInstancePools int // LaunchTemplateOverrides is an optional setting. Any parameters that you // specify override the same parameters in the launch template. Currently, // the only supported override is instance type. You can specify between 1 and // 20 instance types. LaunchTemplateOverrides []LaunchTemplateOverride }
type ParamsMainAutoScalingGroupCluster ¶
type ParamsMainAutoScalingGroupCluster struct {
ID string
}
type ParamsMainIAMPolicies ¶
type ParamsMainIAMPolicies struct { Cluster ParamsMainIAMPoliciesCluster EC2ServiceDomain string EnableAWSCNI bool CiliumENIMode bool KMSKeyARN string NodePool ParamsMainIAMPoliciesNodePool RegionARN string S3Bucket string }
type ParamsMainIAMPoliciesCluster ¶
type ParamsMainIAMPoliciesCluster struct {
ID string
}
type ParamsMainIAMPoliciesNodePool ¶
type ParamsMainIAMPoliciesNodePool struct {
ID string
}
type ParamsMainLaunchTemplate ¶
type ParamsMainLaunchTemplate struct { BlockDeviceMapping ParamsMainLaunchTemplateBlockDeviceMapping Instance ParamsMainLaunchTemplateInstance Metadata ParamsMainLaunchTemplateMetadata Name string ReleaseVersion string SmallCloudConfig ParamsMainLaunchTemplateSmallCloudConfig }
type ParamsMainLaunchTemplateBlockDeviceMapping ¶
type ParamsMainLaunchTemplateBlockDeviceMapping struct { Containerd ParamsMainLaunchTemplateBlockDeviceMappingContainerd Docker ParamsMainLaunchTemplateBlockDeviceMappingDocker Kubelet ParamsMainLaunchTemplateBlockDeviceMappingKubelet Logging ParamsMainLaunchTemplateBlockDeviceMappingLogging }
type ParamsMainLaunchTemplateBlockDeviceMappingContainerd ¶
type ParamsMainLaunchTemplateBlockDeviceMappingContainerd struct {
Volume ParamsMainLaunchTemplateBlockDeviceMappingContainerdVolume
}
type ParamsMainLaunchTemplateBlockDeviceMappingContainerdVolume ¶
type ParamsMainLaunchTemplateBlockDeviceMappingContainerdVolume struct {
Size string
}
type ParamsMainLaunchTemplateBlockDeviceMappingDocker ¶
type ParamsMainLaunchTemplateBlockDeviceMappingDocker struct {
Volume ParamsMainLaunchTemplateBlockDeviceMappingDockerVolume
}
type ParamsMainLaunchTemplateBlockDeviceMappingDockerVolume ¶
type ParamsMainLaunchTemplateBlockDeviceMappingDockerVolume struct {
Size string
}
type ParamsMainLaunchTemplateBlockDeviceMappingKubelet ¶
type ParamsMainLaunchTemplateBlockDeviceMappingKubelet struct {
Volume ParamsMainLaunchTemplateBlockDeviceMappingKubeletVolume
}
type ParamsMainLaunchTemplateBlockDeviceMappingKubeletVolume ¶
type ParamsMainLaunchTemplateBlockDeviceMappingKubeletVolume struct {
Size string
}
type ParamsMainLaunchTemplateBlockDeviceMappingLogging ¶
type ParamsMainLaunchTemplateBlockDeviceMappingLogging struct {
Volume ParamsMainLaunchTemplateBlockDeviceMappingLoggingVolume
}
type ParamsMainLaunchTemplateBlockDeviceMappingLoggingVolume ¶
type ParamsMainLaunchTemplateBlockDeviceMappingLoggingVolume struct {
Size int
}
type ParamsMainLaunchTemplateMetadata ¶
type ParamsMainLaunchTemplateMetadata struct {
HttpTokens string
}
type ParamsMainLaunchTemplateSmallCloudConfig ¶
type ParamsMainLaunchTemplateSmallCloudConfig struct {
S3URL string
}
type ParamsMainOutputs ¶
type ParamsMainOutputs struct { DockerVolumeSizeGB string Instance ParamsMainOutputsInstance OperatorVersion string ReleaseVersion string }
type ParamsMainRouteTables ¶
type ParamsMainRouteTables struct {
List []ParamsMainRouteTablesListItem
}
type ParamsMainRouteTablesListItem ¶
type ParamsMainRouteTablesListItem struct { AvailabilityZone string ClusterID string NodePoolID string Name string Route ParamsMainRouteTablesListItemRoute TCCP ParamsMainRouteTablesListItemTCCP }
type ParamsMainRouteTablesListItemRoute ¶
type ParamsMainRouteTablesListItemRoute struct {
Name string
}
type ParamsMainRouteTablesListItemTCCP ¶
type ParamsMainRouteTablesListItemTCCP struct { NATGateway ParamsMainRouteTablesListItemTCCPNATGateway VPC ParamsMainRouteTablesListItemTCCPVPC }
type ParamsMainRouteTablesListItemTCCPNATGateway ¶
type ParamsMainRouteTablesListItemTCCPNATGateway struct {
ID string
}
type ParamsMainRouteTablesListItemTCCPVPC ¶
type ParamsMainRouteTablesListItemTCCPVPC struct {
ID string
}
type ParamsMainSecurityGroups ¶
type ParamsMainSecurityGroups struct { ClusterID string ControlPlane ParamsMainSecurityGroupsControlPlane EnableAWSCNI bool TenantCluster ParamsMainSecurityGroupsTenantCluster }
type ParamsMainSecurityGroupsControlPlane ¶
type ParamsMainSecurityGroupsControlPlane struct {
VPC ParamsMainSecurityGroupsControlPlaneVPC
}
type ParamsMainSecurityGroupsControlPlaneVPC ¶
type ParamsMainSecurityGroupsControlPlaneVPC struct {
CIDR string
}
type ParamsMainSecurityGroupsTenantCluster ¶
type ParamsMainSecurityGroupsTenantCluster struct { Ingress ParamsMainSecurityGroupsTenantClusterIngress InternalAPI ParamsMainSecurityGroupsTenantClusterInternalAPI Master ParamsMainSecurityGroupsTenantClusterMaster NodePools []ParamsMainSecurityGroupsTenantClusterNodePool VPC ParamsMainSecurityGroupsTenantClusterVPC AWSCNI ParamsMainSecurityGroupsTenantClusterAWSCNI }
type ParamsMainSecurityGroupsTenantClusterAWSCNI ¶
type ParamsMainSecurityGroupsTenantClusterAWSCNI struct {
ID string
}
type ParamsMainSecurityGroupsTenantClusterIngress ¶
type ParamsMainSecurityGroupsTenantClusterIngress struct {
ID string
}
type ParamsMainSecurityGroupsTenantClusterInternalAPI ¶
type ParamsMainSecurityGroupsTenantClusterInternalAPI struct {
ID string
}
type ParamsMainSecurityGroupsTenantClusterMaster ¶
type ParamsMainSecurityGroupsTenantClusterMaster struct {
ID string
}
type ParamsMainSubnets ¶
type ParamsMainSubnets struct {
List []ParamsMainSubnetsListItem
}
type ParamsMainSubnetsListItem ¶
type ParamsMainSubnetsListItem struct { AvailabilityZone string CIDR string Name string RouteTable ParamsMainSubnetsListItemRouteTable RouteTableAssociation ParamsMainSubnetsListItemRouteTableAssociation TagInternalELB bool TCCP ParamsMainSubnetsListItemTCCP }
type ParamsMainSubnetsListItemRouteTable ¶
type ParamsMainSubnetsListItemRouteTable struct {
Name string
}
type ParamsMainSubnetsListItemRouteTableAssociation ¶
type ParamsMainSubnetsListItemRouteTableAssociation struct {
Name string
}
type ParamsMainSubnetsListItemTCCP ¶
type ParamsMainSubnetsListItemTCCP struct {
VPC ParamsMainSubnetsListItemTCCPVPC
}
type ParamsMainSubnetsListItemTCCPVPC ¶
type ParamsMainSubnetsListItemTCCPVPC struct {
ID string
}
type ParamsMainVPC ¶
type ParamsMainVPC struct { Cluster ParamsMainVPCCluster Region ParamsMainVPCRegion RouteTables []ParamsMainVPCRouteTable TCCP ParamsMainVPCTCCP TCNP ParamsMainVPCTCNP }
type ParamsMainVPCCluster ¶
type ParamsMainVPCCluster struct {
ID string
}
type ParamsMainVPCRegion ¶
type ParamsMainVPCRouteTable ¶
type ParamsMainVPCRouteTable struct { ControlPlane ParamsMainVPCRouteTableControlPlane Route ParamsMainVPCRouteTableRoute RouteTable ParamsMainVPCRouteTableRouteTable TenantCluster ParamsMainVPCRouteTableTenantCluster }
type ParamsMainVPCRouteTableControlPlane ¶
type ParamsMainVPCRouteTableControlPlane struct {
VPC ParamsMainVPCRouteTableControlPlaneVPC
}
type ParamsMainVPCRouteTableControlPlaneVPC ¶
type ParamsMainVPCRouteTableControlPlaneVPC struct {
CIDR string
}
type ParamsMainVPCRouteTableRoute ¶
type ParamsMainVPCRouteTableRoute struct {
Name string
}
type ParamsMainVPCRouteTableRouteTable ¶
type ParamsMainVPCRouteTableRouteTable struct {
Name string
}
type ParamsMainVPCRouteTableTenantCluster ¶
type ParamsMainVPCRouteTableTenantCluster struct {
PeeringConnectionID string
}
type ParamsMainVPCTCCP ¶
type ParamsMainVPCTCCP struct {
VPC ParamsMainVPCTCCPVPC
}
type ParamsMainVPCTCCPVPC ¶
type ParamsMainVPCTCCPVPC struct {
ID string
}
type ParamsMainVPCTCNP ¶
type ParamsMainVPCTCNP struct {
CIDR string
}
Source Files ¶
- params_main.go
- params_main_auto_scaling_group.go
- params_main_iam_policies.go
- params_main_launch_template.go
- params_main_outputs.go
- params_main_route_table.go
- params_main_security_groups.go
- params_main_subnets.go
- params_main_vpc.go
- render.go
- template_main.go
- template_main_auto_scaling_group.go
- template_main_iam_policies.go
- template_main_launch_template.go
- template_main_outputs.go
- template_main_route_table.go
- template_main_security_groups.go
- template_main_subnets.go
- template_main_vpc.go
Click to show internal directories.
Click to hide internal directories.