resources

package
v0.0.0-...-d1db816 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeoutAnnotation      = "haproxy.router.openshift.io/timeout"
	DisableRouteAnnotation = "serving.knative.openshift.io/disableRoute"
)
View Source
const (
	NetworkPolicyAllowAllName = "knative-serving-allow-all"
)

Variables

View Source
var (
	// ErrNoValidLoadbalancerDomain indicates that the current ingress does not have a DomainInternal field, or
	// said field does not contain a value we can work with.
	ErrNoValidLoadbalancerDomain = errors.New("no parseable internal domain for ingresses found")
)

Functions

func MakeNetworkPolicyAllowAll

func MakeNetworkPolicyAllowAll(ns string) *networkingv1.NetworkPolicy

MakeNetworkPolicyAllowAll creates a Kubernetes NetworkPolicy allowing all traffic into the namespace of a Knative Ingress

func MakeRoute

func MakeRoute(ing networkingv1alpha1.Ingress, host string, svc types.NamespacedName, timeout time.Duration) *routev1.Route

func MakeRoutes

MakeRoutes creates OpenShift Routes from a Knative Ingress

Types

This section is empty.

Jump to

Keyboard shortcuts

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