Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PatchWorkspaceInstanceAsDesired ¶
func PatchWorkspaceInstanceAsDesired(inst *cosmov1alpha1.Instance, ws cosmov1alpha1.Workspace, scheme *runtime.Scheme) error
Types ¶
type TraefikIngressRouteConfig ¶ added in v0.9.0
type TraefikIngressRouteConfig struct {
// Entrypoints is the entrypoint of traefik ingress route
Entrypoints []string
// TLS is the TLS of traefik ingress route
TLS *traefikv1.TLS
// AuthenMiddleware is the name and namespace of middleware for cosmo-auth
// Namespace must be the same as where trafik LB is running
AuthenMiddleware traefikv1.MiddlewareRef
// UserNameHeaderMiddlewareName is the name of middleware for username header
// Namespace must be empty to be the same as the workspace
UserNameHeaderMiddleware traefikv1.MiddlewareRef
}
func (*TraefikIngressRouteConfig) PatchTraefikIngressRouteAsDesired ¶ added in v0.9.0
func (c *TraefikIngressRouteConfig) PatchTraefikIngressRouteAsDesired(ir *traefikv1.IngressRoute, ws cosmov1alpha1.Workspace, scheme *runtime.Scheme) error
func (*TraefikIngressRouteConfig) TraefikRoute ¶ added in v0.9.0
func (c *TraefikIngressRouteConfig) TraefikRoute(r cosmov1alpha1.NetworkRule, backendSvcName string) traefikv1.Route
Click to show internal directories.
Click to hide internal directories.