tiertemplaterevision

package
v0.0.0-...-f35e54f Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assertion

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

Assertion an assertion helper for an TierTemplateRevision

func AssertThatTTRs

func AssertThatTTRs(t test.T, client runtimeclient.Client, namespace string) *Assertion

AssertThatTTRs helper func to begin with the assertions on an TierTemplateRevisions

func (*Assertion) DoNotExist

func (a *Assertion) DoNotExist() *Assertion

DoNotExist verifies that there is no TTR in the given namespace

func (*Assertion) ExistFor

func (a *Assertion) ExistFor(tierName string, tierTemplateRef ...string) *Assertion

ExistFor verifies that there are TTRs with given labels

func (*Assertion) ForEach

func (a *Assertion) ForEach(assertionFunc func(ttr *toolchainv1alpha1.TierTemplateRevision)) *Assertion

func (*Assertion) NumberOfPresentCRs

func (a *Assertion) NumberOfPresentCRs(expected int) *Assertion

Jump to

Keyboard shortcuts

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