v1alpha1

package
v0.0.0-...-5766f02 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the api v1alpha1 API group +kubebuilder:object:generate=true +groupName=api.gitea.k8s

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "api.gitea.k8s", 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 Gitea

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

	Spec   GiteaSpec   `json:"spec,omitempty"`
	Status GiteaStatus `json:"status,omitempty"`
}

Gitea is the Schema for the gitea API

func (*Gitea) DeepCopy

func (in *Gitea) DeepCopy() *Gitea

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

func (*Gitea) DeepCopyInto

func (in *Gitea) DeepCopyInto(out *Gitea)

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

func (*Gitea) DeepCopyObject

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

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

type GiteaList

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

GiteaList contains a list of Gitea

func (*GiteaList) DeepCopy

func (in *GiteaList) DeepCopy() *GiteaList

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

func (*GiteaList) DeepCopyInto

func (in *GiteaList) DeepCopyInto(out *GiteaList)

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

func (*GiteaList) DeepCopyObject

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

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

type GiteaSpec

type GiteaSpec struct {
	Name           string `json:"name"`
	Image          string `json:"image"`
	NameSpace      string `json:"namespace"`
	DeploymentName string `json:"deploymentname"`
	Service        string `json:"service"`
	Versions       string `json:"versions"`
	Port           int32  `json:"port"`
	NodePort       int32  `json:"nodeport"`
	TargetPort     int    `json:"targetport"`
	Replicas       int32  `json:"replicas"`
	ContainerPort  int32  `json:"containerport"`
}

GiteaSpec defines the desired state of Gitea

func (*GiteaSpec) DeepCopy

func (in *GiteaSpec) DeepCopy() *GiteaSpec

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

func (*GiteaSpec) DeepCopyInto

func (in *GiteaSpec) DeepCopyInto(out *GiteaSpec)

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

type GiteaStatus

type GiteaStatus struct {
}

GiteaStatus defines the observed state of Gitea

func (*GiteaStatus) DeepCopy

func (in *GiteaStatus) DeepCopy() *GiteaStatus

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

func (*GiteaStatus) DeepCopyInto

func (in *GiteaStatus) DeepCopyInto(out *GiteaStatus)

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