Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for withPanels (0.24 sec)

  1. pkg/log/scope_test.go

    	s := RegisterScope(name, desc)
    	s.SetOutputLevel(DebugLevel)
    
    	lines, err := captureStdout(func() {
    		Configure(DefaultOptions())
    		funcs.Store(funcs.Load().(patchTable))
    		s2 := s.WithLabels("foo", "bar").WithLabels("baz", 123, "qux", 0.123).WithLabels("foo", "override")
    		s2.Debug("Hello")
    		// s should be unmodified.
    		s.Debug("Hello")
    
    		_ = Sync()
    	})
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. pkg/kube/krt/collection.go

    				if !f {
    					h.log.WithLabels("oKey", oKey).Errorf("invalid event, deletion of non-existent object")
    					continue
    				}
    				e := Event[O]{
    					Event: controllers.EventDelete,
    					Old:   &oldRes,
    				}
    				events = append(events, e)
    				delete(h.collectionState.outputs, oKey)
    				if h.log.DebugEnabled() {
    					h.log.WithLabels("res", oKey).Debugf("handled delete")
    				}
    			}
    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. pkg/log/scope.go

    	return &out
    }
    
    // WithLabels adds a key-value pairs to the labels in s. The key must be a string, while the value may be any type.
    // It returns a copy of s, with the labels added.
    // e.g. newScope := oldScope.WithLabels("foo", "bar", "baz", 123, "qux", 0.123)
    func (s *Scope) WithLabels(kvlist ...any) *Scope {
    	out := s.copy()
    	if len(kvlist)%2 != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 16:47:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. pkg/istio-agent/xds_proxy_delta.go

    	return p.handleDeltaUpstream(ctx, con, xds)
    }
    
    func (p *XdsProxy) handleDeltaUpstream(ctx context.Context, con *ProxyConnection, xds discovery.AggregatedDiscoveryServiceClient) error {
    	log := proxyLog.WithLabels("id", con.conID)
    	deltaUpstream, err := xds.DeltaAggregatedResources(ctx,
    		grpc.MaxCallRecvMsgSize(defaultClientMaxReceiveMessageSize))
    	if err != nil {
    		// Envoy logs errors again, so no need to log beyond debug level
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. pkg/webhooks/validation/controller/controller.go

    	return c
    }
    
    func (c *Controller) Reconcile(key types.NamespacedName) error {
    	name := key.Name
    	whc := c.webhooks.Get(name, "")
    	scope := scope.WithLabels("webhook", name)
    	// Stop early if webhook is not present, rather than attempting (and failing) to reconcile permanently
    	// If the webhook is later added a new reconciliation request will trigger it to update
    	if whc == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. pkg/istio-agent/xds_proxy.go

    func upstreamErr(con *ProxyConnection, err error) {
    	if istiogrpc.IsExpectedGRPCError(err) {
    		proxyLog.WithLabels("id", con.conID).Debugf("upstream terminated with status %v", err)
    		metrics.IstiodConnectionCancellations.Increment()
    	} else {
    		proxyLog.WithLabels("id", con.conID).Warnf("upstream terminated with unexpected error %v", err)
    		metrics.IstiodConnectionErrors.Increment()
    	}
    	select {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example.go

    func (b *ExampleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ExampleApplyConfiguration {
    	b.ensureObjectMetaApplyConfigurationExists()
    	b.DeletionGracePeriodSeconds = &value
    	return b
    }
    
    // WithLabels puts the entries into the Labels field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 10:01:37 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinition.go

    	b.ensureObjectMetaApplyConfigurationExists()
    	b.DeletionGracePeriodSeconds = &value
    	return b
    }
    
    // WithLabels puts the entries into the Labels field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin.go

    	setupLogging(conf)
    
    	var loggedPrevResult any
    	if conf.PrevResult == nil {
    		loggedPrevResult = "none"
    	} else {
    		loggedPrevResult = conf.PrevResult
    	}
    	log.WithLabels("if", args.IfName).Debugf("istio-cni CmdAdd config: %+v", conf)
    	log.Debugf("istio-cni CmdAdd previous result: %+v", loggedPrevResult)
    
    	// Determine if running under k8s by checking the CNI args
    	k8sArgs := K8sArgs{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicy.go

    	b.ensureObjectMetaApplyConfigurationExists()
    	b.DeletionGracePeriodSeconds = &value
    	return b
    }
    
    // WithLabels puts the entries into the Labels field in the declarative configuration
    // and returns the receiver, so that objects can be build by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 02:44:28 UTC 2023
    - 13.4K bytes
    - Viewed (0)
Back to top