Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 209 for userInfo (0.18 sec)

  1. staging/src/k8s.io/api/authentication/v1alpha1/types_swagger_doc_generated.go

    	return map_SelfSubjectReview
    }
    
    var map_SelfSubjectReviewStatus = map[string]string{
    	"":         "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.",
    	"userInfo": "User attributes of the user making this request.",
    }
    
    func (SelfSubjectReviewStatus) SwaggerDoc() map[string]string {
    	return map_SelfSubjectReviewStatus
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 23:42:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/authenticator/interfaces.go

    	// Audiences is the set of audiences the authenticator was able to validate
    	// the token against. If the authenticator is not audience aware, this field
    	// will be empty.
    	Audiences Audiences
    	// User is the UserInfo associated with the authentication context.
    	User user.Info
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 12 00:55:47 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    		)
    
    		userInfo, _ := request.UserFrom(ctx)
    		staticCreateAttributes := admission.NewAttributesRecord(
    			nil,
    			nil,
    			scope.Kind,
    			namespace,
    			name,
    			scope.Resource,
    			scope.Subresource,
    			admission.Create,
    			patchToCreateOptions(options),
    			dryrun.IsDryRun(options.DryRun),
    			userInfo)
    		staticUpdateAttributes := admission.NewAttributesRecord(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authentication/user/user.go

    	// MUST be lowercase.
    	GetExtra() map[string][]string
    }
    
    // DefaultInfo provides a simple user information exchange object
    // for components that implement the UserInfo interface.
    type DefaultInfo struct {
    	Name   string
    	UID    string
    	Groups []string
    	Extra  map[string][]string
    }
    
    func (i *DefaultInfo) GetName() string {
    	return i.Name
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 24 16:21:55 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  5. plugin/pkg/admission/network/denyserviceexternalips/admission_test.go

    				tc.newSvc.Namespace,
    				tc.newSvc.Name,
    				corev1.Resource("services").WithVersion("version"),
    				"", // subresource
    				op,
    				opt,
    				false, // dryRun
    				nil,   // userInfo
    			)
    
    			err := ctrl.Validate(context.TODO(), attrs, nil)
    			if err != nil && !tc.fail {
    				t.Errorf("Unexpected failure: %v", err)
    			}
    			if err == nil && tc.fail {
    				t.Errorf("Unexpected success")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 14 05:36:44 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/request/context_test.go

    	}
    
    	ctx = NewContext()
    	_, ok = NamespaceFrom(ctx)
    	if ok {
    		t.Fatalf("Should not be ok because there is no namespace on the context")
    	}
    }
    
    // TestUserContext validates that a userinfo can be get/set on a context object
    func TestUserContext(t *testing.T) {
    	ctx := NewContext()
    	_, ok := UserFrom(ctx)
    	if ok {
    		t.Fatalf("Should not be ok because there is no user.Info on the context")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    				if err != nil {
    					scope.err(err, w, req)
    					return
    				}
    			}
    			if validatingAdmission, ok := admit.(admission.ValidationInterface); ok {
    				err = validatingAdmission.Validate(ctx, admission.NewAttributesRecord(opts, nil, scope.Kind, namespace, name, scope.Resource, scope.Subresource, admission.Connect, nil, false, userInfo), scope)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

            fessConfig.setCrawlingThreadCount(form.crawlingThreadCount);
            fessConfig.setSearchLog(isCheckboxEnabled(form.searchLog));
            fessConfig.setUserInfo(isCheckboxEnabled(form.userInfo));
            fessConfig.setUserFavorite(isCheckboxEnabled(form.userFavorite));
            fessConfig.setWebApiJson(isCheckboxEnabled(form.webApiJson));
            fessConfig.setAppValue(form.appValue);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admission/v1beta1/types_swagger_doc_generated.go

    	"operation":          "Operation is the operation being performed. This may be different than the operation requested. e.g. a patch can result in either a CREATE or UPDATE Operation.",
    	"userInfo":           "UserInfo is information about the requesting user",
    	"object":             "Object is the object from the incoming request.",
    	"oldObject":          "OldObject is the existing object. Only populated for DELETE and UPDATE requests.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. pkg/registry/authentication/tokenreview/storage.go

    		klog.Errorf("error validating audience. want=%q got=%q", auds, resp.Audiences)
    		return nil, badAuthenticatorAuds
    	}
    
    	if resp != nil && resp.User != nil {
    		tokenReview.Status.User = authentication.UserInfo{
    			Username: resp.User.GetName(),
    			UID:      resp.User.GetUID(),
    			Groups:   resp.User.GetGroups(),
    			Extra:    map[string]authentication.ExtraValue{},
    		}
    		for k, v := range resp.User.GetExtra() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top