- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 62 for restful (0.19 sec)
-
pkg/kubelet/server/stats/handler.go
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 }{ {"/summary", h.handleSummary}, } for _, e := range endpoints {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 21:31:38 UTC 2023 - 6.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/cors.go
*/ package filters import ( "net/http" "regexp" "strings" "k8s.io/klog/v2" ) // TODO: use restful.CrossOriginResourceSharing // See github.com/emicklei/go-restful/blob/master/examples/cors/restful-CORS-filter.go, and // github.com/emicklei/go-restful/blob/master/examples/basicauth/restful-basic-authentication.go // Or, for a more detailed implementation use https://github.com/martini-contrib/cors
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 15 13:59:10 UTC 2022 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper.go
} func (wrapped *WrappedHandler) restfulHandle(req *restful.Request, resp *restful.Response) { wrapped.ServeHTTP(resp.ResponseWriter, req.Request) } func (wrapped *WrappedHandler) GenerateWebService(prefix string, returnType interface{}) *restful.WebService { mediaTypes, _ := negotiation.MediaTypesForSerializer(wrapped.s) ws := new(restful.WebService) ws.Path(prefix) ws.Doc("get available API versions")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/groupversion.go
See the License for the specific language governing permissions and limitations under the License. */ package endpoints import ( "path" "time" restful "github.com/emicklei/go-restful/v3" apidiscoveryv2 "k8s.io/api/apidiscovery/v2" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 5.9K bytes - Viewed (0) -
LICENSES/vendor/github.com/emicklei/go-restful/v3/LICENSE
= vendor/github.com/emicklei/go-restful/v3 licensed under: = Copyright (c) 2012,2013 Ernest Micklei MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 09 18:11:41 UTC 2022 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1beta1/types_swagger_doc_generated.go
limitations under the License. */ package v1beta1 // This file contains a collection of methods that can be used from go-restful to // generate Swagger API documentation for its models. Please read this PR for more // information on the implementation: https://github.com/emicklei/go-restful/pull/215 // // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 22 00:51:25 UTC 2023 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/openapi/openapi.go
limitations under the License. */ package openapi import ( "bytes" "fmt" "reflect" "sort" "strings" "unicode" restful "github.com/emicklei/go-restful/v3" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/kube-openapi/pkg/util" "k8s.io/kube-openapi/pkg/validation/spec" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 09 18:11:41 UTC 2022 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/api/coordination/v1/types_swagger_doc_generated.go
limitations under the License. */ package v1 // This file contains a collection of methods that can be used from go-restful to // generate Swagger API documentation for its models. Please read this PR for more // information on the implementation: https://github.com/emicklei/go-restful/pull/215 // // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 22 00:51:25 UTC 2023 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1alpha1/types_swagger_doc_generated.go
limitations under the License. */ package v1alpha1 // This file contains a collection of methods that can be used from go-restful to // generate Swagger API documentation for its models. Please read this PR for more // information on the implementation: https://github.com/emicklei/go-restful/pull/215 // // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 23:42:33 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/api/scheduling/v1beta1/types_swagger_doc_generated.go
limitations under the License. */ package v1beta1 // This file contains a collection of methods that can be used from go-restful to // generate Swagger API documentation for its models. Please read this PR for more // information on the implementation: https://github.com/emicklei/go-restful/pull/215 // // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 22 00:51:25 UTC 2023 - 3K bytes - Viewed (0)