testSupport

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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 TestStatus

type TestStatus struct {
	Some               string
	NextReconcileTime  metav1.Time
	ObservedGeneration int64
}

Jump to

Keyboard shortcuts

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