Class KubernetesCloud.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<Cloud>
org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster
Direct Known Subclasses:
NonConfigurableKubernetesCloud.DescriptorImpl
Enclosing class:
KubernetesCloud

@Extension public static class KubernetesCloud.DescriptorImpl extends Descriptor<Cloud>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Cloud>
    • addAliases

      @Initializer(before=PLUGINS_STARTED) public static void addAliases()
    • doTestConnection

      public FormValidation doTestConnection(@QueryParameter String name, @QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String serverCertificate, @QueryParameter boolean skipTlsVerify, @QueryParameter String namespace, @QueryParameter int connectionTimeout, @QueryParameter int readTimeout, @QueryParameter boolean useJenkinsProxy) throws Exception
      Throws:
      Exception
    • doFillCredentialsIdItems

      public ListBoxModel doFillCredentialsIdItems(@AncestorInPath ItemGroup context, @QueryParameter String serverUrl)
    • doCheckMaxRequestsPerHostStr

      public FormValidation doCheckMaxRequestsPerHostStr(@QueryParameter String value) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • doCheckConnectTimeout

      public FormValidation doCheckConnectTimeout(@QueryParameter String value)
    • doCheckReadTimeout

      public FormValidation doCheckReadTimeout(@QueryParameter String value)
    • doCheckRetentionTimeout

      public FormValidation doCheckRetentionTimeout(@QueryParameter String value)
    • doCheckDirectConnection

      public FormValidation doCheckDirectConnection(@AncestorInPath AccessControlled owner, @QueryParameter boolean value, @QueryParameter String jenkinsUrl, @QueryParameter boolean webSocket)
    • doCheckJenkinsUrl

      public FormValidation doCheckJenkinsUrl(@QueryParameter String value, @QueryParameter boolean directConnection) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • doCheckWebSocket

      public FormValidation doCheckWebSocket(@AncestorInPath AccessControlled owner, @QueryParameter boolean webSocket, @QueryParameter boolean directConnection, @QueryParameter String jenkinsTunnel)
    • getAllowedPodRetentions

      public List<Descriptor<PodRetention>> getAllowedPodRetentions()
    • getDefaultPodRetention

      public Descriptor getDefaultPodRetention()
    • getDefaultReadTimeout

      public int getDefaultReadTimeout()
    • getDefaultConnectTimeout

      public int getDefaultConnectTimeout()
    • getDefaultRetentionTimeout

      public int getDefaultRetentionTimeout()
    • getDefaultWaitForPod

      public int getDefaultWaitForPod()