Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for apiResources (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/groupversion.go

    		minRequestTimeout: g.MinRequestTimeout,
    	}
    
    	apiResources, resourceInfos, ws, registrationErrors := installer.Install()
    	versionDiscoveryHandler := discovery.NewAPIVersionHandler(g.Serializer, g.GroupVersion, staticLister{apiResources})
    	versionDiscoveryHandler.AddToWebService(ws)
    	container.Add(ws)
    	aggregatedDiscoveryResources, err := ConvertGroupVersionIntoToDiscovery(apiResources)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. api/api-rules/aggregator_violation_exceptions.list

    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,APIResourceList,APIResources
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Duration,Duration
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Object
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Type
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,MicroTime,Time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:20 UTC 2023
    - 784 bytes
    - Viewed (0)
  3. api/api-rules/sample_apiserver_violation_exceptions.list

    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,APIResourceList,APIResources
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Duration,Duration
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Object
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Type
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,MicroTime,Time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:22 UTC 2023
    - 784 bytes
    - Viewed (0)
  4. api/api-rules/codegen_violation_exceptions.list

    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,APIResourceList,APIResources
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Duration,Duration
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Object
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Type
    API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,MicroTime,Time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:20 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/version.go

    	"k8s.io/apiserver/pkg/endpoints/handlers/responsewriters"
    )
    
    type APIResourceLister interface {
    	ListAPIResources() []metav1.APIResource
    }
    
    type APIResourceListerFunc func() []metav1.APIResource
    
    func (f APIResourceListerFunc) ListAPIResources() []metav1.APIResource {
    	return f()
    }
    
    // APIVersionHandler creates a webservice serving the supported resources for the version
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 20:38:08 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/core_test.go

    	cs.DiscoveryObj = &fakeDiscovery
    	return cs
    }
    
    func possibleDiscoveryResource() []*metav1.APIResourceList {
    	return []*metav1.APIResourceList{
    		{
    			GroupVersion: "create/v1",
    			APIResources: []metav1.APIResource{
    				{
    					Name:       "jobs",
    					Verbs:      []string{"create", "list", "watch", "delete"},
    					ShortNames: []string{"jz"},
    					Categories: []string{"all"},
    				},
    			},
    		},
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:01 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    func testResources() []*metav1.APIResourceList {
    	results := []*metav1.APIResourceList{
    		{
    			GroupVersion: "v1",
    			APIResources: []metav1.APIResource{
    				{
    					Name:       "pods",
    					Namespaced: true,
    					Kind:       "Pod",
    					Verbs:      []string{"get", "list", "delete", "deletecollection", "create", "update"},
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  8. pkg/registry/admissionregistration/resolver/resolver.go

    	resources, err := d.client.ServerResourcesForGroupVersion(gv.String())
    	if err != nil {
    		return schema.GroupVersionResource{}, err
    	}
    	for _, resource := range resources.APIResources {
    		if resource.Kind != gvk.Kind {
    			// ignore unrelated kinds
    			continue
    		}
    		if strings.Contains(resource.Name, "/") {
    			// ignore subresources
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:29:56 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. pkg/controlplane/instance_test.go

    	_, all, err := discover.ServerGroupsAndResources()
    	if err != nil {
    		t.Error(err)
    	}
    	var count int
    	apiResources := sets.NewString()
    	for _, g := range all {
    		for _, r := range g.APIResources {
    			apiResources.Insert(g.GroupVersion + "/" + r.Name)
    			if strings.Contains(r.Name, "/") ||
    				storageversionhashdata.NoStorageVersionHash.Has(g.GroupVersion+"/"+r.Name) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. pkg/controller/disruption/disruption_test.go

    }
    
    func TestScaleFinderNoResource(t *testing.T) {
    	resourceName := "customresources"
    	testCases := map[string]struct {
    		apiResources []metav1.APIResource
    		expectError  bool
    	}{
    		"resource implements scale": {
    			apiResources: []metav1.APIResource{
    				{
    					Kind: customGVK.Kind,
    					Name: resourceName + "/status",
    				},
    				{
    					Kind:    "Scale",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top