- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for plugins (0.24 sec)
-
cni/pkg/util/pluginutil.go
} // Given an unmarshalled CNI config JSON map, return the plugin list asserted as a []interface{} func GetPlugins(cniConfigMap map[string]any) (plugins []any, err error) { plugins, ok := cniConfigMap["plugins"].([]any) if !ok { err = fmt.Errorf("error reading plugin list from CNI config") return } return } // Given the raw plugin interface, return the plugin asserted as a map[string]interface{}
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 3.6K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
} for i, rawPlugin := range plugins { plugin, err := util.GetPlugin(rawPlugin) if err != nil { return nil, fmt.Errorf("existing CNI plugin: %v", err) } if plugin["type"] == "istio-cni" { plugins = append(plugins[:i], plugins[i+1:]...) break } } newMap["plugins"] = append(plugins, istioMap) } return util.MarshalCNIConfig(newMap)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/test/install_cni.go
t.Fatal(err) } // Find Istio CNI and remove from plugin list plugins, err := util.GetPlugins(cniConfigMap) if err != nil { t.Fatal(err) } for i, rawPlugin := range plugins { plugin, err := util.GetPlugin(rawPlugin) if err != nil { t.Fatal(err) } if plugin["type"] == "istio-cni" { cniConfigMap["plugins"] = append(plugins[:i], plugins[i+1:]...) break } }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/cmd/root.go
rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{ Title: "Istio CNI Plugin Installer", Section: "install-cni CLI", Manual: "Istio CNI Plugin Installer", })) registerStringParameter(constants.CNINetDir, "/etc/cni/net.d", "Directory on the host where CNI network plugins are installed") registerStringParameter(constants.CNIConfName, "", "Name of the CNI configuration file")
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
gorm.go
} } relation.JoinTable = joinSchema return nil } // Use use plugin func (db *DB) Use(plugin Plugin) error { name := plugin.Name() if _, ok := db.Plugins[name]; ok { return ErrRegistered } if err := plugin.Initialize(db); err != nil { return err } db.Plugins[name] = plugin return nil } // ToSQL for generate SQL string. //
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sun Aug 20 11:46:56 GMT 2023 - 11.6K bytes - Viewed (0) -
cni/pkg/install/install.go
} // Find Istio CNI and remove from plugin list plugins, err := util.GetPlugins(cniConfigMap) if err != nil { return fmt.Errorf("%s: %w", in.cniConfigFilepath, err) } for i, rawPlugin := range plugins { plugin, err := util.GetPlugin(rawPlugin) if err != nil { return fmt.Errorf("%s: %w", in.cniConfigFilepath, err) } if plugin["type"] == "istio-cni" {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 10.8K bytes - Viewed (0) -
cni/test/install_k8s_test.go
// See the License for the specific language governing permissions and // limitations under the License. // This tests the k8s installation. It validates the CNI plugin configuration // and the existence of the CNI plugin binary locations. package install_test import ( "testing" install "istio.io/istio/cni/test" "istio.io/istio/pkg/test/env" ) var ( Hub = "gcr.io/istio-release"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Jul 27 18:01:48 GMT 2022 - 8K bytes - Viewed (0) -
cni/pkg/install/monitoring.go
resultCreateCNIConfigFailure = "CREATE_CNI_CONFIG_FAILURE" cniInstalls = monitoring.NewSum( "istio_cni_installs_total", "Total number of CNI plugins installed by the Istio CNI installer", ) installReady = monitoring.NewGauge( "istio_cni_install_ready", "Whether the CNI plugin installation is ready or not", )
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Jul 17 20:25:52 GMT 2023 - 1.2K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
log.Errorf("Failed to unmarshal CNI plugin event: %v", err) return msg, err } log.Debugf("Deserialized CNI plugin event: %+v", msg) return msg, nil } func (s *CniPluginServer) ReconcileCNIAddEvent(ctx context.Context, addCmd CNIPluginAddEvent) error { log := log.WithLabels("cni-event", addCmd) log.Debugf("netns: %s", addCmd.Netns)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \ | kubectl --kubeconfig=c1.yaml delete -f - # Create a secret access a remote cluster with an auth plugin istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 --auth-type=plugin --auth-plugin-name=gcp \ | kubectl --kubeconfig=c1.yaml apply -f -`, Args: cobra.NoArgs, RunE: func(c *cobra.Command, args []string) error {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0)