v1

package
v0.0.0-...-489c5de Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the judge v1 API group +kubebuilder:object:generate=true +groupName=judge.wecoding.top

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "judge.wecoding.top", Version: "v1"}

	// 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 JudgeServer

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

	Spec   JudgeServerSpec   `json:"spec,omitempty"`
	Status JudgeServerStatus `json:"status,omitempty"`
}

JudgeServer is the Schema for the judgeservers API

func (*JudgeServer) DeepCopy

func (in *JudgeServer) DeepCopy() *JudgeServer

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

func (*JudgeServer) DeepCopyInto

func (in *JudgeServer) DeepCopyInto(out *JudgeServer)

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

func (*JudgeServer) DeepCopyObject

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

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

type JudgeServerList

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

JudgeServerList contains a list of JudgeServer

func (*JudgeServerList) DeepCopy

func (in *JudgeServerList) DeepCopy() *JudgeServerList

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

func (*JudgeServerList) DeepCopyInto

func (in *JudgeServerList) DeepCopyInto(out *JudgeServerList)

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

func (*JudgeServerList) DeepCopyObject

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

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

type JudgeServerSpec

type JudgeServerSpec struct {

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

	// Size defines the number of Memcached instances
	// The following markers will use OpenAPI v3 schema to validate the value
	// More info: https://book.kubebuilder.io/reference/markers/crd-validation.html
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=3
	// +kubebuilder:validation:ExclusiveMaximum=false
	Size int32 `json:"size,omitempty"`

	// Port defines the port that will be used to init the container with the image
	ContainerPort int32 `json:"containerPort,omitempty"`
}

JudgeServerSpec defines the desired state of JudgeServer

func (*JudgeServerSpec) DeepCopy

func (in *JudgeServerSpec) DeepCopy() *JudgeServerSpec

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

func (*JudgeServerSpec) DeepCopyInto

func (in *JudgeServerSpec) DeepCopyInto(out *JudgeServerSpec)

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

type JudgeServerStatus

type JudgeServerStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

JudgeServerStatus defines the observed state of JudgeServer

func (*JudgeServerStatus) DeepCopy

func (in *JudgeServerStatus) DeepCopy() *JudgeServerStatus

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

func (*JudgeServerStatus) DeepCopyInto

func (in *JudgeServerStatus) DeepCopyInto(out *JudgeServerStatus)

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