v1alpha1

package
v0.0.0-...-4a93c05 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the foo v1alpha1 API group +kubebuilder:object:generate=true +groupName=foo.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: "foo.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 Bar

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

	Spec   BarSpec   `json:"spec,omitempty"`
	Status BarStatus `json:"status,omitempty"`
}

Bar is the Schema for the bars API

func (*Bar) DeepCopy

func (in *Bar) DeepCopy() *Bar

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

func (*Bar) DeepCopyInto

func (in *Bar) DeepCopyInto(out *Bar)

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

func (*Bar) DeepCopyObject

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

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

type BarList

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

BarList contains a list of Bar

func (*BarList) DeepCopy

func (in *BarList) DeepCopy() *BarList

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

func (*BarList) DeepCopyInto

func (in *BarList) DeepCopyInto(out *BarList)

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

func (*BarList) DeepCopyObject

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

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

type BarSpec

type BarSpec struct {

	// Foo is an example field of Bar. Edit bar_types.go to remove/update
	Foo string `json:"foo,omitempty"`
}

BarSpec defines the desired state of Bar

func (*BarSpec) DeepCopy

func (in *BarSpec) DeepCopy() *BarSpec

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

func (*BarSpec) DeepCopyInto

func (in *BarSpec) DeepCopyInto(out *BarSpec)

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

type BarStatus

type BarStatus struct {
}

BarStatus defines the observed state of Bar

func (*BarStatus) DeepCopy

func (in *BarStatus) DeepCopy() *BarStatus

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

func (*BarStatus) DeepCopyInto

func (in *BarStatus) DeepCopyInto(out *BarStatus)

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