Documentation ¶
Overview ¶
* * * Copyright (c) 2020 WSO2 Inc. (http:www.wso2.org) All Rights Reserved. * * * * WSO2 Inc. licenses this file to you under the Apache License, * * Version 2.0 (the "License"); you may not use this file except * * in compliance with the License. * * You may obtain a copy of the License at * * * * http:www.apache.org/licenses/LICENSE-2.0 * * * * Unless required by applicable law or agreed to in writing, * * software distributed under the License is distributed on an * * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * * KIND, either express or implied. See the License for the * * specific language governing permissions and limitations * * under the License. *
Index ¶
- func ApimXDeployment(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile, x *configvalues) *appsv1.Deployment
- func ApimXService(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile) *corev1.Service
- func AssignApimAnalyticsConfigMapValues(apimanager *apimv1alpha1.APIManager, configMap *v1.ConfigMap, ...) *configvalues
- func AssignApimXConfigMapValues(apimanager *apimv1alpha1.APIManager, configMap *v1.ConfigMap, ...) *configvalues
- func DashboardXDeployment(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile, x *configvalues) *appsv1.Deployment
- func DashboardXService(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile) *corev1.Service
- func MakeConfigMap(apimanager *apimv1alpha1.APIManager, configMap *corev1.ConfigMap) *corev1.ConfigMap
- func WorkerXDeployment(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile, x *configvalues) *appsv1.Deployment
- func WorkerXService(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile) *corev1.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApimXDeployment ¶
func ApimXDeployment(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile, x *configvalues) *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 ApimXService ¶
func ApimXService(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile) *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 AssignApimAnalyticsConfigMapValues ¶
func AssignApimAnalyticsConfigMapValues(apimanager *apimv1alpha1.APIManager, configMap *v1.ConfigMap, r apimv1alpha1.Profile) *configvalues
func AssignApimXConfigMapValues ¶
func AssignApimXConfigMapValues(apimanager *apimv1alpha1.APIManager, configMap *v1.ConfigMap, r apimv1alpha1.Profile) *configvalues
func DashboardXDeployment ¶
func DashboardXDeployment(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile, x *configvalues) *appsv1.Deployment
for handling analytics-dashboard deployment
func DashboardXService ¶
func DashboardXService(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile) *corev1.Service
func MakeConfigMap ¶
func MakeConfigMap(apimanager *apimv1alpha1.APIManager, configMap *corev1.ConfigMap) *corev1.ConfigMap
func WorkerXDeployment ¶
func WorkerXDeployment(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile, x *configvalues) *appsv1.Deployment
for handling analytics-worker deployment
func WorkerXService ¶
func WorkerXService(apimanager *apimv1alpha1.APIManager, r *apimv1alpha1.Profile) *corev1.Service
Types ¶
This section is empty.