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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gitea.
func (*Gitea) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Gitea) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GiteaList.
func (*GiteaList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GiteaList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GiteaSpec.
func (*GiteaSpec) DeepCopyInto ¶
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.