Home
last modified time | relevance | path

Searched refs:apiServer (Results 1 – 25 of 39) sorted by relevance

12

/dports/misc/concourse/concourse-6.7.2/vendor/code.cloudfoundry.org/garden/server/
H A Dserver_test.go45 listenAndServe(apiServer, "unix", socketPath)
66 listenAndServe(apiServer, "unix", socketPath)
95 listenAndServe(apiServer, "unix", socketPath)
115 Expect(apiServer.Start()).To(Succeed())
144 apiServer := server.New(
153 err = apiServer.ListenAndServe()
164 var apiServer *server.GardenServer
186 apiServer.Stop()
192 apiServer.Stop()
228 apiServer.Stop()
[all …]
H A Dserver_suite_test.go18 func listenAndServe(apiServer *server.GardenServer, network, addr string) {
19 ExpectWithOffset(1, apiServer.SetupBomberman()).To(Succeed())
22 Expect(apiServer.ListenAndServe()).To(Succeed())
/dports/misc/concourse/concourse-6.7.2/vendor/code.cloudfoundry.org/credhub-cli/commands/
H A Dlogin_test.go374 apiServer *Server
392 apiServer = NewServer()
397 apiServer.Close()
471 apiServer.Close()
482 apiServer.Close()
506 apiServer.Close()
516 apiServer.Close()
621 apiServer *Server
675 apiServer *Server
729 apiServer *Server
[all …]
H A Dapi_test.go59 apiServer := NewServer()
60 apiServer.RouteToHandler("GET", "/info", RespondWith(http.StatusOK, `{
75 session := runCommand("api", apiServer.URL())
82 apiServer := NewServer()
83 apiServer.RouteToHandler("GET", "/info",
95 session := runCommand("api", apiServer.URL(), "--skip-tls-validation")
105 apiServer := NewServer()
114 session := runCommand("api", apiServer.URL())
136 apiServer := NewTLSServer()
138 apiServer.RouteToHandler("GET", "/info", RespondWith(http.StatusOK, `{
[all …]
/dports/misc/concourse/concourse-6.7.2/vendor/code.cloudfoundry.org/credhub-cli/credhub/auth/
H A Doauth_test.go39 defer apiServer.Close()
66 defer apiServer.Close()
73 request, _ := http.NewRequest("GET", apiServer.URL, nil)
95 defer apiServer.Close()
102 request, _ := http.NewRequest("GET", apiServer.URL, nil)
121 defer apiServer.Close()
132 request, _ := http.NewRequest("GET", apiServer.URL, nil)
171 defer apiServer.Close()
205 defer apiServer.Close()
228 defer apiServer.Close()
[all …]
/dports/www/gitlab-pages/gitlab-pages-f8512edbec4ec83b426c8ca2dda467de424685e4/internal/auth/
H A Dauth_test.go199 apiServer.Start()
200 defer apiServer.Close()
204 domain := apiServer.URL
264 apiServer.Start()
265 defer apiServer.Close()
300 apiServer.Start()
301 defer apiServer.Close()
344 apiServer.Start()
345 defer apiServer.Close()
379 apiServer.Start()
[all …]
/dports/sysutils/consul/consul-1.10.3/agent/
H A Dapiserver.go26 servers []apiServer
32 type apiServer struct { struct
54 func (s *apiServers) Start(srv apiServer) {
60 func (s apiServer) logger(base hclog.Logger) hclog.Logger { argument
98 func newAPIServerHTTP(proto string, l net.Listener, httpServer *http.Server) apiServer {
99 return apiServer{
H A Dapiserver_test.go49 func newAPIServerStub() (apiServer, chan error) {
51 return apiServer{
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/hashicorp/consul/agent/
H A Dapiserver.go26 servers []apiServer
32 type apiServer struct { struct
54 func (s *apiServers) Start(srv apiServer) {
60 func (s apiServer) logger(base hclog.Logger) hclog.Logger { argument
98 func newAPIServerHTTP(proto string, l net.Listener, httpServer *http.Server) apiServer {
99 return apiServer{
H A Dapiserver_test.go49 func newAPIServerStub() (apiServer, chan error) {
51 return apiServer{
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/hashicorp/consul/agent/
H A Dapiserver.go26 servers []apiServer
32 type apiServer struct { struct
54 func (s *apiServers) Start(srv apiServer) {
60 func (s apiServer) logger(base hclog.Logger) hclog.Logger { argument
98 func newAPIServerHTTP(proto string, l net.Listener, httpServer *http.Server) apiServer {
99 return apiServer{
H A Dapiserver_test.go49 func newAPIServerStub() (apiServer, chan error) {
51 return apiServer{
/dports/sysutils/kubectl/kubernetes-1.22.2/test/e2e_node/services/
H A Dinternal_services.go36 apiServer *APIServer member
88 if es.apiServer != nil {
89 if err := es.apiServer.Stop(); err != nil {
90 klog.Errorf("Failed to stop %q: %v", es.apiServer.Name(), err)
122 es.apiServer = NewAPIServer(*etcdStorage)
123 return es.apiServer.Start()
/dports/sysutils/kubectl/kubernetes-1.22.2/test/integration/etcd/
H A Dcrd_overlap_storage_test.go72 apiServer := StartRealAPIServerOrDie(t)
73 defer apiServer.Cleanup()
75 apiServiceClient, err := apiregistrationclient.NewForConfig(apiServer.Config)
79 crdClient, err := crdclient.NewForConfig(apiServer.Config)
83 dynamicClient, err := dynamic.NewForConfig(apiServer.Config)
234 apiServer := StartRealAPIServerOrDie(t)
235 defer apiServer.Cleanup()
237 crdClient, err := crdclient.NewForConfig(apiServer.Config)
241 dynamicClient, err := dynamic.NewForConfig(apiServer.Config)
334 …v1Resources, err := apiServer.Client.Discovery().ServerResourcesForGroupVersion("apiextensions.k8s…
[all …]
H A Detcd_cross_group_test.go38 apiServer := StartRealAPIServerOrDie(t, func(opts *options.ServerRunOptions) {
41 defer apiServer.Cleanup()
47apiServer.Client.CoreV1().Namespaces().Create(context.TODO(), &v1.Namespace{ObjectMeta: metav1.Obj…
50 for _, resourceToPersist := range apiServer.Resources {
93 … resourceClient, obj, err := JSONToUnstructured(data.Stub, ns, resource.Mapping, apiServer.Dynamic)
110 …clients[resource.Mapping.Resource] = apiServer.Dynamic.Resource(resource.Mapping.Resource).Namespa…
133 …if _, err := apiServer.KV.Put(context.Background(), data.ExpectedEtcdPath, string(versionedJSON));…
H A Detcd_storage_path_test.go73 apiServer := StartRealAPIServerOrDie(t, func(opts *options.ServerRunOptions) {
75 defer apiServer.Cleanup()
76 defer dumpEtcdKVOnFailure(t, apiServer.KV)
78 client := &allClient{dynamicClient: apiServer.Dynamic}
80 …if _, err := apiServer.Client.CoreV1().Namespaces().Create(context.TODO(), &v1.Namespace{ObjectMet…
91 for _, resourceToPersist := range apiServer.Resources {
139 …if err := client.createPrerequisites(apiServer.Mapper, testNamespace, testData.Prerequisites, all)…
149 output, err := getFromEtcd(apiServer.KV, testData.ExpectedEtcdPath)
/dports/sysutils/istio/istio-1.6.7/vendor/sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/internal/integration_tests/
H A Dapiserver_integration_test.go13 apiServer := &APIServer{}
16 Expect(apiServer.Start()).To(
/dports/devel/gitlab-shell/gitlab-shell-65b8ec55bebd0aea64ac52b9878bafcc2ad992d3/cmd/gitlab-sshd/
H A Dacceptance_test.go197 func configureSSHD(t *testing.T, apiServer string) (string, ed25519.PublicKey) {
210 configFileData := genServerConfig(apiServer, hostKeyFile)
262 apiServer := httptest.NewServer(apiHandler)
263 t.Logf("gitlab-api-mock: started: url=%q", apiServer.URL)
265 apiServer.Close()
269 dir, hostKey := configureSSHD(t, apiServer.URL)
/dports/sysutils/kubectl/kubernetes-1.22.2/cmd/kubeadm/app/cmd/upgrade/
H A Dcommon_test.go92 apiServer: {}
119 apiServer: {}
/dports/sysutils/kubectl/kubernetes-1.22.2/test/integration/serviceaccount/
H A Dservice_account_test.go326 apiServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
332 …clientConfig := restclient.Config{Host: apiServer.URL, ContentConfig: restclient.ContentConfig{Gro…
335 …rootClientset := clientset.NewForConfigOrDie(&restclient.Config{Host: apiServer.URL, ContentConfig…
336 …externalRootClientset := clientset.NewForConfigOrDie(&restclient.Config{Host: apiServer.URL, Conte…
408 _, _, kubeAPIServerCloseFn := framework.RunAnAPIServerUsingServer(controlPlaneConfig, apiServer, h)
415 apiServer.Close()
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/volume/quobyte/
H A Dquobyte.go481 var apiServer, secretName string
491 apiServer = v
495 if len(apiServer) == 0 {
505 quobyteAPIServer: apiServer,
/dports/sysutils/istio/istio-1.6.7/prow/config/
H A Dtrustworthy-jwt.yaml10 apiServer:
H A Dtrustworthy-jwt-13-14.yaml11 apiServer:
/dports/dns/powerdns/pdns-4.5.2/pdns/
H A Dws-api.hh27 void apiServer(HttpRequest* req, HttpResponse* resp);
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/src/org/rstudio/core/client/command/
H A DApplicationCommandManager.java138 RStudioAPIServerOperations apiServer, in initialize() argument
143 apiServer_ = apiServer; in initialize()

12