Class KubernetesDeclarativeAgent

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable<A>
org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent<A>
org.jenkinsci.plugins.pipeline.modeldefinition.agent.RetryableDeclarativeAgent<KubernetesDeclarativeAgent>
org.csanchez.jenkins.plugins.kubernetes.pipeline.KubernetesDeclarativeAgent
All Implemented Interfaces:
ExtensionPoint, Describable<KubernetesDeclarativeAgent>, Serializable

public class KubernetesDeclarativeAgent extends org.jenkinsci.plugins.pipeline.modeldefinition.agent.RetryableDeclarativeAgent<KubernetesDeclarativeAgent>
See Also:
  • Constructor Details

    • KubernetesDeclarativeAgent

      @DataBoundConstructor public KubernetesDeclarativeAgent()
    • KubernetesDeclarativeAgent

      @Deprecated public KubernetesDeclarativeAgent(String label, ContainerTemplate containerTemplate)
      Deprecated.
  • Method Details

    • getLabel

      public String getLabel()
    • getLabelExpression

      public String getLabelExpression()
    • setLabel

      @DataBoundSetter public void setLabel(String label)
    • getCustomWorkspace

      @CheckForNull public String getCustomWorkspace()
    • setCustomWorkspace

      @DataBoundSetter public void setCustomWorkspace(String customWorkspace)
    • getCloud

      public String getCloud()
    • setCloud

      @DataBoundSetter public void setCloud(String cloud)
    • getIdleMinutes

      public int getIdleMinutes()
    • setIdleMinutes

      @DataBoundSetter public void setIdleMinutes(int idleMinutes)
    • getInheritFrom

      public String getInheritFrom()
    • setInheritFrom

      @DataBoundSetter public void setInheritFrom(String inheritFrom)
    • getInstanceCap

      public int getInstanceCap()
    • setInstanceCap

      @DataBoundSetter public void setInstanceCap(int instanceCap)
    • getServiceAccount

      public String getServiceAccount()
    • setServiceAccount

      @DataBoundSetter public void setServiceAccount(String serviceAccount)
    • getSchedulerName

      public String getSchedulerName()
    • setSchedulerName

      @DataBoundSetter public void setSchedulerName(String schedulerName)
    • getNodeSelector

      public String getNodeSelector()
    • setNodeSelector

      @DataBoundSetter public void setNodeSelector(String nodeSelector)
    • getNamespace

      public String getNamespace()
    • setNamespace

      @DataBoundSetter public void setNamespace(String namespace)
    • getWorkingDir

      public String getWorkingDir()
    • setWorkingDir

      @DataBoundSetter public void setWorkingDir(String workingDir)
    • getYaml

      public String getYaml()
    • setYaml

      @DataBoundSetter public void setYaml(String yaml)
    • getContainerTemplate

      @Deprecated public ContainerTemplate getContainerTemplate()
      Deprecated.
    • setContainerTemplate

      @DataBoundSetter @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public void setContainerTemplate(ContainerTemplate containerTemplate)
    • getContainerTemplates

      @NonNull public List<ContainerTemplate> getContainerTemplates()
    • setContainerTemplates

      @DataBoundSetter public void setContainerTemplates(List<ContainerTemplate> containerTemplates)
    • getDefaultContainer

      public String getDefaultContainer()
    • setDefaultContainer

      @DataBoundSetter public void setDefaultContainer(String defaultContainer)
    • getActiveDeadlineSeconds

      public int getActiveDeadlineSeconds()
    • setActiveDeadlineSeconds

      @DataBoundSetter public void setActiveDeadlineSeconds(int activeDeadlineSeconds)
    • getSlaveConnectTimeout

      public int getSlaveConnectTimeout()
    • setSlaveConnectTimeout

      @DataBoundSetter public void setSlaveConnectTimeout(int slaveConnectTimeout)
    • getPodRetention

      public PodRetention getPodRetention()
    • setPodRetention

      @DataBoundSetter public void setPodRetention(@CheckForNull PodRetention podRetention)
    • getYamlFile

      public String getYamlFile()
    • setShowRawYaml

      @DataBoundSetter public void setShowRawYaml(Boolean showRawYaml)
    • getShowRawYaml

      public Boolean getShowRawYaml()
    • setYamlFile

      @DataBoundSetter public void setYamlFile(String yamlFile)
    • getYamlMergeStrategy

      public YamlMergeStrategy getYamlMergeStrategy()
    • setYamlMergeStrategy

      @DataBoundSetter public void setYamlMergeStrategy(YamlMergeStrategy yamlMergeStrategy)
    • isInheritYamlMergeStrategy

      public boolean isInheritYamlMergeStrategy()
    • setInheritYamlMergeStrategy

      @DataBoundSetter public void setInheritYamlMergeStrategy(boolean inheritYamlMergeStrategy)
    • getWorkspaceVolume

      public WorkspaceVolume getWorkspaceVolume()
    • setWorkspaceVolume

      @DataBoundSetter public void setWorkspaceVolume(WorkspaceVolume workspaceVolume)
    • setSupplementalGroups

      @DataBoundSetter public void setSupplementalGroups(String supplementalGroups)
    • getSupplementalGroups

      public String getSupplementalGroups()
    • getAgentContainer

      @CheckForNull public String getAgentContainer()
    • setAgentContainer

      @DataBoundSetter public void setAgentContainer(@CheckForNull String agentContainer)
    • isAgentInjection

      @CheckForNull public boolean isAgentInjection()
    • setAgentInjection

      @DataBoundSetter public void setAgentInjection(boolean agentInjection)
    • getAsArgs

      public Map<String,Object> getAsArgs()