defaults

package
v0.0.0-...-342c6e2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: EPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 AddStandardLabelsForComponent

func AddStandardLabelsForComponent(cluster *v2alpha1.CheCluster, component string, labels map[string]string) map[string]string

func AddStandardLabelsFromNames

func AddStandardLabelsFromNames(appName string, component string, labels map[string]string) map[string]string

func GetGatewayConfigurerImage

func GetGatewayConfigurerImage() string

func GetGatewayImage

func GetGatewayImage() string

func GetGatewayWorkpaceConfigMapName

func GetGatewayWorkpaceConfigMapName(workspaceID string) 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

func GetLabelsFromNames

func GetLabelsFromNames(appName string, component string) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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