- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,587 for Decision (0.17 sec)
-
architecture/standards/0001-use-architectural-decision-records.md
* They are not synced with the code to reflect the eventual solution that is committed * Google Docs is not a "code-oriented" tool, like asciidoc can be * Review in Google Docs is not as simple as a PR code review in GitHub ## Decision The *Build Tool Team* has decided to use Architectural Decision Records (aka ADR) to track decisions we want to follow. The main logic with ADRs is to describe (architectural) decisions made:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Mar 02 21:54:40 UTC 2024 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 13:20:59 UTC 2024 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/union/union_test.go
&mockAuthzHandler{decision: authorizer.DecisionAllow}, }, decision: authorizer.DecisionDeny, }, } for i, c := range cs { t.Run(fmt.Sprintf("case %v", i), func(t *testing.T) { authzHandler := New(c.authorizers...) decision, _, _ := authzHandler.Authorize(context.Background(), nil) if decision != c.decision { t.Errorf("Unexpected authorization failure: %v, expected: %v", decision, c.decision) } })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 7.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer_test.go
if decision != invocation.expected.decision { t.Errorf("(call %d of %d) expected decision %v, got %v", i+1, len(tc.calls), invocation.expected.decision, decision) } if reason != invocation.expected.reason { t.Errorf("(call %d of %d) expected reason %q, got %q", i+1, len(tc.calls), invocation.expected.reason, reason) } if err.Error() != invocation.expected.error.Error() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go
decision.Action = policyDecisionActionForError(f) decision.Evaluation = EvalError decision.Message = fmt.Sprintf("failed messageExpression: %s", err) } else if evalResult.EvalResult != celtypes.True { decision.Action = ActionDeny if validation.Reason == nil { decision.Reason = metav1.StatusReasonInvalid } else { decision.Reason = *validation.Reason }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 23:31:44 UTC 2024 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics.go
authorizerName string delegate authorizer.Authorizer } func (a *instrumentedAuthorizer) Authorize(ctx context.Context, attributes authorizer.Attributes) (authorizer.Decision, string, error) { decision, reason, err := a.delegate.Authorize(ctx, attributes) switch decision { case authorizer.DecisionNoOpinion: // non-terminal, not reported case authorizer.DecisionAllow: // matches SubjectAccessReview status.allowed field name
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 13:20:59 UTC 2024 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/union/union.go
// decision that is either an Allow decision or a Deny decision. If a // subauthorizer returns a NoOpinion, then the union authorizer moves onto the // next authorizer or, if the subauthorizer was the last authorizer, returns // NoOpinion as the aggregate decision. I.e. union authorizer creates an // aggregate decision and supports short-circuit allows and denies from // subauthorizers.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 28 20:27:28 UTC 2020 - 3.9K bytes - Viewed (0) -
pkg/registry/authorization/subjectaccessreview/rest_test.go
) type fakeAuthorizer struct { attrs authorizer.Attributes decision authorizer.Decision reason string err error } func (f *fakeAuthorizer) Authorize(ctx context.Context, attrs authorizer.Attributes) (authorizer.Decision, string, error) { f.attrs = attrs return f.decision, f.reason, f.err } func TestCreate(t *testing.T) { testcases := map[string]struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 16:06:18 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go
authz, ), ) } for _, validationResult := range validationResults { for i, decision := range validationResult.Decisions { switch decision.Action { case ActionAdmit: if decision.Evaluation == EvalError { celmetrics.Metrics.ObserveAdmissionWithError(ctx, decision.Elapsed, definition.Name, binding.Name, "active") } case ActionDeny:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 14.4K 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)