Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,095 for nameslice (0.3 sec)

  1. pilot/pkg/config/kube/gateway/testdata/invalid.yaml

    metadata:
      name: invalid-backendRef-kind
      namespace: default
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
      hostnames: ["first.domain.example"]
      rules:
      - backendRefs:
        - name: httpbin
          kind: GcsBucket
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: invalid-backendRef-notfound
      namespace: default
    spec:
      parentRefs:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/apis/scheduling/validation/validation_test.go

    	errorCases := map[string]scheduling.PriorityClass{
    		"with namespace": {
    			ObjectMeta: metav1.ObjectMeta{Name: "tier1", Namespace: "foo"},
    			Value:      100,
    		},
    		"invalid name": {
    			ObjectMeta: metav1.ObjectMeta{Name: "tier&1", Namespace: ""},
    			Value:      100,
    		},
    		"incorrect system class name": {
    			ObjectMeta:    metav1.ObjectMeta{Name: spcs[0].Name, Namespace: ""},
    			Value:         0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:30:47 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  3. pkg/config/resource/name.go

    type FullName struct {
    	Namespace Namespace
    	Name      LocalName
    }
    
    // String interface implementation.
    func (n FullName) String() string {
    	if len(n.Namespace) == 0 {
    		return string(n.Name)
    	}
    	return string(n.Namespace) + "/" + string(n.Name)
    }
    
    // NewShortOrFullName tries to parse the given name to resource.Name. If the name does not include namespace information,
    // the defaultNamespace is used.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 14 13:55:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. operator/pkg/apis/istio/v1alpha1/common.go

    import (
    	"istio.io/api/operator/v1alpha1"
    )
    
    const (
    	globalKey         = "global"
    	istioNamespaceKey = "istioNamespace"
    )
    
    // Namespace returns the namespace of the containing CR.
    func Namespace(iops *v1alpha1.IstioOperatorSpec) string {
    	if iops.Namespace != "" {
    		return iops.Namespace
    	}
    	if iops.Values == nil {
    		return ""
    	}
    	v := iops.Values.AsMap()
    	if v[globalKey] == nil {
    		return ""
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. pilot/pkg/model/credentials/resource.go

    	ResourceType string
    	// Name is the name of the secret
    	Name string
    	// Namespace is the namespace the secret resides in. For implicit namespace references (such as in KubernetesSecretType),
    	// this will be resolved to the appropriate namespace. As a result, this should never be empty.
    	Namespace string
    	// ResourceName is the original name of the resource
    	ResourceName string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 28 20:33:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. istioctl/pkg/cli/option.go

    		"Istio system namespace")
    	return r
    }
    
    // Namespace returns the namespace flag value.
    func (r *RootFlags) Namespace() string {
    	return *r.namespace
    }
    
    // IstioNamespace returns the istioNamespace flag value.
    func (r *RootFlags) IstioNamespace() string {
    	return *r.istioNamespace
    }
    
    // DefaultNamespace returns the default namespace to use.
    func (r *RootFlags) DefaultNamespace() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 18:01:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. pilot/pkg/model/credentials/resource_test.go

    			resource:         "kubernetes-gateway://namespace/cert",
    			defaultNamespace: "default",
    			expected: SecretResource{
    				ResourceType: KubernetesGatewaySecretType,
    				Name:         "cert",
    				Namespace:    "namespace",
    				ResourceName: "kubernetes-gateway://namespace/cert",
    				Cluster:      "config",
    			},
    		},
    		{
    			name:             "kubernetes-gateway without namespace",
    			resource:         "kubernetes-gateway://cert",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 28 20:33:15 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/namespace_handler.go

    )
    
    // NamespaceDiscoveryHandler is to handle namespace selected or deselected because of discoverySelectors change,
    // rather than namespace add/update/delete event triggered from namespace informer.
    func (s *Controller) NamespaceDiscoveryHandler(namespace string, event model.Event) {
    	if event == model.EventDelete {
    		log.Debugf("Handle event namespace %s deselected", namespace)
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 06 13:44:45 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/testdata/http.status.yaml.golden

          type: ResolvedRefs
        controllerName: istio.io/gateway-controller
        parentRef:
          name: gateway
          namespace: istio-system
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      creationTimestamp: null
      name: http-not-selected
      namespace: default
    spec: null
    status:
      parents:
      - conditions:
        - lastTransitionTime: fake
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "cache_list_total",
    			Help:           "Number of LIST requests served from watch cache",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"resource_prefix", "index"},
    	)
    	listCacheNumFetched = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "cache_list_fetched_objects_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top