Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for GetGroups (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/metrics_test.go

    }
    
    func TestBasicMetrics(t *testing.T) {
    	legacyregistry.Reset()
    	manager := discoveryendpoint.NewResourceManager("apis")
    
    	apis := fuzzAPIGroups(1, 3, 10)
    	manager.SetGroups(apis.Items)
    
    	interests := []string{"aggregator_discovery_aggregation_count_total"}
    
    	_, _, _ = fetchPath(manager, "application/json", discoveryPath, "")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 17:24:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    		Type:    "RemoveGroupVersion",
    		Group:   gv.Group,
    		Version: gv.Version,
    	})
    
    }
    func (f *recorderResourceManager) SetGroups(values []apidiscoveryv2.APIGroupDiscovery) {
    	f.lock.Lock()
    	defer f.lock.Unlock()
    
    	f.Actions = append(f.Actions, recorderResourceManagerAction{
    		Type:  "SetGroups",
    		Value: values,
    	})
    }
    func (f *recorderResourceManager) WebService() *restful.WebService {
    	panic("unimplemented")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/runtime/syscall2_solaris.go

    //go:cgo_import_dynamic libc_getpid getpid "libc.so"
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    //go:cgo_import_dynamic libc_setgid setgid "libc.so"
    //go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
    //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
    //go:cgo_import_dynamic libc_setsid setsid "libc.so"
    //go:cgo_import_dynamic libc_setuid setuid "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get(NAME)));
                result.setPassword(DfTypeUtil.toString(source.get(PASSWORD)));
                result.setGroups(toStringArray(source.get(GROUPS)));
                result.setRoles(toStringArray(source.get(ROLES)));
                result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey()))
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/runtime/cgo/linux_syscall.c

    _cgo_libc_seteuid(argset_t* x) {
    	SET_RETVAL(seteuid((uid_t) x->args[0]));
    }
    
    void
    _cgo_libc_setgid(argset_t* x) {
    	SET_RETVAL(setgid((gid_t) x->args[0]));
    }
    
    void
    _cgo_libc_setgroups(argset_t* x) {
    	SET_RETVAL(setgroups((size_t) x->args[0], (const gid_t *) x->args[1]));
    }
    
    void
    _cgo_libc_setregid(argset_t* x) {
    	SET_RETVAL(setregid((gid_t) x->args[0], (gid_t) x->args[1]));
    }
    
    void
    _cgo_libc_setresgid(argset_t* x) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                permissions = null;
                return true;
            }
    
            public AuthenticationResult getAuthenticationResult() {
                return authResult;
            }
    
            public void setGroups(final String[] groups) {
                this.groups = groups;
            }
    
            public void setRoles(final String[] roles) {
                this.roles = roles;
            }
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/runtime/syscall_aix.go

    //go:cgo_import_dynamic libc_fork fork "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setgid setgid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setgroups setgroups "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setsid setsid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setuid setuid "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. src/os/exec/exec_posix_test.go

    	}
    
    	gid, err := strconv.Atoi(u.Gid)
    	if err != nil {
    		t.Fatalf("error converting Gid=%s to integer: %v", u.Gid, err)
    	}
    
    	// If NoSetGroups is true, setgroups isn't called and cmd.Run should succeed
    	cmd := helperCommand(t, "echo", "foo")
    	cmd.SysProcAttr = &syscall.SysProcAttr{
    		Credential: &syscall.Credential{
    			Uid:         uint32(uid),
    			Gid:         uint32(gid),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
Back to top