pattern1

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apim1Deployment

func Apim1Deployment(apimanager *apimv1alpha1.APIManager, x *configvalues, num int) *appsv1.Deployment

apim1Deployment creates a new Deployment for a Apimanager instance 1 resource. It also sets the appropriate OwnerReferences on the resource so handleObject can discover the Apimanager resource that 'owns' it.

func Apim1Service

func Apim1Service(apimanager *apimv1alpha1.APIManager) *corev1.Service

newService creates a new Service for a Apimanager resource. It expose the service with Nodeport type with minikube ip as the externel ip.

func Apim2Deployment

func Apim2Deployment(apimanager *apimv1alpha1.APIManager, z *configvalues, num int) *appsv1.Deployment

func Apim2Service

func Apim2Service(apimanager *apimv1alpha1.APIManager) *corev1.Service

for handling apim-instance-2 service

func ApimCommonService

func ApimCommonService(apimanager *apimv1alpha1.APIManager) *corev1.Service

for common service

func ApimIngress

func ApimIngress(apimanager *apimv1alpha1.APIManager) *v1beta1.Ingress

func AssignApimAnalyticsDashboardConfigMapValues

func AssignApimAnalyticsDashboardConfigMapValues(apimanager *apimv1alpha1.APIManager, configMap *v1.ConfigMap, num int) *configvalues

func AssignApimAnalyticsWorkerConfigMapValues

func AssignApimAnalyticsWorkerConfigMapValues(apimanager *apimv1alpha1.APIManager, configMap *v1.ConfigMap, num int) *configvalues

func AssignApimConfigMapValues

func AssignApimConfigMapValues(apimanager *apimv1alpha1.APIManager, configMap *v1.ConfigMap, num int) *configvalues

func AssignMysqlConfigMapValues

func AssignMysqlConfigMapValues(apimanager *apimv1alpha1.APIManager, configMap *v1.ConfigMap) *configvalues

func DashboardDeployment

func DashboardDeployment(apimanager *apimv1alpha1.APIManager, y *configvalues, num int) *appsv1.Deployment

for handling analytics-dashboard deployment

func DashboardIngress

func DashboardIngress(apimanager *apimv1alpha1.APIManager) *v1beta1.Ingress

func DashboardService

func DashboardService(apimanager *apimv1alpha1.APIManager) *corev1.Service

for handling analytics-dashboard service

func GatewayIngress

func GatewayIngress(apimanager *apimv1alpha1.APIManager) *v1beta1.Ingress

func GetAccessModesFromString

func GetAccessModesFromString(modes string) []v1.PersistentVolumeAccessMode

GetAccessModesFromString returns an array of AccessModes from a string created by GetAccessModesAsString

func GetMysqlVolumes

func GetMysqlVolumes(apimanager *apimv1alpha1.APIManager) ([]corev1.VolumeMount, []corev1.Volume)

func MakeConfigMap

func MakeConfigMap(apimanager *apimv1alpha1.APIManager, configMap *corev1.ConfigMap) *corev1.ConfigMap

func MakeExecutionPlansPvc

func MakeExecutionPlansPvc(apimanager *apimv1alpha1.APIManager, epconf *PvcConfig) *corev1.PersistentVolumeClaim

func MakeSynapseConfigsPvc

func MakeSynapseConfigsPvc(apimanager *apimv1alpha1.APIManager, sconf *PvcConfig) *corev1.PersistentVolumeClaim

func WorkerDeployment

func WorkerDeployment(apimanager *apimv1alpha1.APIManager, y *configvalues, num int) *appsv1.Deployment

for handling analytics-worker deployment

func WorkerService

func WorkerService(apimanager *apimv1alpha1.APIManager) *corev1.Service

for handling analytics-worker service

Types

type PvcConfig

type PvcConfig struct {
	Name         string
	AccessModes  []v1.PersistentVolumeAccessMode
	ClaimSize    string
	StorageClass *string
	PVCConfigmap string
}

func AssignConfigMapValuesForExecutionPlansPvc

func AssignConfigMapValuesForExecutionPlansPvc(apimanager *apimv1alpha1.APIManager, pvcConfWso2 *v1.ConfigMap) *PvcConfig

func AssignConfigMapValuesForSynapseConfigsPvc

func AssignConfigMapValuesForSynapseConfigsPvc(apimanager *apimv1alpha1.APIManager, pvcConfWso2 *v1.ConfigMap) *PvcConfig

Jump to

Keyboard shortcuts

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