Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 583 for APIGroup (0.36 sec)

  1. pkg/registry/rbac/escalation_check.go

    	// Invalid APIGroup or Name values will fail validation
    	switch roleRef.Kind {
    	case "ClusterRole":
    		attrs.APIGroup = roleRef.APIGroup
    		attrs.APIVersion = "*"
    		attrs.Resource = "clusterroles"
    		attrs.Name = roleRef.Name
    	case "Role":
    		attrs.APIGroup = roleRef.APIGroup
    		attrs.APIVersion = "*"
    		attrs.Resource = "roles"
    		attrs.Name = roleRef.Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  2. pkg/apis/rbac/fuzzer/fuzzer.go

    			// match defaulter
    			if len(r.APIGroup) == 0 {
    				r.APIGroup = rbac.GroupName
    			}
    		},
    		func(r *rbac.Subject, c fuzz.Continue) {
    			switch c.Int31n(3) {
    			case 0:
    				r.Kind = rbac.ServiceAccountKind
    				r.APIGroup = ""
    				c.FuzzNoCustom(&r.Name)
    				c.FuzzNoCustom(&r.Namespace)
    			case 1:
    				r.Kind = rbac.UserKind
    				r.APIGroup = rbac.GroupName
    				c.FuzzNoCustom(&r.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 11 07:12:57 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/root_test.go

    	// Register three groups
    	handler.AddGroup(metav1.APIGroup{Name: "x"})
    	handler.AddGroup(metav1.APIGroup{Name: "y"})
    	handler.AddGroup(metav1.APIGroup{Name: "z"})
    	// Register three additional groups that come earlier alphabetically
    	handler.AddGroup(metav1.APIGroup{Name: "a"})
    	handler.AddGroup(metav1.APIGroup{Name: "b"})
    	handler.AddGroup(metav1.APIGroup{Name: "c"})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 08 22:33:50 UTC 2018
    - 6K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__networking.k8s.io_openapi.json

    {
      "components": {
        "schemas": {
          "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": {
            "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
            "properties": {
              "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:05:52 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__resource.k8s.io_openapi.json

    {
      "components": {
        "schemas": {
          "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": {
            "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
            "properties": {
              "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:05:52 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__autoscaling_openapi.json

    {
      "components": {
        "schemas": {
          "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": {
            "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
            "properties": {
              "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:05:52 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__apiextensions.k8s.io_openapi.json

    {
      "components": {
        "schemas": {
          "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": {
            "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
            "properties": {
              "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:05:52 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/bootstraptoken/node/tlsbootstrap_test.go

    			client: newMockClusterRoleBinddingClientForTest(t, &rbac.ClusterRoleBinding{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: constants.NodeKubeletBootstrap,
    				},
    				RoleRef: rbac.RoleRef{
    					APIGroup: rbac.GroupName,
    					Kind:     "ClusterRole",
    					Name:     constants.NodeBootstrapperClusterRoleName,
    				},
    				Subjects: []rbac.Subject{
    					{
    						Kind: rbac.GroupKind,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 04:16:31 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. pkg/apis/rbac/v1alpha1/defaults.go

    	return RegisterDefaults(scheme)
    }
    
    func SetDefaults_ClusterRoleBinding(obj *rbacv1alpha1.ClusterRoleBinding) {
    	if len(obj.RoleRef.APIGroup) == 0 {
    		obj.RoleRef.APIGroup = GroupName
    	}
    }
    func SetDefaults_RoleBinding(obj *rbacv1alpha1.RoleBinding) {
    	if len(obj.RoleRef.APIGroup) == 0 {
    		obj.RoleRef.APIGroup = GroupName
    	}
    }
    func SetDefaults_Subject(obj *rbacv1alpha1.Subject) {
    	if len(obj.APIVersion) == 0 {
    		switch obj.Kind {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 18:30:51 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  10. pkg/apis/abac/types.go

    	Group string
    
    	// Readonly matches readonly requests when true, and all requests when false
    	Readonly bool
    
    	// APIGroup is the name of an API group. APIGroup, Resource, and Namespace are required to match resource requests.
    	// "*" matches all API groups
    	APIGroup string
    
    	// Resource is the name of a resource. APIGroup, Resource, and Namespace are required to match resource requests.
    	// "*" matches all resources
    	Resource string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 07:28:47 UTC 2017
    - 2.2K bytes
    - Viewed (0)
Back to top