Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InstallLegacyAPIGroup (0.39 sec)

  1. pkg/controlplane/apiserver/apis.go

    		}
    
    		if len(groupName) == 0 {
    			// the legacy group for core APIs is special that it is installed into /api via this special install method.
    			if err := s.GenericAPIServer.InstallLegacyAPIGroup(genericapiserver.DefaultLegacyAPIPrefix, &apiGroupInfo); err != nil {
    				return fmt.Errorf("error in registering legacy API: %w", err)
    			}
    		} else {
    			// everything else goes to /apis
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    	}
    
    	return nil
    }
    
    // InstallLegacyAPIGroup exposes the given legacy api group in the API.
    // The <apiGroupInfo> passed into this function shouldn't be used elsewhere as the
    // underlying storage will be destroyed on this servers shutdown.
    func (s *GenericAPIServer) InstallLegacyAPIGroup(apiPrefix string, apiGroupInfo *APIGroupInfo) error {
    	if !s.legacyAPIGroupPrefixes.Has(apiPrefix) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    		testAPI(schema.GroupVersion{Group: "", Version: "v1"}),
    		testAPI(schema.GroupVersion{Group: extensionsGroupName, Version: "v1"}),
    		testAPI(schema.GroupVersion{Group: "batch", Version: "v1"}),
    	}
    
    	err = s.InstallLegacyAPIGroup("/apiPrefix", &apis[0])
    	assert.NoError(err)
    	groupPaths := []string{
    		config.LegacyAPIGroupPrefixes.List()[0], // /apiPrefix
    	}
    	for _, api := range apis[1:] {
    		err = s.InstallAPIGroup(&api)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/config.go

    	ReadyzChecks []healthz.HealthChecker
    	// LegacyAPIGroupPrefixes is used to set up URL parsing for authorization and for validating requests
    	// to InstallLegacyAPIGroup. New API servers don't generally have legacy groups at all.
    	LegacyAPIGroupPrefixes sets.String
    	// RequestInfoResolver is used to assign attributes (used by admission and authorization) based on a request URL.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
Back to top