Documentation ¶
Overview ¶
Package ec2 implements testing utilities using EC2.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertEC2Instance ¶
ConvertEC2Instance converts "aws ec2 describe-instances" to "config.Instance".
Types ¶
type Deployer ¶
type Deployer interface { // Create creates a cluster of EC2 instances. Create() error // Add creates one more instance to the cluster. Add() error // Stop stops create operation. Stop() // Delete deletes one instance. Delete(id string) error // Terminate terminates all EC2 instances in the cluster. Terminate() error // Logger returns the logger. Logger() *zap.Logger // UploadToBucketForTests uploads a local file to aws-k8s-tester S3 bucket. UploadToBucketForTests(localPath, remotePath string) error }
Deployer defines EC2 deployer.
Click to show internal directories.
Click to hide internal directories.