Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for PolicyList (0.55 sec)

  1. 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)
  2. pkg/auth/authorizer/abac/abac_test.go

    		if tc.ExpectMatch != actualMatch {
    			t.Errorf("%v: Expected actorMatches=%v but actually got=%v",
    				k, tc.ExpectMatch, actualMatch)
    		}
    	}
    }
    
    func newWithContents(t *testing.T, contents string) (PolicyList, error) {
    	f, err := ioutil.TempFile("", "abac_test")
    	if err != nil {
    		t.Fatalf("unexpected error creating policyfile: %v", err)
    	}
    	f.Close()
    	defer os.Remove(f.Name())
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 40K bytes
    - Viewed (0)
  3. 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)
  4. pkg/apis/core/validation/validation.go

    func validateResizePolicy(policyList []core.ContainerResizePolicy, fldPath *field.Path, podRestartPolicy *core.RestartPolicy) field.ErrorList {
    	allErrors := field.ErrorList{}
    
    	// validate that resource name is not repeated, supported resource names and policy values are specified
    	resources := make(map[core.ResourceName]bool)
    	for i, p := range policyList {
    		if _, found := resources[p.ResourceName]; found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  5. pkg/generated/openapi/zz_generated.openapi.go

    		"k8s.io/apiserver/pkg/apis/audit/v1.Policy":                                                             schema_pkg_apis_audit_v1_Policy(ref),
    		"k8s.io/apiserver/pkg/apis/audit/v1.PolicyList":                                                         schema_pkg_apis_audit_v1_PolicyList(ref),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top