io.alauda.kubernetes.api.model.SecurityContextFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import java.lang.Deprecated;
import javax.validation.Valid;
import java.lang.Long;
import java.lang.Object;
import java.lang.Boolean;
import java.util.Map;
public interface SecurityContextFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildCapabilities instead.
*/
@Deprecated public Capabilities getCapabilities();
public Capabilities buildCapabilities();
public A withCapabilities(Capabilities capabilities);
public Boolean hasCapabilities();
public SecurityContextFluent.CapabilitiesNested withNewCapabilities();
public SecurityContextFluent.CapabilitiesNested withNewCapabilitiesLike(Capabilities item);
public SecurityContextFluent.CapabilitiesNested editCapabilities();
public SecurityContextFluent.CapabilitiesNested editOrNewCapabilities();
public SecurityContextFluent.CapabilitiesNested editOrNewCapabilitiesLike(Capabilities item);
public Boolean isPrivileged();
public A withPrivileged(Boolean privileged);
public Boolean hasPrivileged();
public Boolean isReadOnlyRootFilesystem();
public A withReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem);
public Boolean hasReadOnlyRootFilesystem();
public Boolean isRunAsNonRoot();
public A withRunAsNonRoot(Boolean runAsNonRoot);
public Boolean hasRunAsNonRoot();
public Long getRunAsUser();
public A withRunAsUser(Long runAsUser);
public Boolean hasRunAsUser();
/**
* This method has been deprecated, please use method buildSeLinuxOptions instead.
*/
@Deprecated public SELinuxOptions getSeLinuxOptions();
public SELinuxOptions buildSeLinuxOptions();
public A withSeLinuxOptions(SELinuxOptions seLinuxOptions);
public Boolean hasSeLinuxOptions();
public SecurityContextFluent.SeLinuxOptionsNested withNewSeLinuxOptions();
public SecurityContextFluent.SeLinuxOptionsNested withNewSeLinuxOptionsLike(SELinuxOptions item);
public SecurityContextFluent.SeLinuxOptionsNested editSeLinuxOptions();
public SecurityContextFluent.SeLinuxOptionsNested editOrNewSeLinuxOptions();
public SecurityContextFluent.SeLinuxOptionsNested editOrNewSeLinuxOptionsLike(SELinuxOptions item);
public A withNewSeLinuxOptions(String level,String role,String type,String user);
public interface CapabilitiesNested extends io.alauda.kubernetes.api.builder.Nested,CapabilitiesFluent>{
public N and(); public N endCapabilities();
}
public interface SeLinuxOptionsNested extends io.alauda.kubernetes.api.builder.Nested,SELinuxOptionsFluent>{
public N and(); public N endSeLinuxOptions();
}
}