matchers

package
v0.93.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertContainsCluster added in v0.88.0

func AssertContainsCluster(cmd runner.Cmd, out GetClusterOutput)

AssertContainsCluster asserts that the output of the specified command contains the specified cluster

func BeNodeGroupsWithNamesWhich

func BeNodeGroupsWithNamesWhich(matchers ...types.GomegaMatcher) types.GomegaMatcher

BeNodeGroupsWithNamesWhich helps match JSON-formatted nodegroups by accepting matchers on an array of nodegroup names.

func BeNotFoundError

func BeNotFoundError() types.GomegaMatcher

BeNotFoundError succeeds if actual is a non-nil error which represents a missing kubernetes resource

func HaveExistingCluster

func HaveExistingCluster(expectedName string, expectedStatus string, expectedVersion string) types.GomegaMatcher

HaveExistingCluster returns a GoMega matcher that will check for the existence of an EKS cluster

func HaveExistingStack

func HaveExistingStack(expectedStackName string) types.GomegaMatcher

HaveExistingStack returns a GoMega matcher that will check for the existence of an cloudformation stack

func NewSession

func NewSession(region string) *session.Session

NewSession creates a new session

Types

type GetClusterOutput added in v0.88.0

type GetClusterOutput struct {
	ClusterName   string
	Region        string
	EksctlCreated string
}

Jump to

Keyboard shortcuts

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