ingress

package
v1.13.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package ingress contains the translation logic from Ingress to CiliumEnvoyConfig and related resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DedicatedIngressTranslator

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

func NewDedicatedIngressTranslator

func NewDedicatedIngressTranslator(secretsNamespace string, enforceHTTPs bool) *DedicatedIngressTranslator

func (*DedicatedIngressTranslator) Translate

type SharedIngressTranslator

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

SharedIngressTranslator is the translator from model to CiliumEnvoyConfig for Ingress.

This translator is used for shared LB mode.

  • only one instance of CiliumEnvoyConfig with two listeners (secure and in-secure).
  • no LB service and endpoint

func NewSharedIngressTranslator

func NewSharedIngressTranslator(name, namespace, secretsNamespace string, enforceHTTPs bool) *SharedIngressTranslator

NewSharedIngressTranslator returns a new translator for shared ingress mode.

func (*SharedIngressTranslator) Translate

Translate translates the model to CiliumEnvoyConfig.

Jump to

Keyboard shortcuts

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