populate

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: Apache-2.0 Imports: 15 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 DestinationRuleForService

func DestinationRuleForService(app *riov1.App) *v1alpha3.DestinationRule

func DestinationRulesAndVirtualServices

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

func VirtualServiceFromSpec

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

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