Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for policyrest (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.pb.go

    }
    
    var xxx_messageInfo_Policy proto.InternalMessageInfo
    
    func (m *PolicyList) Reset()      { *m = PolicyList{} }
    func (*PolicyList) ProtoMessage() {}
    func (*PolicyList) Descriptor() ([]byte, []int) {
    	return fileDescriptor_62937bb89ca7b6dd, []int{5}
    }
    func (m *PolicyList) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *PolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 81.4K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	for _, policy := range strings.Split(mp.Policies, ",") {
    		if strings.TrimSpace(policy) == "" {
    			continue
    		}
    		policies = append(policies, policy)
    	}
    	return policies
    }
    
    func (mp MappedPolicy) policySet() set.StringSet {
    	return set.CreateStringSet(mp.toSlice()...)
    }
    
    func newMappedPolicy(policy string) MappedPolicy {
    	return MappedPolicy{Version: 1, Policies: policy, UpdatedAt: UTCNow()}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  3. cmd/iam.go

    	// running server by creating the policies after start up.
    	for arn, rolePolicies := range m {
    		specifiedPoliciesSet := newMappedPolicy(rolePolicies).policySet()
    		validPolicies, _ := sys.store.FilterPolicies(rolePolicies, "")
    		knownPoliciesSet := newMappedPolicy(validPolicies).policySet()
    		unknownPoliciesSet := specifiedPoliciesSet.Difference(knownPoliciesSet)
    		if len(unknownPoliciesSet) > 0 {
    			authz := newGlobalAuthZPluginFn()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	}
    
    	policyResult, err := s.adm.GetLDAPPolicyEntities(ctx, madmin.PolicyEntitiesQuery{
    		Policy: []string{policy},
    	})
    	if err != nil {
    		c.Fatalf("GetLDAPPolicyEntities should not fail: %v", err)
    	}
    	{
    		// Check that the mapping we created exists.
    		idx := slices.IndexFunc(policyResult.PolicyMappings, func(e madmin.PolicyEntities) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		if len(policiesNames) == 0 {
    			policySet, _ := args.GetPolicies(iamPolicyClaimNameOpenID())
    			policiesNames = policySet.ToSlice()
    		}
    
    		stsAccountPolicy = globalIAMSys.GetCombinedPolicy(policiesNames...)
    	}
    
    	policyJSON, err := json.MarshalIndent(stsAccountPolicy, "", " ")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top