populate

package
v0.0.0-...-648e9b4 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestinationRuleForService

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

func Gateway

func Gateway(systemNamespace string, clusterDomain, gwName string, output *objectset.ObjectSet)

func VirtualServiceFromService

func VirtualServiceFromService(name, namespace, gateWayName, domain string, services []*corev1.Service, dests []Dest) *v1alpha3.VirtualService

Types

type Dest

type Dest struct {
	Host, Subset string
	Weight       int
}

type Protocol

type Protocol string
const (
	ProtocolTCP   Protocol = "TCP"
	ProtocolUDP   Protocol = "UDP"
	ProtocolSCTP  Protocol = "SCTP"
	ProtocolHTTP  Protocol = "HTTP"
	ProtocolHTTP2 Protocol = "HTTP2"
	ProtocolGRPC  Protocol = "GRPC"
)

Jump to

Keyboard shortcuts

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