- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for events (0.18 sec)
-
cni/pkg/nodeagent/informers_test.go
assert.NoError(t, err) // wait for an update events // total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(4)) waitForMockCalls() assertPodNotAnnotated(t, client, pod) // patch a test label to emulate a POD update event
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
event := input.(controllers.Event) switch event.Latest().(type) { case *corev1.Namespace: return s.reconcileNamespace(input) case *corev1.Pod: return s.reconcilePod(input) default: return fmt.Errorf("unexpected event type: %+v", input) } } func (s *InformerHandlers) reconcileNamespace(input any) error { event := input.(controllers.Event) ns := event.Latest().(*corev1.Namespace)
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) -
cni/pkg/repair/repaircontroller.go
queue controllers.Queue cfg config.RepairConfig events kclient.EventRecorder repairedPods map[types.NamespacedName]types.UID } func NewRepairController(client kube.Client, cfg config.RepairConfig) (*Controller, error) { c := &Controller{ cfg: cfg, client: client, events: kclient.NewEventRecorder(client, "cni-repair"),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/install/install.go
return nil } // If a file we are watching has a change event, yield and let caller check validity select { case <-watcher.Events: // Something changed, and we must yield return nil case err := <-watcher.Errors: // We had a watch error - that's no good return err case <-ctx.Done(): return ctx.Err() default:
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 10.8K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
return &Watcher{ watcher: watcher, Events: fileModified, Errors: errChan, }, nil } func watchFiles(watcher *fsnotify.Watcher, fileModified chan struct{}, errChan chan error) { for { select { case event, ok := <-watcher.Events: if !ok { return } if event.Op&(fsnotify.Create|fsnotify.Write|fsnotify.Remove) != 0 { log.Infof("file modified: %v", event.Name) fileModified <- struct{}{} }
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/config/config.go
// The HTTP port for monitoring MonitoringPort int // The UDS server address that CNI plugin will send log to. LogUDSAddress string // The watch server socket address that CNI plugin will forward CNI events to. CNIEventAddress string // The ztunnel server socket address that the ztunnel will connect to. ZtunnelUDSAddress string // Whether ambient is enabled AmbientEnabled bool
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
if err != nil { return nil, err } return data, nil } func StableXdsStatusCommand(ctx cli.Context) *cobra.Command { cmd := XdsStatusCommand(ctx) unstableFlags := []string{"xds-via-agents", "xds-via-agents-limit"} cmd.PreRunE = func(cmd *cobra.Command, args []string) error { for _, flag := range unstableFlags { if cmd.PersistentFlags().Changed(flag) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
responses = append(responses, response) if !all && len(responses) > 0 { break } } return responses, nil } // queryDebugSynczViaAgents sends a debug/syncz xDS request via Istio Agents. // By this way, even if istioctl cannot access a specific `istiod` instance directly, // `istioctl` can access the debug endpoint. // If `all` is true, `queryDebugSynczViaAgents` iterates all the pod having a proxy
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
// K8S may get a pod Add event without any IPs in the object, and the pod will later be updated with IPs. // // We always need the IPs, but this is fine because this AddPodToMesh can be called from the CNI plugin as well, // which always has the firsthand info of the IPs, even before K8S does - so we pass them separately here because
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
cni/pkg/nodeagent/cni-watcher.go
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) // The CNI node plugin should have already checked the pod against the k8s API before forwarding us the event,
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)