testSupport

package
v0.150.11 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 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 CreateFakeClient

func CreateFakeClient(t *testing.T, objects ...client.Object) client.WithWatch

Types

type TestApiObject

type TestApiObject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Status TestStatus `json:"status,omitempty"`
}

func (*TestApiObject) DeepCopy

func (t *TestApiObject) DeepCopy() *TestApiObject

func (*TestApiObject) DeepCopyInto

func (m *TestApiObject) DeepCopyInto(out *TestApiObject)

func (*TestApiObject) DeepCopyObject

func (t *TestApiObject) DeepCopyObject() runtime.Object

type TestNoStatusApiObject added in v0.21.0

type TestNoStatusApiObject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
}

func (*TestNoStatusApiObject) DeepCopy added in v0.21.0

func (*TestNoStatusApiObject) DeepCopyInto added in v0.21.0

func (m *TestNoStatusApiObject) DeepCopyInto(out *TestNoStatusApiObject)

func (*TestNoStatusApiObject) DeepCopyObject added in v0.21.0

func (t *TestNoStatusApiObject) DeepCopyObject() runtime.Object

type TestStatus

type TestStatus struct {
	Some               string
	Conditions         []metav1.Condition
	NextReconcileTime  metav1.Time
	ObservedGeneration int64
}

Jump to

Keyboard shortcuts

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