zoneproxy

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(fn ...DeploymentOptsFn) framework.InstallFunc

Install deploys zone-proxy-ingress and/or zone-proxy-egress based on which ports are set. Set IngressPort to deploy ingress, EgressPort to deploy egress.

Types

type DeploymentOpts

type DeploymentOpts struct {
	Name        string
	Namespace   string
	Mesh        string
	Workload    string
	IngressPort uint32
	EgressPort  uint32
	// DpEnvs are extra kuma-dp environment variables applied to the proxy.
	// Universal-only; ignored on k8s deployments.
	DpEnvs map[string]string
}

func DefaultDeploymentOpts

func DefaultDeploymentOpts() DeploymentOpts

type DeploymentOptsFn

type DeploymentOptsFn = func(*DeploymentOpts)

func WithDpEnvs

func WithDpEnvs(envs map[string]string) DeploymentOptsFn

WithDpEnvs sets kuma-dp environment overrides for the zone proxy DPP. Universal-only.

func WithEgressPort

func WithEgressPort(port uint32) DeploymentOptsFn

func WithIngressPort

func WithIngressPort(port uint32) DeploymentOptsFn

func WithMesh

func WithMesh(mesh string) DeploymentOptsFn

func WithName

func WithName(name string) DeploymentOptsFn

func WithNamespace

func WithNamespace(namespace string) DeploymentOptsFn

func WithWorkload

func WithWorkload(workload string) DeploymentOptsFn

Jump to

Keyboard shortcuts

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