Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for withName (0.23 sec)

  1. hack/golangci-strict.yaml

              contextual k8s.io/kubernetes/pkg/scheduler/.*
              contextual k8s.io/kubernetes/test/e2e/dra/.*
              
              # As long as contextual logging is alpha or beta, all WithName, WithValues,
              # NewContext calls have to go through klog. Once it is GA, we can lift
              # this restriction. Whether we then do a global search/replace remains
              # to be decided.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. pkg/kube/krt/collection.go

    	}
    	for _, handler := range handlers {
    		handler(slices.Clone(events), false)
    	}
    }
    
    // WithName allows explicitly naming a controller. This is a best practice to make debugging easier.
    // If not set, a default name is picked.
    func WithName(name string) CollectionOption {
    	return func(c *collectionOptions) {
    		c.name = name
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. hack/golangci.yaml

              contextual k8s.io/kubernetes/pkg/scheduler/.*
              contextual k8s.io/kubernetes/test/e2e/dra/.*
              
              # As long as contextual logging is alpha or beta, all WithName, WithValues,
              # NewContext calls have to go through klog. Once it is GA, we can lift
              # this restriction. Whether we then do a global search/replace remains
              # to be decided.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    		if tt, found := gateway.Labels[constants.AmbientWaypointForTrafficTypeLabel]; found {
    			trafficType = tt
    		}
    
    		return makeWaypoint(gateway, gatewayClass, serviceAccounts, trafficType)
    	}, krt.WithName("Waypoints"))
    }
    
    func makeInboundBinding(gateway *v1beta1.Gateway, gatewayClass *v1beta1.GatewayClass) InboundBinding {
    	annotation, ok := getGatewayOrGatewayClassAnnotation(gateway, gatewayClass)
    	if !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/controllermanager.go

    	if controllerCtx.Cloud != nil {
    		controllerCtx.Cloud.Initialize(controllerCtx.ClientBuilder, ctx.Done())
    	}
    
    	// Each controller is passed a context where the logger has the name of
    	// the controller set through WithName. That name then becomes the prefix of
    	// of all log messages emitted by that controller.
    	//
    	// In StartController, an explicit "controller" key is used instead, for two reasons:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  6. pkg/controller/resourceclaim/controller.go

    		statuses := make([]*corev1apply.PodResourceClaimStatusApplyConfiguration, 0, len(newPodClaims))
    		for podClaimName, resourceClaimName := range newPodClaims {
    			statuses = append(statuses, corev1apply.PodResourceClaimStatus().WithName(podClaimName).WithResourceClaimName(resourceClaimName))
    		}
    		podApply := corev1apply.Pod(name, namespace).WithStatus(corev1apply.PodStatus().WithResourceClaimStatuses(statuses...))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top