testing

package
v0.12.0-build.4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "testing.reconciler.runtime", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = GroupVersion

compatibility with k8s.io/code-generator

Functions

This section is empty.

Types

type TestResource

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

	Spec TestResourceSpec `json:"spec"`
}

func (*TestResource) DeepCopy

func (in *TestResource) DeepCopy() *TestResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResource.

func (*TestResource) DeepCopyInto

func (in *TestResource) DeepCopyInto(out *TestResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TestResource) DeepCopyObject

func (in *TestResource) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*TestResource) Default

func (r *TestResource) Default()

func (*TestResource) Validate

func (r *TestResource) Validate() validation.FieldErrors

type TestResourceList

type TestResourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []TestResource `json:"items"`
}

+kubebuilder:object:root=true

func (*TestResourceList) DeepCopy

func (in *TestResourceList) DeepCopy() *TestResourceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceList.

func (*TestResourceList) DeepCopyInto

func (in *TestResourceList) DeepCopyInto(out *TestResourceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TestResourceList) DeepCopyObject

func (in *TestResourceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TestResourceSpec

type TestResourceSpec struct {
	Fields map[string]string `json:"fields,omitempty"`
}

+kubebuilder:object:generate=true

func (*TestResourceSpec) DeepCopy

func (in *TestResourceSpec) DeepCopy() *TestResourceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceSpec.

func (*TestResourceSpec) DeepCopyInto

func (in *TestResourceSpec) DeepCopyInto(out *TestResourceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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