io.kubernetes.client.openapi.models.V1PodSecurityContextFluent 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 V1PodSecurityContextFluent>
extends Fluent {
public Long getFsGroup();
public A withFsGroup(java.lang.Long fsGroup);
public Boolean hasFsGroup();
public String getFsGroupChangePolicy();
public A withFsGroupChangePolicy(java.lang.String fsGroupChangePolicy);
public java.lang.Boolean hasFsGroupChangePolicy();
public java.lang.Long getRunAsGroup();
public A withRunAsGroup(java.lang.Long runAsGroup);
public java.lang.Boolean hasRunAsGroup();
public java.lang.Boolean getRunAsNonRoot();
public A withRunAsNonRoot(java.lang.Boolean runAsNonRoot);
public java.lang.Boolean hasRunAsNonRoot();
public java.lang.Long getRunAsUser();
public A withRunAsUser(java.lang.Long runAsUser);
public java.lang.Boolean hasRunAsUser();
/**
* This method has been deprecated, please use method buildSeLinuxOptions instead.
*
* @return The buildable object.
*/
@Deprecated
public V1SELinuxOptions getSeLinuxOptions();
public io.kubernetes.client.openapi.models.V1SELinuxOptions buildSeLinuxOptions();
public A withSeLinuxOptions(io.kubernetes.client.openapi.models.V1SELinuxOptions seLinuxOptions);
public java.lang.Boolean hasSeLinuxOptions();
public V1PodSecurityContextFluent.SeLinuxOptionsNested withNewSeLinuxOptions();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SeLinuxOptionsNested
withNewSeLinuxOptionsLike(io.kubernetes.client.openapi.models.V1SELinuxOptions item);
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SeLinuxOptionsNested
editSeLinuxOptions();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SeLinuxOptionsNested
editOrNewSeLinuxOptions();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SeLinuxOptionsNested
editOrNewSeLinuxOptionsLike(io.kubernetes.client.openapi.models.V1SELinuxOptions item);
/**
* This method has been deprecated, please use method buildSeccompProfile instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public V1SeccompProfile getSeccompProfile();
public io.kubernetes.client.openapi.models.V1SeccompProfile buildSeccompProfile();
public A withSeccompProfile(io.kubernetes.client.openapi.models.V1SeccompProfile seccompProfile);
public java.lang.Boolean hasSeccompProfile();
public V1PodSecurityContextFluent.SeccompProfileNested withNewSeccompProfile();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SeccompProfileNested
withNewSeccompProfileLike(io.kubernetes.client.openapi.models.V1SeccompProfile item);
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SeccompProfileNested
editSeccompProfile();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SeccompProfileNested
editOrNewSeccompProfile();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SeccompProfileNested
editOrNewSeccompProfileLike(io.kubernetes.client.openapi.models.V1SeccompProfile item);
public A addToSupplementalGroups(Integer index, java.lang.Long item);
public A setToSupplementalGroups(java.lang.Integer index, java.lang.Long item);
public A addToSupplementalGroups(java.lang.Long... items);
public A addAllToSupplementalGroups(Collection items);
public A removeFromSupplementalGroups(java.lang.Long... items);
public A removeAllFromSupplementalGroups(java.util.Collection items);
public List getSupplementalGroups();
public java.lang.Long getSupplementalGroup(java.lang.Integer index);
public java.lang.Long getFirstSupplementalGroup();
public java.lang.Long getLastSupplementalGroup();
public java.lang.Long getMatchingSupplementalGroup(Predicate predicate);
public java.lang.Boolean hasMatchingSupplementalGroup(
java.util.function.Predicate predicate);
public A withSupplementalGroups(java.util.List supplementalGroups);
public A withSupplementalGroups(java.lang.Long... supplementalGroups);
public java.lang.Boolean hasSupplementalGroups();
public A addToSysctls(java.lang.Integer index, V1Sysctl item);
public A setToSysctls(java.lang.Integer index, io.kubernetes.client.openapi.models.V1Sysctl item);
public A addToSysctls(io.kubernetes.client.openapi.models.V1Sysctl... items);
public A addAllToSysctls(
java.util.Collection items);
public A removeFromSysctls(io.kubernetes.client.openapi.models.V1Sysctl... items);
public A removeAllFromSysctls(
java.util.Collection items);
public A removeMatchingFromSysctls(java.util.function.Predicate predicate);
/**
* This method has been deprecated, please use method buildSysctls instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public java.util.List getSysctls();
public java.util.List buildSysctls();
public io.kubernetes.client.openapi.models.V1Sysctl buildSysctl(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1Sysctl buildFirstSysctl();
public io.kubernetes.client.openapi.models.V1Sysctl buildLastSysctl();
public io.kubernetes.client.openapi.models.V1Sysctl buildMatchingSysctl(
java.util.function.Predicate predicate);
public java.lang.Boolean hasMatchingSysctl(
java.util.function.Predicate predicate);
public A withSysctls(java.util.List sysctls);
public A withSysctls(io.kubernetes.client.openapi.models.V1Sysctl... sysctls);
public java.lang.Boolean hasSysctls();
public V1PodSecurityContextFluent.SysctlsNested addNewSysctl();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SysctlsNested
addNewSysctlLike(io.kubernetes.client.openapi.models.V1Sysctl item);
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SysctlsNested
setNewSysctlLike(java.lang.Integer index, io.kubernetes.client.openapi.models.V1Sysctl item);
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SysctlsNested editSysctl(
java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SysctlsNested
editFirstSysctl();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SysctlsNested
editLastSysctl();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.SysctlsNested
editMatchingSysctl(
java.util.function.Predicate
predicate);
/**
* This method has been deprecated, please use method buildWindowsOptions instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public V1WindowsSecurityContextOptions getWindowsOptions();
public io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions buildWindowsOptions();
public A withWindowsOptions(
io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions windowsOptions);
public java.lang.Boolean hasWindowsOptions();
public V1PodSecurityContextFluent.WindowsOptionsNested withNewWindowsOptions();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.WindowsOptionsNested
withNewWindowsOptionsLike(
io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item);
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.WindowsOptionsNested
editWindowsOptions();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.WindowsOptionsNested
editOrNewWindowsOptions();
public io.kubernetes.client.openapi.models.V1PodSecurityContextFluent.WindowsOptionsNested
editOrNewWindowsOptionsLike(
io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item);
public A withRunAsNonRoot();
public interface SeLinuxOptionsNested
extends Nested,
V1SELinuxOptionsFluent> {
public N and();
public N endSeLinuxOptions();
}
public interface SeccompProfileNested
extends io.kubernetes.client.fluent.Nested,
V1SeccompProfileFluent> {
public N and();
public N endSeccompProfile();
}
public interface SysctlsNested
extends io.kubernetes.client.fluent.Nested,
V1SysctlFluent> {
public N and();
public N endSysctl();
}
public interface WindowsOptionsNested
extends io.kubernetes.client.fluent.Nested,
V1WindowsSecurityContextOptionsFluent<
V1PodSecurityContextFluent.WindowsOptionsNested> {
public N and();
public N endWindowsOptions();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy