Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for testserver1 (0.21 sec)

  1. pkg/registry/core/componentstatus/rest_test.go

    		result: resp.result,
    		body:   resp.data,
    		err:    resp.err,
    	}
    	return &REST{
    		GetServersToValidate: func() map[string]Server {
    			return map[string]Server{
    				"test1": &HttpServer{Addr: "testserver1", Port: 8000, Path: "/healthz", Prober: prober},
    			}
    		},
    	}
    }
    
    func createTestStatus(name string, status api.ConditionStatus, msg string, err string) *api.ComponentStatus {
    	retVal := &api.ComponentStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. cmd/kube-apiserver/app/testing/testserver.go

    	// an apiserver version skew scenario where all apiservers use the same proxyCA to verify client connections.
    	ProxyCA *ProxyCA
    }
    
    // TestServer return values supplied by kube-test-ApiServer
    type TestServer struct {
    	ClientConfig      *restclient.Config        // Rest client config
    	ServerOpts        *options.ServerRunOptions // ServerOpts
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/testing/testserver.go

    }
    
    // TearDownFunc is to be called to tear down a test server.
    type TearDownFunc func()
    
    // TestServerInstanceOptions Instance options the TestServer
    type TestServerInstanceOptions struct {
    }
    
    // TestServer return values supplied by kube-test-ApiServer
    type TestServer struct {
    	ClientConfig    *restclient.Config                              // Rest client config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 9K bytes
    - Viewed (1)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/testing/test_server.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"testing"
    
    	clientv3 "go.etcd.io/etcd/client/v3"
    
    	"k8s.io/apiserver/pkg/storage/etcd3/testserver"
    	"k8s.io/apiserver/pkg/storage/storagebackend"
    )
    
    // EtcdTestServer encapsulates the datastructures needed to start local instance for testing
    type EtcdTestServer struct {
    	V3Client *clientv3.Client
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 13:35:58 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/testing/testserver.go

    	logsapi.ReapplyHandling = logsapi.ReapplyHandlingIgnoreUnchanged
    }
    
    // TearDownFunc is to be called to tear down a test server.
    type TearDownFunc func()
    
    // TestServer return values supplied by kube-test-ApiServer
    type TestServer struct {
    	LoopbackClientConfig *restclient.Config // Rest client config using the magic token
    	Options              *options.KubeControllerManagerOptions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. cmd/kube-scheduler/app/testing/testserver.go

    	logsapi.ReapplyHandling = logsapi.ReapplyHandlingIgnoreUnchanged
    }
    
    // TearDownFunc is to be called to tear down a test server.
    type TearDownFunc func()
    
    // TestServer return values supplied by kube-test-ApiServer
    type TestServer struct {
    	LoopbackClientConfig *restclient.Config // Rest client config using the magic token
    	Options              *options.Options
    	Config               *kubeschedulerconfig.Config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 10:35:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/testserver/test_server.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package testserver
    
    import (
    	"fmt"
    	"net"
    	"net/url"
    	"os"
    	"strconv"
    	"testing"
    	"time"
    
    	clientv3 "go.etcd.io/etcd/client/v3"
    	"go.etcd.io/etcd/server/v3/embed"
    	"go.uber.org/zap/zapcore"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 06 11:40:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/BaseCIFSTest.java

            Assume.assumeNotNull(testDomain);
            return testDomain;
        }
    
    
        protected String getTestServer () {
            String testServer = getProperties().get(TestProperties.TEST_SERVER);
            Assume.assumeNotNull(testServer);
            return testServer;
        }
    
    
        protected String getTestUserDomain () {
            return getProperties().get(TestProperties.TEST_USER_DOMAIN);
    
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    		b.Log("to run a standalone server, run:")
    		b.Log("go run k8s.io/apiserver/pkg/admission/plugin/webhook/testing/main/main.go")
    		testServer := webhooktesting.NewTestServer(b)
    		testServer.StartTLS()
    		defer testServer.Close()
    		testServerURL = testServer.URL
    	}
    
    	serverURL, err := url.ParseRequestURI(testServerURL)
    	if err != nil {
    		b.Fatalf("this should never happen? %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. cni/pkg/plugin/cnieventclient_test.go

    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    	defer func() { testServer.Close() }()
    
    	cniC := fakeCNIEventClient(testServer.URL)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top