Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for policyrest (0.14 sec)

  1. cmd/post-policy_test.go

    Shubhendu <******@****.***> 1716419234 +0530
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/zz_generated.deepcopy.go

    func (in *PolicyList) DeepCopy() *PolicyList {
    	if in == nil {
    		return nil
    	}
    	out := new(PolicyList)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *PolicyList) DeepCopyObject() runtime.Object {
    	if c := in.DeepCopy(); c != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 7.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/audit/zz_generated.deepcopy.go

    func (in *PolicyList) DeepCopy() *PolicyList {
    	if in == nil {
    		return nil
    	}
    	out := new(PolicyList)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *PolicyList) DeepCopyObject() runtime.Object {
    	if c := in.DeepCopy(); c != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 7.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/register.go

    	localSchemeBuilder.Register(addKnownTypes)
    }
    
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&Event{},
    		&EventList{},
    		&Policy{},
    		&PolicyList{},
    	)
    	metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 30 07:56:39 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/apis/audit/register.go

    	AddToScheme   = SchemeBuilder.AddToScheme
    )
    
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&Event{},
    		&EventList{},
    		&Policy{},
    		&PolicyList{},
    	)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 10 17:25:26 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.proto

      // in a rule will override the global default.
      // +optional
      optional bool omitManagedFields = 4;
    }
    
    // PolicyList is a list of audit Policies.
    message PolicyList {
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      repeated Policy items = 2;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/audit/types.go

    	// in a rule will override the global default.
    	// +optional
    	OmitManagedFields bool
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // PolicyList is a list of audit Policies.
    type PolicyList struct {
    	metav1.TypeMeta
    	// +optional
    	metav1.ListMeta
    
    	Items []Policy
    }
    
    // PolicyRule maps requests based off metadata to an audit Level.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 09:18:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. 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)
Back to top