web

package
v0.90.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoreCaddyConfigMap = rc.NewMultiResourceIdent(ProvName, "core_caddy_config_map", &core.ConfigMap{}, rc.ResourceOptions{WriteNow: true})
View Source
var CoreService = rc.NewMultiResourceIdent(ProvName, "core_service", &core.Service{})

CoreService is the service for the apps deployments.

View Source
var ProvName = "web"

ProvName sets the provider name identifier

View Source
var WebBOPDeployment = rc.NewSingleResourceIdent(ProvName, "web_bop_deployment", &apps.Deployment{})

WebBOPDeployment is the mocked bop deployment

View Source
var WebBOPIngress = rc.NewSingleResourceIdent(ProvName, "web_bop_ingress", &networking.Ingress{})

WebKeycloakIngress is the mocked bop ingress

View Source
var WebBOPService = rc.NewSingleResourceIdent(ProvName, "web_bop_service", &core.Service{})

WebKeycloakService is the mocked keycloak deployment

View Source
var WebGatewayCertificate = rc.NewSingleResourceIdent(ProvName, "web_gateway_certificate", &certmanager.Certificate{})

WebKeycloakService is the mocked keycloak deployment

View Source
var WebGatewayCertificateIssuer = rc.NewSingleResourceIdent(ProvName, "web_gateway_cert_issuer", &certmanager.Issuer{})

WebKeycloakService is the mocked keycloak deployment

View Source
var WebGatewayConfigMap = rc.NewSingleResourceIdent(ProvName, "web_gateway_configmap", &core.Service{})

WebKeycloakService is the mocked keycloak deployment

View Source
var WebGatewayDeployment = rc.NewSingleResourceIdent(ProvName, "web_gateway_deployment", &apps.Deployment{})

WebIngress is the mocked secret config

View Source
var WebGatewayIngress = rc.NewSingleResourceIdent(ProvName, "web_gateway_ingress", &networking.Ingress{})

WebIngress is the mocked secret config

View Source
var WebGatewayService = rc.NewSingleResourceIdent(ProvName, "web_gateway_service", &core.Service{})

WebKeycloakService is the mocked keycloak deployment

View Source
var WebIngress = rc.NewMultiResourceIdent(ProvName, "web_ingress", &networking.Ingress{})

WebIngress is the mocked secret config

View Source
var WebKeycloakDBDeployment = rc.NewSingleResourceIdent(ProvName, "web_keycloak_db_deployment", &apps.Deployment{})

WebKeycloakDBDeployment is the ident referring to the local Feature Flags DB deployment object.

View Source
var WebKeycloakDBPVC = rc.NewSingleResourceIdent(ProvName, "web_keycloak_db_pvc", &core.PersistentVolumeClaim{})

WebKeycloakDBPVC is the ident referring to the local Feature Flags DB PVC object.

View Source
var WebKeycloakDBSecret = rc.NewSingleResourceIdent(ProvName, "web_keycloak_db_secret", &core.Secret{})

WebKeycloakDBSecret is the ident referring to the local Feature Flags DB secret object.

View Source
var WebKeycloakDBService = rc.NewSingleResourceIdent(ProvName, "web_keycloak_db_service", &core.Service{})

WebKeycloakDBService is the ident referring to the local Feature Flags DB service object.

View Source
var WebKeycloakDeployment = rc.NewSingleResourceIdent(ProvName, "web_keycloak_deployment", &apps.Deployment{}, rc.ResourceOptions{WriteNow: true})

WebKeycloakDeployment is the mocked keycloak deployment

View Source
var WebKeycloakImportSecret = rc.NewSingleResourceIdent(ProvName, "web_keycloak_import_secret", &core.Secret{})

WebKeycloakImportSecret is the keycloak import secret

View Source
var WebKeycloakIngress = rc.NewSingleResourceIdent(ProvName, "web_keycloak_ingress", &networking.Ingress{})

WebKeycloakIngress is the keycloak ingress

View Source
var WebKeycloakSecret = rc.NewSingleResourceIdent(ProvName, "web_keycloak_secret", &core.Secret{}, rc.ResourceOptions{WriteNow: true})

WebKeycloakSecret is the mocked secret config

View Source
var WebKeycloakService = rc.NewSingleResourceIdent(ProvName, "web_keycloak_service", &core.Service{}, rc.ResourceOptions{WriteNow: true})

WebKeycloakService is the mocked keycloak deployment

View Source
var WebMocktitlementsDeployment = rc.NewSingleResourceIdent(ProvName, "web_mocktitlements_deployment", &apps.Deployment{})

WebBOPDeployment is the mocked bop deployment

View Source
var WebMocktitlementsIngress = rc.NewSingleResourceIdent(ProvName, "web_mocktitlements_ingress", &networking.Ingress{})

WebKeycloakIngress is the mocked bop ingress

View Source
var WebMocktitlementsService = rc.NewSingleResourceIdent(ProvName, "web_mocktitlements_service", &core.Service{})

WebKeycloakService is the mocked keycloak deployment

View Source
var WebSecret = rc.NewMultiResourceIdent(ProvName, "web_secret", &core.Secret{})

WebSecret is the mocked secret config

Functions

func GenerateConfig added in v0.65.0

func GenerateConfig(hostname string, bopAddress string, whitelist []string, appRoutes []ProxyRoute) (string, error)

func GenerateRoute added in v0.65.0

func GenerateRoute(upstream ProxyRoute, warnings *[]caddyconfig.Warning) *caddyhttp.Route

func GetWeb

GetEnd returns the correct end provider.

func NewLocalWebProvider added in v0.21.0

func NewLocalWebProvider(p *providers.Provider) (providers.ClowderProvider, error)

Types

type ProxyRoute added in v0.65.0

type ProxyRoute struct {
	Upstream string `json:"upstream"`
	Path     string `json:"path"`
}

Jump to

Keyboard shortcuts

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