ingress

package
v2.5.6 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindIngressDNSName

func FindIngressDNSName(ing *networking.Ingress) string

func NewMultiPathBackendStack

func NewMultiPathBackendStack(namespacedResourcesCFGs map[string]NamespacedResourcesConfig, enablePodReadinessGate bool) *multiPathBackendStack

func NewResourceStack

func NewResourceStack(dps []*appsv1.Deployment, svcs []*corev1.Service, ings []*networking.Ingress) *resourceStack

Types

type BackendConfig

type BackendConfig struct {
	Replicas   int32
	TargetType elbv2model.TargetType

	HTTPBody string
}

type MultiPathIngressConfig

type MultiPathIngressConfig struct {
	GroupName  string
	GroupOrder int64
	PathCFGs   []PathConfig
}

type NamespacedResourcesConfig

type NamespacedResourcesConfig struct {
	IngCFGs     map[string]MultiPathIngressConfig
	BackendCFGs map[string]BackendConfig
}

type PathConfig

type PathConfig struct {
	Path      string
	BackendID string
}

Jump to

Keyboard shortcuts

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