Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for PolicyList (0.19 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/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/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)
  7. 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)
  8. 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)
  9. pkg/kubeapiserver/authorizer/reload.go

    	apiServerID string
    
    	reloadInterval         time.Duration
    	requireNonWebhookTypes sets.Set[authzconfig.AuthorizerType]
    
    	nodeAuthorizer *node.NodeAuthorizer
    	rbacAuthorizer *rbac.RBACAuthorizer
    	abacAuthorizer abac.PolicyList
    
    	lastLoadedLock   sync.Mutex
    	lastLoadedConfig *authzconfig.AuthorizationConfiguration
    	lastReadData     []byte
    
    	current atomic.Pointer[authorizerResolver]
    }
    
    type authorizerResolver struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    	type T struct {
    		PolicyList       []core.ContainerResizePolicy
    		ExpectError      bool
    		Errors           field.ErrorList
    		PodRestartPolicy core.RestartPolicy
    	}
    
    	testCases := map[string]T{
    		"ValidCPUandMemoryPolicies": {
    			PolicyList: []core.ContainerResizePolicy{
    				{ResourceName: "cpu", RestartPolicy: "NotRequired"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top