resources

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// GenerationKey holds the generation of the parent KIngress resource that the HTTPProxy's
	// spec is derived from.  This is updated along with the spec of child HTTPProxy resources
	// and then used to cleanup stale HTTPProxy resources owned by the parent.
	GenerationKey = "contour.networking.knative.dev/generation"
	// ParentKey hold the name of the parent KIngress resource, since OwnerReferences cannot
	// be used in filter expressions.
	ParentKey = "contour.networking.knative.dev/parent"
	// DomainHashKey contains the hash of the fqdn for which this HTTPProxy exists.  We use
	// the hash in place of the actual fqdn because there is a limit on the length of label
	// values.
	DomainHashKey = "contour.networking.knative.dev/domainHash"
)

These are the label keys that are applied to HTTP proxy resources to facilitate reconciliation.

Variables

This section is empty.

Functions

func MakeHTTPProxies

func MakeHTTPProxies(ctx context.Context, ing *v1alpha1.Ingress, serviceToProtocol map[string]string) []*v1.HTTPProxy

func ServiceNames

func ServiceNames(ctx context.Context, ing *v1alpha1.Ingress) sets.String

Types

This section is empty.

Jump to

Keyboard shortcuts

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