v1alpha1

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: Apache-2.0 Imports: 8 Imported by: 1 module, 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

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=test.alauda.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.alauda.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 FooBar

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

	Spec   FooBarSpec   `json:"spec,omitempty"`
	Status FooBarStatus `json:"status,omitempty"`
}

FooBar is a random type

func (*FooBar) DeepCopy

func (in *FooBar) DeepCopy() *FooBar

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

func (*FooBar) DeepCopyInto

func (in *FooBar) DeepCopyInto(out *FooBar)

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

func (*FooBar) DeepCopyObject

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

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

func (*FooBar) Default

func (i *FooBar) Default(ctx context.Context)

Default add default values for IntegationClass during create and update

func (*FooBar) ValidateCreate

func (i *FooBar) ValidateCreate(ctx context.Context) error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*FooBar) ValidateDelete

func (i *FooBar) ValidateDelete(ctx context.Context) error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*FooBar) ValidateUpdate

func (i *FooBar) ValidateUpdate(ctx context.Context, old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FooBarList

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

FooBarList contains a list of FooBar

func (*FooBarList) DeepCopy

func (in *FooBarList) DeepCopy() *FooBarList

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

func (*FooBarList) DeepCopyInto

func (in *FooBarList) DeepCopyInto(out *FooBarList)

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

func (*FooBarList) DeepCopyObject

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

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

type FooBarSpec

type FooBarSpec struct {
	Text string `json:"text,omitempty"`
}

FooBarSpec defines the desired state of FooBar

func (*FooBarSpec) DeepCopy

func (in *FooBarSpec) DeepCopy() *FooBarSpec

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

func (*FooBarSpec) DeepCopyInto

func (in *FooBarSpec) DeepCopyInto(out *FooBarSpec)

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

type FooBarStatus

type FooBarStatus struct {
	// inherits duck/v1 Status, which currently provides:
	// * ObservedGeneration - the 'Generation' of the Broker that was last processed by the controller.
	// * Conditions - the latest available observations of a resource's current state.
	duckv1.Status `json:",inline"`

	Data map[string]string `json:"data,omitempty"`
}

FooBarStatus defines the observed state of FooBar

func (*FooBarStatus) DeepCopy

func (in *FooBarStatus) DeepCopy() *FooBarStatus

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

func (*FooBarStatus) DeepCopyInto

func (in *FooBarStatus) DeepCopyInto(out *FooBarStatus)

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