assertions

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeInvalid

func BeInvalid() types.GomegaMatcher

BeInvalid returns a matcher that checks if a pipeline is invalid

func BeValid

func BeValid() types.GomegaMatcher

BeValid returns a matcher that checks if a pipeline is valid

func Exist

func Exist() types.GomegaMatcher

Exist returns a matcher that checks if a service exists

func HaveErrorContaining

func HaveErrorContaining(substring string) types.GomegaMatcher

HaveErrorContaining returns a matcher that checks if error message contains substring

func HavePort

func HavePort(port string) types.GomegaMatcher

HavePort returns a matcher that checks the service port

func HaveRole

func HaveRole(role string) types.GomegaMatcher

HaveRole returns a matcher that checks the pipeline role

func HaveSplitModeEnabled

func HaveSplitModeEnabled() types.GomegaMatcher

HaveSplitModeEnabled returns a matcher that checks if split mode is enabled

Types

type PipelineResource

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

PipelineResource represents a pipeline for matching

func NewPipelineResource

func NewPipelineResource(namespace, name string) *PipelineResource

NewPipelineResource creates a new pipeline resource wrapper

type ServiceResource

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

ServiceResource represents a service for matching

func NewServiceResource

func NewServiceResource(namespace, name string) *ServiceResource

NewServiceResource creates a new service resource wrapper

Jump to

Keyboard shortcuts

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