Documentation
¶
Index ¶
- Constants
- func AutoScalingGroupName(customObject v1alpha1.AWSConfig, groupName string) string
- func AvailabilityZone(customObject v1alpha1.AWSConfig) string
- func BucketName(customObject v1alpha1.AWSConfig, accountID string) string
- func BucketObjectName(templateVersion string, prefix string) string
- func ClusterCustomer(customObject v1alpha1.AWSConfig) string
- func ClusterID(customObject v1alpha1.AWSConfig) string
- func ClusterNamespace(customObject v1alpha1.AWSConfig) string
- func ClusterTags(customObject v1alpha1.AWSConfig) map[string]string
- func ClusterVersion(customObject v1alpha1.AWSConfig) string
- func CustomerID(customObject v1alpha1.AWSConfig) string
- func HasClusterVersion(customObject v1alpha1.AWSConfig) bool
- func ImageID(customObject v1alpha1.AWSConfig) (string, error)
- func IngressControllerInsecurePort(customObject v1alpha1.AWSConfig) int
- func IngressControllerSecurePort(customObject v1alpha1.AWSConfig) int
- func InstanceProfileName(customObject v1alpha1.AWSConfig, profileType string) string
- func IsInvalidConfig(err error) bool
- func IsMalformedCloudConfigKey(err error) bool
- func IsMissingCloudConfigKey(err error) bool
- func IsNotFound(err error) bool
- func IsWrongTypeError(err error) bool
- func KubernetesAPISecurePort(customObject v1alpha1.AWSConfig) int
- func LoadBalancerName(domainName string, cluster v1alpha1.AWSConfig) (string, error)
- func MainGuestStackName(customObject v1alpha1.AWSConfig) string
- func MainHostPostStackName(customObject v1alpha1.AWSConfig) string
- func MainHostPreStackName(customObject v1alpha1.AWSConfig) string
- func MasterCount(customObject v1alpha1.AWSConfig) int
- func MasterImageID(customObject v1alpha1.AWSConfig) string
- func MasterInstanceName(customObject v1alpha1.AWSConfig) string
- func MasterInstanceType(customObject v1alpha1.AWSConfig) string
- func PeerAccessRoleName(customObject v1alpha1.AWSConfig) string
- func PeerID(customObject v1alpha1.AWSConfig) string
- func PolicyName(customObject v1alpha1.AWSConfig, profileType string) string
- func PrivateSubnetCIDR(customObject v1alpha1.AWSConfig) string
- func Region(customObject v1alpha1.AWSConfig) string
- func RoleName(customObject v1alpha1.AWSConfig, profileType string) string
- func RootDir(baseDir, rootElement string) (string, error)
- func RouteTableName(customObject v1alpha1.AWSConfig, suffix string) string
- func SecurityGroupName(customObject v1alpha1.AWSConfig, groupName string) string
- func SubnetName(customObject v1alpha1.AWSConfig, suffix string) string
- func ToCustomObject(v interface{}) (v1alpha1.AWSConfig, error)
- func VersionBundleVersion(customObject v1alpha1.AWSConfig) string
- func WorkerCount(customObject v1alpha1.AWSConfig) int
- func WorkerImageID(customObject v1alpha1.AWSConfig) string
- func WorkerInstanceType(customObject v1alpha1.AWSConfig) string
Constants ¶
View Source
const ( // CloudProviderTagName is used to add Cloud Provider tags to AWS resources. CloudProviderTagName = "kubernetes.io/cluster/%s" // CloudProviderTagOwnedValue is used to indicate an AWS resource is owned // and managed by a cluster. CloudProviderTagOwnedValue = "owned" // LegacyVersion is the version in the version bundle for existing clusters. LegacyVersion = "0.1.0" // ProfileNameTemplate will be included in the IAM instance profile name. ProfileNameTemplate = "EC2-K8S-Role" // RoleNameTemplate will be included in the IAM role name. RoleNameTemplate = "EC2-K8S-Role" // PolicyNameTemplate will be included in the IAM policy name. PolicyNameTemplate = "EC2-K8S-Policy" )
Variables ¶
This section is empty.
Functions ¶
func AutoScalingGroupName ¶
func AvailabilityZone ¶
func BucketObjectName ¶
func ClusterCustomer ¶
func ClusterNamespace ¶
func ClusterVersion ¶
func CustomerID ¶
func HasClusterVersion ¶
func InstanceProfileName ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsMalformedCloudConfigKey ¶
IsMalformedCloudConfigKey asserts malformedCloudConfigKeyError.
func IsMissingCloudConfigKey ¶
IsMissingCloudConfigKey asserts missingCloudConfigKeyError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
func KubernetesAPISecurePort ¶
func LoadBalancerName ¶
LoadBalancerName produces a unique name for the load balancer. It takes the domain name, extracts the first subdomain, and combines it with the cluster name.
func MainGuestStackName ¶
func MainHostPostStackName ¶
func MainHostPreStackName ¶
func MasterCount ¶
func MasterImageID ¶
func MasterInstanceName ¶
func MasterInstanceType ¶
func PeerAccessRoleName ¶
func PrivateSubnetCIDR ¶
func SecurityGroupName ¶
func ToCustomObject ¶
func VersionBundleVersion ¶
VersionBundleVersion returns the version contained in the Version Bundle.
func WorkerCount ¶
func WorkerImageID ¶
func WorkerInstanceType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.