config

package
v0.0.0-...-2972591 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0, BSD-3-Clause, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEntriesForExternalService

func CreateEntriesForExternalService(serviceName string, endpointServiceEntry string, portServiceEntry uint32, hostVirtualService string, clientName string, ingressPort uint32, providerSAN string) []istioModel.Config

CreateEntriesForExternalService creates routing rules (gateway, virtual service, service entry) to route to a service with serviceName (provider side)

func CreateEntriesForExternalServiceClient

func CreateEntriesForExternalServiceClient(serviceName string, hostName string, serviceIP string, port int, systemDomain string) []istioModel.Config

CreateEntriesForExternalServiceClient creates istio routing config for a service for the consumer side

func CreateIstioConfigForProvider

func CreateIstioConfigForProvider(request *model.BindRequest, response *model.BindResponse, bindingID string, systemDomain string, providerSAN string) []istioModel.Config

CreateIstioConfigForProvider creates istio routing rules for provider

func ToYamlDocuments

func ToYamlDocuments(entry []istioModel.Config) (string, error)

ToYamlDocuments creates yaml config files

Types

type IstioObjectID

type IstioObjectID struct {
	Type string
	Name string
}

IstioObjectID identifies an istio configuration object (e.g. a gateway with name XY)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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