populate

package
v0.0.4-rc5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PublicDomainAnnotation = "rio.cattle.io/publicDomain"
	RioNameHeader          = "X-Rio-ServiceName"
	RioNamespaceHeader     = "X-Rio-Namespace"
	RioPortHeader          = "X-Rio-ServicePort"
)

Variables

This section is empty.

Functions

func DestinationRulesAndVirtualServices

func DestinationRulesAndVirtualServices(stack *v1.Stack, services []*v1.Service, service *v1.Service, os *objectset.ObjectSet) error

func VsFromSpec

func VsFromSpec(stack *v1.Stack, name, namespace string, service *v1.Service, dests ...Dest) *v1alpha3client.VirtualService

Types

type Dest

type Dest struct {
	Host, Subset string
	Weight       int
}

func DestsForService

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

Source Files

  • destinations.go
  • virtualservice.go

Jump to

Keyboard shortcuts

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