- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for folder (0.32 sec)
-
cni/pkg/pluginlistener/listener.go
if err := os.Remove(path); err != nil && !os.IsNotExist(err) { // Anything other than "file not found" is an error. return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err) } // Attempt to create the folder in case it doesn't exist if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil { // If we cannot create it, just warn here - we will fail later if there is a real error
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint_test.go
outputFormat: "json", filter: EndpointFilter{}, }, { name: "emptyfilter", outputFormat: "yaml", filter: EndpointFilter{}, }, { name: "portfilter", outputFormat: "json", filter: EndpointFilter{ Port: 8080, }, }, { name: "portfilter", outputFormat: "yaml", filter: EndpointFilter{ Port: 8080, }, }, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 12 02:25:59 GMT 2022 - 2.4K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
} // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error { w := c.tabwriter() zDump := c.ztunnelDump pols := slices.Filter(maps.Values(zDump.Policies), filter.Verify) slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int { if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
cmd.PersistentFlags().StringSliceVar(&args.Components, "component", nil, ComponentFlagHelpStr) cmd.PersistentFlags().StringSliceVar(&args.Filter, "filter", nil, "") _ = cmd.PersistentFlags().MarkHidden("filter") cmd.PersistentFlags().BoolVar(&args.EnableClusterSpecific, "cluster-specific", false, "If enabled, the current cluster will be checked for cluster-specific setting detection.") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
save a queue of what needs to be sent to the ztunnel pod and send it one by one when it connects. when a new ztunnel connects with different uid, only propagate deletes to older ztunnels. */ type connMgr struct { connectionSet map[*ZtunnelConnection]struct{} latestConn *ZtunnelConnection mu sync.Mutex } func (c *connMgr) addConn(conn *ZtunnelConnection) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
case *listener.Filter_TypedConfig: if err := c.TypedConfig.UnmarshalTo(out); err != nil { return err } } return nil } func getHTTPConnectionManager(filter *listener.Filter) *hcm.HttpConnectionManager { cm := &hcm.HttpConnectionManager{} if err := getFilterConfig(filter, cm); err != nil { log.Errorf("failed to get HTTP connection manager config: %s", err) return nil } return cm }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/connections.go
return r } return cmp.Compare(a.Info.Namespace, b.Info.Namespace) }) for _, wl := range workloads { if filter.Namespace != "" && filter.Namespace != wl.Info.Namespace { continue } name := fmt.Sprintf("%s.%s", wl.Info.Name, wl.Info.Namespace) if filter.Direction != "outbound" { for _, c := range wl.Connections.Inbound {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 3.3K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
clusterConfigCmd.PersistentFlags().StringVar(&fqdn, "fqdn", "", "Filter clusters by substring of Service FQDN field") clusterConfigCmd.PersistentFlags().StringVar(&direction, "direction", "", "Filter clusters by Direction field") clusterConfigCmd.PersistentFlags().StringVar(&subset, "subset", "", "Filter clusters by substring of Subset field") clusterConfigCmd.PersistentFlags().IntVar(&port, "port", 0, "Filter clusters by Port field")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
"istio.io/istio/pkg/config/host" ) // ClusterFilter is used to pass filter information into cluster based config writer print functions type ClusterFilter struct { FQDN host.Name Port int Subset string Direction model.TrafficDirection } // Verify returns true if the passed cluster matches the filter fields func (c *ClusterFilter) Verify(cluster *cluster.Cluster) bool { name := cluster.Name
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
controllers.WithGenericReconciler(s.reconcile), controllers.WithMaxAttempts(5), ) // We only need to handle pods on our node s.pods = kclient.NewFiltered[*corev1.Pod](kubeClient, kclient.Filter{FieldSelector: "spec.nodeName=" + NodeName}) s.pods.AddEventHandler(controllers.FromEventHandler(func(o controllers.Event) { s.queue.Add(o) })) // Namespaces could be anything though, so we watch all of those //
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0)