Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for apiGroup (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. samples/addons/kiali.yaml

      - create
      - delete
      - patch
    - apiGroups: ["apps.openshift.io"]
      resources:
      - deploymentconfigs
      verbs:
      - get
      - list
      - watch
      - patch
    - apiGroups: ["project.openshift.io"]
      resources:
      - projects
      verbs:
      - get
    - apiGroups: ["route.openshift.io"]
      resources:
      - routes
      verbs:
      - get
    - apiGroups: ["authentication.k8s.io"]
      resources:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation_resourceclaim_test.go

    			}(),
    		},
    		"good-parameters-apigroup": {
    			claim: func() *resource.ResourceClaim {
    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    				claim.Spec.ParametersRef = &resource.ResourceClaimParametersReference{
    					APIGroup: goodAPIGroup,
    					Kind:     "foo",
    					Name:     "bar",
    				}
    				return claim
    			}(),
    		},
    		"bad-parameters-apigroup": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	}
    }
    
    func fakeRequestInfo(resource, apiGroup string) *genericapirequest.RequestInfo {
    	return &genericapirequest.RequestInfo{
    		IsResourceRequest: true,
    		Path:              "/api/v1/test",
    		Verb:              "test",
    		APIPrefix:         "api",
    		APIGroup:          apiGroup,
    		APIVersion:        "v1",
    		Namespace:         "",
    		Resource:          resource,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  7. samples/addons/prometheus.yaml

        app.kubernetes.io/part-of: prometheus
      name: prometheus
    rules:
      - apiGroups:
          - ""
        resources:
          - nodes
          - nodes/proxy
          - nodes/metrics
          - services
          - endpoints
          - pods
          - ingresses
          - configmaps
        verbs:
          - get
          - list
          - watch
      - apiGroups:
          - "extensions"
          - "networking.k8s.io"
        resources:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    		crbExists          bool
    		clusterRoleBinding = &rbac.ClusterRoleBinding{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: kubeadmconstants.ClusterAdminsGroupAndClusterRoleBinding,
    			},
    			RoleRef: rbac.RoleRef{
    				APIGroup: rbac.GroupName,
    				Kind:     "ClusterRole",
    				Name:     "cluster-admin",
    			},
    			Subjects: []rbac.Subject{
    				{
    					Kind: rbac.GroupKind,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    		Object: runtime.RawExtension{Object: obj},
    	}
    	parameters := "<none>"
    	if obj.Spec.Parameters != nil {
    		parameters = obj.Spec.Parameters.Kind
    		if obj.Spec.Parameters.APIGroup != nil {
    			parameters = parameters + "." + *obj.Spec.Parameters.APIGroup
    		}
    		parameters = parameters + "/" + obj.Spec.Parameters.Name
    	}
    	createTime := translateTimestampSince(obj.CreationTimestamp)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. pkg/generated/openapi/zz_generated.openapi.go

    				Type:        []string{"object"},
    				Properties: map[string]spec.Schema{
    					"apiGroup": {
    						SchemaProps: spec.SchemaProps{
    							Description: "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
    							Type:        []string{"string"},
    							Format:      "",
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top