common

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressTypeForAddress

func AddressTypeForAddress(address string) string

AddressTypeForAddress returns whether envoy should treat the given address as a static ip or as a DNS name

func DefaultTLSCipherSuites

func DefaultTLSCipherSuites() []string

func SupportedTLSCipherSuite

func SupportedTLSCipherSuite(cipherSuite string) bool

func SynchronizeWriter

func SynchronizeWriter(writer io.Writer) io.Writer

Types

type ConsulNamespaceMapper

type ConsulNamespaceMapper func(namespace string) string

type ServiceNameIndex

type ServiceNameIndex struct {
	// contains filtered or unexported fields
}

func NewServiceNameIndex

func NewServiceNameIndex() *ServiceNameIndex

func (*ServiceNameIndex) Add

func (i *ServiceNameIndex) Add(names ...api.CompoundServiceName)

func (*ServiceNameIndex) All

func (*ServiceNameIndex) Diff

func (i *ServiceNameIndex) Diff(other *ServiceNameIndex) (added []api.CompoundServiceName, removed []api.CompoundServiceName)

func (*ServiceNameIndex) Exists

func (i *ServiceNameIndex) Exists(name api.CompoundServiceName) bool

func (*ServiceNameIndex) Remove

func (i *ServiceNameIndex) Remove(names ...api.CompoundServiceName)

Jump to

Keyboard shortcuts

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