template

package
v14.17.1-patch1 Latest Latest
Warning

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

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

Documentation

Index

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 = `` /* 4928-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 = `` /* 666-byte string literal not displayed */
View Source
const TemplateMainVPC = `` /* 1231-byte string literal not displayed */

Variables

This section is empty.

Functions

func Render

func Render(v interface{}) (string, error)

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
	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 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 ParamsMainLaunchTemplateInstance

type ParamsMainLaunchTemplateInstance struct {
	Image      string
	Monitoring bool
	Type       string
}

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 ParamsMainOutputsInstance

type ParamsMainOutputsInstance struct {
	Image string
	Type  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 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 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 ParamsMainSecurityGroupsTenantClusterNodePool

type ParamsMainSecurityGroupsTenantClusterNodePool struct {
	ID           string
	ResourceName string
}

type ParamsMainSecurityGroupsTenantClusterVPC

type ParamsMainSecurityGroupsTenantClusterVPC struct {
	ID   string
	CIDR 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 ParamsMainVPCRegion struct {
	ARN  string
	Name string
}

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
}

Jump to

Keyboard shortcuts

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