template

package
v14.18.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const TemplateMain = `` /* 398-byte string literal not displayed */
View Source
const TemplateMainAutoScalingGroup = `` /* 2742-byte string literal not displayed */
View Source
const TemplateMainENI = `` /* 407-byte string literal not displayed */
View Source
const TemplateMainEtcdVolume = `` /* 606-byte string literal not displayed */
View Source
const TemplateMainIAMPolicies = `` /* 17004-byte string literal not displayed */
View Source
const TemplateMainLaunchTemplate = `` /* 3422-byte string literal not displayed */
View Source
const TemplateMainOutputs = `` /* 272-byte string literal not displayed */
View Source
const TemplateMainRecordSets = `` /* 457-byte string literal not displayed */

Variables

This section is empty.

Functions

func Render

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

Types

type ParamsMain

type ParamsMain struct {
	AutoScalingGroup *ParamsMainAutoScalingGroup
	ENI              *ParamsMainENI
	EtcdVolume       *ParamsMainEtcdVolume
	IAMPolicies      *ParamsMainIAMPolicies
	LaunchTemplate   *ParamsMainLaunchTemplate
	Outputs          *ParamsMainOutputs
	RecordSets       *ParamsMainRecordSets
}

ParamsMain is the data structure for the Tenant Cluster Control Plane Nodes template.

type ParamsMainAutoScalingGroup

type ParamsMainAutoScalingGroup struct {
	List      []ParamsMainAutoScalingGroupItem
	HAMasters bool
}

type ParamsMainAutoScalingGroupItem

type ParamsMainAutoScalingGroupItem struct {
	AvailabilityZone string
	ClusterID        string
	DependsOn        []string
	LaunchTemplate   ParamsMainAutoScalingGroupItemLaunchTemplate
	LoadBalancers    ParamsMainAutoScalingGroupItemLoadBalancers
	Resource         string
	SubnetID         string
}

type ParamsMainAutoScalingGroupItemLaunchTemplate

type ParamsMainAutoScalingGroupItemLaunchTemplate struct {
	Resource string
}

type ParamsMainAutoScalingGroupItemLoadBalancers

type ParamsMainAutoScalingGroupItemLoadBalancers struct {
	ApiInternalName string
	ApiName         string
	EtcdName        string
}

type ParamsMainENI

type ParamsMainENI struct {
	List []ParamsMainENIItem
}

type ParamsMainENIItem

type ParamsMainENIItem struct {
	Name            string
	Resource        string
	SecurityGroupID string
	SubnetID        string
}

type ParamsMainEtcdVolume

type ParamsMainEtcdVolume struct {
	List []ParamsMainEtcdVolumeItem
}

type ParamsMainEtcdVolumeItem

type ParamsMainEtcdVolumeItem struct {
	AvailabilityZone string
	Iops             int
	Name             string
	Resource         string
	SnapshotID       string
	Throughput       int
}

type ParamsMainIAMPolicies

type ParamsMainIAMPolicies struct {
	AccountID             string
	AWSBaseDomain         string
	CloudfrontAliasDomain string
	CloudfrontDomain      string
	ClusterID             string
	EC2ServiceDomain      string
	HostedZoneID          string
	InternalHostedZoneID  string
	KMSKeyARN             string
	Region                string
	RegionARN             string
	S3Bucket              string
	Route53Enabled        bool
}

type ParamsMainLaunchTemplate

type ParamsMainLaunchTemplate struct {
	List []ParamsMainLaunchTemplateItem
}

type ParamsMainLaunchTemplateItem

type ParamsMainLaunchTemplateItem struct {
	BlockDeviceMapping    ParamsMainLaunchTemplateItemBlockDeviceMapping
	Instance              ParamsMainLaunchTemplateItemInstance
	Metadata              ParamsMainLaunchTemplateMetadata
	SmallCloudConfig      ParamsMainLaunchTemplateItemSmallCloudConfig
	MasterSecurityGroupID string
	Name                  string
	Resource              string
	ReleaseVersion        string
}

type ParamsMainLaunchTemplateItemBlockDeviceMappingContainerd

type ParamsMainLaunchTemplateItemBlockDeviceMappingContainerd struct {
	Volume ParamsMainLaunchTemplateItemBlockDeviceMappingContainerdVolume
}

type ParamsMainLaunchTemplateItemBlockDeviceMappingContainerdVolume

type ParamsMainLaunchTemplateItemBlockDeviceMappingContainerdVolume struct {
	Size int
}

type ParamsMainLaunchTemplateItemBlockDeviceMappingDocker

type ParamsMainLaunchTemplateItemBlockDeviceMappingDocker struct {
	Volume ParamsMainLaunchTemplateItemBlockDeviceMappingDockerVolume
}

type ParamsMainLaunchTemplateItemBlockDeviceMappingDockerVolume

type ParamsMainLaunchTemplateItemBlockDeviceMappingDockerVolume struct {
	Size int
}

type ParamsMainLaunchTemplateItemBlockDeviceMappingKubelet

type ParamsMainLaunchTemplateItemBlockDeviceMappingKubelet struct {
	Volume ParamsMainLaunchTemplateItemBlockDeviceMappingKubeletVolume
}

type ParamsMainLaunchTemplateItemBlockDeviceMappingKubeletVolume

type ParamsMainLaunchTemplateItemBlockDeviceMappingKubeletVolume struct {
	Size int
}

type ParamsMainLaunchTemplateItemBlockDeviceMappingLogging

type ParamsMainLaunchTemplateItemBlockDeviceMappingLogging struct {
	Volume ParamsMainLaunchTemplateItemBlockDeviceMappingLoggingVolume
}

type ParamsMainLaunchTemplateItemBlockDeviceMappingLoggingVolume

type ParamsMainLaunchTemplateItemBlockDeviceMappingLoggingVolume struct {
	Size int
}

type ParamsMainLaunchTemplateItemInstance

type ParamsMainLaunchTemplateItemInstance struct {
	Image      string
	Monitoring bool
	Type       string
}

type ParamsMainLaunchTemplateItemSmallCloudConfig

type ParamsMainLaunchTemplateItemSmallCloudConfig struct {
	S3URL string
}

type ParamsMainLaunchTemplateMetadata

type ParamsMainLaunchTemplateMetadata struct {
	HttpTokens string
}

type ParamsMainOutputs

type ParamsMainOutputs struct {
	InstanceType    string
	MasterReplicas  int
	OperatorVersion string
	ReleaseVersion  string
}

type ParamsMainRecordSets

type ParamsMainRecordSets struct {
	BaseDomain           string
	ClusterID            string
	InternalHostedZoneID string
	Records              []ParamsMainRecordSetsRecord
	Route53Enabled       bool
}

type ParamsMainRecordSetsRecord

type ParamsMainRecordSetsRecord struct {
	ENI      ParamsMainRecordSetsRecordENI
	Resource string
	Value    string
}

type ParamsMainRecordSetsRecordENI

type ParamsMainRecordSetsRecordENI struct {
	Resource string
}

Jump to

Keyboard shortcuts

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