v1alpha1

package
v0.0.0-...-7b25fa3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: Apache-2.0 Imports: 5 Imported by: ? 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

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.linuxsuren.github.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.linuxsuren.github.com", 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 ATest

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

	Spec   ATestSpec   `json:"spec,omitempty"`
	Status ATestStatus `json:"status,omitempty"`
}

ATest is the Schema for the atests API

func (*ATest) DeepCopy

func (in *ATest) DeepCopy() *ATest

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

func (*ATest) DeepCopyInto

func (in *ATest) DeepCopyInto(out *ATest)

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

func (*ATest) DeepCopyObject

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

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

type ATestList

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

ATestList contains a list of ATest

func (*ATestList) DeepCopy

func (in *ATestList) DeepCopy() *ATestList

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

func (*ATestList) DeepCopyInto

func (in *ATestList) DeepCopyInto(out *ATestList)

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

func (*ATestList) DeepCopyObject

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

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

type ATestSpec

type ATestSpec struct {
	Image       string             `json:"image,omitempty"`
	Version     string             `json:"version,omitempty"`
	Replicas    *int32             `json:"replicas,omitempty"`
	Persistent  *Persistent        `json:"persistent,omitempty"`
	ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
}

ATestSpec defines the desired state of ATest

func (*ATestSpec) DeepCopy

func (in *ATestSpec) DeepCopy() *ATestSpec

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

func (*ATestSpec) DeepCopyInto

func (in *ATestSpec) DeepCopyInto(out *ATestSpec)

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

type ATestStatus

type ATestStatus struct {
}

ATestStatus defines the observed state of ATest

func (*ATestStatus) DeepCopy

func (in *ATestStatus) DeepCopy() *ATestStatus

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

func (*ATestStatus) DeepCopyInto

func (in *ATestStatus) DeepCopyInto(out *ATestStatus)

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

type Persistent

type Persistent struct {
	Enabled      bool    `json:"enabled,omitempty"`
	StorageClass *string `json:"storageClass,omitempty"`
}

Persistent defines the persistent volume claim

func (*Persistent) DeepCopy

func (in *Persistent) DeepCopy() *Persistent

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

func (*Persistent) DeepCopyInto

func (in *Persistent) DeepCopyInto(out *Persistent)

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