- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for insertCNIConfig (0.19 sec)
-
cni/pkg/install/cniconfig.go
continue } return filepath.Base(confFile), nil } return "", fmt.Errorf("no valid networks found in %s", confDir) } // insertCNIConfig will append newCNIConfig to existingCNIConfig func insertCNIConfig(newCNIConfig, existingCNIConfig []byte) ([]byte, error) { var istioMap map[string]any err := json.Unmarshal(newCNIConfig, &istioMap) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 8.2K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
existingConfFilepath := filepath.Join("testdata", c.existingConfFilename) existingConf := testutils.ReadFile(t, existingConfFilepath) output, err := insertCNIConfig(istioConf, existingConf) if err != nil { if !c.expectedFailure { t.Fatal(err) } return } goldenFilepath := existingConfFilepath + ".golden"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 15.3K bytes - Viewed (0)