v1

package
v0.0.0-...-0298d1f Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the maeshinshin.github.io v1 API group +kubebuilder:object:generate=true +groupName=maeshinshin.github.io

Index

Constants

This section is empty.

Variables

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

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

	Spec   GrowiSpec   `json:"spec,omitempty"`
	Status GrowiStatus `json:"status,omitempty"`
}

Growi is the Schema for the growis API

func (*Growi) DeepCopy

func (in *Growi) DeepCopy() *Growi

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

func (*Growi) DeepCopyInto

func (in *Growi) DeepCopyInto(out *Growi)

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

func (*Growi) DeepCopyObject

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

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

type GrowiList

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

GrowiList contains a list of Growi

func (*GrowiList) DeepCopy

func (in *GrowiList) DeepCopy() *GrowiList

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

func (*GrowiList) DeepCopyInto

func (in *GrowiList) DeepCopyInto(out *GrowiList)

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

func (*GrowiList) DeepCopyObject

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

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

type GrowiSpec

type GrowiSpec struct {

	//+kubebuilder:default:="growi-app"
	//+kubebuilder:validation:Optional
	Growi_app_namespace string `json:"growi_app_namespace"`

	//+kubebuilder:default:="7"
	//+kubebuilder:validation:Optional
	Growi_version string `json:"growi_version"`

	//+kubebuilder:validation:Minimum=1
	//+kubebuilder:default:=1
	//+kubebuilder:validation:Optional
	Growi_replicas int32 `json:"growi_replicas"`

	//+kubebuilder:default:="standard"
	//+kubebuilder:validation:Required
	Growi_storageClass string `json:"growi_storageclass"`

	//+kubebuilder:default:="10Gi"
	//+kubebuilder:validation:Optional
	Growi_storageRequest string `json:"growi_storagerequest"`

	//+kubebuilder:default:="growi-mongodb"
	//+kubebuilder:validation:Optional
	Mongo_db_namespace string `json:"mongo_db_namespace"`

	//+kubebuilder:default:="6.0"
	//+kubebuilder:validation:Optional
	Mongo_db_version string `json:"mongo_db_version"`

	//+kubebuilder:validation:Minimum=1
	//+kubebuilder:default:=3
	//+kubebuilder:validation:Optional
	Mongo_db_replicas int32 `json:"mongo_db_replicas"`

	//+kubebuilder:default:="10Gi"
	//+kubebuilder:validation:Optional
	Mongo_db_storageRequest string `json:"mongo_db_storagerequest"`

	//+kubebuilder:default:="standard"
	//+kubebuilder:validation:Required
	Mongo_db_storageClass string `json:"mongo_db_storageclass"`

	//+kubebuilder:default:="growi-es"
	//+kubebuilder:validation:Optional
	Elasticsearch_namespace string `json:"elasticsearch_namespace"`

	//+kubebuilder:default:="8.7.0"
	//+kubebuilder:validation:Optional
	Elasticsearch_version string `json:"elasticsearch_version"`

	//+kubebuilder:validation:Minimum=1
	//+kubebuilder:default:=3
	//+kubebuilder:validation:Optional
	Elasticsearch_replicas int32 `json:"elasticsearch_replicas"`

	//+kubebuilder:default:="standard"
	//+kubebuilder:validation:Required
	Elasticsearch_storageClass string `json:"elasticsearch_storageclass"`

	//+kubebuilder:default:="10Gi"
	//+kubebuilder:validation:Optional
	Elasticsearch_storageRequest string `json:"elasticsearch_storagerequest"`
}

GrowiSpec defines the desired state of Growi

func (*GrowiSpec) DeepCopy

func (in *GrowiSpec) DeepCopy() *GrowiSpec

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

func (*GrowiSpec) DeepCopyInto

func (in *GrowiSpec) DeepCopyInto(out *GrowiSpec)

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

type GrowiStatus

type GrowiStatus struct {
}

GrowiStatus defines the observed state of Growi

func (*GrowiStatus) DeepCopy

func (in *GrowiStatus) DeepCopy() *GrowiStatus

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

func (*GrowiStatus) DeepCopyInto

func (in *GrowiStatus) DeepCopyInto(out *GrowiStatus)

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