- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 258 for Decisions (0.2 sec)
-
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) -
tools/bug-report/pkg/bugreport/bugreport.go
defer logRuntime(time.Now(), "Done getting control plane revisions/versions") text := "" text += fmt.Sprintf("CLI version:\n%s\n\n", version.Info.LongForm()) revisions := getIstioRevisions(resources) istioVersions, proxyVersions := getIstioVersions(ctx, istioNamespace, revisions) text += "The following Istio control plane revisions/versions were found in the cluster:\n" for rev, ver := range istioVersions {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 20:57:29 UTC 2024 - 20.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
authorizerResult: authorizerResult{decision: authorizer.DecisionAllow, reason: "", err: nil}, }, defaultResult: authorizerResult{decision: authorizer.DecisionDeny, reason: "", err: nil}, } } type fakeAuthorizer struct { match *authorizerMatch defaultResult authorizerResult } type authorizerResult struct { decision authorizer.Decision reason string err error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go
// encounter an error. We are failing open now to preserve backwards compatible // behavior. func (w *WebhookAuthorizer) Authorize(ctx context.Context, attr authorizer.Attributes) (decision authorizer.Decision, reason string, err error) { r := &authorizationv1.SubjectAccessReview{} if user := attr.GetUser(); user != nil { r.Spec = authorizationv1.SubjectAccessReviewSpec{ User: user.GetName(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_test.go
} } // It should not adopt revisions. revisions, err := ssh.ListControllerRevisions(set, selector) if err != nil { t.Fatal(err) } if got, want := len(revisions), 1; got != want { t.Errorf("len(revisions) = %v, want %v", got, want) } for _, revision := range revisions { if len(revision.OwnerReferences) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.1K bytes - Viewed (0) -
tests/integration/pilot/ingress_test.go
inject := false if t.Settings().Compatibility { inject = true } injectLabel := `sidecar.istio.io/inject: "true"` if t.Settings().Revisions.Default() != "" { injectLabel = fmt.Sprintf(`istio.io/rev: "%v"`, t.Settings().Revisions.Default()) } templateParams := map[string]string{ "imagePullSecret": t.Settings().Image.PullSecretNameOrFail(t), "injectLabel": injectLabel,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 19.5K bytes - Viewed (0) -
operator/cmd/mesh/operator-remove.go
// operatorNamespace is the namespace the operator controller is installed into. operatorNamespace string // revision is the Istio control plane revision the command targets. revision string // purge if set to true, all revisions of Istio operator will be specified. purge bool } func addOperatorRemoveFlags(cmd *cobra.Command, oiArgs *operatorRemoveArgs) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/test/framework/components/istio/kube.go
return nil, err } // Populate the revisions for the control plane. var revisions resource.RevVerMap if !cfg.DeployIstio { // Using a pre-installed control plane. Get the revisions from the // command-line. revisions = ctx.Settings().Revisions } else if len(iop.Spec.Revision) > 0 { // Use revisions from the default control plane operator. revisions = resource.RevVerMap{ iop.Spec.Revision: "", }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 31.1K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils.go
// nextRevision finds the next valid revision number based on revisions. If the length of revisions // is 0 this is 1. Otherwise, it is 1 greater than the largest revision's Revision. This method // assumes that revisions has been sorted by Revision. func nextRevision(revisions []*apps.ControllerRevision) int64 { count := len(revisions) if count <= 0 { return 1 } return revisions[count-1].Revision + 1 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
operator/cmd/mesh/uninstall.go
if err != nil { return err } } else { kubeClientWithRev = kubeClient } if uiArgs.revision != "" { revisions, err := tag.ListRevisionDescriptions(kubeClient) if err != nil { return fmt.Errorf("could not list revisions: %s", err) } if _, exists := revisions[uiArgs.revision]; !exists { return errors.New("could not find target revision") } } cache.FlushObjectCaches()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 10.4K bytes - Viewed (0)