Condividi tramite


NginxIngressControllerType Class

public final class NginxIngressControllerType
extends ExpandableStringEnum<NginxIngressControllerType>

Ingress type for the default NginxIngressController custom resource.

Field Summary

Modifier and Type Field and Description
static final NginxIngressControllerType ANNOTATION_CONTROLLED

The default NginxIngressController will be created.

static final NginxIngressControllerType EXTERNAL

The default NginxIngressController will be created and the operator will provision an external loadbalancer with it.

static final NginxIngressControllerType INTERNAL

The default NginxIngressController will be created and the operator will provision an internal loadbalancer with it.

static final NginxIngressControllerType NONE

The default Ingress Controller will not be created.

Constructor Summary

Constructor Description
NginxIngressControllerType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NginxIngressControllerType value.

Method Summary

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

Creates or finds a NginxIngressControllerType from its string representation.

static Collection<NginxIngressControllerType> values()

Gets known NginxIngressControllerType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ANNOTATION_CONTROLLED

public static final NginxIngressControllerType ANNOTATION_CONTROLLED

The default NginxIngressController will be created. Users can edit the default NginxIngressController Custom Resource to configure load balancer annotations.

EXTERNAL

public static final NginxIngressControllerType EXTERNAL

The default NginxIngressController will be created and the operator will provision an external loadbalancer with it. Any annotation to make the default loadbalancer internal will be overwritten.

INTERNAL

public static final NginxIngressControllerType INTERNAL

The default NginxIngressController will be created and the operator will provision an internal loadbalancer with it. Any annotation to make the default loadbalancer external will be overwritten.

NONE

public static final NginxIngressControllerType NONE

The default Ingress Controller will not be created. It will not be deleted by the system if it exists. Users should delete the default NginxIngressController Custom Resource manually if desired.

Constructor Details

NginxIngressControllerType

@Deprecated
public NginxIngressControllerType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NginxIngressControllerType value.

Method Details

fromString

public static NginxIngressControllerType fromString(String name)

Creates or finds a NginxIngressControllerType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NginxIngressControllerType.

values

public static Collection<NginxIngressControllerType> values()

Gets known NginxIngressControllerType values.

Returns:

known NginxIngressControllerType values.

Applies to