Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 99 for layers (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	ResourcePrefix string
    
    	// KeyFunc is used to get a key in the underlying storage for a given object.
    	KeyFunc func(runtime.Object) (string, error)
    
    	// GetAttrsFunc is used to get object labels, fields
    	GetAttrsFunc func(runtime.Object) (label labels.Set, field fields.Set, err error)
    
    	// IndexerFuncs is used for optimizing amount of watchers that
    	// needs to process an incoming event.
    	IndexerFuncs storage.IndexerFuncs
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    		} else if tt, found := gatewayClass.Labels[constants.AmbientWaypointForTrafficTypeLabel]; found {
    			// Check for a declared traffic type that is allowed to pass through the Waypoint's GatewayClass
    			trafficType = tt
    		}
    
    		// Check for a declared traffic type that is allowed to pass through the Waypoint
    		if tt, found := gateway.Labels[constants.AmbientWaypointForTrafficTypeLabel]; found {
    			trafficType = tt
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    			errs = AppendValidation(errs, fmt.Errorf("config namespace and gateway name cannot be empty"))
    		}
    
    		// namespace and name must be DNS labels
    		if !labels.IsDNS1123Label(parts[0]) {
    			errs = AppendValidation(errs, fmt.Errorf("invalid value for namespace: %q", parts[0]))
    		}
    
    		if !labels.IsDNS1123Label(parts[1]) && !gatewaySemantics {
    			errs = AppendValidation(errs, fmt.Errorf("invalid value for gateway name: %q", parts[1]))
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry_test.go

    const (
    	reportingEnabled  = false
    	reportingDisabled = !reportingEnabled
    )
    
    func TestTracing(t *testing.T) {
    	sidecar := &Proxy{
    		ConfigNamespace: "default",
    		Labels:          map[string]string{"app": "test"},
    		Metadata:        &NodeMetadata{Labels: map[string]string{"app": "test"}},
    	}
    	envoy := &tpb.Telemetry{
    		Tracing: []*tpb.Tracing{
    			{
    				Providers: []*tpb.ProviderRef{
    					{
    						Name: "envoy",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_test.go

    		existingNode     *v1.Node
    		isPatchingNeeded bool
    	}{
    		{
    			name:             "no labels",
    			existingNode:     &v1.Node{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{}}},
    			isPatchingNeeded: true,
    		},
    		{
    			name:             "wrong labels",
    			existingNode:     &v1.Node{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{v1.LabelOSStable: "dummyOS", v1.LabelArchStable: "dummyArch"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  6. pkg/kube/kclient/client_test.go

    	testns := clienttest.NewWriter[*corev1.Namespace](t, c)
    	testns.Create(&corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "default", Labels: map[string]string{"kubernetes.io/metadata.name": "default"}}})
    	testns.Create(&corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "selected", Labels: map[string]string{"kubernetes.io/metadata.name": "selected"}}})
    	namespaces := kclient.New[*corev1.Namespace](c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier.go

    		return
    	}
    
    	if reflect.DeepEqual(proxier.nodeLabels, node.Labels) {
    		return
    	}
    
    	proxier.mu.Lock()
    	proxier.nodeLabels = map[string]string{}
    	for k, v := range node.Labels {
    		proxier.nodeLabels[k] = v
    	}
    	proxier.mu.Unlock()
    	proxier.logger.V(4).Info("Updated proxier node labels", "labels", node.Labels)
    
    	proxier.Sync()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/crdclient/client.go

    	return c
    }
    
    func getObjectMetadata(config config.Config) metav1.ObjectMeta {
    	return metav1.ObjectMeta{
    		Name:            config.Name,
    		Namespace:       config.Namespace,
    		Labels:          config.Labels,
    		Annotations:     config.Annotations,
    		ResourceVersion: config.ResourceVersion,
    		OwnerReferences: config.OwnerReferences,
    		UID:             types.UID(config.UID),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/util/util.go

    	}
    }
    
    func MaybeBuildStatefulSessionFilterConfig(svc *model.Service) *statefulsession.StatefulSession {
    	if svc == nil {
    		return nil
    	}
    	sessionCookie := svc.Attributes.Labels[features.PersistentSessionLabel]
    	sessionHeader := svc.Attributes.Labels[features.PersistentSessionHeaderLabel]
    
    	switch {
    	case sessionCookie != "":
    		cookieName, cookiePath, found := strings.Cut(sessionCookie, ":")
    		if !found {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirFunctionalType.kt

        override val contextReceivers: List<KaContextReceiver> by cached {
            coneType.contextReceiversTypes(builder.rootSession)
                .map {
                    // Context receivers in function types may not have labels, hence the `null` label.
                    KaContextReceiverImpl(it.buildKtType(), label = null, token)
                }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top