Documentation
¶
Index ¶
- func ApplyRoute(client routeclient.RoutesGetter, required *routev1.Route) (*routev1.Route, bool, error)
- func GetActiveRouteInfo(routeClient routev1listers.RouteLister, activeRouteName string) (route *routev1.Route, routeURL *url.URL, reason string, err error)
- func GetCustomRouteName(routeName string) string
- func GetDefaultRouteHost(routeName string, ingressConfig *configv1.Ingress) string
- type CustomTLSCert
- type RouteConfig
- func (rc *RouteConfig) CustomRoute(tlsConfig *CustomTLSCert, routeName string) *routev1.Route
- func (rc *RouteConfig) DefaultRoute(tlsConfig *CustomTLSCert, ingressConfig *configv1.Ingress) *routev1.Route
- func (rc *RouteConfig) GetCustomRouteHostname() string
- func (rc *RouteConfig) GetCustomTLSSecretName() string
- func (rc *RouteConfig) GetDefaultTLSSecretName() string
- func (rc *RouteConfig) GetDomain() string
- func (rc *RouteConfig) HostnameMatch() bool
- func (rc *RouteConfig) IsCustomHostnameSet() bool
- func (rc *RouteConfig) IsCustomTLSSecretSet() bool
- func (rc *RouteConfig) IsDefaultTLSSecretSet() bool
- type RouteControllerSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRoute ¶
func ApplyRoute(client routeclient.RoutesGetter, required *routev1.Route) (*routev1.Route, bool, error)
func GetActiveRouteInfo ¶
func GetActiveRouteInfo(routeClient routev1listers.RouteLister, activeRouteName string) (route *routev1.Route, routeURL *url.URL, reason string, err error)
func GetCustomRouteName ¶
Types ¶
type CustomTLSCert ¶
holds information about custom TLS certificate and its key
func GetCustomTLS ¶
func GetCustomTLS(customCertSecret *corev1.Secret) (*CustomTLSCert, error)
type RouteConfig ¶
type RouteConfig struct {
// contains filtered or unexported fields
}
func NewRouteConfig ¶
func NewRouteConfig(operatorConfig *operatorv1.Console, ingressConfig *configv1.Ingress, routeName string) *RouteConfig
func (*RouteConfig) CustomRoute ¶
func (rc *RouteConfig) CustomRoute(tlsConfig *CustomTLSCert, routeName string) *routev1.Route
func (*RouteConfig) DefaultRoute ¶
func (rc *RouteConfig) DefaultRoute(tlsConfig *CustomTLSCert, ingressConfig *configv1.Ingress) *routev1.Route
Default `console` route points by default to the `console` service. If custom hostname for the console is set, then the default route should point to the redirect `console-redirect` service and the created custom route should be pointing to the `console` service.
func (*RouteConfig) GetCustomRouteHostname ¶
func (rc *RouteConfig) GetCustomRouteHostname() string
func (*RouteConfig) GetCustomTLSSecretName ¶
func (rc *RouteConfig) GetCustomTLSSecretName() string
func (*RouteConfig) GetDefaultTLSSecretName ¶
func (rc *RouteConfig) GetDefaultTLSSecretName() string
func (*RouteConfig) GetDomain ¶
func (rc *RouteConfig) GetDomain() string
func (*RouteConfig) HostnameMatch ¶
func (rc *RouteConfig) HostnameMatch() bool
func (*RouteConfig) IsCustomHostnameSet ¶
func (rc *RouteConfig) IsCustomHostnameSet() bool
func (*RouteConfig) IsCustomTLSSecretSet ¶
func (rc *RouteConfig) IsCustomTLSSecretSet() bool
func (*RouteConfig) IsDefaultTLSSecretSet ¶
func (rc *RouteConfig) IsDefaultTLSSecretSet() bool
type RouteControllerSpec ¶
type RouteControllerSpec struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.