Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for recorder (0.11 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go

    func NewRecordFlags() *RecordFlags {
    	record := false
    
    	return &RecordFlags{
    		Record: &record,
    	}
    }
    
    // Recorder is used to record why a runtime.Object was changed in an annotation.
    type Recorder interface {
    	// Record records why a runtime.Object was changed in an annotation.
    	Record(runtime.Object) error
    	MakeRecordMergePatch(runtime.Object) ([]byte, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. pkg/proxy/util/utils.go

    func LogAndEmitIncorrectIPVersionEvent(recorder events.EventRecorder, fieldName, fieldValue, svcNamespace, svcName string, svcUID types.UID) {
    	errMsg := fmt.Sprintf("%s in %s has incorrect IP version", fieldValue, fieldName)
    	klog.ErrorS(nil, "Incorrect IP version", "service", klog.KRef(svcNamespace, svcName), "field", fieldName, "value", fieldValue)
    	if recorder != nil {
    		recorder.Eventf(
    			&v1.ObjectReference{
    				Kind:      "Service",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/trace/jsontrace_test.go

    }
    
    func recordJSONTraceHandlerResponse(t *testing.T, parsed *parsedTrace) format.Data {
    	h := JSONTraceHandler(parsed)
    	recorder := httptest.NewRecorder()
    	r := httptest.NewRequest("GET", "/jsontrace", nil)
    	h.ServeHTTP(recorder, r)
    
    	var data format.Data
    	if err := json.Unmarshal(recorder.Body.Bytes(), &data); err != nil {
    		t.Fatal(err)
    	}
    	return data
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. cmd/http-tracer.go

    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// Setup a http request response recorder - this is needed for
    		// http stats requests and audit if enabled.
    		respRecorder := xhttp.NewResponseRecorder(w)
    
    		// Setup a http request body recorder
    		reqRecorder := &xhttp.RequestRecorder{Reader: r.Body}
    		r.Body = reqRecorder
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. pkg/kubemark/hollow_kubelet.go

    		NodeStartupLatencyTracker: kubeletutil.NewNodeStartupLatencyTracker(),
    		TracerProvider:            noopoteltrace.NewTracerProvider(),
    		Recorder:                  &record.FakeRecorder{}, // With real recorder we attempt to read /dev/kmsg.
    	}
    
    	return &HollowKubelet{
    		KubeletFlags:         flags,
    		KubeletConfiguration: config,
    		KubeletDeps:          d,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. .gitignore

    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    docs/debugging/pprofgoparser/pprofgoparser
    docs/debugging/reorder-disks/reorder-disks
    docs/debugging/populate-hard-links/populate-hardlinks
    docs/debugging/xattr/xattr
    hash-set
    healing-bin
    inspect
    pprofgoparser
    reorder-disks
    s3-check-md5
    s3-verify
    xattr
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 802 bytes
    - Viewed (0)
  7. src/go/ast/walk_test.go

    // license that can be found in the LICENSE file.
    
    package ast_test
    
    import (
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"testing"
    )
    
    func TestPreorderBreak(t *testing.T) {
    	// This test checks that Preorder correctly handles a break statement while
    	// in the middle of walking a node. Previously, incorrect handling of the
    	// boolean returned by the yield function resulted in the iterator calling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 916 bytes
    - Viewed (0)
  8. docs/debugging/reorder-disks/go.mod

    module github.com/minio/minio/docs/debugging/reorder-disks
    
    go 1.21
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 108 bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/go/ast/66339.md

    The new [Preorder] function returns a convenient iterator over all the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 95 bytes
    - Viewed (0)
  10. src/go/ast/walk.go

    // call of f(nil).
    func Inspect(node Node, f func(Node) bool) {
    	Walk(inspector(f), node)
    }
    
    // Preorder returns an iterator over all the nodes of the syntax tree
    // beneath (and including) the specified root, in depth-first
    // preorder.
    //
    // For greater control over the traversal of each subtree, use [Inspect].
    func Preorder(root Node) iter.Seq[Node] {
    	return func(yield func(Node) bool) {
    		ok := true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top