helpers

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EKSCluster

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

func NewEKSCluster

func NewEKSCluster(t *testing.T, terraformDir, clusterNameSuffix string, nm NetworkMode) *EKSCluster

func (*EKSCluster) Create

func (g *EKSCluster) Create(t *testing.T)

func (*EKSCluster) Destroy

func (g *EKSCluster) Destroy(t *testing.T)

func (*EKSCluster) KubeConfigGet

func (g *EKSCluster) KubeConfigGet() string

func (*EKSCluster) SkipNetPolTests added in v2.0.2

func (g *EKSCluster) SkipNetPolTests() bool

type GKECluster

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

func NewGKECluster

func NewGKECluster(t *testing.T, terraformDir, clusterNameSuffix string, nm NetworkMode) *GKECluster

func (*GKECluster) Create

func (g *GKECluster) Create(t *testing.T)

func (*GKECluster) Destroy

func (g *GKECluster) Destroy(t *testing.T)

func (*GKECluster) KubeConfigGet

func (g *GKECluster) KubeConfigGet() string

func (*GKECluster) SkipNetPolTests added in v2.0.2

func (g *GKECluster) SkipNetPolTests() bool

type GenericCluster

type GenericCluster interface {
	Create(t *testing.T)
	Destroy(t *testing.T)
	KubeConfigGet() string
	SkipNetPolTests() bool
}

type NetworkMode

type NetworkMode string
const (
	VPC         NetworkMode = "vpc"
	DataPlaneV2 NetworkMode = "dataplanev2"
	Calico      NetworkMode = "calico"
)

Jump to

Keyboard shortcuts

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