Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* Eviction evicts a pod from its node subject to certain policies and safety constraints.
* This is a subresource of Pod. A request to cause such an eviction is
* created by POSTing to .../pods/<pod name>/evictions.
*
*
* Protobuf type {@code k8s.io.api.policy.v1beta1.Eviction}
*/
public static finalclassEvictionextends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:k8s.io.api.policy.v1beta1.Eviction)EvictionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Eviction.newBuilder() to construct.privateEviction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
privateEviction() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
returnthis.unknownFields;
}
privateEviction(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case10: {
io.kubernetes.client.proto.Meta.ObjectMeta.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = metadata_.toBuilder();
}
metadata_ = input.readMessage(io.kubernetes.client.proto.Meta.ObjectMeta.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(metadata_);
metadata_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case18: {
io.kubernetes.client.proto.Meta.DeleteOptions.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = deleteOptions_.toBuilder();
}
deleteOptions_ = input.readMessage(io.kubernetes.client.proto.Meta.DeleteOptions.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deleteOptions_);
deleteOptions_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
thrownew com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_Eviction_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_Eviction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.kubernetes.client.proto.V1beta1Policy.Eviction.class, io.kubernetes.client.proto.V1beta1Policy.Eviction.Builder.class);
}
private int bitField0_;
public static final int METADATA_FIELD_NUMBER = 1;
private io.kubernetes.client.proto.Meta.ObjectMeta metadata_;
/**
*
* ObjectMeta describes the pod that is being evicted.
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions deleteOptions = 2;
*/
public io.kubernetes.client.proto.Meta.DeleteOptionsOrBuilder getDeleteOptionsOrBuilder() {
return deleteOptions_ == null ? io.kubernetes.client.proto.Meta.DeleteOptions.getDefaultInstance() : deleteOptions_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) returntrue;
if (isInitialized == 0) returnfalse;
memoizedIsInitialized = 1;
returntrue;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getMetadata());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getDeleteOptions());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMetadata());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getDeleteOptions());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
returntrue;
}
if (!(obj instanceof io.kubernetes.client.proto.V1beta1Policy.Eviction)) {
returnsuper.equals(obj);
}
io.kubernetes.client.proto.V1beta1Policy.Eviction other = (io.kubernetes.client.proto.V1beta1Policy.Eviction) obj;
boolean result = true;
result = result && (hasMetadata() == other.hasMetadata());
if (hasMetadata()) {
result = result && getMetadata()
.equals(other.getMetadata());
}
result = result && (hasDeleteOptions() == other.hasDeleteOptions());
if (hasDeleteOptions()) {
result = result && getDeleteOptions()
.equals(other.getDeleteOptions());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasMetadata()) {
hash = (37 * hash) + METADATA_FIELD_NUMBER;
hash = (53 * hash) + getMetadata().hashCode();
}
if (hasDeleteOptions()) {
hash = (37 * hash) + DELETEOPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getDeleteOptions().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1beta1Policy.Eviction parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
returnDEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.kubernetes.client.proto.V1beta1Policy.Eviction prototype) {
returnDEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
returnthis == DEFAULT_INSTANCE
? newBuilder() : newBuilder().mergeFrom(this);
}
@java.lang.OverrideprotectedBuilder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = newBuilder(parent);
return builder;
}
/**
*
* Eviction evicts a pod from its node subject to certain policies and safety constraints.
* This is a subresource of Pod. A request to cause such an eviction is
* created by POSTing to .../pods/<pod name>/evictions.
*
*
* Protobuf type {@code k8s.io.api.policy.v1beta1.Eviction}
*/
public static finalclassBuilderextends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.api.policy.v1beta1.Eviction)
io.kubernetes.client.proto.V1beta1Policy.EvictionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_Eviction_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_Eviction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.kubernetes.client.proto.V1beta1Policy.Eviction.class, io.kubernetes.client.proto.V1beta1Policy.Eviction.Builder.class);
}
// Construct using io.kubernetes.client.proto.V1beta1Policy.Eviction.newBuilder()privateBuilder() {
maybeForceBuilderInitialization();
}
privateBuilder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMetadataFieldBuilder();
getDeleteOptionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (metadataBuilder_ == null) {
metadata_ = null;
} else {
metadataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (deleteOptionsBuilder_ == null) {
deleteOptions_ = null;
} else {
deleteOptionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
returnthis;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_Eviction_descriptor;
}
public io.kubernetes.client.proto.V1beta1Policy.Eviction getDefaultInstanceForType() {
return io.kubernetes.client.proto.V1beta1Policy.Eviction.getDefaultInstance();
}
public io.kubernetes.client.proto.V1beta1Policy.Eviction build() {
io.kubernetes.client.proto.V1beta1Policy.Eviction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public io.kubernetes.client.proto.V1beta1Policy.Eviction buildPartial() {
io.kubernetes.client.proto.V1beta1Policy.Eviction result = new io.kubernetes.client.proto.V1beta1Policy.Eviction(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (metadataBuilder_ == null) {
result.metadata_ = metadata_;
} else {
result.metadata_ = metadataBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (deleteOptionsBuilder_ == null) {
result.deleteOptions_ = deleteOptions_;
} else {
result.deleteOptions_ = deleteOptionsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.kubernetes.client.proto.V1beta1Policy.Eviction) {
return mergeFrom((io.kubernetes.client.proto.V1beta1Policy.Eviction)other);
} else {
super.mergeFrom(other);
returnthis;
}
}
public Builder mergeFrom(io.kubernetes.client.proto.V1beta1Policy.Eviction other) {
if (other == io.kubernetes.client.proto.V1beta1Policy.Eviction.getDefaultInstance()) returnthis;
if (other.hasMetadata()) {
mergeMetadata(other.getMetadata());
}
if (other.hasDeleteOptions()) {
mergeDeleteOptions(other.getDeleteOptions());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
returnthis;
}
public final boolean isInitialized() {
returntrue;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.kubernetes.client.proto.V1beta1Policy.Eviction parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.kubernetes.client.proto.V1beta1Policy.Eviction) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
returnthis;
}
private int bitField0_;
private io.kubernetes.client.proto.Meta.ObjectMeta metadata_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.Meta.ObjectMeta, io.kubernetes.client.proto.Meta.ObjectMeta.Builder, io.kubernetes.client.proto.Meta.ObjectMetaOrBuilder> metadataBuilder_;
/**
*
* ObjectMeta describes the pod that is being evicted.
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
*
* optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;
*/
public io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder getMinAvailableOrBuilder() {
return minAvailable_ == null ? io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : minAvailable_;
}
public static final int SELECTOR_FIELD_NUMBER = 2;
private io.kubernetes.client.proto.Meta.LabelSelector selector_;
/**
*
* Label query over pods whose evictions are managed by the disruption
* budget.
*
* Label query over pods whose evictions are managed by the disruption
* budget.
*
*
* optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
*/
public io.kubernetes.client.proto.Meta.LabelSelectorOrBuilder getSelectorOrBuilder() {
return selector_ == null ? io.kubernetes.client.proto.Meta.LabelSelector.getDefaultInstance() : selector_;
}
public static final int MAXUNAVAILABLE_FIELD_NUMBER = 3;
private io.kubernetes.client.proto.IntStr.IntOrString maxUnavailable_;
/**
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
*
* optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;
*/
public io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder getMaxUnavailableOrBuilder() {
return maxUnavailable_ == null ? io.kubernetes.client.proto.IntStr.IntOrString.getDefaultInstance() : maxUnavailable_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) returntrue;
if (isInitialized == 0) returnfalse;
memoizedIsInitialized = 1;
returntrue;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, getMinAvailable());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, getSelector());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, getMaxUnavailable());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMinAvailable());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSelector());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getMaxUnavailable());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
returntrue;
}
if (!(obj instanceof io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec)) {
returnsuper.equals(obj);
}
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec other = (io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec) obj;
boolean result = true;
result = result && (hasMinAvailable() == other.hasMinAvailable());
if (hasMinAvailable()) {
result = result && getMinAvailable()
.equals(other.getMinAvailable());
}
result = result && (hasSelector() == other.hasSelector());
if (hasSelector()) {
result = result && getSelector()
.equals(other.getSelector());
}
result = result && (hasMaxUnavailable() == other.hasMaxUnavailable());
if (hasMaxUnavailable()) {
result = result && getMaxUnavailable()
.equals(other.getMaxUnavailable());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasMinAvailable()) {
hash = (37 * hash) + MINAVAILABLE_FIELD_NUMBER;
hash = (53 * hash) + getMinAvailable().hashCode();
}
if (hasSelector()) {
hash = (37 * hash) + SELECTOR_FIELD_NUMBER;
hash = (53 * hash) + getSelector().hashCode();
}
if (hasMaxUnavailable()) {
hash = (37 * hash) + MAXUNAVAILABLE_FIELD_NUMBER;
hash = (53 * hash) + getMaxUnavailable().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
returnDEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec prototype) {
returnDEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
returnthis == DEFAULT_INSTANCE
? newBuilder() : newBuilder().mergeFrom(this);
}
@java.lang.OverrideprotectedBuilder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = newBuilder(parent);
return builder;
}
/**
*
* PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
*
*
* Protobuf type {@code k8s.io.api.policy.v1beta1.PodDisruptionBudgetSpec}
*/
public static finalclassBuilderextends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.api.policy.v1beta1.PodDisruptionBudgetSpec)
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpecOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_PodDisruptionBudgetSpec_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_PodDisruptionBudgetSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec.class, io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec.Builder.class);
}
// Construct using io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec.newBuilder()privateBuilder() {
maybeForceBuilderInitialization();
}
privateBuilder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMinAvailableFieldBuilder();
getSelectorFieldBuilder();
getMaxUnavailableFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (minAvailableBuilder_ == null) {
minAvailable_ = null;
} else {
minAvailableBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (selectorBuilder_ == null) {
selector_ = null;
} else {
selectorBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (maxUnavailableBuilder_ == null) {
maxUnavailable_ = null;
} else {
maxUnavailableBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
returnthis;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_PodDisruptionBudgetSpec_descriptor;
}
public io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec getDefaultInstanceForType() {
return io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec.getDefaultInstance();
}
public io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec build() {
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec buildPartial() {
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec result = new io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (minAvailableBuilder_ == null) {
result.minAvailable_ = minAvailable_;
} else {
result.minAvailable_ = minAvailableBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (selectorBuilder_ == null) {
result.selector_ = selector_;
} else {
result.selector_ = selectorBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (maxUnavailableBuilder_ == null) {
result.maxUnavailable_ = maxUnavailable_;
} else {
result.maxUnavailable_ = maxUnavailableBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec) {
return mergeFrom((io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec)other);
} else {
super.mergeFrom(other);
returnthis;
}
}
public Builder mergeFrom(io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec other) {
if (other == io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec.getDefaultInstance()) returnthis;
if (other.hasMinAvailable()) {
mergeMinAvailable(other.getMinAvailable());
}
if (other.hasSelector()) {
mergeSelector(other.getSelector());
}
if (other.hasMaxUnavailable()) {
mergeMaxUnavailable(other.getMaxUnavailable());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
returnthis;
}
public final boolean isInitialized() {
returntrue;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
returnthis;
}
private int bitField0_;
private io.kubernetes.client.proto.IntStr.IntOrString minAvailable_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.IntStr.IntOrString, io.kubernetes.client.proto.IntStr.IntOrString.Builder, io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder> minAvailableBuilder_;
/**
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at least "minAvailable" pods selected by
* "selector" will still be available after the eviction, i.e. even in the
* absence of the evicted pod. So for example you can prevent all voluntary
* evictions by specifying "100%".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
* An eviction is allowed if at most "maxUnavailable" pods selected by
* "selector" are unavailable after the eviction, i.e. even in absence of
* the evicted pod. For example, one can prevent all voluntary evictions
* by specifying 0. This is a mutually exclusive setting with "minAvailable".
*
*
* optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;
*/private com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.IntStr.IntOrString, io.kubernetes.client.proto.IntStr.IntOrString.Builder, io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder>
getMaxUnavailableFieldBuilder() {
if (maxUnavailableBuilder_ == null) {
maxUnavailableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.kubernetes.client.proto.IntStr.IntOrString, io.kubernetes.client.proto.IntStr.IntOrString.Builder, io.kubernetes.client.proto.IntStr.IntOrStringOrBuilder>(
getMaxUnavailable(),
getParentForChildren(),
isClean());
maxUnavailable_ = null;
}
return maxUnavailableBuilder_;
}
public finalBuilder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
returnsuper.setUnknownFields(unknownFields);
}
public finalBuilder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
returnsuper.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:k8s.io.api.policy.v1beta1.PodDisruptionBudgetSpec)
}
// @@protoc_insertion_point(class_scope:k8s.io.api.policy.v1beta1.PodDisruptionBudgetSpec)private static final io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpecDEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec();
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec getDefaultInstance() {
returnDEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.ParserPARSER = new com.google.protobuf.AbstractParser() {
public PodDisruptionBudgetSpec parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnnewPodDisruptionBudgetSpec(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
returnPARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
returnPARSER;
}
public io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetSpec getDefaultInstanceForType() {
returnDEFAULT_INSTANCE;
}
}
public interface PodDisruptionBudgetStatusOrBuilderextends// @@protoc_insertion_point(interface_extends:k8s.io.api.policy.v1beta1.PodDisruptionBudgetStatus)
com.google.protobuf.MessageOrBuilder {
/**
*
* Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other
* status informatio is valid only if observedGeneration equals to PDB's object generation.
* +optional
*
* Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other
* status informatio is valid only if observedGeneration equals to PDB's object generation.
* +optional
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other
* status informatio is valid only if observedGeneration equals to PDB's object generation.
* +optional
*
* Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other
* status informatio is valid only if observedGeneration equals to PDB's object generation.
* +optional
*
*
* optional int64 observedGeneration = 1;
*/
public long getObservedGeneration() {
return observedGeneration_;
}
public static final int DISRUPTEDPODS_FIELD_NUMBER = 2;
private static finalclassDisruptedPodsDefaultEntryHolder{
static final com.google.protobuf.MapEntry<
java.lang.String, io.kubernetes.client.proto.Meta.Time> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_PodDisruptionBudgetStatus_DisruptedPodsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
io.kubernetes.client.proto.Meta.Time.getDefaultInstance());
}
private com.google.protobuf.MapField<
java.lang.String, io.kubernetes.client.proto.Meta.Time> disruptedPods_;
private com.google.protobuf.MapField
internalGetDisruptedPods() {
if (disruptedPods_ == null) {
return com.google.protobuf.MapField.emptyMapField(
DisruptedPodsDefaultEntryHolder.defaultEntry);
}
return disruptedPods_;
}
public int getDisruptedPodsCount() {
return internalGetDisruptedPods().getMap().size();
}
/**
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
*
* map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
*/
public io.kubernetes.client.proto.Meta.Time getDisruptedPodsOrThrow(
java.lang.String key) {
if (key == null) { thrownew java.lang.NullPointerException(); }
java.util.Map map =
internalGetDisruptedPods().getMap();
if (!map.containsKey(key)) {
thrownew java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int DISRUPTIONSALLOWED_FIELD_NUMBER = 3;
private int disruptionsAllowed_;
/**
*
* Number of pod disruptions that are currently allowed.
*
* Number of pod disruptions that are currently allowed.
*
*
* optional int32 disruptionsAllowed = 3;
*/
public int getDisruptionsAllowed() {
return disruptionsAllowed_;
}
public static final int CURRENTHEALTHY_FIELD_NUMBER = 4;
private int currentHealthy_;
/**
*
*
* optional int32 currentHealthy = 4;
*/
public int getCurrentHealthy() {
return currentHealthy_;
}
public static final int DESIREDHEALTHY_FIELD_NUMBER = 5;
private int desiredHealthy_;
/**
*
*
* optional int32 desiredHealthy = 5;
*/
public int getDesiredHealthy() {
return desiredHealthy_;
}
public static final int EXPECTEDPODS_FIELD_NUMBER = 6;
private int expectedPods_;
/**
*
* total number of pods counted by this disruption budget
*
* total number of pods counted by this disruption budget
*
*
* optional int32 expectedPods = 6;
*/
public int getExpectedPods() {
return expectedPods_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) returntrue;
if (isInitialized == 0) returnfalse;
memoizedIsInitialized = 1;
returntrue;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, observedGeneration_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetDisruptedPods(),
DisruptedPodsDefaultEntryHolder.defaultEntry,
2);
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(3, disruptionsAllowed_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(4, currentHealthy_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(5, desiredHealthy_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(6, expectedPods_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, observedGeneration_);
}
for (java.util.Map.Entry entry
: internalGetDisruptedPods().getMap().entrySet()) {
com.google.protobuf.MapEntry
disruptedPods__ = DisruptedPodsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, disruptedPods__);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, disruptionsAllowed_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, currentHealthy_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, desiredHealthy_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, expectedPods_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
returntrue;
}
if (!(obj instanceof io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus)) {
returnsuper.equals(obj);
}
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus other = (io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus) obj;
boolean result = true;
result = result && (hasObservedGeneration() == other.hasObservedGeneration());
if (hasObservedGeneration()) {
result = result && (getObservedGeneration()
== other.getObservedGeneration());
}
result = result && internalGetDisruptedPods().equals(
other.internalGetDisruptedPods());
result = result && (hasDisruptionsAllowed() == other.hasDisruptionsAllowed());
if (hasDisruptionsAllowed()) {
result = result && (getDisruptionsAllowed()
== other.getDisruptionsAllowed());
}
result = result && (hasCurrentHealthy() == other.hasCurrentHealthy());
if (hasCurrentHealthy()) {
result = result && (getCurrentHealthy()
== other.getCurrentHealthy());
}
result = result && (hasDesiredHealthy() == other.hasDesiredHealthy());
if (hasDesiredHealthy()) {
result = result && (getDesiredHealthy()
== other.getDesiredHealthy());
}
result = result && (hasExpectedPods() == other.hasExpectedPods());
if (hasExpectedPods()) {
result = result && (getExpectedPods()
== other.getExpectedPods());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasObservedGeneration()) {
hash = (37 * hash) + OBSERVEDGENERATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getObservedGeneration());
}
if (!internalGetDisruptedPods().getMap().isEmpty()) {
hash = (37 * hash) + DISRUPTEDPODS_FIELD_NUMBER;
hash = (53 * hash) + internalGetDisruptedPods().hashCode();
}
if (hasDisruptionsAllowed()) {
hash = (37 * hash) + DISRUPTIONSALLOWED_FIELD_NUMBER;
hash = (53 * hash) + getDisruptionsAllowed();
}
if (hasCurrentHealthy()) {
hash = (37 * hash) + CURRENTHEALTHY_FIELD_NUMBER;
hash = (53 * hash) + getCurrentHealthy();
}
if (hasDesiredHealthy()) {
hash = (37 * hash) + DESIREDHEALTHY_FIELD_NUMBER;
hash = (53 * hash) + getDesiredHealthy();
}
if (hasExpectedPods()) {
hash = (37 * hash) + EXPECTEDPODS_FIELD_NUMBER;
hash = (53 * hash) + getExpectedPods();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
returnPARSER.parseFrom(data, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
returnDEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus prototype) {
returnDEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
returnthis == DEFAULT_INSTANCE
? newBuilder() : newBuilder().mergeFrom(this);
}
@java.lang.OverrideprotectedBuilder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = newBuilder(parent);
return builder;
}
/**
*
* PodDisruptionBudgetStatus represents information about the status of a
* PodDisruptionBudget. Status may trail the actual state of a system.
*
*
* Protobuf type {@code k8s.io.api.policy.v1beta1.PodDisruptionBudgetStatus}
*/
public static finalclassBuilderextends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:k8s.io.api.policy.v1beta1.PodDisruptionBudgetStatus)
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_PodDisruptionBudgetStatus_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case2:
return internalGetDisruptedPods();
default:
thrownewRuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case2:
return internalGetMutableDisruptedPods();
default:
thrownewRuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_PodDisruptionBudgetStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus.class, io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus.Builder.class);
}
// Construct using io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus.newBuilder()privateBuilder() {
maybeForceBuilderInitialization();
}
privateBuilder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
observedGeneration_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableDisruptedPods().clear();
disruptionsAllowed_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
currentHealthy_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
desiredHealthy_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
expectedPods_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
returnthis;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.kubernetes.client.proto.V1beta1Policy.internal_static_k8s_io_api_policy_v1beta1_PodDisruptionBudgetStatus_descriptor;
}
public io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus getDefaultInstanceForType() {
return io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus.getDefaultInstance();
}
public io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus build() {
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus buildPartial() {
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus result = new io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.observedGeneration_ = observedGeneration_;
result.disruptedPods_ = internalGetDisruptedPods();
result.disruptedPods_.makeImmutable();
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.disruptionsAllowed_ = disruptionsAllowed_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.currentHealthy_ = currentHealthy_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.desiredHealthy_ = desiredHealthy_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
result.expectedPods_ = expectedPods_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus) {
return mergeFrom((io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus)other);
} else {
super.mergeFrom(other);
returnthis;
}
}
public Builder mergeFrom(io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus other) {
if (other == io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus.getDefaultInstance()) returnthis;
if (other.hasObservedGeneration()) {
setObservedGeneration(other.getObservedGeneration());
}
internalGetMutableDisruptedPods().mergeFrom(
other.internalGetDisruptedPods());
if (other.hasDisruptionsAllowed()) {
setDisruptionsAllowed(other.getDisruptionsAllowed());
}
if (other.hasCurrentHealthy()) {
setCurrentHealthy(other.getCurrentHealthy());
}
if (other.hasDesiredHealthy()) {
setDesiredHealthy(other.getDesiredHealthy());
}
if (other.hasExpectedPods()) {
setExpectedPods(other.getExpectedPods());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
returnthis;
}
public final boolean isInitialized() {
returntrue;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.kubernetes.client.proto.V1beta1Policy.PodDisruptionBudgetStatus) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
returnthis;
}
private int bitField0_;
private long observedGeneration_ ;
/**
*
* Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other
* status informatio is valid only if observedGeneration equals to PDB's object generation.
* +optional
*
* Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other
* status informatio is valid only if observedGeneration equals to PDB's object generation.
* +optional
*
*
* optional int64 observedGeneration = 1;
*/
public long getObservedGeneration() {
return observedGeneration_;
}
/**
*
* Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other
* status informatio is valid only if observedGeneration equals to PDB's object generation.
* +optional
*
* Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other
* status informatio is valid only if observedGeneration equals to PDB's object generation.
* +optional
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*
* DisruptedPods contains information about pods whose eviction was
* processed by the API server eviction subresource handler but has not
* yet been observed by the PodDisruptionBudget controller.
* A pod will be in this map from the time when the API server processed the
* eviction request to the time when the pod is seen by PDB controller
* as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
* and the value is the time when the API server processed the eviction request. If
* the deletion didn't occur and a pod is still there it will be removed from
* the list automatically by PodDisruptionBudget controller after some time.
* If everything goes smooth this map should be empty for the most of the time.
* Large number of entries in the map may indicate problems with pod deletions.
*