Documentation ¶
Index ¶
- func EnsureInstanceProfile(svc *iam.IAM, instanceProfileName string, roleName string) error
- func EnsureRole(svc *iam.IAM, roleName string) error
- func FetchConfigureScript(userDataFile string, replace func(string) string) (string, error)
- func FetchKubeadmInitYaml(kubeadmInitFile string, replace func(string) string) (string, error)
- func FetchKubeadmJoinYaml(kubeadmJoinFile string, replace func(string) string) (string, error)
- func FetchRunKubeadmSH(replace func(string) string) (string, error)
- func FetchRunPostInstallSH(replace func(string) string) (string, error)
- func GetInstanceProfileArn(svc *iam.IAM, instanceProfileName string) (string, error)
- func GetSSMImage(ssmService *ssm.SSM, path string) (string, error)
- func LaunchNewInstance(ec2Service *ec2.EC2, iamService *iam.IAM, clusterID string, ...) (*ec2.Instance, error)
- func RandomFixedLengthString(length int) string
- func RandomHexEncodedBytes(n int) string
- func SourceVersion(kubeRoot string) (string, error)
- func ValidateS3Bucket(s3Service *s3.S3, stageLocation string, stageVersion string, version string) error
- func WaitForInstanceToRun(ec2Service *ec2.EC2, instance *ec2.Instance) *ec2.Instance
- type InternalAWSImage
- type TemporarySSHKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureInstanceProfile ¶
func FetchConfigureScript ¶
func FetchKubeadmInitYaml ¶
func FetchKubeadmJoinYaml ¶
func FetchRunPostInstallSH ¶
func GetInstanceProfileArn ¶
func LaunchNewInstance ¶
func RandomFixedLengthString ¶
func RandomHexEncodedBytes ¶
func SourceVersion ¶
SourceVersion the kubernetes git version based on hack/print-workspace-status.sh the raw version is also returned
func ValidateS3Bucket ¶
Types ¶
type InternalAWSImage ¶
type TemporarySSHKey ¶
func GenerateSSHKeypair ¶
func GenerateSSHKeypair() (*TemporarySSHKey, error)
Click to show internal directories.
Click to hide internal directories.