Class SwarmAgentTemplate.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<SwarmAgentTemplate>
io.jenkins.plugins.swarmcloud.SwarmAgentTemplate.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
SwarmAgentTemplate

@Extension @Symbol("swarmAgentTemplate") public static class SwarmAgentTemplate.DescriptorImpl extends Descriptor<SwarmAgentTemplate>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<SwarmAgentTemplate>
    • doCheckName

      @POST public FormValidation doCheckName(@QueryParameter String value)
    • doCheckImage

      @POST public FormValidation doCheckImage(@QueryParameter String value)
    • doCheckMaxInstances

      @POST public FormValidation doCheckMaxInstances(@QueryParameter int value)
    • doCheckMemoryLimit

      @POST public FormValidation doCheckMemoryLimit(@QueryParameter String value)
    • doCheckCpuLimit

      @POST public FormValidation doCheckCpuLimit(@QueryParameter String value)
    • doCheckExtraHostsString

      @POST public FormValidation doCheckExtraHostsString(@QueryParameter String value)
      Validates extra hosts configuration. Format: hostname:IP (one per line)
    • doFillRegistryCredentialsIdItems

      @POST public ListBoxModel doFillRegistryCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String registryCredentialsId)
      Fills the registry credentials dropdown with available username/password credentials. Used for Docker registry authentication when pulling private images.