Class KubernetesCloud.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • 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)
      • doCheckRetentionTimeout

        public FormValidation doCheckRetentionTimeout​(@QueryParameter
                                                      String value)
      • doCheckDirectConnection

        public FormValidation doCheckDirectConnection​(@QueryParameter
                                                      boolean value,
                                                      @QueryParameter
                                                      String jenkinsUrl,
                                                      @QueryParameter
                                                      boolean webSocket)
                                               throws IOException,
                                                      javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • doCheckJenkinsUrl

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

        public FormValidation doCheckWebSocket​(@QueryParameter
                                               boolean webSocket,
                                               @QueryParameter
                                               boolean directConnection,
                                               @QueryParameter
                                               String jenkinsTunnel)
      • getDefaultPodRetention

        public Descriptor getDefaultPodRetention()
      • getDefaultReadTimeout

        public int getDefaultReadTimeout()
      • getDefaultConnectTimeout

        public int getDefaultConnectTimeout()
      • getDefaultRetentionTimeout

        public int getDefaultRetentionTimeout()
      • getDefaultWaitForPod

        public int getDefaultWaitForPod()