Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for gk (0.67 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/firsthit_restmapper.go

    // kind and version. This implementation supports multiple REST schemas and
    // return the first match.
    func (m FirstHitRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*RESTMapping, error) {
    	errors := []error{}
    	for _, t := range m.MultiRESTMapper {
    		ret, err := t.RESTMapping(gk, versions...)
    		if err == nil {
    			return ret, nil
    		}
    		errors = append(errors, err)
    	}
    
    	return nil, collapseAggregateErrors(errors)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildGateIntegrationTest.groovy

                                println("[GK] Open gate")
                                gateKeeper.open()
                            } else if (command == "close") {
                                println("[GK] Close gate")
                                gateKeeper.close()
                            } else if (command == "stop") {
                                println("[GK] stop")
                                stop = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go

    	for _, m := range mappings {
    		kinds = append(kinds, m.GroupVersionKind)
    	}
    	return nil, &AmbiguousKindError{PartialKind: gk.WithVersion(""), MatchingKinds: kinds}
    }
    
    func (m PriorityRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*RESTMapping, error) {
    	return m.Delegate.RESTMappings(gk, versions...)
    }
    
    func (m PriorityRESTMapper) ResourceSingularizer(resource string) (singular string, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  4. operator/pkg/object/objects.go

    		case gk == "/ConfigMap" || gk == "/Secrets":
    			return 100
    
    			// Create the pods after we've created other things they might be waiting for
    		case gk == "extensions/Deployment" || gk == "apps/Deployment":
    			return 1000
    
    			// Autoscalers typically act on a deployment
    		case gk == "autoscaling/HorizontalPodAutoscaler":
    			return 1001
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 15.5K bytes
    - Viewed (1)
  5. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    	return nil, nil
    }
    func (doNothingRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error) {
    	return nil, nil
    }
    func (doNothingRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error) {
    	return nil, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/metrics/client_test.go

    				gk := schema.FromAPIVersionAndKind(tc.singleObject.APIVersion, tc.singleObject.Kind).GroupKind()
    				mapping, err := mapper.RESTMapping(gk)
    				if err != nil {
    					return true, nil, fmt.Errorf("unable to get mapping for %s: %v", gk.String(), err)
    				}
    				groupResource := mapping.Resource.GroupResource()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 16.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/meta/interfaces.go

    	RESTMapping(gk schema.GroupKind, versions ...string) (*RESTMapping, error)
    	// RESTMappings returns all resource mappings for the provided group kind if no
    	// version search is provided. Otherwise identifies a preferred resource mapping for
    	// the provided version(s).
    	RESTMappings(gk schema.GroupKind, versions ...string) ([]*RESTMapping, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/codec.go

    }
    
    // Identifier implements GroupVersioner interface.
    func (v multiGroupVersioner) Identifier() string {
    	groupKinds := make([]string, 0, len(v.acceptedGroupKinds))
    	for _, gk := range v.acceptedGroupKinds {
    		groupKinds = append(groupKinds, gk.String())
    	}
    	result := map[string]string{
    		"name":     "multi",
    		"target":   v.target.String(),
    		"accepted": strings.Join(groupKinds, ","),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:20:30 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/groupversion.go

    type ConvertabilityChecker interface {
    	// VersionsForGroupKind indicates what versions are available to convert a group kind. This determines
    	// what our decoding abilities are.
    	VersionsForGroupKind(gk schema.GroupKind) []schema.GroupVersion
    }
    
    // APIGroupVersion is a helper for exposing rest.Storage objects as http.Handlers via go-restful
    // It handles URLs of the form:
    // /${storage_key}[/${object_name}]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper_test.go

    		preferredVersions := []string{}
    		for _, gv := range testCase.APIGroupVersions {
    			preferredVersions = append(preferredVersions, gv.Version)
    		}
    		gk := schema.GroupKind{Group: testGroup, Kind: testCase.Kind}
    
    		mapping, err := mapper.RESTMapping(gk, preferredVersions...)
    		hasErr := err != nil
    		if hasErr != testCase.Err {
    			t.Errorf("%d: unexpected error behavior %t: %v", i, testCase.Err, err)
    		}
    		if hasErr {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 01 08:38:57 UTC 2020
    - 28.9K bytes
    - Viewed (0)
Back to top