io.alauda.kubernetes.api.model.extensions.PodSecurityPolicySpecFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model.extensions;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import java.lang.Integer;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface PodSecurityPolicySpecFluent> extends Fluent{
public A addToAllowedCapabilities(int index,String item);
public A setToAllowedCapabilities(int index,String item);
public A addToAllowedCapabilities(String... items);
public A addAllToAllowedCapabilities(Collection items);
public A removeFromAllowedCapabilities(String... items);
public A removeAllFromAllowedCapabilities(Collection items);
public List getAllowedCapabilities();
public String getAllowedCapability(int index);
public String getFirstAllowedCapability();
public String getLastAllowedCapability();
public String getMatchingAllowedCapability(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withAllowedCapabilities(List allowedCapabilities);
public A withAllowedCapabilities(String... allowedCapabilities);
public Boolean hasAllowedCapabilities();
public A addToDefaultAddCapabilities(int index,String item);
public A setToDefaultAddCapabilities(int index,String item);
public A addToDefaultAddCapabilities(String... items);
public A addAllToDefaultAddCapabilities(Collection items);
public A removeFromDefaultAddCapabilities(String... items);
public A removeAllFromDefaultAddCapabilities(Collection items);
public List getDefaultAddCapabilities();
public String getDefaultAddCapability(int index);
public String getFirstDefaultAddCapability();
public String getLastDefaultAddCapability();
public String getMatchingDefaultAddCapability(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withDefaultAddCapabilities(List defaultAddCapabilities);
public A withDefaultAddCapabilities(String... defaultAddCapabilities);
public Boolean hasDefaultAddCapabilities();
/**
* This method has been deprecated, please use method buildFsGroup instead.
*/
@Deprecated public FSGroupStrategyOptions getFsGroup();
public FSGroupStrategyOptions buildFsGroup();
public A withFsGroup(FSGroupStrategyOptions fsGroup);
public Boolean hasFsGroup();
public PodSecurityPolicySpecFluent.FsGroupNested withNewFsGroup();
public PodSecurityPolicySpecFluent.FsGroupNested withNewFsGroupLike(FSGroupStrategyOptions item);
public PodSecurityPolicySpecFluent.FsGroupNested editFsGroup();
public PodSecurityPolicySpecFluent.FsGroupNested editOrNewFsGroup();
public PodSecurityPolicySpecFluent.FsGroupNested editOrNewFsGroupLike(FSGroupStrategyOptions item);
public Boolean isHostIPC();
public A withHostIPC(Boolean hostIPC);
public Boolean hasHostIPC();
public Boolean isHostNetwork();
public A withHostNetwork(Boolean hostNetwork);
public Boolean hasHostNetwork();
public Boolean isHostPID();
public A withHostPID(Boolean hostPID);
public Boolean hasHostPID();
public A addToHostPorts(int index,HostPortRange item);
public A setToHostPorts(int index,HostPortRange item);
public A addToHostPorts(HostPortRange... items);
public A addAllToHostPorts(Collection items);
public A removeFromHostPorts(HostPortRange... items);
public A removeAllFromHostPorts(Collection items);
/**
* This method has been deprecated, please use method buildHostPorts instead.
*/
@Deprecated public List getHostPorts();
public List buildHostPorts();
public HostPortRange buildHostPort(int index);
public HostPortRange buildFirstHostPort();
public HostPortRange buildLastHostPort();
public HostPortRange buildMatchingHostPort(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withHostPorts(List hostPorts);
public A withHostPorts(HostPortRange... hostPorts);
public Boolean hasHostPorts();
public PodSecurityPolicySpecFluent.HostPortsNested addNewHostPort();
public PodSecurityPolicySpecFluent.HostPortsNested addNewHostPortLike(HostPortRange item);
public PodSecurityPolicySpecFluent.HostPortsNested setNewHostPortLike(int index,HostPortRange item);
public PodSecurityPolicySpecFluent.HostPortsNested editHostPort(int index);
public PodSecurityPolicySpecFluent.HostPortsNested editFirstHostPort();
public PodSecurityPolicySpecFluent.HostPortsNested editLastHostPort();
public PodSecurityPolicySpecFluent.HostPortsNested editMatchingHostPort(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewHostPort(Integer max,Integer min);
public Boolean isPrivileged();
public A withPrivileged(Boolean privileged);
public Boolean hasPrivileged();
public Boolean isReadOnlyRootFilesystem();
public A withReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem);
public Boolean hasReadOnlyRootFilesystem();
public A addToRequiredDropCapabilities(int index,String item);
public A setToRequiredDropCapabilities(int index,String item);
public A addToRequiredDropCapabilities(String... items);
public A addAllToRequiredDropCapabilities(Collection items);
public A removeFromRequiredDropCapabilities(String... items);
public A removeAllFromRequiredDropCapabilities(Collection items);
public List getRequiredDropCapabilities();
public String getRequiredDropCapability(int index);
public String getFirstRequiredDropCapability();
public String getLastRequiredDropCapability();
public String getMatchingRequiredDropCapability(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withRequiredDropCapabilities(List requiredDropCapabilities);
public A withRequiredDropCapabilities(String... requiredDropCapabilities);
public Boolean hasRequiredDropCapabilities();
/**
* This method has been deprecated, please use method buildRunAsUser instead.
*/
@Deprecated public KubernetesRunAsUserStrategyOptions getRunAsUser();
public KubernetesRunAsUserStrategyOptions buildRunAsUser();
public A withRunAsUser(KubernetesRunAsUserStrategyOptions runAsUser);
public Boolean hasRunAsUser();
public PodSecurityPolicySpecFluent.RunAsUserNested withNewRunAsUser();
public PodSecurityPolicySpecFluent.RunAsUserNested withNewRunAsUserLike(KubernetesRunAsUserStrategyOptions item);
public PodSecurityPolicySpecFluent.RunAsUserNested editRunAsUser();
public PodSecurityPolicySpecFluent.RunAsUserNested editOrNewRunAsUser();
public PodSecurityPolicySpecFluent.RunAsUserNested editOrNewRunAsUserLike(KubernetesRunAsUserStrategyOptions item);
/**
* This method has been deprecated, please use method buildSeLinux instead.
*/
@Deprecated public SELinuxStrategyOptions getSeLinux();
public SELinuxStrategyOptions buildSeLinux();
public A withSeLinux(SELinuxStrategyOptions seLinux);
public Boolean hasSeLinux();
public PodSecurityPolicySpecFluent.SeLinuxNested withNewSeLinux();
public PodSecurityPolicySpecFluent.SeLinuxNested withNewSeLinuxLike(SELinuxStrategyOptions item);
public PodSecurityPolicySpecFluent.SeLinuxNested editSeLinux();
public PodSecurityPolicySpecFluent.SeLinuxNested editOrNewSeLinux();
public PodSecurityPolicySpecFluent.SeLinuxNested editOrNewSeLinuxLike(SELinuxStrategyOptions item);
/**
* This method has been deprecated, please use method buildSupplementalGroups instead.
*/
@Deprecated public SupplementalGroupsStrategyOptions getSupplementalGroups();
public SupplementalGroupsStrategyOptions buildSupplementalGroups();
public A withSupplementalGroups(SupplementalGroupsStrategyOptions supplementalGroups);
public Boolean hasSupplementalGroups();
public PodSecurityPolicySpecFluent.SupplementalGroupsNested withNewSupplementalGroups();
public PodSecurityPolicySpecFluent.SupplementalGroupsNested withNewSupplementalGroupsLike(SupplementalGroupsStrategyOptions item);
public PodSecurityPolicySpecFluent.SupplementalGroupsNested editSupplementalGroups();
public PodSecurityPolicySpecFluent.SupplementalGroupsNested editOrNewSupplementalGroups();
public PodSecurityPolicySpecFluent.SupplementalGroupsNested editOrNewSupplementalGroupsLike(SupplementalGroupsStrategyOptions item);
public A addToVolumes(int index,String item);
public A setToVolumes(int index,String item);
public A addToVolumes(String... items);
public A addAllToVolumes(Collection items);
public A removeFromVolumes(String... items);
public A removeAllFromVolumes(Collection items);
public List getVolumes();
public String getVolume(int index);
public String getFirstVolume();
public String getLastVolume();
public String getMatchingVolume(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withVolumes(List volumes);
public A withVolumes(String... volumes);
public Boolean hasVolumes();
public interface FsGroupNested extends io.alauda.kubernetes.api.builder.Nested,FSGroupStrategyOptionsFluent>{
public N and(); public N endFsGroup();
}
public interface HostPortsNested extends io.alauda.kubernetes.api.builder.Nested,HostPortRangeFluent>{
public N and(); public N endHostPort();
}
public interface RunAsUserNested extends io.alauda.kubernetes.api.builder.Nested,KubernetesRunAsUserStrategyOptionsFluent>{
public N and(); public N endRunAsUser();
}
public interface SeLinuxNested extends io.alauda.kubernetes.api.builder.Nested,SELinuxStrategyOptionsFluent>{
public N and(); public N endSeLinux();
}
public interface SupplementalGroupsNested extends io.alauda.kubernetes.api.builder.Nested,SupplementalGroupsStrategyOptionsFluent>{
public N and(); public N endSupplementalGroups();
}
}