resources

package
v0.0.0-...-54a7361 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoScaler

Autoscalers returns an HPAs based on specs.

func CronJobForMySqlBackup

func CronJobForMySqlBackup(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*batchv1.CronJob, error)

CronJobForMySqlBackup creates a CronJob that backups the for MySQL Database

func DeploymentForRecipe

func DeploymentForRecipe(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*appsv1.Deployment, error)

func JobForMySqlRestore

func JobForMySqlRestore(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*batchv1.Job, error)

JobForMySqlRestore creates a Job that restores the for MySQL Database

func MySQLConfigMapForRecipe

func MySQLConfigMapForRecipe(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*corev1.ConfigMap, error)

MySQLConfigMapForRecipe creates a ConfigMap for MySQL configuration

func MySQLInitDBConfigMapForRecipe

func MySQLInitDBConfigMapForRecipe(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*corev1.ConfigMap, error)

MySQLInitDBConfigMapForRecipe creates a ConfigMap for MySQL initialization

func MySQLSecretForRecipe

func MySQLSecretForRecipe(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*corev1.Secret, error)

MySQLSecretForRecipe creates a ConfigMap for MySQL configuration

func MySQLServiceForRecipe

func MySQLServiceForRecipe(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*corev1.Service, error)

MySQLServiceForRecipe creates a Service for the MySQL Deployment and sets the owner reference

func MysqlDeploymentForRecipe

func MysqlDeploymentForRecipe(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*appsv1.Deployment, error)

func PersistentVolumeClaimForBackup

func PersistentVolumeClaimForBackup(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*corev1.PersistentVolumeClaim, error)

func PersistentVolumeClaimForRecipe

func PersistentVolumeClaimForRecipe(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*corev1.PersistentVolumeClaim, error)

PersistentVolumeClaimForRecipe creates a PVC for MySQL and sets the owner reference

func RecipeServiceForRecipe

func RecipeServiceForRecipe(recipe *devconfczv1alpha1.Recipe, scheme *runtime.Scheme) (*corev1.Service, error)

RecipeServiceForRecipe creates a Service for the Recipe application and sets the owner reference

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL