v1alpha1

package
v0.10.11 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the test v1alpha1 API group +kubebuilder:object:generate=true +groupName=test.kubernetes-fleet.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "test.kubernetes-fleet.io", Version: "v1alpha1"}

	// 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
)

Functions

This section is empty.

Types

type TestResource

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

	// +required
	Spec TestResourceSpec `json:"spec"`
	// +optional
	Status TestResourceStatus `json:"status,omitempty"`
}

TestResource is the Schema for the testresources API

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.

type TestResourceList

type TestResourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TestResource `json:"items"`
}

TestResourceList contains a list of TestResource

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 {
	// +optional
	Foo string `json:"foo,omitempty"`

	// +optional
	Bar string `json:"bar,omitempty"`

	// +optional
	Items []string `json:"items,omitempty"`

	// +optional
	LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"`
}

TestResourceSpec defines the desired state of TestResource

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.

type TestResourceStatus

type TestResourceStatus struct {
}

TestResourceStatus defines the observed state of TestResource

func (*TestResourceStatus) DeepCopy

func (in *TestResourceStatus) DeepCopy() *TestResourceStatus

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

func (*TestResourceStatus) DeepCopyInto

func (in *TestResourceStatus) DeepCopyInto(out *TestResourceStatus)

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