- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for conflist (0.37 sec)
-
cni/pkg/install/cniconfig_test.go
goldenConfName: "list.conflist.golden", existingConfFiles: map[string]string{"bridge.conf": "bridge.conf", "list.conflist": "list.conflist"}, }, { name: "specified existing CNI config file (existing .conf to .conflist)", chainedCNIPlugin: true, specifiedConfName: "bridge.conflist", expectedConfName: "bridge.conflist", goldenConfName: "bridge.conf.golden",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 17 02:22:22 GMT 2023 - 15.4K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
files, err := libcni.ConfFiles(confDir, []string{".conf", ".conflist"}) switch { case err != nil: return "", err case len(files) == 0: return "", fmt.Errorf("no networks found in %s", confDir) } sort.Strings(files) for _, confFile := range files { var confList *libcni.NetworkConfigList if strings.HasSuffix(confFile, ".conflist") { confList, err = libcni.ConfListFromFile(confFile) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/test/install_k8s_test.go
}, }, { name: "Skip invalid .conflist files for first valid .conflist file", chainedCNIPlugin: true, resultFileName: "02-calico.conflist", expectedOutputFile: testDataDir + "/expected/10-calico.conflist-istioconfig", expectedPostCleanFile: testDataDir + "/pre/calico.conflist", cniConfDirOrderedFiles: []string{ "noname_calico.conflist",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jul 27 18:01:48 GMT 2022 - 8K bytes - Viewed (0) -
cni/pkg/install/install_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 11.1K bytes - Viewed (0) -
tests/upsert_test.go
} else if len(langs) != 1 { t.Errorf("should only find only 1 languages, but got %+v", langs) } else if langs[0].Name != "upsert-new" { t.Errorf("should update name on conflict, but got name %+v", langs[0].Name) } lang = Language{Code: "upsert", Name: "Upsert-Newname"} if err := DB.Clauses(clause.OnConflict{UpdateAll: true}).Create(&lang).Error; err != nil {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Sep 05 07:39:19 GMT 2022 - 11.4K bytes - Viewed (0) -
internal/config/api/api.go
GzipObjects: gzipObjects, RootAccess: rootAccess, } var corsAllowOrigin []string corsList := env.Get(EnvAPICorsAllowOrigin, kvs.Get(apiCorsAllowOrigin)) if corsList == "" { corsAllowOrigin = []string{"*"} // defaults to '*' } else { corsAllowOrigin = strings.Split(corsList, ",") for _, cors := range corsAllowOrigin { if cors == "" { return cfg, errors.New("invalid cors value") }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 28 01:08:07 GMT 2024 - 11.1K bytes - Viewed (1) -
tests/create_test.go
AssertEqual(t, err, nil) u := OnConflictUser{ ID: "on-conflict-user-id", Name: "on-conflict-user-name", Email: "on-conflict-user-email", Mobile: "on-conflict-user-mobile", } err = DB.Create(&u).Error AssertEqual(t, err, nil) u.Name = "on-conflict-user-name-2" u.Email = "on-conflict-user-email-2" u.Mobile = ""
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Mar 19 03:50:28 GMT 2024 - 26.4K bytes - Viewed (0) -
internal/dsync/dsync-client_test.go
return false } // Close closes the underlying socket file descriptor. func (restClient *ReconnectRESTClient) Close() error { return nil } var ( errLockConflict = errors.New("lock conflict") errLockNotFound = errors.New("lock not found") ) func toLockError(err error) error { if err == nil { return nil } switch err.Error() { case errLockConflict.Error(): return errLockConflict
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 20 17:36:09 GMT 2022 - 4.4K bytes - Viewed (0) -
internal/event/target/postgresql.go
psqlCreateAccessTable = `CREATE TABLE %s (event_time TIMESTAMP WITH TIME ZONE NOT NULL, event_data JSONB);` psqlUpdateRow = `INSERT INTO %s (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;` psqlDeleteRow = `DELETE FROM %s WHERE key = $1;` psqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES ($1, $2);` ) // Postgres constants const (
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:51:07 GMT 2024 - 13.3K bytes - Viewed (0) -
cmd/lock-rest-server-common.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 973 bytes - Viewed (0)