istio

package
v0.0.0-...-f43927d Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigFactory

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

func NewConfigFactory

func NewConfigFactory(
	cfg config.Federation,
	serviceLister v1.ServiceLister,
	importedServiceStore *fds.ImportedServiceStore,
	namespace string,
) *ConfigFactory

func (*ConfigFactory) DestinationRules

func (cf *ConfigFactory) DestinationRules() []*v1alpha3.DestinationRule

DestinationRules customize SNI in the client mTLS connection when the remote ingress is openshift-router, because that ingress requires hosts compatible with https://datatracker.ietf.org/doc/html/rfc952.

func (*ConfigFactory) EnvoyFilters

func (cf *ConfigFactory) EnvoyFilters() []*v1alpha3.EnvoyFilter

EnvoyFilters returns patches for SNI filters matching SNIs of exported services in federation ingress gateway. These patches add SNI compatible with https://datatracker.ietf.org/doc/html/rfc952 required by OpenShift Router. This function returns nil when the local ingress type is "istio".

func (*ConfigFactory) IngressGateway

func (cf *ConfigFactory) IngressGateway() (*v1alpha3.Gateway, error)

func (*ConfigFactory) ServiceEntries

func (cf *ConfigFactory) ServiceEntries() ([]*v1alpha3.ServiceEntry, error)

func (*ConfigFactory) WorkloadEntries

func (cf *ConfigFactory) WorkloadEntries() ([]*v1alpha3.WorkloadEntry, error)

Jump to

Keyboard shortcuts

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