v1alpha1

package
v0.0.0-...-32255ed Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the data v1alpha1 API group +kubebuilder:object:generate=true +groupName=data.my.domain

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "data.my.domain", 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 Widget

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

	Spec   WidgetSpec   `json:"spec,omitempty"`
	Status WidgetStatus `json:"status,omitempty"`
}

Widget is the Schema for the widgets API

func (*Widget) DeepCopy

func (in *Widget) DeepCopy() *Widget

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

func (*Widget) DeepCopyInto

func (in *Widget) DeepCopyInto(out *Widget)

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

func (*Widget) DeepCopyObject

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

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

type WidgetList

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

WidgetList contains a list of Widget

func (*WidgetList) DeepCopy

func (in *WidgetList) DeepCopy() *WidgetList

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

func (*WidgetList) DeepCopyInto

func (in *WidgetList) DeepCopyInto(out *WidgetList)

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

func (*WidgetList) DeepCopyObject

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

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

type WidgetSpec

type WidgetSpec struct {
	Foo string `json:"foo,omitempty"`
}

WidgetSpec defines the desired state of Widget

func (*WidgetSpec) DeepCopy

func (in *WidgetSpec) DeepCopy() *WidgetSpec

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

func (*WidgetSpec) DeepCopyInto

func (in *WidgetSpec) DeepCopyInto(out *WidgetSpec)

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

type WidgetStatus

type WidgetStatus struct {
	Total int `json:"total,omitempty"`
}

WidgetStatus defines the observed state of Widget

func (*WidgetStatus) DeepCopy

func (in *WidgetStatus) DeepCopy() *WidgetStatus

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

func (*WidgetStatus) DeepCopyInto

func (in *WidgetStatus) DeepCopyInto(out *WidgetStatus)

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