public static final class SidecarOuterClass.Sidecar extends com.google.protobuf.GeneratedMessageV3 implements SidecarOuterClass.SidecarOrBuilder
`Sidecar` describes the configuration of the sidecar proxy that mediates inbound and outbound communication of the workload instance to which it is attached. <!-- crd generation tags +cue-gen:Sidecar:groupName:networking.istio.io +cue-gen:Sidecar:version:v1alpha3 +cue-gen:Sidecar:storageVersion +cue-gen:Sidecar:annotations:helm.sh/resource-policy=keep +cue-gen:Sidecar:labels:app=istio-pilot,chart=istio,heritage=Tiller,release=istio +cue-gen:Sidecar:subresource:status +cue-gen:Sidecar:scope:Namespaced +cue-gen:Sidecar:resource:categories=istio-io,networking-istio-io +cue-gen:Sidecar:preserveUnknownFields:false --> <!-- go code generation tags +kubetype-gen +kubetype-gen:groupVersion=networking.istio.io/v1alpha3 +genclient +k8s:deepcopy-gen=true -->Protobuf type
istio.networking.v1alpha3.Sidecar| 限定符和类型 | 类和说明 |
|---|---|
static class |
SidecarOuterClass.Sidecar.Builder
`Sidecar` describes the configuration of the sidecar proxy that mediates
inbound and outbound communication of the workload instance to which it is
attached.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
EGRESS_FIELD_NUMBER |
static int |
INGRESS_FIELD_NUMBER |
static int |
OUTBOUND_TRAFFIC_POLICY_FIELD_NUMBER |
static int |
WORKLOAD_SELECTOR_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static SidecarOuterClass.Sidecar |
getDefaultInstance() |
SidecarOuterClass.Sidecar |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
SidecarOuterClass.IstioEgressListener |
getEgress(int index)
Egress specifies the configuration of the sidecar for processing
outbound traffic from the attached workload instance to other
services in the mesh.
|
int |
getEgressCount()
Egress specifies the configuration of the sidecar for processing
outbound traffic from the attached workload instance to other
services in the mesh.
|
List<SidecarOuterClass.IstioEgressListener> |
getEgressList()
Egress specifies the configuration of the sidecar for processing
outbound traffic from the attached workload instance to other
services in the mesh.
|
SidecarOuterClass.IstioEgressListenerOrBuilder |
getEgressOrBuilder(int index)
Egress specifies the configuration of the sidecar for processing
outbound traffic from the attached workload instance to other
services in the mesh.
|
List<? extends SidecarOuterClass.IstioEgressListenerOrBuilder> |
getEgressOrBuilderList()
Egress specifies the configuration of the sidecar for processing
outbound traffic from the attached workload instance to other
services in the mesh.
|
SidecarOuterClass.IstioIngressListener |
getIngress(int index)
Ingress specifies the configuration of the sidecar for processing
inbound traffic to the attached workload instance.
|
int |
getIngressCount()
Ingress specifies the configuration of the sidecar for processing
inbound traffic to the attached workload instance.
|
List<SidecarOuterClass.IstioIngressListener> |
getIngressList()
Ingress specifies the configuration of the sidecar for processing
inbound traffic to the attached workload instance.
|
SidecarOuterClass.IstioIngressListenerOrBuilder |
getIngressOrBuilder(int index)
Ingress specifies the configuration of the sidecar for processing
inbound traffic to the attached workload instance.
|
List<? extends SidecarOuterClass.IstioIngressListenerOrBuilder> |
getIngressOrBuilderList()
Ingress specifies the configuration of the sidecar for processing
inbound traffic to the attached workload instance.
|
SidecarOuterClass.OutboundTrafficPolicy |
getOutboundTrafficPolicy()
Configuration for the outbound traffic policy.
|
SidecarOuterClass.OutboundTrafficPolicyOrBuilder |
getOutboundTrafficPolicyOrBuilder()
Configuration for the outbound traffic policy.
|
com.google.protobuf.Parser<SidecarOuterClass.Sidecar> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
SidecarOuterClass.WorkloadSelector |
getWorkloadSelector()
Criteria used to select the specific set of pods/VMs on which this
`Sidecar` configuration should be applied.
|
SidecarOuterClass.WorkloadSelectorOrBuilder |
getWorkloadSelectorOrBuilder()
Criteria used to select the specific set of pods/VMs on which this
`Sidecar` configuration should be applied.
|
int |
hashCode() |
boolean |
hasOutboundTrafficPolicy()
Configuration for the outbound traffic policy.
|
boolean |
hasWorkloadSelector()
Criteria used to select the specific set of pods/VMs on which this
`Sidecar` configuration should be applied.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SidecarOuterClass.Sidecar.Builder |
newBuilder() |
static SidecarOuterClass.Sidecar.Builder |
newBuilder(SidecarOuterClass.Sidecar prototype) |
SidecarOuterClass.Sidecar.Builder |
newBuilderForType() |
protected SidecarOuterClass.Sidecar.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SidecarOuterClass.Sidecar |
parseDelimitedFrom(InputStream input) |
static SidecarOuterClass.Sidecar |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SidecarOuterClass.Sidecar |
parseFrom(byte[] data) |
static SidecarOuterClass.Sidecar |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SidecarOuterClass.Sidecar |
parseFrom(ByteBuffer data) |
static SidecarOuterClass.Sidecar |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SidecarOuterClass.Sidecar |
parseFrom(com.google.protobuf.ByteString data) |
static SidecarOuterClass.Sidecar |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SidecarOuterClass.Sidecar |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SidecarOuterClass.Sidecar |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SidecarOuterClass.Sidecar |
parseFrom(InputStream input) |
static SidecarOuterClass.Sidecar |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SidecarOuterClass.Sidecar> |
parser() |
SidecarOuterClass.Sidecar.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int WORKLOAD_SELECTOR_FIELD_NUMBER
public static final int INGRESS_FIELD_NUMBER
public static final int EGRESS_FIELD_NUMBER
public static final int OUTBOUND_TRAFFIC_POLICY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasWorkloadSelector()
Criteria used to select the specific set of pods/VMs on which this `Sidecar` configuration should be applied. If omitted, the `Sidecar` configuration will be applied to all workload instances in the same namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 1;hasWorkloadSelector 在接口中 SidecarOuterClass.SidecarOrBuilderpublic SidecarOuterClass.WorkloadSelector getWorkloadSelector()
Criteria used to select the specific set of pods/VMs on which this `Sidecar` configuration should be applied. If omitted, the `Sidecar` configuration will be applied to all workload instances in the same namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 1;getWorkloadSelector 在接口中 SidecarOuterClass.SidecarOrBuilderpublic SidecarOuterClass.WorkloadSelectorOrBuilder getWorkloadSelectorOrBuilder()
Criteria used to select the specific set of pods/VMs on which this `Sidecar` configuration should be applied. If omitted, the `Sidecar` configuration will be applied to all workload instances in the same namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 1;public List<SidecarOuterClass.IstioIngressListener> getIngressList()
Ingress specifies the configuration of the sidecar for processing inbound traffic to the attached workload instance. If omitted, Istio will automatically configure the sidecar based on the information about the workload obtained from the orchestration platform (e.g., exposed ports, services, etc.). If specified, inbound ports are configured if and only if the workload instance is associated with a service.
repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;public List<? extends SidecarOuterClass.IstioIngressListenerOrBuilder> getIngressOrBuilderList()
Ingress specifies the configuration of the sidecar for processing inbound traffic to the attached workload instance. If omitted, Istio will automatically configure the sidecar based on the information about the workload obtained from the orchestration platform (e.g., exposed ports, services, etc.). If specified, inbound ports are configured if and only if the workload instance is associated with a service.
repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;public int getIngressCount()
Ingress specifies the configuration of the sidecar for processing inbound traffic to the attached workload instance. If omitted, Istio will automatically configure the sidecar based on the information about the workload obtained from the orchestration platform (e.g., exposed ports, services, etc.). If specified, inbound ports are configured if and only if the workload instance is associated with a service.
repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;public SidecarOuterClass.IstioIngressListener getIngress(int index)
Ingress specifies the configuration of the sidecar for processing inbound traffic to the attached workload instance. If omitted, Istio will automatically configure the sidecar based on the information about the workload obtained from the orchestration platform (e.g., exposed ports, services, etc.). If specified, inbound ports are configured if and only if the workload instance is associated with a service.
repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;getIngress 在接口中 SidecarOuterClass.SidecarOrBuilderpublic SidecarOuterClass.IstioIngressListenerOrBuilder getIngressOrBuilder(int index)
Ingress specifies the configuration of the sidecar for processing inbound traffic to the attached workload instance. If omitted, Istio will automatically configure the sidecar based on the information about the workload obtained from the orchestration platform (e.g., exposed ports, services, etc.). If specified, inbound ports are configured if and only if the workload instance is associated with a service.
repeated .istio.networking.v1alpha3.IstioIngressListener ingress = 2;public List<SidecarOuterClass.IstioEgressListener> getEgressList()
Egress specifies the configuration of the sidecar for processing outbound traffic from the attached workload instance to other services in the mesh. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.
repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;public List<? extends SidecarOuterClass.IstioEgressListenerOrBuilder> getEgressOrBuilderList()
Egress specifies the configuration of the sidecar for processing outbound traffic from the attached workload instance to other services in the mesh. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.
repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;public int getEgressCount()
Egress specifies the configuration of the sidecar for processing outbound traffic from the attached workload instance to other services in the mesh. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.
repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;public SidecarOuterClass.IstioEgressListener getEgress(int index)
Egress specifies the configuration of the sidecar for processing outbound traffic from the attached workload instance to other services in the mesh. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.
repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;getEgress 在接口中 SidecarOuterClass.SidecarOrBuilderpublic SidecarOuterClass.IstioEgressListenerOrBuilder getEgressOrBuilder(int index)
Egress specifies the configuration of the sidecar for processing outbound traffic from the attached workload instance to other services in the mesh. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.
repeated .istio.networking.v1alpha3.IstioEgressListener egress = 3;public boolean hasOutboundTrafficPolicy()
Configuration for the outbound traffic policy. If your application uses one or more external services that are not known apriori, setting the policy to `ALLOW_ANY` will cause the sidecars to route any unknown traffic originating from the application to its requested destination. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.
.istio.networking.v1alpha3.OutboundTrafficPolicy outbound_traffic_policy = 4;hasOutboundTrafficPolicy 在接口中 SidecarOuterClass.SidecarOrBuilderpublic SidecarOuterClass.OutboundTrafficPolicy getOutboundTrafficPolicy()
Configuration for the outbound traffic policy. If your application uses one or more external services that are not known apriori, setting the policy to `ALLOW_ANY` will cause the sidecars to route any unknown traffic originating from the application to its requested destination. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.
.istio.networking.v1alpha3.OutboundTrafficPolicy outbound_traffic_policy = 4;getOutboundTrafficPolicy 在接口中 SidecarOuterClass.SidecarOrBuilderpublic SidecarOuterClass.OutboundTrafficPolicyOrBuilder getOutboundTrafficPolicyOrBuilder()
Configuration for the outbound traffic policy. If your application uses one or more external services that are not known apriori, setting the policy to `ALLOW_ANY` will cause the sidecars to route any unknown traffic originating from the application to its requested destination. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.
.istio.networking.v1alpha3.OutboundTrafficPolicy outbound_traffic_policy = 4;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static SidecarOuterClass.Sidecar parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SidecarOuterClass.Sidecar parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SidecarOuterClass.Sidecar parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SidecarOuterClass.Sidecar parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SidecarOuterClass.Sidecar parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SidecarOuterClass.Sidecar parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SidecarOuterClass.Sidecar parseFrom(InputStream input) throws IOException
IOExceptionpublic static SidecarOuterClass.Sidecar parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SidecarOuterClass.Sidecar parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SidecarOuterClass.Sidecar parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SidecarOuterClass.Sidecar parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SidecarOuterClass.Sidecar parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SidecarOuterClass.Sidecar.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static SidecarOuterClass.Sidecar.Builder newBuilder()
public static SidecarOuterClass.Sidecar.Builder newBuilder(SidecarOuterClass.Sidecar prototype)
public SidecarOuterClass.Sidecar.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected SidecarOuterClass.Sidecar.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static SidecarOuterClass.Sidecar getDefaultInstance()
public static com.google.protobuf.Parser<SidecarOuterClass.Sidecar> parser()
public com.google.protobuf.Parser<SidecarOuterClass.Sidecar> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public SidecarOuterClass.Sidecar getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.