Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 205 for decisions (0.11 sec)

  1. 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)
  2. 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)
  3. pilot/pkg/leaderelection/leaderelection_test.go

    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/kubernetes/fake"
    	k8stesting "k8s.io/client-go/testing"
    
    	"istio.io/istio/pkg/revisions"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const testLock = "test-lock"
    
    func createElection(t *testing.T,
    	name string, revision string,
    	watcher revisions.DefaultWatcher,
    	expectLeader bool,
    	client kubernetes.Interface, fns ...func(stop <-chan struct{}),
    ) (*LeaderElection, chan struct{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/configmap.go

    	ctx       resource.Context
    	namespace string
    	mu        sync.Mutex
    	revisions resource.RevVerMap
    }
    
    type meshConfig struct {
    	configMap
    	meshConfig *meshconfig.MeshConfig
    }
    
    type injectConfig struct {
    	configMap
    	injectConfig *inject.Config
    	values       *inject.ValuesConfig
    }
    
    func newConfigMap(ctx resource.Context, namespace string, revisions resource.RevVerMap) *configMap {
    	return &configMap{
    		ctx:       ctx,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionsInPlatformCentricDevelopmentIntegrationTest.groovy

            platformType << PlatformType.values()
        }
    
        void "(4) library developer has issues with org:foo:3.1.1 and forces an override of the platform decision with strictly [#platformType]"() {
            // issue with enforced platform: consumer can not override platform decision via constraint
            //                               (an override via an own forced dependency is possible)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_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: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top