Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 197 for apiGroup (0.14 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go

    			Path:                 "/apis/custom",
    			APIGroup:             "custom",
    			APIVersion:           "",
    			HasSynced:            false,
    			IsResourceRequest:    false,
    			ExpectDelegateCalled: false,
    			ExpectStatus:         200,
    		},
    		{
    			Name:                 "existing group discovery",
    			Method:               "GET",
    			Path:                 "/apis/custom",
    			APIGroup:             "custom",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    					Kind: "foo",
    					Name: "bar",
    				}
    				return template
    			}(),
    		},
    		"good-parameters-apigroup": {
    			template: func() *resource.ResourceClaimTemplate {
    				template := testClaimTemplate(goodName, goodNS, goodClaimSpec)
    				template.Spec.Spec.ParametersRef = &resource.ResourceClaimParametersReference{
    					APIGroup: goodAPIGroup,
    					Kind:     "foo",
    					Name:     "bar",
    				}
    				return template
    			}(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/rbac/v1alpha1/types.go

    }
    
    // RoleRef contains information that points to the role being used
    type RoleRef struct {
    	// APIGroup is the group for the resource being referenced
    	APIGroup string `json:"apiGroup" protobuf:"bytes,1,opt,name=apiGroup"`
    	// Kind is the type of resource being referenced
    	Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
    	// Name is the name of resource being referenced
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. pkg/apis/resource/validation/validation_resourceclass_test.go

    			}(),
    		},
    		"good-parameters-apigroup": {
    			class: func() *resource.ResourceClass {
    				class := testClass(goodName, goodName)
    				class.ParametersRef = goodParameters.DeepCopy()
    				class.ParametersRef.APIGroup = goodAPIGroup
    				return class
    			}(),
    		},
    		"bad-parameters-apigroup": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/resource/v1alpha2/types.go

    type ResourceClassParametersReference struct {
    	// APIGroup is the group for the resource being referenced. It is
    	// empty for the core API. This matches the group in the APIVersion
    	// that is used when creating the resources.
    	// +optional
    	APIGroup string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"`
    	// Kind is the type of resource being referenced. This is the same
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 10:22:35 UTC 2024
    - 30K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

    // namespace as the ResourceClaim.
    message ResourceClaimConsumerReference {
      // APIGroup is the group for the resource being referenced. It is
      // empty for the core API. This matches the group in the APIVersion
      // that is used when creating the resources.
      // +optional
      optional string apiGroup = 1;
    
      // Resource is the type of resource being referenced, for example "pods".
      optional string resource = 3;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. pkg/apis/resource/validation/validation.go

    	if ref == nil {
    		return allErrs
    	}
    
    	// group is required but the Core group is the empty value, so it can not be enforced.
    	if ref.APIGroup != "" {
    		for _, msg := range utilvalidation.IsDNS1123Subdomain(ref.APIGroup) {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("apiGroup"), ref.APIGroup, msg))
    		}
    	}
    
    	if ref.Kind == "" {
    		allErrs = append(allErrs, field.Required(fldPath.Child("kind"), ""))
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler.go

    	rdm.lock.Lock()
    	defer rdm.lock.Unlock()
    
    	key := groupKey{
    		source: source,
    		name:   apiGroup.Group,
    	}
    
    	group, exists := rdm.apiGroups[key]
    	if !exists {
    		return
    	}
    
    	modified := false
    	for i := range group.Versions {
    		if group.Versions[i].Version == apiGroup.Version {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    			err = json.Unmarshal(body, &group)
    			if err != nil {
    				t.Errorf("[%d] unexpected error parsing json body at path %q: %v", i, path, err)
    				continue
    			}
    		} else {
    			// API groups return APIGroup
    			group := metav1.APIGroup{}
    			err = json.Unmarshal(body, &group)
    			if err != nil {
    				t.Errorf("[%d] unexpected error parsing json body at path %q: %v", i, path, err)
    				continue
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/resource/v1alpha2/types_swagger_doc_generated.go

    	"":         "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.",
    	"apiGroup": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top