Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetTable (0.17 sec)

  1. pkg/util/iptables/testing/fake.go

    	f.hasRandomFully = can
    	return f
    }
    
    // EnsureChain is part of iptables.Interface
    func (f *FakeIPTables) EnsureChain(table iptables.Table, chain iptables.Chain) (bool, error) {
    	t, err := f.Dump.GetTable(table)
    	if err != nil {
    		return false, err
    	}
    	if c, _ := f.Dump.GetChain(table, chain); c != nil {
    		return true, nil
    	}
    	t.Chains = append(t.Chains, Chain{Name: chain})
    	return false, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_edit.txt

    ! stdout .
    cmpenv go.mod $WORK/go.mod.goodfmt
    
    # go mod edit -module
    cd $WORK/m
    go mod init a.a/b/c
    go mod edit -module x.x/y/z
    cmpenv go.mod go.mod.edit
    
    # golang.org/issue/30513: don't require go-gettable module paths.
    cd $WORK/local
    go mod init foo
    go mod edit -module local-only -require=other-local@v1.0.0 -replace other-local@v1.0.0=./other
    cmpenv go.mod go.mod.edit
    
    # go mod edit -godebug
    cd $WORK/g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/net/tcpsockopt_openbsd.go

    func setKeepAliveIdle(_ *netFD, d time.Duration) error {
    	if d < 0 {
    		return nil
    	}
    	// OpenBSD has no user-settable per-socket TCP keepalive
    	// options.
    	return syscall.ENOPROTOOPT
    }
    
    func setKeepAliveInterval(_ *netFD, d time.Duration) error {
    	if d < 0 {
    		return nil
    	}
    	// OpenBSD has no user-settable per-socket TCP keepalive
    	// options.
    	return syscall.ENOPROTOOPT
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 759 bytes
    - Viewed (0)
  4. src/internal/reflectlite/export_test.go

    // The result is different from the zero value of the Value struct,
    // which represents no value at all.
    // For example, Zero(TypeOf(42)) returns a Value with Kind Int and value 0.
    // The returned value is neither addressable nor settable.
    func Zero(typ Type) Value {
    	if typ == nil {
    		panic("reflect: Zero(nil)")
    	}
    	t := typ.common()
    	fl := flag(t.Kind())
    	if t.IfaceIndir() {
    		return Value{t, unsafe_New(t), fl | flagIndir}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. pkg/kubemark/hollow_kubelet.go

    		KubeletConfiguration: *hk.KubeletConfiguration,
    	}, hk.KubeletDeps, false); err != nil {
    		klog.Fatalf("Failed to run HollowKubelet: %v. Exiting.", err)
    	}
    	select {}
    }
    
    // HollowKubeletOptions contains settable parameters for hollow kubelet.
    type HollowKubeletOptions struct {
    	NodeName            string
    	KubeletPort         int
    	KubeletReadOnlyPort int
    	MaxPods             int
    	PodsPerCore         int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top