populate

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProbeHeaderName = "K-Network-Probe"
	// RevisionHeaderName is the header key for revision name.
	RevisionHeaderName string = "knative-serving-revision"
	// RevisionHeaderNamespace is the header key for revision's namespace.
	RevisionHeaderNamespace string = "knative-serving-namespace"
)

Variables

This section is empty.

Functions

func Ingress added in v0.4.0

func Ingress(namespace, domain, certName string, ignoreVersion bool, svc *riov1.Service, os *objectset.ObjectSet)

func VirtualServiceFromSpec

func VirtualServiceFromSpec(aggregated bool, systemNamespace string, name, namespace string, clusterDomain *projectv1.ClusterDomain, service *v1.Service, dests ...Dest) *v1alpha3.VirtualService

func VirtualServices added in v0.4.0

func VirtualServices(namespace string, clusterDomain *projectv1.ClusterDomain, service *v1.Service, os *objectset.ObjectSet) error

Types

type Dest

type Dest struct {
	Host, Subset string
	Weight       int
}

func DestsForService

func DestsForService(service *serviceset.ServiceSet) []Dest

Jump to

Keyboard shortcuts

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