Condividi tramite


ProxyRedirectionMechanism Class

public final class ProxyRedirectionMechanism
extends ExpandableStringEnum<ProxyRedirectionMechanism>

Mode of traffic redirection.

Field Summary

Modifier and Type Field and Description
static final ProxyRedirectionMechanism CNICHAINING

Istio will install a chained CNI plugin to redirect traffic (recommended).

static final ProxyRedirectionMechanism INIT_CONTAINERS

Istio will inject an init container into each pod to redirect traffic (requires NET_ADMIN and NET_RAW).

Constructor Summary

Constructor Description
ProxyRedirectionMechanism()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProxyRedirectionMechanism value.

Method Summary

Modifier and Type Method and Description
static ProxyRedirectionMechanism fromString(String name)

Creates or finds a ProxyRedirectionMechanism from its string representation.

static Collection<ProxyRedirectionMechanism> values()

Gets known ProxyRedirectionMechanism values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CNICHAINING

public static final ProxyRedirectionMechanism CNICHAINING

Istio will install a chained CNI plugin to redirect traffic (recommended).

INIT_CONTAINERS

public static final ProxyRedirectionMechanism INIT_CONTAINERS

Istio will inject an init container into each pod to redirect traffic (requires NET_ADMIN and NET_RAW).

Constructor Details

ProxyRedirectionMechanism

@Deprecated
public ProxyRedirectionMechanism()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProxyRedirectionMechanism value.

Method Details

fromString

public static ProxyRedirectionMechanism fromString(String name)

Creates or finds a ProxyRedirectionMechanism from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ProxyRedirectionMechanism.

values

public static Collection<ProxyRedirectionMechanism> values()

Gets known ProxyRedirectionMechanism values.

Returns:

known ProxyRedirectionMechanism values.

Applies to