Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for lives (0.19 sec)

  1. pkg/proxy/nftables/README.md

    a single packet can go `input` -> "local process" -> `output`, which it cannot. Note also
    that the `ingress` and `egress` hooks are special and mostly not available to us;
    kube-proxy lives in the middle section of diagram, with the five main netfilter hooks.
    
    There are three paths through the diagram, called the "input", "forward", and "output"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 21 14:37:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. pkg/proxy/util/linebuffer.go

    	String() string
    
    	// Lines returns the number of lines in the buffer. Note that more precisely, this
    	// returns the number of times Write() or WriteBytes() was called; it assumes that
    	// you never wrote any newlines to the buffer yourself.
    	Lines() int
    }
    
    var _ logr.Marshaler = &realLineBuffer{}
    
    type realLineBuffer struct {
    	b     bytes.Buffer
    	lines int
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/cache/lruexpirecache_test.go

    	c := NewLRUExpireCache(10)
    	c.Add("long-lived", "12345", 10*time.Hour)
    
    	assertKeys(t, c.Keys(), []interface{}{"long-lived"})
    
    	expectEntry(t, c, "long-lived", "12345")
    }
    
    func TestSimpleRemove(t *testing.T) {
    	c := NewLRUExpireCache(10)
    	c.Add("long-lived", "12345", 10*time.Hour)
    	c.Remove("long-lived")
    
    	assertKeys(t, c.Keys(), []interface{}{})
    
    	expectNotEntry(t, c, "long-lived")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    	lines := strings.Split(log, "\n")
    	if len(lines) < 4 {
    		t.Fatalf("panic log should have 1 line of message, 1 line per goroutine and 2 lines per function call")
    	}
    	t.Logf("Got log output:\n%s", strings.Join(lines, "\n"))
    	if match, _ := regexp.MatchString(`"Observed a panic" panic="test panic"`, lines[0]); !match {
    		t.Errorf("mismatch panic message: %s", lines[0])
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. hack/verify-publishing-bot.py

            with open(os.path.join(rootdir, component, "go.mod")) as f:
                print((component + " dependencies"))
                all_dependencies[component] = []
                lines = list(set(f))
                lines.sort()
                for line in lines:
                    for dep in components:
                        if dep == component:
                            continue
                        if ("k8s.io/" + dep + " =>") not in line:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 16:07:40 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. pkg/controller/certificates/authority/policies.go

    //   - It sets IsCA to false.
    //   - It validates that the signer has not expired.
    //   - It sets NotBefore and NotAfter:
    //     All certificates set NotBefore = Now() - Backdate.
    //     Long-lived certificates set NotAfter = Now() + TTL - Backdate.
    //     Short-lived certificates set NotAfter = Now() + TTL.
    //     All certificates truncate NotAfter to the expiration date of the signer.
    type PermissiveSigningPolicy struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  7. .generated_files

    # Files that should be ignored by tools which do not want to consider generated
    # code.
    #
    # https://github.com/kubernetes/test-infra/blob/master/prow/plugins/size/size.go
    #
    # This file is a series of lines, each of the form:
    #     <type> <name>
    #
    # Type can be:
    #    path - an exact path to a single file
    #    file-name - an exact leaf filename, regardless of path
    #    path-prefix - a prefix match on the file path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 04 23:47:25 UTC 2022
    - 750 bytes
    - Viewed (0)
  8. pkg/controller/deployment/rollback.go

    		if rollbackTo.Revision = deploymentutil.LastRevision(logger, allRSs); rollbackTo.Revision == 0 {
    			// If we still can't find the last revision, gives up rollback
    			dc.emitRollbackWarningEvent(d, deploymentutil.RollbackRevisionNotFound, "Unable to find last revision.")
    			// Gives up rollback
    			return dc.updateDeploymentAndClearRollbackTo(ctx, d)
    		}
    	}
    	for _, rs := range allRSs {
    		v, err := deploymentutil.Revision(rs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go

    	}
    	liveObjVersioned, err := f.toVersioned(liveObj)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to convert live object (%v) to proper version: %v", objectGVKNN(liveObj), err)
    	}
    	newObjTyped, err := f.typeConverter.ObjectToTyped(newObjVersioned, typed.AllowDuplicates)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:55:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. pkg/kubelet/util/swap/swap_util_test.go

    			procSwapsContent: `
    Filename				Type		Size		Used		Priority
    /dev/dm-1               partition	33554428	0		-2
    /dev/zram0              partition	8388604		0		100
    `,
    			expectedEnabled: true,
    		},
    		{
    			name: "empty lines",
    			procSwapsContent: `
    
    `,
    			expectedEnabled: false,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top