matchers

package
v0.138.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 18 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 NewConfig added in v0.98.0

func NewConfig(region string) aws.Config

NewConfig 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