pdbs

package
v0.0.0-...-0d68d12 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

pdbs contains assertions for Kubernetes PodDisruptionBudgets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PDBAssertion

type PDBAssertion struct {
	assertion.Assertion
}

PDBAssertion is a wrapper around assertion.Assertion that provides additional functionality for PodDisruptionBudgets.

func NewPDBAssertion

func NewPDBAssertion(opts ...assertion.Option) PDBAssertion

NewPDBAssertion creates a new PDBAssertion with the provided options.

func (PDBAssertion) Exists

func (pa PDBAssertion) Exists() PDBAssertion

Exists asserts that exactly one PodDisruptionBudget exists in the cluster that matches the provided options.

Jump to

Keyboard shortcuts

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