- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 62 for interfaces (0.16 sec)
-
common/config/.golangci.yml
# XXX: if you enable this setting, unparam will report a lot of false-positives in text editors: # if it's called for subdir of a project it can't find external interfaces. All text editor integrations # with golangci-lint call it on a directory with the changed file. check-exported: false gci: sections:
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 19:22:39 GMT 2024 - 11K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
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 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 3.6K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient.go
return fmt.Errorf("unable to push CNI event, CmdArgs event was nil") } var ncconfigs []nodeagent.IPConfig for _, ipc := range prevResIps { ncconfigs = append(ncconfigs, nodeagent.IPConfig{Interface: ipc.Interface, Address: ipc.Address, Gateway: ipc.Gateway}) } // Currently we only use the netns from the original CNI event
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 2.4K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
PodName string PodNamespace string IPs []IPConfig } // IPConfig contains an interface/gateway/address combo defined for a newly-started pod by CNI. // This is "from the horse's mouth" so to speak and will be populated before Kube is informed of the // pod IP. type IPConfig struct { Interface *int Address net.IPNet Gateway net.IP } type CniPluginServer struct {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/wait/wait_test.go
k, err := cl.CLIClient() if err != nil { t.Fatal(err) } fc := k.Dynamic().(*dynamicfake.FakeDynamicClient) fc.PrependWatchReactor("*", func(action clienttesting.Action) (handled bool, ret watch.Interface, err error) { gvr := action.GetResource() ns := action.GetNamespace() watch, err := fc.Tracker().Watch(gvr, ns) if err != nil { return false, nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (1) -
cni/pkg/nodeagent/podcgroupns.go
"istio.io/istio/pkg/util/sets" ) type PodToNetns map[string]WorkloadInfo func (p PodToNetns) Close() { for _, wl := range p { wl.Netns.Close() } } type PodNetnsFinder interface { FindNetnsForPods(filter map[types.UID]*corev1.Pod) (PodToNetns, error) } type PodNetnsProcFinder struct { proc fs.FS } func NewPodNetnsProcFinder(proc fs.FS) *PodNetnsProcFinder {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient_test.go
ContainerID: "bbb-eee-www", } var ( fakeIP = net.ParseIP("99.9.9.9") fakeGW = net.ParseIP("88.9.9.9") fakeIDX = 0 fakePrevResultIPConfig = cniv1.IPConfig{ Interface: &fakeIDX, Address: net.IPNet{ IP: fakeIP, }, Gateway: fakeGW, } ) func TestPushCNIAddEventSucceed(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 4.2K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/rest" "istio.io/istio/istioctl/pkg/util/handlers" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/ptr" ) type Context interface { // CLIClient returns a client for the default revision CLIClient() (kube.CLIClient, error) // CLIClientWithRevision returns a client for the given revision CLIClientWithRevision(rev string) (kube.CLIClient, error)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 6.4K bytes - Viewed (0) -
istioctl/cmd/root.go
} // GetRootCmd returns the root of the cobra command-tree. func GetRootCmd(args []string) *cobra.Command { rootCmd := &cobra.Command{ Use: "istioctl", Short: "Istio control interface.", SilenceUsage: true, DisableAutoGenTag: true, PersistentPreRunE: ConfigureLogging, Long: `Istio configuration command line utility for service operators to debug and diagnose their Istio mesh. `,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
if err != nil { fmt.Printf("Error getting configmap %s: %v\n", configMapName, err) } meshData := make(map[string]interface{}) if data, exists := configMap.Data["mesh"]; exists { if err := yaml.Unmarshal([]byte(data), &meshData); err != nil { fmt.Printf("Error parsing meshConfig: %v\n", err) return err } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0)