Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for PolicyList (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*PolicyList)(nil), (*audit.PolicyList)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_PolicyList_To_audit_PolicyList(a.(*PolicyList), b.(*audit.PolicyList), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*audit.PolicyList)(nil), (*PolicyList)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  2. pkg/auth/authorizer/abac/abac.go

    	}
    	return fmt.Sprintf("error reading policy file %s: %v", p.path, p.err)
    }
    
    // PolicyList is simply a slice of Policy structs.
    type PolicyList []*abac.Policy
    
    // NewFromFile attempts to create a policy list from the given file.
    //
    // TODO: Have policies be created via an API call and stored in REST storage.
    func NewFromFile(path string) (PolicyList, error) {
    	// File format is one map per line.  This allows easy concatenation of files,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/types.go

    	OmitManagedFields bool `json:"omitManagedFields,omitempty" protobuf:"varint,4,opt,name=omitManagedFields"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // PolicyList is a list of audit Policies.
    type PolicyList struct {
    	metav1.TypeMeta `json:",inline"`
    	// +optional
    	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:24:10 UTC 2023
    - 14.5K bytes
    - Viewed (0)
Back to top