Documentation ¶
Index ¶
- func CreateInstance(ctx *pulumi.Context, instanceType string) (*types.Infrastructure, error)
- func CreateSSHKeyPair(ctx *pulumi.Context) (*types.Infrastructure, error)
- func CreateSecurityGroup(ctx *pulumi.Context) (*types.Infrastructure, error)
- func Down(region, instanceType string) error
- func GetKubeconfig(region string) error
- func InstallK3s(region string) error
- func Up(region, instanceType string) error
- func WaitInstanceReady(region string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInstance ¶
CreateInstance creates an ec2 instance in AWS
func CreateSSHKeyPair ¶
func CreateSSHKeyPair(ctx *pulumi.Context) (*types.Infrastructure, error)
CreateSSHKeyPair creates an SSH keypair in AWS
func CreateSecurityGroup ¶
func CreateSecurityGroup(ctx *pulumi.Context) (*types.Infrastructure, error)
CreateSecurityGroup creates a security group in AWS
func GetKubeconfig ¶
GetKubeconfig fetches the kubeconfig from the remote host and writes it to working directory on local disk
func InstallK3s ¶
InstallK3s installs k3s on an ec2 instance via SSH
func WaitInstanceReady ¶
WaitInstanceReady waits for instance health checks to return "passed"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.