ec2

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Overview

Package ec2 implements testing utilities using EC2.

Index

Constants

This section is empty.

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

DownloadLogs downloads logs to the artifact direcoty.

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