Documentation ¶
Index ¶
- func CreateDeploymentForMongoDB(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *appsv1.Deployment
- func CreateDeploymentForWebapp(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *appsv1.Deployment
- func CreatePersistentVolumeClaimMongoDB(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *corev1.PersistentVolumeClaim
- func CreateRouteForWebapp(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *routev1.Route
- func CreateSecretForMongoDB(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *corev1.Secret
- func CreateServiceForMongoDB(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *corev1.Service
- func CreateServiceForWebapp(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *corev1.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDeploymentForMongoDB ¶
func CreateDeploymentForMongoDB(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *appsv1.Deployment
CreateDeploymentForMongoDB initializes a new Deployment for MongoDB.
func CreateDeploymentForWebapp ¶
func CreateDeploymentForWebapp(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *appsv1.Deployment
CreateDeploymentForWebapp initializes a new Deployment for Webapp.
func CreatePersistentVolumeClaimMongoDB ¶
func CreatePersistentVolumeClaimMongoDB(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *corev1.PersistentVolumeClaim
CreatePersistentVolumeClaimMongoDB initializes a new PerssitentVolumeClaim for MongoDB.
func CreateRouteForWebapp ¶
func CreateRouteForWebapp(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *routev1.Route
CreateRouteForWebapp initializes a new Route for WebApp.
func CreateSecretForMongoDB ¶
func CreateSecretForMongoDB(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *corev1.Secret
CreateSecretForMongoDB initializes a new Secret for holding connection username and password.
func CreateServiceForMongoDB ¶
func CreateServiceForMongoDB(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *corev1.Service
CreateServiceForMongoDB initializes a new Service for MongoDB.
func CreateServiceForWebapp ¶
func CreateServiceForWebapp(spec *redhatcomv1alpha1.FruitsCatalogGSpec, namespace string) *corev1.Service
CreateServiceForWebapp initializes a new Service for WebApp.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.