template

package
v14.19.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const TemplateMain = `` /* 450-byte string literal not displayed */
View Source
const TemplateMainInternetGateway = `` /* 758-byte string literal not displayed */
View Source
const TemplateMainLoadBalancers = `` /* 2390-byte string literal not displayed */
View Source
const TemplateMainNatGateway = `` /* 833-byte string literal not displayed */
View Source
const TemplateMainOutputs = `` /* 503-byte string literal not displayed */
View Source
const TemplateMainRecordSets = `` /* 2969-byte string literal not displayed */
View Source
const TemplateMainRouteTables = `` /* 1536-byte string literal not displayed */
View Source
const TemplateMainSecurityGroups = `` /* 8415-byte string literal not displayed */
View Source
const TemplateMainSubnets = `` /* 2019-byte string literal not displayed */
View Source
const TemplateMainVPC = `` /* 1741-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 {
	EnableAWSCNI    bool
	InternetGateway *ParamsMainInternetGateway
	LoadBalancers   *ParamsMainLoadBalancers
	NATGateway      *ParamsMainNATGateway
	Outputs         *ParamsMainOutputs
	RecordSets      *ParamsMainRecordSets
	RouteTables     *ParamsMainRouteTables
	SecurityGroups  *ParamsMainSecurityGroups
	Subnets         *ParamsMainSubnets
	VPC             *ParamsMainVPC
}

type ParamsMainInternetGateway

type ParamsMainInternetGateway struct {
	ClusterID        string
	InternetGateways []ParamsMainInternetGatewayInternetGateway
}

type ParamsMainInternetGatewayInternetGateway

type ParamsMainInternetGatewayInternetGateway struct {
	InternetGatewayRoute string
	RouteTable           string
}

type ParamsMainLoadBalancers

type ParamsMainLoadBalancers struct {
	APIElbHealthCheckTarget    string
	APIElbName                 string
	APIInternalElbName         string
	APIElbPortsToOpen          []ParamsMainLoadBalancersPortPair
	APIElbSecurityGroupID      string
	EtcdElbHealthCheckTarget   string
	EtcdElbName                string
	EtcdElbPortsToOpen         []ParamsMainLoadBalancersPortPair
	EtcdElbSecurityGroupID     string
	MasterInstanceResourceName string
	PublicSubnets              []string
	PrivateSubnets             []string
}

type ParamsMainLoadBalancersPortPair

type ParamsMainLoadBalancersPortPair struct {
	// PortELB is the port the ELB should listen on.
	PortELB int
	// PortInstance is the port on the instance the ELB forwards traffic to.
	PortInstance int
}

type ParamsMainNATGateway

type ParamsMainNATGateway struct {
	Gateways  []ParamsMainNATGatewayGateway
	NATRoutes []ParamsMainNATGatewayNATRoute
}

type ParamsMainNATGatewayGateway

type ParamsMainNATGatewayGateway struct {
	AvailabilityZone string
	ClusterID        string
	NATGWName        string
	NATEIPName       string
	PublicSubnetName string
}

type ParamsMainNATGatewayNATRoute

type ParamsMainNATGatewayNATRoute struct {
	NATGWName      string
	NATRouteName   string
	RouteTableName string
}

type ParamsMainOutputs

type ParamsMainOutputs struct {
	Master          ParamsMainOutputsMaster
	OperatorVersion string
	Route53Enabled  bool
}

type ParamsMainOutputsMaster

type ParamsMainOutputsMaster struct {
	ImageID      string
	Instance     ParamsMainOutputsMasterInstance
	DockerVolume ParamsMainOutputsMasterDockerVolume
}

type ParamsMainOutputsMasterDockerVolume

type ParamsMainOutputsMasterDockerVolume struct {
	ResourceName string
}

type ParamsMainOutputsMasterInstance

type ParamsMainOutputsMasterInstance struct {
	ResourceName string
	Type         string
}

type ParamsMainRecordSets

type ParamsMainRecordSets struct {
	BaseDomain                 string
	EtcdDomain                 string
	ClusterID                  string
	MasterInstanceResourceName string
	Route53Enabled             bool
	VPCRegion                  string
}

type ParamsMainRouteTables

type ParamsMainRouteTables struct {
	ClusterID       string
	HostClusterCIDR string

	AWSCNIRouteTableNames  []ParamsMainRouteTablesRouteTableName
	PrivateRouteTableNames []ParamsMainRouteTablesRouteTableName
	PublicRouteTableNames  []ParamsMainRouteTablesRouteTableName
}

type ParamsMainRouteTablesRouteTableName

type ParamsMainRouteTablesRouteTableName struct {
	AvailabilityZone       string
	AvailabilityZoneRegion string
	ResourceName           string
	VPCPeeringRouteName    string
}

type ParamsMainSecurityGroups

type ParamsMainSecurityGroups struct {
	APIWhitelist                    ParamsMainSecurityGroupsAPIWhitelist
	ClusterID                       string
	ControlPlaneNATGatewayAddresses []*ec2.Address
	ControlPlaneVPCCIDR             string
	TenantClusterVPCCIDR            string
	TenantClusterCNICIDR            string
}

type ParamsMainSecurityGroupsAPIWhitelistSecurityGroup

type ParamsMainSecurityGroupsAPIWhitelistSecurityGroup struct {
	Enabled    bool
	SubnetList []string
}

type ParamsMainSubnets

type ParamsMainSubnets struct {
	AWSCNISubnets  []ParamsMainSubnetsSubnet
	PublicSubnets  []ParamsMainSubnetsSubnet
	PrivateSubnets []ParamsMainSubnetsSubnet
}

type ParamsMainSubnetsSubnet

type ParamsMainSubnetsSubnet struct {
	AvailabilityZone      string
	CIDR                  string
	Name                  string
	MapPublicIPOnLaunch   bool
	RouteTableAssociation ParamsMainSubnetsSubnetRouteTableAssociation
}

type ParamsMainSubnetsSubnetRouteTableAssociation

type ParamsMainSubnetsSubnetRouteTableAssociation struct {
	Name           string
	RouteTableName string
	SubnetName     string
}

type ParamsMainVPC

type ParamsMainVPC struct {
	CidrBlock        string
	CIDRBlockAWSCNI  string
	ClusterID        string
	InstallationName string
	HostAccountID    string
	PeerVPCID        string
	PeerRoleArn      string
	Region           string
	RegionARN        string
	RouteTableNames  []ParamsMainVPCRouteTableName
}

type ParamsMainVPCRouteTableName

type ParamsMainVPCRouteTableName struct {
	AvailabilityZone    string
	ResourceName        string
	VPCPeeringRouteName string
}

Jump to

Keyboard shortcuts

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