ec2

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2020 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Overview

Package ec2 implements testing utilities using EC2.

Index

Constants

View Source
const TemplateASG = `` /* 6700-byte string literal not displayed */

TemplateASG is the CloudFormation template for ASG.

View Source
const TemplateRoleBasic = `` /* 1129-byte string literal not displayed */

TemplateRoleBasic is the CloudFormation template for EC2 role.

View Source
const TemplateVPCPublicPrivate = `` /* 10813-byte string literal not displayed */

TemplateVPCPublicPrivate is the CloudFormation template for EC2 VPC.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tester added in v0.6.9

type Tester struct {
	// contains filtered or unexported fields
}

Tester implements "kubetest2" Deployer. ref. https://github.com/kubernetes/test-infra/blob/master/kubetest2/pkg/types/types.go

func New added in v0.6.9

func New(cfg *ec2config.Config) (*Tester, error)

New creates a new EC2 tester.

func (*Tester) Down added in v0.6.9

func (ts *Tester) Down() error

Down cancels the cluster creation and destroy the test cluster if any.

func (*Tester) DownloadLogs added in v0.7.0

func (ts *Tester) DownloadLogs(artifactDir string) error

func (*Tester) FetchLogs added in v0.6.9

func (ts *Tester) FetchLogs() (err error)

FetchLogs downloads logs from managed node group instances.

func (*Tester) Up added in v0.6.9

func (ts *Tester) Up() (err error)

Up should provision a new cluster for testing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL