testcases

package
v0.0.0-...-0117b6e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package testcases contains test cases from all testStages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ec2DetectorTestCase

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

Ec2DetectorTestCase represents the test case testing the ec2 detection module in ec2 environments

func NewEc2DetectorTestCase

func NewEc2DetectorTestCase(context context.T) *Ec2DetectorTestCase

func (*Ec2DetectorTestCase) CleanupTestCase

func (l *Ec2DetectorTestCase) CleanupTestCase()

CleanupTestCase cleans up the test case

func (*Ec2DetectorTestCase) ExecuteTestCase

func (l *Ec2DetectorTestCase) ExecuteTestCase() (output testCommon.TestOutput)

ExecuteTestCase executes the ec2 detector test case, test only runs when instance id starts with i-

func (*Ec2DetectorTestCase) GetTestCaseName

func (l *Ec2DetectorTestCase) GetTestCaseName() string

GetTestCaseName gets the test case name

func (*Ec2DetectorTestCase) Initialize

func (l *Ec2DetectorTestCase) Initialize()

Initialize initializes values needed for this test case

func (*Ec2DetectorTestCase) ShouldRunTest

func (l *Ec2DetectorTestCase) ShouldRunTest() bool

ShouldRunTest determines if test should run

type HostInfo

type HostInfo struct {
	Vendor  string
	Version string
	Uuid    string
}

Jump to

Keyboard shortcuts

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