testutil

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestClusterIssuer

func TestClusterIssuer(name string, mods ...TestClusterIssuerModifier) *api.TestClusterIssuer

func TestIssuer

func TestIssuer(name string, mods ...TestIssuerModifier) *api.TestIssuer

func TestIssuerFrom

func TestIssuerFrom(cr *api.TestIssuer, mods ...TestIssuerModifier) *api.TestIssuer

Types

type TestClusterIssuerModifier

type TestClusterIssuerModifier func(*api.TestClusterIssuer)

func SetTestClusterIssuerGeneration

func SetTestClusterIssuerGeneration(generation int64) TestClusterIssuerModifier

func SetTestClusterIssuerStatusCondition

func SetTestClusterIssuerStatusCondition(
	clock clock.PassiveClock,
	conditionType string,
	status metav1.ConditionStatus,
	reason, message string,
) TestClusterIssuerModifier

type TestIssuerModifier

type TestIssuerModifier func(*api.TestIssuer)

func SetTestIssuerGeneration

func SetTestIssuerGeneration(generation int64) TestIssuerModifier

func SetTestIssuerNamespace

func SetTestIssuerNamespace(namespace string) TestIssuerModifier

func SetTestIssuerStatusCondition

func SetTestIssuerStatusCondition(
	clock clock.PassiveClock,
	conditionType string,
	status metav1.ConditionStatus,
	reason, message string,
) TestIssuerModifier

Jump to

Keyboard shortcuts

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