Class ListenerNamespaces
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1.ListenerNamespaces
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ListenerNamespacesBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ListenerNamespaces extends Object implements io.fabric8.kubernetes.api.builder.Editable<ListenerNamespacesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ListenerNamespaces indicate which namespaces ListenerSets should be selected from.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListenerNamespaces()No args constructor for use in serializationListenerNamespaces(String from, io.fabric8.kubernetes.api.model.LabelSelector selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerNamespacesBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFrom()From indicates where ListenerSets can attach to this Gateway.io.fabric8.kubernetes.api.model.LabelSelectorgetSelector()ListenerNamespaces indicate which namespaces ListenerSets should be selected from.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFrom(String from)From indicates where ListenerSets can attach to this Gateway.voidsetSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)ListenerNamespaces indicate which namespaces ListenerSets should be selected from.ListenerNamespacesBuildertoBuilder()
-
-
-
Constructor Detail
-
ListenerNamespaces
public ListenerNamespaces()
No args constructor for use in serialization
-
ListenerNamespaces
public ListenerNamespaces(String from, io.fabric8.kubernetes.api.model.LabelSelector selector)
-
-
Method Detail
-
getFrom
public String getFrom()
From indicates where ListenerSets can attach to this Gateway. Possible values are:* Same: Only ListenerSets in the same namespace may be attached to this Gateway. * Selector: ListenerSets in namespaces selected by the selector may be attached to this Gateway. * All: ListenerSets in all namespaces may be attached to this Gateway. * None: Only listeners defined in the Gateway's spec are allowed
While this feature is experimental, the default value None
-
setFrom
public void setFrom(String from)
From indicates where ListenerSets can attach to this Gateway. Possible values are:* Same: Only ListenerSets in the same namespace may be attached to this Gateway. * Selector: ListenerSets in namespaces selected by the selector may be attached to this Gateway. * All: ListenerSets in all namespaces may be attached to this Gateway. * None: Only listeners defined in the Gateway's spec are allowed
While this feature is experimental, the default value None
-
getSelector
public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
ListenerNamespaces indicate which namespaces ListenerSets should be selected from.
-
setSelector
public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
ListenerNamespaces indicate which namespaces ListenerSets should be selected from.
-
edit
public ListenerNamespacesBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ListenerNamespacesBuilder>
-
toBuilder
public ListenerNamespacesBuilder toBuilder()
-
-