Package io.kubernetes.client.proto
Interface V1beta1Extensions.NetworkPolicyIngressRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1beta1Extensions.NetworkPolicyIngressRule
,V1beta1Extensions.NetworkPolicyIngressRule.Builder
- Enclosing class:
- V1beta1Extensions
public static interface V1beta1Extensions.NetworkPolicyIngressRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFrom
(int index) List of sources which should be able to access the pods selected for this rule.int
List of sources which should be able to access the pods selected for this rule.List of sources which should be able to access the pods selected for this rule.getFromOrBuilder
(int index) List of sources which should be able to access the pods selected for this rule.List<? extends V1beta1Extensions.NetworkPolicyPeerOrBuilder>
List of sources which should be able to access the pods selected for this rule.getPorts
(int index) List of ports which should be made accessible on the pods selected for this rule.int
List of ports which should be made accessible on the pods selected for this rule.List of ports which should be made accessible on the pods selected for this rule.getPortsOrBuilder
(int index) List of ports which should be made accessible on the pods selected for this rule.List<? extends V1beta1Extensions.NetworkPolicyPortOrBuilder>
List of ports which should be made accessible on the pods selected for this rule.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPortsList
List<V1beta1Extensions.NetworkPolicyPort> getPortsList()List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPort ports = 1;
-
getPorts
List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPort ports = 1;
-
getPortsCount
int getPortsCount()List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPort ports = 1;
-
getPortsOrBuilderList
List<? extends V1beta1Extensions.NetworkPolicyPortOrBuilder> getPortsOrBuilderList()List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPort ports = 1;
-
getPortsOrBuilder
List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPort ports = 1;
-
getFromList
List<V1beta1Extensions.NetworkPolicyPeer> getFromList()List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPeer from = 2;
-
getFrom
List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPeer from = 2;
-
getFromCount
int getFromCount()List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPeer from = 2;
-
getFromOrBuilderList
List<? extends V1beta1Extensions.NetworkPolicyPeerOrBuilder> getFromOrBuilderList()List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPeer from = 2;
-
getFromOrBuilder
List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. +optional
repeated .k8s.io.api.extensions.v1beta1.NetworkPolicyPeer from = 2;
-