Documentation ¶
Index ¶
- Constants
- func BucketName(cluster v1alpha1.Cluster, accountID string) string
- func BucketObjectName(cluster v1alpha1.Cluster, role string) string
- func CloudConfigSmallTemplates() []string
- func CloudFormationGuestTemplates() []string
- func ClusterAPIEndpoint(cluster v1alpha1.Cluster) string
- func ClusterBaseDomain(cluster v1alpha1.Cluster) string
- func ClusterCloudProviderTag(cluster v1alpha1.Cluster) string
- func ClusterEtcdEndpoint(cluster v1alpha1.Cluster) string
- func ClusterEtcdEndpointWithPort(cluster v1alpha1.Cluster) string
- func ClusterID(cluster v1alpha1.Cluster) string
- func ClusterKubeletEndpoint(cluster v1alpha1.Cluster) string
- func ClusterNamespace(cluster v1alpha1.Cluster) string
- func ClusterTags(cluster v1alpha1.Cluster, installationName string) map[string]string
- func ClusterVersion(cluster v1alpha1.Cluster) string
- func CredentialName(cluster v1alpha1.Cluster) string
- func CredentialNamespace(cluster v1alpha1.Cluster) string
- func DockerVolumeResourceName(cluster v1alpha1.Cluster) string
- func EC2ServiceDomain(cluster v1alpha1.Cluster) string
- func ELBNameAPI(cluster v1alpha1.Cluster) string
- func ELBNameEtcd(cluster v1alpha1.Cluster) string
- func ELBNameIngress(cluster v1alpha1.Cluster) string
- func ImageID(cluster v1alpha1.Cluster) string
- func IsDeleted(getter DeletionTimestampGetter) bool
- func IsWrongTypeError(err error) bool
- func KubeletLabels(cluster v1alpha1.Cluster) string
- func MasterCount(cluster v1alpha1.Cluster) int
- func MasterInstanceName(cluster v1alpha1.Cluster) string
- func MasterInstanceResourceName(cluster v1alpha1.Cluster) string
- func MasterInstanceType(cluster v1alpha1.Cluster) string
- func NATEIPName(idx int) string
- func NATGatewayName(idx int) string
- func NATRouteName(idx int) string
- func OrganizationID(cluster v1alpha1.Cluster) string
- func PolicyNameMaster(cluster v1alpha1.Cluster) string
- func PolicyNameWorker(cluster v1alpha1.Cluster) string
- func PrivateRouteTableName(idx int) string
- func PrivateSubnetName(idx int) string
- func PrivateSubnetRouteTableAssociationName(idx int) string
- func ProfileNameMaster(cluster v1alpha1.Cluster) string
- func ProfileNameWorker(cluster v1alpha1.Cluster) string
- func PublicRouteTableName(idx int) string
- func PublicSubnetName(idx int) string
- func PublicSubnetRouteTableAssociationName(idx int) string
- func Region(cluster v1alpha1.Cluster) string
- func RegionARN(cluster v1alpha1.Cluster) string
- func RoleARNMaster(cluster v1alpha1.Cluster, accountID string) string
- func RoleARNWorker(cluster v1alpha1.Cluster, accountID string) string
- func RoleNameMaster(cluster v1alpha1.Cluster) string
- func RoleNameWorker(cluster v1alpha1.Cluster) string
- func RolePeerAccess(cluster v1alpha1.Cluster) string
- func RouteTableName(cluster v1alpha1.Cluster, suffix string, idx int) string
- func SecurityGroupName(cluster v1alpha1.Cluster, groupName string) string
- func SmallCloudConfigPath(cluster v1alpha1.Cluster, accountID string, role string) string
- func SmallCloudConfigS3URL(cluster v1alpha1.Cluster, accountID string, role string) string
- func StackNameCPF(cluster v1alpha1.Cluster) string
- func StackNameCPI(cluster v1alpha1.Cluster) string
- func StackNameTCCP(cluster v1alpha1.Cluster) string
- func StatusAWSConfigNetworkCIDR(customObject v1alpha1.AWSConfig) string
- func StatusAvailabilityZones(cluster v1alpha1.MachineDeployment) []g8sv1alpha1.AWSConfigStatusAWSAvailabilityZone
- func StatusClusterNetworkCIDR(cluster v1alpha1.Cluster) string
- func TargetLogBucketName(cluster v1alpha1.Cluster) string
- func ToCluster(v interface{}) (v1alpha1.Cluster, error)
- func ToMachineDeployment(v interface{}) (v1alpha1.MachineDeployment, error)
- func VPCPeeringRouteName(idx int) string
- func VolumeNameDocker(cluster v1alpha1.Cluster) string
- func VolumeNameEtcd(cluster v1alpha1.Cluster) string
- func VolumeNameLog(cluster v1alpha1.Cluster) string
- func WorkerAvailabilityZones(cr v1alpha1.MachineDeployment) []string
- func WorkerDockerVolumeSizeGB(cr v1alpha1.MachineDeployment) string
- func WorkerInstanceType(cr v1alpha1.MachineDeployment) string
- func WorkerScalingMax(cr v1alpha1.MachineDeployment) int
- func WorkerScalingMin(cr v1alpha1.MachineDeployment) int
- func WorkerVersion(cr v1alpha1.MachineDeployment) string
- type DeletionTimestampGetter
Constants ¶
View Source
const ( // CloudConfigVersion defines the version of k8scloudconfig in use. It is used // in the main stack output and S3 object paths. CloudConfigVersion = "v_4_0_0" CloudProvider = "aws" )
View Source
const ( EC2RoleK8s = "EC2-K8S-Role" EC2PolicyK8s = "EC2-K8S-Policy" )
View Source
const ( IngressControllerInsecurePort = 30010 IngressControllerSecurePort = 30011 )
View Source
const ( EtcdPort = 2379 EtcdPrefix = "giantswarm.io" KubernetesSecurePort = 443 )
View Source
const ( LabelApp = "app" LabelCluster = "giantswarm.io/cluster" LabelOrganization = "giantswarm.io/organization" LabelVersionBundle = "giantswarm.io/version-bundle" )
View Source
const ( TagCluster = "giantswarm.io/cluster" TagInstallation = "giantswarm.io/installation" TagOrganization = "giantswarm.io/organization" )
AWS Tags used for cost analysis and general resource tagging.
View Source
const ( RefNodeDrainer = "NodeDrainer" RefWorkerASG = "workerAutoScalingGroup" )
View Source
const (
AnnotationInstanceID = "aws-operator.giantswarm.io/instance"
)
Variables ¶
This section is empty.
Functions ¶
func BucketObjectName ¶
BucketObjectName computes the S3 object path to the actual cloud config.
/version/3.4.0/cloudconfig/v_3_2_5/master /version/3.4.0/cloudconfig/v_3_2_5/worker
func CloudConfigSmallTemplates ¶
func CloudConfigSmallTemplates() []string
func CloudFormationGuestTemplates ¶
func CloudFormationGuestTemplates() []string
func ClusterAPIEndpoint ¶
func ClusterBaseDomain ¶
func ClusterCloudProviderTag ¶
func ClusterEtcdEndpoint ¶
func ClusterKubeletEndpoint ¶
func ClusterNamespace ¶
func ClusterTags ¶
func ClusterVersion ¶
func CredentialName ¶
func CredentialNamespace ¶
func EC2ServiceDomain ¶
func ELBNameAPI ¶
func ELBNameEtcd ¶
func ELBNameIngress ¶
func IsDeleted ¶
func IsDeleted(getter DeletionTimestampGetter) bool
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
func KubeletLabels ¶
func MasterCount ¶
func MasterInstanceName ¶
func MasterInstanceType ¶
func NATEIPName ¶
func NATGatewayName ¶
func NATRouteName ¶
func OrganizationID ¶
func PolicyNameMaster ¶
func PolicyNameWorker ¶
func PrivateRouteTableName ¶
func PrivateSubnetName ¶
func ProfileNameMaster ¶
func ProfileNameWorker ¶
func PublicRouteTableName ¶
func PublicSubnetName ¶
func RoleNameMaster ¶
func RoleNameWorker ¶
func RolePeerAccess ¶
func SmallCloudConfigPath ¶
func SmallCloudConfigS3URL ¶
func StackNameCPF ¶
func StackNameCPI ¶
func StackNameTCCP ¶
func StatusAvailabilityZones ¶
func StatusAvailabilityZones(cluster v1alpha1.MachineDeployment) []g8sv1alpha1.AWSConfigStatusAWSAvailabilityZone
TODO this method has to be properly implemented and renamed eventually.
func TargetLogBucketName ¶
func ToMachineDeployment ¶
func ToMachineDeployment(v interface{}) (v1alpha1.MachineDeployment, error)
func VPCPeeringRouteName ¶
func VolumeNameDocker ¶
func VolumeNameEtcd ¶
func VolumeNameLog ¶
func WorkerAvailabilityZones ¶
func WorkerAvailabilityZones(cr v1alpha1.MachineDeployment) []string
func WorkerDockerVolumeSizeGB ¶
func WorkerDockerVolumeSizeGB(cr v1alpha1.MachineDeployment) string
func WorkerInstanceType ¶
func WorkerInstanceType(cr v1alpha1.MachineDeployment) string
func WorkerScalingMax ¶
func WorkerScalingMax(cr v1alpha1.MachineDeployment) int
func WorkerScalingMin ¶
func WorkerScalingMin(cr v1alpha1.MachineDeployment) int
func WorkerVersion ¶
func WorkerVersion(cr v1alpha1.MachineDeployment) string
Types ¶
type DeletionTimestampGetter ¶
Click to show internal directories.
Click to hide internal directories.