- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 205 for decisions (0.14 sec)
-
src/runtime/export_test.go
throw("bad steal") } } } func RunSchedLocalQueueEmptyTest(iters int) { // Test that runq is not spuriously reported as empty. // Runq emptiness affects scheduling decisions and spurious emptiness // can lead to underutilization (both runnable Gs and idle Ps coexist // for arbitrary long time). done := make(chan bool, 1) p := new(p) gs := make([]g, 2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/authz.go
} func decisionAllowed(arg ref.Val) ref.Val { decision, ok := arg.(decisionVal) if !ok { return types.MaybeNoSuchOverloadErr(arg) } return types.Bool(decision.authDecision == authorizer.DecisionAllow) } func decisionReason(arg ref.Val) ref.Val { decision, ok := arg.(decisionVal) if !ok { return types.MaybeNoSuchOverloadErr(arg) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 21.1K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
User user.Info Secret string ConfigMap string Decision authorizer.Decision }{ {User: node1, Decision: authorizer.DecisionAllow, Secret: "node1-only"}, {User: node1, Decision: authorizer.DecisionAllow, Secret: "node1-node2-only"}, {User: node1, Decision: authorizer.DecisionAllow, Secret: "shared-all"}, {User: node2, Decision: authorizer.DecisionNoOpinion, Secret: "node1-only"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control.go
set *apps.StatefulSet, revisions []*apps.ControllerRevision) error { for i := range revisions { adopted, err := ssc.controllerHistory.AdoptControllerRevision(set, controllerKind, revisions[i]) if err != nil { return err } revisions[i] = adopted } return nil } // truncateHistory truncates any non-live ControllerRevisions in revisions from set's history. The UpdateRevision and
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:03:46 UTC 2024 - 30.9K bytes - Viewed (0) -
plugin/pkg/admission/gc/gc_admission.go
Subresource: attributes.GetSubresource(), Name: attributes.GetName(), ResourceRequest: true, Path: "", } decision, reason, err := a.authorizer.Authorize(ctx, deleteAttributes) if decision != authorizer.DecisionAllow { return admission.NewForbidden(attributes, fmt.Errorf("cannot set an ownerRef on a resource you can't delete: %v, %v", reason, err)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 10.3K bytes - Viewed (0) -
plugin/pkg/admission/certificates/ctbattest/admission_test.go
} type fakeAuthorizer struct { t *testing.T verb string allowedName string decision authorizer.Decision err error } func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { if f.err != nil { return f.decision, "forced error", f.err } if a.GetVerb() != f.verb {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.9K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer.go
} return nil, nil, false, nil } func (r *NodeAuthorizer) Authorize(ctx context.Context, attrs authorizer.Attributes) (authorizer.Decision, string, error) { nodeName, isNode := r.identifier.NodeIdentity(attrs.GetUser()) if !isNode { // reject requests from non-nodes return authorizer.DecisionNoOpinion, "", nil } if len(nodeName) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 16K bytes - Viewed (0) -
pkg/test/framework/resource/flags.go
} if s.Revision != "" { if s.Revisions != nil { return fmt.Errorf("cannot use --istio.test.revision and --istio.test.revisions at the same time," + " --istio.test.revisions will take precedence and --istio.test.revision will be ignored") } // use Revision as the sole revision in RevVerMap s.Revisions = RevVerMap{ s.Revision: "", } } else if s.Revisions != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 19:04:51 UTC 2024 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go
// Allow all and see if we get an error. service.Allow() decision, _, err := wh.Authorize(context.Background(), attr) if tt.wantAuth { if decision != authorizer.DecisionAllow { t.Errorf("expected successful authorization") } } else { if decision == authorizer.DecisionAllow { t.Errorf("expected failed authorization") } } if tt.wantErr {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 19.9K bytes - Viewed (0)