v1alpha1

package
v0.0.0-...-934b648 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the platform v1alpha1 API group +kubebuilder:object:generate=true +groupName=platform.lab.beancloud.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "platform.lab.beancloud.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 Cloud

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

	Spec   CloudSpec   `json:"spec,omitempty"`
	Status CloudStatus `json:"status,omitempty"`
}

Cloud is the Schema for the clouds API

func (*Cloud) DeepCopy

func (in *Cloud) DeepCopy() *Cloud

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

func (*Cloud) DeepCopyInto

func (in *Cloud) DeepCopyInto(out *Cloud)

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

func (*Cloud) DeepCopyObject

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

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

type CloudList

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

CloudList contains a list of Cloud

func (*CloudList) DeepCopy

func (in *CloudList) DeepCopy() *CloudList

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

func (*CloudList) DeepCopyInto

func (in *CloudList) DeepCopyInto(out *CloudList)

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

func (*CloudList) DeepCopyObject

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

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

type CloudSpec

type CloudSpec struct {

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

CloudSpec defines the desired state of Cloud

func (*CloudSpec) DeepCopy

func (in *CloudSpec) DeepCopy() *CloudSpec

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

func (*CloudSpec) DeepCopyInto

func (in *CloudSpec) DeepCopyInto(out *CloudSpec)

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

type CloudStatus

type CloudStatus struct {
}

CloudStatus defines the observed state of Cloud

func (*CloudStatus) DeepCopy

func (in *CloudStatus) DeepCopy() *CloudStatus

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

func (*CloudStatus) DeepCopyInto

func (in *CloudStatus) DeepCopyInto(out *CloudStatus)

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