Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 356 for setgroups1 (0.25 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/group/group_adder_test.go

    			}),
    			[]string{"added"},
    		),
    	)
    
    	r, _, _ := adder.AuthenticateRequest(nil)
    	if want := []string{"original", "added"}; !reflect.DeepEqual(r.User.GetGroups(), want) {
    		t.Errorf("Unexpected groups\ngot:\t%#v\nwant:\t%#v", r.User.GetGroups(), want)
    	}
    
    	if got := toJson(response); got != orig {
    		t.Errorf("Expected response from delegate to be unmodified: orig=%v got=%v", orig, got)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 20:04:50 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go

    })(nil)
    
    // The user info accessors known to cache key construction. If this fails to compile, the cache
    // implementation may need to be updated.
    var _ user.Info = (interface {
    	GetName() string
    	GetUID() string
    	GetGroups() []string
    	GetExtra() map[string][]string
    })(nil)
    
    // Authorize returns an authorization decision by delegating to another Authorizer. If an equivalent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        }
    
        @Test
        void testPluginLoading() throws Exception {
            MavenSession session = createMavenSession(null);
            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.its.plugins");
            plugin.setArtifactId("maven-it-plugin");
            plugin.setVersion("0.1");
            PluginDescriptor pluginDescriptor = pluginManager.loadPlugin(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exentity/User.java

        public String[] getRoleNames() {
            return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        private String decode(final String value) {
            return new String(Base64.getDecoder().decode(value), Constants.CHARSET_UTF_8);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/writing-tasks/task-with-arguments/common/project-info/src/main/java/com/example/ProjectInfoPlugin.java

    import org.gradle.api.Project;
    
    class ProjectInfoPlugin implements Plugin<Project> {
        public void apply(Project project) {
            project.getTasks().register("projectInfo", ProjectInfoTask.class, task -> {
                task.setGroup("help");
                task.setDescription("Displays current project info");
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 383 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler.go

    }
    func (rm resourceManager) RemoveGroupVersion(gv metav1.GroupVersion) {
    	rm.resourceDiscoveryManager.RemoveGroupVersion(rm.source, gv)
    }
    func (rm resourceManager) SetGroups(groups []apidiscoveryv2.APIGroupDiscovery) {
    	rm.resourceDiscoveryManager.SetGroups(rm.source, groups)
    }
    
    func (rm resourceManager) WithSource(source Source) ResourceManager {
    	return resourceManager{
    		source:                   source,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            assertEquals(groupId + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId());
        }
    
        @Test
        void testGetDependencyConflictIdNullGroupId() {
            artifact.setGroupId(null);
            assertEquals(null + ":" + artifactId + ":" + type + ":" + classifier, artifact.getDependencyConflictId());
        }
    
        @Test
        void testGetDependencyConflictIdNullClassifier() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 22 19:19:33 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/plugins/IvyPublishPlugin.java

                publish.setDescription("Publishes all Ivy publications produced by this project to the " + repository.getName() + " repository.");
                publish.setGroup(PublishingPlugin.PUBLISH_TASK_GROUP);
            }));
    
            publications.all(publication -> {
                final String publicationName = publication.getName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

                MavenProject project = session.getProjects().get(0);
    
                Dependency dependency = new Dependency();
                dependency.setArtifactId(INJECTED_ARTIFACT_ID);
                dependency.setGroupId("foo");
                dependency.setVersion("1.2.3");
                dependency.setScope("system");
                try {
                    dependency.setSystemPath(new File(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResult.java

            this.groupId = groupId;
            this.artifactId = artifactId;
            this.repository = repository;
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public void setGroupId(String groupId) {
            this.groupId = groupId;
        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
        public void setArtifactId(String artifactId) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top