Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 5,965 for nameslice (0.2 sec)

  1. pilot/pkg/config/kube/gateway/controller.go

    // filterNamespace allows filtering out configs to only a specific namespace. This allows implementing the
    // List call which can specify a specific namespace.
    func filterNamespace(cfgs []config.Config, namespace string) []config.Config {
    	if namespace == metav1.NamespaceAll {
    		return cfgs
    	}
    	return slices.Filter(cfgs, func(c config.Config) bool {
    		return c.Namespace == namespace
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/istio-workload-dashboard.json

            "refresh": 1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 102.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/types/namespacedname.go

    	return struct {
    		Name      string `json:"name"`
    		Namespace string `json:"namespace,omitempty"`
    	}{
    		Name:      n.Name,
    		Namespace: n.Namespace,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 10:47:59 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/virtualservice_destinationhosts.yaml

      name: cross-namespace
      namespace: istio-system
    spec:
      hosts: [reviews]
      http:
        - route:
            - destination:
                # Should not generate error because the this host exists, just not in our namespace
                host: reviews.default.svc.cluster.local
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: details
      namespace: default
      annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 21 21:37:53 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. istioctl/pkg/cli/context_test.go

    	ns := handleNamespace("test", "default")
    	if ns != "test" {
    		t.Fatalf("Get the incorrect namespace: %q back", ns)
    	}
    
    	tests := []struct {
    		description      string
    		namespace        string
    		defaultNamespace string
    		wantNamespace    string
    	}{
    		{
    			description:      "return test namespace",
    			namespace:        "test",
    			defaultNamespace: "default",
    			wantNamespace:    "test",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-role-bindings.yaml

      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: ClusterRole
        name: system:controller:namespace-controller
      subjects:
      - kind: ServiceAccount
        name: namespace-controller
        namespace: kube-system
    - apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRoleBinding
      metadata:
        annotations:
          rbac.authorization.kubernetes.io/autoupdate: "true"
        creationTimestamp: null
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. plugin/pkg/admission/namespace/exists/admission_test.go

    		Spec: api.PodSpec{
    			Volumes:    []api.Volume{{Name: "vol"}},
    			Containers: []api.Container{{Name: "ctr", Image: "image"}},
    		},
    	}
    }
    
    // TestAdmissionNamespaceExists verifies pod is admitted only if namespace exists.
    func TestAdmissionNamespaceExists(t *testing.T) {
    	namespace := "test"
    	mockClient := newMockClientForTest([]string{namespace})
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher_test.go

    	"k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace"
    )
    
    type fakeNamespaceLister struct {
    	namespaces map[string]*corev1.Namespace
    }
    
    func (f fakeNamespaceLister) List(selector labels.Selector) (ret []*corev1.Namespace, err error) {
    	return nil, nil
    }
    func (f fakeNamespaceLister) Get(name string) (*corev1.Namespace, error) {
    	ns, ok := f.namespaces[name]
    	if ok {
    		return ns, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 26 00:41:14 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  9. pilot/pkg/model/push_context.go

    		ps.gatewayIndex.namespace = make(map[string][]config.Config)
    		for _, gatewayConfig := range gatewayConfigs {
    			if _, exists := ps.gatewayIndex.namespace[gatewayConfig.Namespace]; !exists {
    				ps.gatewayIndex.namespace[gatewayConfig.Namespace] = make([]config.Config, 0)
    			}
    			ps.gatewayIndex.namespace[gatewayConfig.Namespace] = append(ps.gatewayIndex.namespace[gatewayConfig.Namespace], gatewayConfig)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  10. pkg/test/framework/components/authz/server.go

    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    // Server for custom authz.
    type Server interface {
    	Namespace() namespace.Instance
    
    	// Providers returns the list of Provider instances.
    	Providers() []Provider
    }
    
    // New creates a new authz Server.
    func New(ctx resource.Context, ns namespace.Instance) (Server, error) {
    	return newKubeServer(ctx, ns)
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 14 23:39:05 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top