Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for WebService (1.14 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go

    }
    
    // builder contains validation schema and basic naming information for a CRD in
    // one version. The builder works to build a WebService that kube-openapi can
    // consume.
    type builder struct {
    	schema     *spec.Schema
    	listSchema *spec.Schema
    	ws         *restful.WebService
    
    	group    string
    	version  string
    	kind     string
    	listKind string
    	plural   string
    
    	namespaced bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. pkg/kubelet/server/stats/handler.go

    }
    
    // CreateHandlers creates the REST handlers for the stats.
    func CreateHandlers(rootPath string, provider Provider, summaryProvider SummaryProvider) *restful.WebService {
    	h := &handler{provider, summaryProvider}
    
    	ws := &restful.WebService{}
    	ws.Path(rootPath).
    		Produces(restful.MIME_JSON)
    
    	endpoints := []struct {
    		path    string
    		handler restful.RouteFunction
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 21:31:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. pkg/routes/logs.go

    func (l Logs) Install(c *restful.Container) {
    	// use restful: ws.Route(ws.GET("/logs/{logpath:*}").To(fileHandler))
    	// See github.com/emicklei/go-restful/blob/master/examples/static/restful-serve-static.go
    	ws := new(restful.WebService)
    	ws.Path("/logs")
    	ws.Doc("get log files")
    	ws.Route(ws.GET("/{logpath:*}").To(logFileHandler).Param(ws.PathParameter("logpath", "path to the log").DataType("string")))
    	ws.Route(ws.GET("/").To(logFileListHandler))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 21 16:25:48 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishChangingUrlIntegTest.groovy

                    @TaskAction
                    void initializeRepository() {
                        // Imagine this is hitting some webservice to calculate a new URL
                        repositoryRegistry.get().url = "${repo2.uri}"
                    }
                }
                task initializeRepository(type: InitializeRepository) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		}
    	}
    	return apiResources, resourceInfos, ws, errors
    }
    
    // newWebService creates a new restful webservice with the api installer's prefix and version.
    func (a *APIInstaller) newWebService() *restful.WebService {
    	ws := new(restful.WebService)
    	ws.Path(a.prefix)
    	// a.prefix contains "prefix/group/version"
    	ws.Doc("API at " + a.prefix)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

            assertHasExpectedContents('root.ipr')
            assertHasExpectedContents('root.iws')
            assertHasExpectedContents('root.iml')
            assertHasExpectedContents('api/api.iml')
            assertHasExpectedContents('webservice/webservice.iml')
    
            executer.withTasks('cleanIdea').run()
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void worksWithAnEmptyProject() {
            executer.withTasks('idea').run()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc

    .DownloadPlugin.java
    ----
    include::{snippetsPath}/plugins/buildService/groovy/buildSrc/src/main/java/DownloadPlugin.java[]
    ----
    ====
    
    The plugin registers the service and receives a `Provider<WebService>` back.
    This provider can be connected to task properties to pass the service to the task.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:10 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    		s.Handler.GoRestfulContainer.Add(wrapped.GenerateWebService("/api", metav1.APIVersions{}))
    	} else {
    		s.Handler.GoRestfulContainer.Add(legacyRootAPIHandler.WebService())
    	}
    
    	return nil
    }
    
    // InstallAPIGroups exposes given api groups in the API.
    // The <apiGroupInfos> passed into this function shouldn't be used elsewhere as the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/config.go

    			s.Handler.GoRestfulContainer.Add(wrapped.GenerateWebService("/apis", metav1.APIGroupList{}))
    		} else {
    			s.Handler.GoRestfulContainer.Add(s.DiscoveryGroupManager.WebService())
    		}
    	}
    	if c.FlowControl != nil {
    		c.FlowControl.Install(s.Handler.NonGoRestfulMux)
    	}
    }
    
    func NewRequestInfoResolver(c *Config) *apirequest.RequestInfoFactory {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * redundancy for such URLs.
     *
     * Because they don't attempt canonical form, these classes are surprisingly difficult to use
     * securely. Suppose you're building a webservice that checks that incoming paths are prefixed
     * "/static/images/" before serving the corresponding assets from the filesystem.
     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
Back to top