v1alpha1

package
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 5 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

Overview

+groupName=dummy.example.com +versionName=v1alpha1 +kubebuilder:object:generate=true

Index

Constants

View Source
const GroupName = "dummy.example.com"

GroupName is the group name use in this package.

View Source
const GroupVersion = "v1alpha1"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme

	// SchemeGroupVersion is group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource.

Types

type NamespacedThing

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

	Spec ThingSpec `json:"spec"`
}

func (*NamespacedThing) DeepCopy

func (in *NamespacedThing) DeepCopy() *NamespacedThing

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

func (*NamespacedThing) DeepCopyInto

func (in *NamespacedThing) DeepCopyInto(out *NamespacedThing)

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

func (*NamespacedThing) DeepCopyObject

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

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

type NamespacedThingList

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

NamespacedThingList contains a list of NamespacedThings.

func (*NamespacedThingList) DeepCopy

func (in *NamespacedThingList) DeepCopy() *NamespacedThingList

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

func (*NamespacedThingList) DeepCopyInto

func (in *NamespacedThingList) DeepCopyInto(out *NamespacedThingList)

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

func (*NamespacedThingList) DeepCopyObject

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

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

type Thing

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

	Spec ThingSpec `json:"spec"`
}

func (*Thing) DeepCopy

func (in *Thing) DeepCopy() *Thing

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

func (*Thing) DeepCopyInto

func (in *Thing) DeepCopyInto(out *Thing)

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

func (*Thing) DeepCopyObject

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

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

type ThingList

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

ThingList contains a list of Things.

func (*ThingList) DeepCopy

func (in *ThingList) DeepCopy() *ThingList

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

func (*ThingList) DeepCopyInto

func (in *ThingList) DeepCopyInto(out *ThingList)

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

func (*ThingList) DeepCopyObject

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

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

type ThingSpec

type ThingSpec struct {
	Username string `json:"username"`
	Address  string `json:"address,omitempty"`
}

func (*ThingSpec) DeepCopy

func (in *ThingSpec) DeepCopy() *ThingSpec

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

func (*ThingSpec) DeepCopyInto

func (in *ThingSpec) DeepCopyInto(out *ThingSpec)

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

type ThingStatus

type ThingStatus struct {
	CurrentVersion string `json:"currentVersion"`
}

func (*ThingStatus) DeepCopy

func (in *ThingStatus) DeepCopy() *ThingStatus

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

func (*ThingStatus) DeepCopyInto

func (in *ThingStatus) DeepCopyInto(out *ThingStatus)

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

type ThingWithStatus

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

	Spec ThingSpec `json:"spec"`

	// NB: In this test resource, status exists but is *NOT* a subresource!
	Status ThingStatus `json:"status,omitempty"`
}

func (*ThingWithStatus) DeepCopy

func (in *ThingWithStatus) DeepCopy() *ThingWithStatus

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

func (*ThingWithStatus) DeepCopyInto

func (in *ThingWithStatus) DeepCopyInto(out *ThingWithStatus)

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

func (*ThingWithStatus) DeepCopyObject

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

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

type ThingWithStatusList

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

ThingWithStatusList contains a list of ThingWithStatus objects.

func (*ThingWithStatusList) DeepCopy

func (in *ThingWithStatusList) DeepCopy() *ThingWithStatusList

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

func (*ThingWithStatusList) DeepCopyInto

func (in *ThingWithStatusList) DeepCopyInto(out *ThingWithStatusList)

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

func (*ThingWithStatusList) DeepCopyObject

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

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

type ThingWithStatusSubresource

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

	Spec   ThingSpec   `json:"spec"`
	Status ThingStatus `json:"status,omitempty"`
}

func (*ThingWithStatusSubresource) DeepCopy

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

func (*ThingWithStatusSubresource) DeepCopyInto

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

func (*ThingWithStatusSubresource) DeepCopyObject

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

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

type ThingWithStatusSubresourceList

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

ThingWithStatusSubresourceList contains a list of ThingWithStatusSubresources.

func (*ThingWithStatusSubresourceList) DeepCopy

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

func (*ThingWithStatusSubresourceList) DeepCopyInto

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

func (*ThingWithStatusSubresourceList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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