Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for restful (0.27 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/routes/openapi.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 routes
    
    import (
    	restful "github.com/emicklei/go-restful/v3"
    	"k8s.io/klog/v2"
    
    	"k8s.io/apiserver/pkg/server/mux"
    	builder2 "k8s.io/kube-openapi/pkg/builder"
    	"k8s.io/kube-openapi/pkg/builder3"
    	"k8s.io/kube-openapi/pkg/common"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 19:05:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    limitations under the License.
    */
    
    package aggregated
    
    import (
    	"context"
    	"errors"
    	"net/http"
    	"reflect"
    	"sync"
    	"time"
    
    	"github.com/emicklei/go-restful/v3"
    	"github.com/google/go-cmp/cmp"
    	apidiscoveryv2 "k8s.io/api/apidiscovery/v2"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/wait"
    )
    
    type FakeResourceManager interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/storagemigration/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: Fri Mar 08 04:18:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/networking/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: Tue Oct 31 21:05:58 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/discovery/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 Sep 17 09:26:19 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/discovery/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: Wed Oct 18 15:36:48 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/go.mod

    require (
    	github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
    	github.com/blang/semver/v4 v4.0.0 // indirect
    	github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
    	github.com/emicklei/go-restful/v3 v3.11.0 // indirect
    	github.com/fxamacker/cbor/v2 v2.7.0-beta // indirect
    	github.com/go-errors/errors v1.4.2 // indirect
    	github.com/go-logr/logr v1.4.1 // indirect
    	github.com/go-openapi/jsonpointer v0.19.6 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top