populate

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RioNameHeader      = "X-Rio-ServiceName"
	RioNamespaceHeader = "X-Rio-Namespace"
	RioPortHeader      = "X-Rio-ServicePort"
)

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