Documentation ¶
Index ¶
- Variables
- func GenerateConfig(hostname string, bopAddress string, whitelist []string, appRoutes []ProxyRoute) (string, error)
- func GenerateRoute(upstream ProxyRoute, warnings *[]caddyconfig.Warning) *caddyhttp.Route
- func GetWeb(c *providers.Provider) (providers.ClowderProvider, error)
- func NewLocalWebProvider(p *providers.Provider) (providers.ClowderProvider, error)
- func NewWebProvider(p *providers.Provider) (providers.ClowderProvider, error)
- type ProxyRoute
Constants ¶
This section is empty.
Variables ¶
var CoreCaddyConfigMap = rc.NewMultiResourceIdent(ProvName, "core_caddy_config_map", &core.ConfigMap{}, rc.ResourceOptions{WriteNow: true})
var CoreService = rc.NewMultiResourceIdent(ProvName, "core_service", &core.Service{})
CoreService is the service for the apps deployments.
var ProvName = "web"
ProvName sets the provider name identifier
var WebBOPDeployment = rc.NewSingleResourceIdent(ProvName, "web_bop_deployment", &apps.Deployment{})
WebBOPDeployment is the mocked bop deployment
var WebBOPIngress = rc.NewSingleResourceIdent(ProvName, "web_bop_ingress", &networking.Ingress{})
WebKeycloakIngress is the mocked bop ingress
var WebBOPService = rc.NewSingleResourceIdent(ProvName, "web_bop_service", &core.Service{})
WebKeycloakService is the mocked keycloak deployment
var WebGatewayCertificate = rc.NewSingleResourceIdent(ProvName, "web_gateway_certificate", &certmanager.Certificate{})
WebKeycloakService is the mocked keycloak deployment
var WebGatewayCertificateIssuer = rc.NewSingleResourceIdent(ProvName, "web_gateway_cert_issuer", &certmanager.Issuer{})
WebKeycloakService is the mocked keycloak deployment
var WebGatewayConfigMap = rc.NewSingleResourceIdent(ProvName, "web_gateway_configmap", &core.Service{})
WebKeycloakService is the mocked keycloak deployment
var WebGatewayDeployment = rc.NewSingleResourceIdent(ProvName, "web_gateway_deployment", &apps.Deployment{})
WebIngress is the mocked secret config
var WebGatewayIngress = rc.NewSingleResourceIdent(ProvName, "web_gateway_ingress", &networking.Ingress{})
WebIngress is the mocked secret config
var WebGatewayService = rc.NewSingleResourceIdent(ProvName, "web_gateway_service", &core.Service{})
WebKeycloakService is the mocked keycloak deployment
var WebIngress = rc.NewMultiResourceIdent(ProvName, "web_ingress", &networking.Ingress{})
WebIngress is the mocked secret config
var WebKeycloakDBDeployment = rc.NewSingleResourceIdent(ProvName, "web_keycloak_db_deployment", &apps.Deployment{})
WebKeycloakDBDeployment is the ident referring to the local Feature Flags DB deployment object.
var WebKeycloakDBPVC = rc.NewSingleResourceIdent(ProvName, "web_keycloak_db_pvc", &core.PersistentVolumeClaim{})
WebKeycloakDBPVC is the ident referring to the local Feature Flags DB PVC object.
var WebKeycloakDBSecret = rc.NewSingleResourceIdent(ProvName, "web_keycloak_db_secret", &core.Secret{})
WebKeycloakDBSecret is the ident referring to the local Feature Flags DB secret object.
var WebKeycloakDBService = rc.NewSingleResourceIdent(ProvName, "web_keycloak_db_service", &core.Service{})
WebKeycloakDBService is the ident referring to the local Feature Flags DB service object.
var WebKeycloakDeployment = rc.NewSingleResourceIdent(ProvName, "web_keycloak_deployment", &apps.Deployment{}, rc.ResourceOptions{WriteNow: true})
WebKeycloakDeployment is the mocked keycloak deployment
var WebKeycloakImportSecret = rc.NewSingleResourceIdent(ProvName, "web_keycloak_import_secret", &core.Secret{})
WebKeycloakImportSecret is the keycloak import secret
var WebKeycloakIngress = rc.NewSingleResourceIdent(ProvName, "web_keycloak_ingress", &networking.Ingress{})
WebKeycloakIngress is the keycloak ingress
var WebKeycloakSecret = rc.NewSingleResourceIdent(ProvName, "web_keycloak_secret", &core.Secret{}, rc.ResourceOptions{WriteNow: true})
WebKeycloakSecret is the mocked secret config
var WebKeycloakService = rc.NewSingleResourceIdent(ProvName, "web_keycloak_service", &core.Service{}, rc.ResourceOptions{WriteNow: true})
WebKeycloakService is the mocked keycloak deployment
var WebMocktitlementsDeployment = rc.NewSingleResourceIdent(ProvName, "web_mocktitlements_deployment", &apps.Deployment{})
WebBOPDeployment is the mocked bop deployment
var WebMocktitlementsIngress = rc.NewSingleResourceIdent(ProvName, "web_mocktitlements_ingress", &networking.Ingress{})
WebKeycloakIngress is the mocked bop ingress
var WebMocktitlementsService = rc.NewSingleResourceIdent(ProvName, "web_mocktitlements_service", &core.Service{})
WebKeycloakService is the mocked keycloak deployment
var WebSecret = rc.NewMultiResourceIdent(ProvName, "web_secret", &core.Secret{})
WebSecret is the mocked secret config
Functions ¶
func GenerateConfig ¶ added in v0.65.0
func GenerateRoute ¶ added in v0.65.0
func GenerateRoute(upstream ProxyRoute, warnings *[]caddyconfig.Warning) *caddyhttp.Route
func GetWeb ¶
func GetWeb(c *providers.Provider) (providers.ClowderProvider, error)
GetEnd returns the correct end provider.
func NewLocalWebProvider ¶ added in v0.21.0
func NewLocalWebProvider(p *providers.Provider) (providers.ClowderProvider, error)
func NewWebProvider ¶
func NewWebProvider(p *providers.Provider) (providers.ClowderProvider, error)