Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for foo_ns (0.12 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    		}),
    		Namespace: cfg.Namespace,
    		Scope:     scope,
    		Action:    action,
    		Groups:    []*security.Group{{Rules: rules}},
    	}
    
    	return opol
    }
    
    func convertAuthorizationPolicy(rootns string, obj *securityclient.AuthorizationPolicy) *security.Authorization {
    	pol := &obj.Spec
    
    	polTargetRef := model.GetTargetRefs(pol)
    	if len(polTargetRef) > 0 {
    		// TargetRef is not intended for ztunnel
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    	}
    }
    
    const fixtureItemsAndType = `
    apiVersion: apiextensions.k8s.io/v1
    kind: CustomResourceDefinition
    metadata:
      name: foos.tests.example.com
    spec:
      group: tests.example.com
      version: v1beta1
      names:
        plural: foos
        singular: foo
        kind: Foo
        listKind: Foolist
      scope: Cluster
      versions:
      - name: v1beta1
        served: true
        storage: true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/pruning_test.go

    	"k8s.io/apiextensions-apiserver/test/integration/fixtures"
    )
    
    var pruningFixture = &apiextensionsv1.CustomResourceDefinition{
    	ObjectMeta: metav1.ObjectMeta{Name: "foos.tests.example.com"},
    	Spec: apiextensionsv1.CustomResourceDefinitionSpec{
    		Group: "tests.example.com",
    		Scope: apiextensionsv1.ClusterScoped,
    		Versions: []apiextensionsv1.CustomResourceDefinitionVersion{
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  4. pkg/registry/core/service/strategy_test.go

    		Resource: "foos",
    	})
    
    	expect := errors.NewNotFound(api.Resource("foos"), "bar")
    	if err := rest.CheckGeneratedNameError(ctx, Strategy, expect, &api.Service{}); err != expect {
    		t.Errorf("NotFoundError should be ignored: %v", err)
    	}
    
    	expect = errors.NewAlreadyExists(api.Resource("foos"), "bar")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. pkg/kube/krt/collection_test.go

    	// Setup a simple collection that fetches the same dependency twice
    	Results := krt.NewCollection(pods, func(ctx krt.HandlerContext, i *corev1.Pod) *Result {
    		foos := krt.Fetch(ctx, configMaps, krt.FilterLabel(lblFoo))
    		bars := krt.Fetch(ctx, configMaps, krt.FilterLabel(lblBar))
    		names := slices.Map(foos, func(f *corev1.ConfigMap) string { return f.Name })
    		names = append(names, slices.Map(bars, func(f *corev1.ConfigMap) string { return f.Name })...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go

    		{
    			Name:                 "nonexisting group, resource request, presync",
    			Method:               "GET",
    			Path:                 "/apis/custom/v2/foos",
    			APIGroup:             "custom",
    			APIVersion:           "v2",
    			Verb:                 "list",
    			Resource:             "foos",
    			HasSynced:            false,
    			IsResourceRequest:    true,
    			ExpectDelegateCalled: true,
    			ExpectStatus:         503,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  7. plugin/pkg/admission/antiaffinity/admission_test.go

    		kind        string
    		resource    string
    		subresource string
    		object      runtime.Object
    		expectError bool
    	}{
    		{
    			name:     "non-pod resource",
    			kind:     "Foo",
    			resource: "foos",
    			object:   pod,
    		},
    		{
    			name:        "pod subresource",
    			kind:        "Pod",
    			resource:    "pods",
    			subresource: "eviction",
    			object:      pod,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  8. pilot/pkg/xds/proxy_dependencies_test.go

    	const (
    		svcName        = "svc1.com"
    		privateSvcName = "private.com"
    		drName         = "dr1"
    		vsName         = "vs1"
    		scName         = "sc1"
    		nsName         = "ns1"
    		nsRoot         = "rootns"
    		generalName    = "name1"
    
    		invalidNameSuffix = "invalid"
    	)
    
    	type Case struct {
    		name    string
    		proxy   *model.Proxy
    		configs sets.Set[model.ConfigKey]
    		want    bool
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Throwables.java

    @ElementTypesAreNonnullByDefault
    public final class Throwables {
      private Throwables() {}
    
      /**
       * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage:
       *
       * <pre>
       * for (Foo foo : foos) {
       *   try {
       *     foo.bar();
       *   } catch (BarException | RuntimeException | Error t) {
       *     failure = t;
       *   }
       * }
       * if (failure != null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

    @ElementTypesAreNonnullByDefault
    public final class Throwables {
      private Throwables() {}
    
      /**
       * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage:
       *
       * <pre>
       * for (Foo foo : foos) {
       *   try {
       *     foo.bar();
       *   } catch (BarException | RuntimeException | Error t) {
       *     failure = t;
       *   }
       * }
       * if (failure != null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top