- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newPoset (0.11 sec)
-
tests/embedded_struct_test.go
} if hnPost.Title != NewPost.Title { t.Errorf("Should find correct value for embedded pointer type") } if hnPost.Author.Name != NewPost.Author.Name { t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name) } if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
cni/pkg/ipset/ipset.go
// doesn't support creating `list:set` types yet (is in main branch tho). // So this will actually create 2 underlying ipsets, one for v4 and one for v6 func NewIPSet(name string, v6 bool, deps NetlinkIpsetDeps) (IPSet, error) { var err error set := IPSet{ V4Name: fmt.Sprintf(V4Name, name), Deps: deps, Prefix: name, } err = deps.ipsetIPHashCreate(set.V4Name, false)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
} // Write out a kubeconfig with one cert result, err = createKubeConfig(newCfg) if err != nil { t.Fatalf("did not expect failure: %v", err) } goldenNewFilepath := "testdata/kubeconfig-newhost" testutils.CompareContent(t, []byte(result.Full), goldenNewFilepath) } func TestCheckNoExistingKubeConfig(t *testing.T) { tmp := t.TempDir() os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 5.1K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
// // We will unconditionally flush our set before use here, so it shouldn't matter. func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) { linDeps := ipset.RealNlDeps() probeSet, err := ipset.NewIPSet(iptables.ProbeIPSet, isV6, linDeps) if err != nil { return probeSet, err } probeSet.Flush() return probeSet, nil } func (s *Server) Start() { log.Info("CNI ambient server starting")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 7.2K bytes - Viewed (0)