- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,434 for Groups (0.17 sec)
-
src/log/slog/handler.go
} // Collect group names for ReplaceAttr. if s.groups != nil { *s.groups = append(*s.groups, name) } } // closeGroup ends the group with the given name. func (s *handleState) closeGroup(name string) { if s.h.json { s.buf.WriteByte('}') } else { (*s.prefix) = (*s.prefix)[:len(*s.prefix)-len(name)-1 /* for keyComponentSep */] } s.sep = s.h.attrSep() if s.groups != nil {
Registered: 2024-06-12 16:32 - Last Modified: 2023-12-05 18:18 - 17.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/root_test.go
t.Fatalf("unexpected error: %v", err) } assert.Equal(t, 6, len(groupList.Groups)) assert.Equal(t, "x", groupList.Groups[0].Name) assert.Equal(t, "y", groupList.Groups[1].Name) assert.Equal(t, "z", groupList.Groups[2].Name) assert.Equal(t, "b", groupList.Groups[3].Name) assert.Equal(t, "c", groupList.Groups[4].Name) assert.Equal(t, "a", groupList.Groups[5].Name)
Registered: 2024-06-15 01:39 - Last Modified: 2018-05-08 22:33 - 6K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/TaskReportTask.java
Registered: 2024-06-12 18:38 - Last Modified: 2022-10-24 23:13 - 9.7K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/SingleProjectTaskReportModel.java
private SingleProjectTaskReportModel(SetMultimap<String, TaskDetails> groups) { this.groups = groups; } @Override public Set<String> getGroups() { return groups.keySet(); } @Override public Set<TaskDetails> getTasksForGroup(String group) { if (!groups.containsKey(group)) { throw new IllegalArgumentException(String.format("Unknown group '%s'", group));
Registered: 2024-06-12 18:38 - Last Modified: 2021-04-12 07:52 - 2K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModel.java
}; final SetMultimap<String, TaskDetails> groups = TreeMultimap.create(keyComparator, taskComparator); for (String group : model.getGroups()) { groups.putAll(group, model.getTasksForGroup(group)); } String otherGroupName = findOtherGroup(groups.keySet()); if (otherGroupName != null && groups.keySet().contains(DEFAULT_GROUP)) { groups.putAll(otherGroupName, groups.removeAll(DEFAULT_GROUP));
Registered: 2024-06-12 18:38 - Last Modified: 2021-06-08 21:50 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go
Expression: "claims.username", }, Groups: apiserver.PrefixedClaimOrExpression{ Claim: "groups", Prefix: pointer.String("system:"), }, }, UserValidationRules: []apiserver.UserValidationRule{ { Expression: "user.groups.all(group, !group.startsWith('system:'))", Message: "groups cannot used reserved system: prefix", }, },
Registered: 2024-06-15 01:39 - Last Modified: 2024-04-24 18:25 - 97.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/group/token_group_adder.go
Groups []string } // NewTokenGroupAdder wraps a token authenticator, and adds the specified groups to the returned user when authentication succeeds func NewTokenGroupAdder(auth authenticator.Token, groups []string) authenticator.Token { return &TokenGroupAdder{auth, groups} } func (g *TokenGroupAdder) AuthenticateToken(ctx context.Context, token string) (*authenticator.Response, bool, error) {
Registered: 2024-06-15 01:39 - Last Modified: 2022-05-11 20:04 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/group/group_adder_test.go
Groups: []string{user.AllUnauthenticated, "some-group"}, }, expectedUser: &user.DefaultInfo{ Name: "user", Groups: []string{user.AllUnauthenticated, "some-group"}, }, }, } for _, test := range tests { capacity := make([]string, 0, 1024) user := test.inputUser user.Groups = append(capacity, user.Groups...) // make sure there is capacity in the groups array to trigger potential mutation
Registered: 2024-06-15 01:39 - Last Modified: 2022-05-11 20:04 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation_test.go
user: &user.DefaultInfo{ Name: "dev", Groups: []string{"wheel", "group-impersonater"}, }, impersonationUser: "system:admin", impersonationGroups: []string{"some-group"}, expectedUser: &user.DefaultInfo{ Name: "system:admin", Groups: []string{"some-group", "system:authenticated"}, Extra: map[string][]string{}, }, expectedCode: http.StatusOK, }, {
Registered: 2024-06-15 01:39 - Last Modified: 2021-07-06 17:13 - 17.2K bytes - Viewed (0) -
pkg/auth/authorizer/abac/abac_test.go
User: user.DefaultInfo{Name: "Bar", Groups: []string{"A", "B", "C", user.AllAuthenticated}}, Policy: &v0.Policy{ User: "Foo", Group: "B", }, ExpectMatch: false, }, "v0 user and group policy requires group match": { User: user.DefaultInfo{Name: "Foo", Groups: []string{"A", "B", "C", user.AllAuthenticated}}, Policy: &v0.Policy{ User: "Foo", Group: "D",
Registered: 2024-06-15 01:39 - Last Modified: 2019-09-24 15:14 - 40K bytes - Viewed (0)