Documentation ¶
Index ¶
- Constants
- Variables
- func AddStandardLabelsForComponent(cluster *v2alpha1.CheCluster, component string, labels map[string]string) map[string]string
- func AddStandardLabelsFromNames(appName string, component string, labels map[string]string) map[string]string
- func GetGatewayConfigurerImage() string
- func GetGatewayImage() string
- func GetGatewayWorkpaceConfigMapName(workspaceID string) string
- func GetGatewayWorkspaceConfigMapLabels(cluster *v2alpha1.CheCluster) map[string]string
- func GetIngressAnnotations(cluster *v2alpha1.CheCluster) map[string]string
- func GetLabelsForComponent(cluster *v2alpha1.CheCluster, component string) map[string]string
- func GetLabelsFromNames(appName string, component string) map[string]string
Constants ¶
View Source
const ( ConfigAnnotationCheManagerName = configAnnotationPrefix + "che-name" ConfigAnnotationCheManagerNamespace = configAnnotationPrefix + "che-namespace" ConfigAnnotationDevWorkspaceRoutingName = configAnnotationPrefix + "devworkspacerouting-name" ConfigAnnotationDevWorkspaceRoutingNamespace = configAnnotationPrefix + "devworkspacerouting-namespace" ConfigAnnotationEndpointName = configAnnotationPrefix + "endpoint-name" ConfigAnnotationComponentName = configAnnotationPrefix + "component-name" )
Variables ¶
View Source
var (
DefaultIngressAnnotations = map[string]string{
"kubernetes.io/ingress.class": "nginx",
"nginx.ingress.kubernetes.io/proxy-read-timeout": "3600",
"nginx.ingress.kubernetes.io/proxy-connect-timeout": "3600",
"nginx.ingress.kubernetes.io/ssl-redirect": "true",
}
)
Functions ¶
func GetGatewayConfigurerImage ¶
func GetGatewayConfigurerImage() string
func GetGatewayImage ¶
func GetGatewayImage() string
func GetGatewayWorkspaceConfigMapLabels ¶
func GetGatewayWorkspaceConfigMapLabels(cluster *v2alpha1.CheCluster) map[string]string
func GetIngressAnnotations ¶
func GetIngressAnnotations(cluster *v2alpha1.CheCluster) map[string]string
func GetLabelsForComponent ¶
func GetLabelsForComponent(cluster *v2alpha1.CheCluster, component string) map[string]string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.