io.kubernetes.client.openapi.models.V1SchedulingFluent 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.Map;
import java.util.function.Predicate;
/** Generated */
public interface V1SchedulingFluent> extends Fluent {
public A addToNodeSelector(String key, java.lang.String value);
public A addToNodeSelector(Map map);
public A removeFromNodeSelector(java.lang.String key);
public A removeFromNodeSelector(java.util.Map map);
public java.util.Map getNodeSelector();
public A withNodeSelector(java.util.Map nodeSelector);
public Boolean hasNodeSelector();
public A addToTolerations(Integer index, V1Toleration item);
public A setToTolerations(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1Toleration item);
public A addToTolerations(io.kubernetes.client.openapi.models.V1Toleration... items);
public A addAllToTolerations(Collection items);
public A removeFromTolerations(io.kubernetes.client.openapi.models.V1Toleration... items);
public A removeAllFromTolerations(
java.util.Collection items);
public A removeMatchingFromTolerations(Predicate predicate);
/**
* This method has been deprecated, please use method buildTolerations instead.
*
* @return The buildable object.
*/
@Deprecated
public List getTolerations();
public java.util.List buildTolerations();
public io.kubernetes.client.openapi.models.V1Toleration buildToleration(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1Toleration buildFirstToleration();
public io.kubernetes.client.openapi.models.V1Toleration buildLastToleration();
public io.kubernetes.client.openapi.models.V1Toleration buildMatchingToleration(
java.util.function.Predicate
predicate);
public java.lang.Boolean hasMatchingToleration(
java.util.function.Predicate
predicate);
public A withTolerations(
java.util.List tolerations);
public A withTolerations(io.kubernetes.client.openapi.models.V1Toleration... tolerations);
public java.lang.Boolean hasTolerations();
public V1SchedulingFluent.TolerationsNested addNewToleration();
public io.kubernetes.client.openapi.models.V1SchedulingFluent.TolerationsNested
addNewTolerationLike(io.kubernetes.client.openapi.models.V1Toleration item);
public io.kubernetes.client.openapi.models.V1SchedulingFluent.TolerationsNested
setNewTolerationLike(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1Toleration item);
public io.kubernetes.client.openapi.models.V1SchedulingFluent.TolerationsNested editToleration(
java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1SchedulingFluent.TolerationsNested
editFirstToleration();
public io.kubernetes.client.openapi.models.V1SchedulingFluent.TolerationsNested
editLastToleration();
public io.kubernetes.client.openapi.models.V1SchedulingFluent.TolerationsNested
editMatchingToleration(
java.util.function.Predicate
predicate);
public interface TolerationsNested
extends Nested, V1TolerationFluent> {
public N and();
public N endToleration();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy