Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the devconfcz v1alpha1 API group +kubebuilder:object:generate=true +groupName=devconfcz.opdev.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "devconfcz.opdev.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 BackupPolicySpec ¶
type BackupPolicySpec struct { // Backup Schedule // +optional Schedule string `json:"schedule,omitempty"` // Backup Schedule // +optional Tmz string `json:"timezone,omitempty"` // VolumeName which should be used at MySQL DB. // +optional VolumeName string `json:"volumeName,omitempty"` }
func (*BackupPolicySpec) DeepCopy ¶
func (in *BackupPolicySpec) DeepCopy() *BackupPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicySpec.
func (*BackupPolicySpec) DeepCopyInto ¶
func (in *BackupPolicySpec) DeepCopyInto(out *BackupPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseSpec ¶
type DatabaseSpec struct { // Image set the image which should be used at MySQL DB. // +optional Image string `json:"image,omitempty"` // PodSecurityContext in case of Openshift // +optional PodSecurityContext *corev1.PodSecurityContext `json:"podSecurityContext,omitempty"` // SecurityContext in case of Openshift // +optional SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` // BackupPolicy // +optional BackupPolicy BackupPolicySpec `json:"backupPolicySpec,omitempty"` // InitRestore // +optional InitRestore bool `json:"initRestore,omitempty"` }
func (*DatabaseSpec) DeepCopy ¶
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HpaSpec ¶
type HpaSpec struct { // MinReplicas sets a lower bound to the autoscaling feature. Set this if your are using autoscaling. It must be at least 1 // +optional MinReplicas *int32 `json:"minReplicas,omitempty"` // MaxReplicas sets an upper bound to the autoscaling feature. If MaxReplicas is set autoscaling is enabled. // +optional MaxReplicas *int32 `json:"maxReplicas,omitempty"` // +optional // TargetMemoryUtilization sets the target average memory utilization across all replicas TargetMemoryUtilization *int32 `json:"targetMemoryUtilization,omitempty"` }
func (*HpaSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HpaSpec.
func (*HpaSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Recipe ¶
type Recipe struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RecipeSpec `json:"spec,omitempty"` Status RecipeStatus `json:"status,omitempty"` }
Recipe is the Schema for the recipes API
func (*Recipe) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Recipe.
func (*Recipe) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Recipe) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RecipeList ¶
type RecipeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Recipe `json:"items"` }
RecipeList contains a list of Recipe
func (*RecipeList) DeepCopy ¶
func (in *RecipeList) DeepCopy() *RecipeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecipeList.
func (*RecipeList) DeepCopyInto ¶
func (in *RecipeList) DeepCopyInto(out *RecipeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RecipeList) DeepCopyObject ¶
func (in *RecipeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RecipeSpec ¶
type RecipeSpec struct { // Version is the version of the recipe app image to run Version string `json:"version,omitempty"` // Replicas is the number of replicas to run Replicas int32 `json:"replicas,omitempty"` // PodSecurityContext in case of Openshift // +optional PodSecurityContext *corev1.PodSecurityContext `json:"podSecurityContext,omitempty"` // SecurityContext in case of Openshift // +optional SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` // Resources to set for Level 3 and 5. // +optional Resources corev1.ResourceRequirements `json:"resources,omitempty"` // Hpa specifies the pod autoscaling configuration to use // for the workload. // +optional Hpa *HpaSpec `json:"hpa,omitempty"` // Database specifies the database configuration to use // for the workload. // +optional Database DatabaseSpec `json:"database,omitempty"` }
RecipeSpec defines the desired state of Recipe
func (*RecipeSpec) DeepCopy ¶
func (in *RecipeSpec) DeepCopy() *RecipeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecipeSpec.
func (*RecipeSpec) DeepCopyInto ¶
func (in *RecipeSpec) DeepCopyInto(out *RecipeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RecipeStatus ¶
type RecipeStatus struct { MySQLStatus string `json:"mysqlStatus,omitempty"` RecipeAppStatus string `json:"recipeAppStatus,omitempty"` RecipeAppHpa string `json:"recipeAppHpa,omitempty"` }
RecipeStatus defines the observed state of Recipe
func (*RecipeStatus) DeepCopy ¶
func (in *RecipeStatus) DeepCopy() *RecipeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecipeStatus.
func (*RecipeStatus) DeepCopyInto ¶
func (in *RecipeStatus) DeepCopyInto(out *RecipeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.