io.kubernetes.client.openapi.models.V1NodeSpecFluent Maven / Gradle / Ivy
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.Collection;
import java.util.List;
import java.util.function.Predicate;
/** Generated */
public interface V1NodeSpecFluent> extends Fluent {
/**
* This method has been deprecated, please use method buildConfigSource instead.
*
* @return The buildable object.
*/
@Deprecated
public V1NodeConfigSource getConfigSource();
public io.kubernetes.client.openapi.models.V1NodeConfigSource buildConfigSource();
public A withConfigSource(io.kubernetes.client.openapi.models.V1NodeConfigSource configSource);
public Boolean hasConfigSource();
public V1NodeSpecFluent.ConfigSourceNested withNewConfigSource();
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.ConfigSourceNested
withNewConfigSourceLike(io.kubernetes.client.openapi.models.V1NodeConfigSource item);
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.ConfigSourceNested
editConfigSource();
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.ConfigSourceNested
editOrNewConfigSource();
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.ConfigSourceNested
editOrNewConfigSourceLike(io.kubernetes.client.openapi.models.V1NodeConfigSource item);
public String getExternalID();
public A withExternalID(java.lang.String externalID);
public java.lang.Boolean hasExternalID();
public java.lang.String getPodCIDR();
public A withPodCIDR(java.lang.String podCIDR);
public java.lang.Boolean hasPodCIDR();
public A addToPodCIDRs(Integer index, java.lang.String item);
public A setToPodCIDRs(java.lang.Integer index, java.lang.String item);
public A addToPodCIDRs(java.lang.String... items);
public A addAllToPodCIDRs(Collection items);
public A removeFromPodCIDRs(java.lang.String... items);
public A removeAllFromPodCIDRs(java.util.Collection items);
public List getPodCIDRs();
public java.lang.String getPodCIDR(java.lang.Integer index);
public java.lang.String getFirstPodCIDR();
public java.lang.String getLastPodCIDR();
public java.lang.String getMatchingPodCIDR(Predicate predicate);
public java.lang.Boolean hasMatchingPodCIDR(
java.util.function.Predicate predicate);
public A withPodCIDRs(java.util.List podCIDRs);
public A withPodCIDRs(java.lang.String... podCIDRs);
public java.lang.Boolean hasPodCIDRs();
public java.lang.String getProviderID();
public A withProviderID(java.lang.String providerID);
public java.lang.Boolean hasProviderID();
public A addToTaints(java.lang.Integer index, V1Taint item);
public A setToTaints(java.lang.Integer index, io.kubernetes.client.openapi.models.V1Taint item);
public A addToTaints(io.kubernetes.client.openapi.models.V1Taint... items);
public A addAllToTaints(java.util.Collection items);
public A removeFromTaints(io.kubernetes.client.openapi.models.V1Taint... items);
public A removeAllFromTaints(
java.util.Collection items);
public A removeMatchingFromTaints(java.util.function.Predicate predicate);
/**
* This method has been deprecated, please use method buildTaints instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public java.util.List getTaints();
public java.util.List buildTaints();
public io.kubernetes.client.openapi.models.V1Taint buildTaint(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1Taint buildFirstTaint();
public io.kubernetes.client.openapi.models.V1Taint buildLastTaint();
public io.kubernetes.client.openapi.models.V1Taint buildMatchingTaint(
java.util.function.Predicate predicate);
public java.lang.Boolean hasMatchingTaint(
java.util.function.Predicate predicate);
public A withTaints(java.util.List taints);
public A withTaints(io.kubernetes.client.openapi.models.V1Taint... taints);
public java.lang.Boolean hasTaints();
public V1NodeSpecFluent.TaintsNested addNewTaint();
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.TaintsNested addNewTaintLike(
io.kubernetes.client.openapi.models.V1Taint item);
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.TaintsNested setNewTaintLike(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1Taint item);
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.TaintsNested editTaint(
java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.TaintsNested editFirstTaint();
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.TaintsNested editLastTaint();
public io.kubernetes.client.openapi.models.V1NodeSpecFluent.TaintsNested editMatchingTaint(
java.util.function.Predicate predicate);
public java.lang.Boolean getUnschedulable();
public A withUnschedulable(java.lang.Boolean unschedulable);
public java.lang.Boolean hasUnschedulable();
public A withUnschedulable();
public interface ConfigSourceNested
extends Nested, V1NodeConfigSourceFluent> {
public N and();
public N endConfigSource();
}
public interface TaintsNested
extends io.kubernetes.client.fluent.Nested,
V1TaintFluent> {
public N and();
public N endTaint();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy