- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ReadCNIConfigMap (0.09 sec)
-
cni/pkg/install/install.go
if in.cfg.ChainedCNIPlugin { installLog.Infof("removing Istio CNI config from CNI config file: %s", in.cniConfigFilepath) // Read JSON from CNI config file cniConfigMap, err := util.ReadCNIConfigMap(in.cniConfigFilepath) if err != nil { return fmt.Errorf("failed to read CNI config map from file %s: %w", in.cniConfigFilepath, err) } // Find Istio CNI and remove from plugin list
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
} case err, ok := <-watcher.Errors: if !ok { return } errChan <- err } } } // Read CNI config from file and return the unmarshalled JSON as a map func ReadCNIConfigMap(path string) (map[string]any, error) { cniConfig, err := os.ReadFile(path) if err != nil { return nil, err } var cniConfigMap map[string]any
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 3.6K bytes - Viewed (0) -
cni/test/install_cni.go
} } // Removes Istio CNI's config from the CNI config file func rmCNIConfig(cniConfigFilepath string, t *testing.T) { t.Helper() // Read JSON from CNI config file cniConfigMap, err := util.ReadCNIConfigMap(cniConfigFilepath) if err != nil { t.Fatal(err) } // Find Istio CNI and remove from plugin list plugins, err := util.GetPlugins(cniConfigMap) if err != nil { t.Fatal(err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 11.3K bytes - Viewed (0)