public static final class WorkloadGroupOuterClass.WorkloadGroup extends com.google.protobuf.GeneratedMessageV3 implements WorkloadGroupOuterClass.WorkloadGroupOrBuilder
`WorkloadGroup` enables specifying the properties of a single workload for bootstrap and provides a template for `WorkloadEntry`, similar to how `Deployment` specifies properties of workloads via `Pod` templates. A `WorkloadGroup` can have more than one `WorkloadEntry`. `WorkloadGroup` has no relationship to resources which control service registry like `ServiceEntry` and as such doesn't configure host name for these workloads. <!-- crd generation tags +cue-gen:WorkloadGroup:groupName:networking.istio.io +cue-gen:WorkloadGroup:version:v1alpha3 +cue-gen:WorkloadGroup:storageVersion +cue-gen:WorkloadGroup:subresource:status +cue-gen:WorkloadGroup:scope:Namespaced +cue-gen:WorkloadGroup:resource:categories=istio-io,networking-istio-io,shortNames=wg,plural=workloadgroups +cue-gen:WorkloadGroup:printerColumn:name=Age,type=date,JSONPath=.metadata.creationTimestamp,description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" +cue-gen:WorkloadGroup: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.WorkloadGroup| 限定符和类型 | 类和说明 |
|---|---|
static class |
WorkloadGroupOuterClass.WorkloadGroup.Builder
`WorkloadGroup` enables specifying the properties of a single workload for bootstrap and
provides a template for `WorkloadEntry`, similar to how `Deployment` specifies properties
of workloads via `Pod` templates.
|
static class |
WorkloadGroupOuterClass.WorkloadGroup.ObjectMeta
`ObjectMeta` describes metadata that will be attached to a `WorkloadEntry`.
|
static interface |
WorkloadGroupOuterClass.WorkloadGroup.ObjectMetaOrBuilder |
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 |
METADATA_FIELD_NUMBER |
static int |
PROBE_FIELD_NUMBER |
static int |
TEMPLATE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static WorkloadGroupOuterClass.WorkloadGroup |
getDefaultInstance() |
WorkloadGroupOuterClass.WorkloadGroup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
WorkloadGroupOuterClass.WorkloadGroup.ObjectMeta |
getMetadata()
Metadata that will be used for all corresponding `WorkloadEntries`.
|
WorkloadGroupOuterClass.WorkloadGroup.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Metadata that will be used for all corresponding `WorkloadEntries`.
|
com.google.protobuf.Parser<WorkloadGroupOuterClass.WorkloadGroup> |
getParserForType() |
WorkloadGroupOuterClass.ReadinessProbe |
getProbe()
`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload.
|
WorkloadGroupOuterClass.ReadinessProbeOrBuilder |
getProbeOrBuilder()
`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload.
|
int |
getSerializedSize() |
WorkloadEntryOuterClass.WorkloadEntry |
getTemplate()
Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
|
WorkloadEntryOuterClass.WorkloadEntryOrBuilder |
getTemplateOrBuilder()
Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMetadata()
Metadata that will be used for all corresponding `WorkloadEntries`.
|
boolean |
hasProbe()
`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload.
|
boolean |
hasTemplate()
Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WorkloadGroupOuterClass.WorkloadGroup.Builder |
newBuilder() |
static WorkloadGroupOuterClass.WorkloadGroup.Builder |
newBuilder(WorkloadGroupOuterClass.WorkloadGroup prototype) |
WorkloadGroupOuterClass.WorkloadGroup.Builder |
newBuilderForType() |
protected WorkloadGroupOuterClass.WorkloadGroup.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseDelimitedFrom(InputStream input) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(byte[] data) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(ByteBuffer data) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(com.google.protobuf.ByteString data) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(InputStream input) |
static WorkloadGroupOuterClass.WorkloadGroup |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WorkloadGroupOuterClass.WorkloadGroup> |
parser() |
WorkloadGroupOuterClass.WorkloadGroup.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 METADATA_FIELD_NUMBER
public static final int TEMPLATE_FIELD_NUMBER
public static final int PROBE_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 hasMetadata()
Metadata that will be used for all corresponding `WorkloadEntries`. User labels for a workload group should be set here in `metadata` rather than in `template`.
.istio.networking.v1alpha3.WorkloadGroup.ObjectMeta metadata = 1;hasMetadata 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilderpublic WorkloadGroupOuterClass.WorkloadGroup.ObjectMeta getMetadata()
Metadata that will be used for all corresponding `WorkloadEntries`. User labels for a workload group should be set here in `metadata` rather than in `template`.
.istio.networking.v1alpha3.WorkloadGroup.ObjectMeta metadata = 1;getMetadata 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilderpublic WorkloadGroupOuterClass.WorkloadGroup.ObjectMetaOrBuilder getMetadataOrBuilder()
Metadata that will be used for all corresponding `WorkloadEntries`. User labels for a workload group should be set here in `metadata` rather than in `template`.
.istio.networking.v1alpha3.WorkloadGroup.ObjectMeta metadata = 1;public boolean hasTemplate()
Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`. Please note that `address` and `labels` fields should not be set in the template, and an empty `serviceAccount` should default to `default`. The workload identities (mTLS certificates) will be bootstrapped using the specified service account's token. Workload entries in this group will be in the same namespace as the workload group, and inherit the labels and annotations from the above `metadata` field.
.istio.networking.v1alpha3.WorkloadEntry template = 2 [(.google.api.field_behavior) = REQUIRED];hasTemplate 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilderpublic WorkloadEntryOuterClass.WorkloadEntry getTemplate()
Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`. Please note that `address` and `labels` fields should not be set in the template, and an empty `serviceAccount` should default to `default`. The workload identities (mTLS certificates) will be bootstrapped using the specified service account's token. Workload entries in this group will be in the same namespace as the workload group, and inherit the labels and annotations from the above `metadata` field.
.istio.networking.v1alpha3.WorkloadEntry template = 2 [(.google.api.field_behavior) = REQUIRED];getTemplate 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilderpublic WorkloadEntryOuterClass.WorkloadEntryOrBuilder getTemplateOrBuilder()
Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`. Please note that `address` and `labels` fields should not be set in the template, and an empty `serviceAccount` should default to `default`. The workload identities (mTLS certificates) will be bootstrapped using the specified service account's token. Workload entries in this group will be in the same namespace as the workload group, and inherit the labels and annotations from the above `metadata` field.
.istio.networking.v1alpha3.WorkloadEntry template = 2 [(.google.api.field_behavior) = REQUIRED];public boolean hasProbe()
`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload. This configuration mirrors K8S in both syntax and logic for the most part.
.istio.networking.v1alpha3.ReadinessProbe probe = 3;hasProbe 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilderpublic WorkloadGroupOuterClass.ReadinessProbe getProbe()
`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload. This configuration mirrors K8S in both syntax and logic for the most part.
.istio.networking.v1alpha3.ReadinessProbe probe = 3;getProbe 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilderpublic WorkloadGroupOuterClass.ReadinessProbeOrBuilder getProbeOrBuilder()
`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload. This configuration mirrors K8S in both syntax and logic for the most part.
.istio.networking.v1alpha3.ReadinessProbe probe = 3;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 WorkloadGroupOuterClass.WorkloadGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseFrom(InputStream input) throws IOException
IOExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WorkloadGroupOuterClass.WorkloadGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WorkloadGroupOuterClass.WorkloadGroup.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static WorkloadGroupOuterClass.WorkloadGroup.Builder newBuilder()
public static WorkloadGroupOuterClass.WorkloadGroup.Builder newBuilder(WorkloadGroupOuterClass.WorkloadGroup prototype)
public WorkloadGroupOuterClass.WorkloadGroup.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected WorkloadGroupOuterClass.WorkloadGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static WorkloadGroupOuterClass.WorkloadGroup getDefaultInstance()
public static com.google.protobuf.Parser<WorkloadGroupOuterClass.WorkloadGroup> parser()
public com.google.protobuf.Parser<WorkloadGroupOuterClass.WorkloadGroup> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public WorkloadGroupOuterClass.WorkloadGroup getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.