Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for wait (0.15 sec)

  1. istioctl/cmd/root.go

    	"istio.io/istio/istioctl/pkg/root"
    	"istio.io/istio/istioctl/pkg/tag"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/istioctl/pkg/validate"
    	"istio.io/istio/istioctl/pkg/version"
    	"istio.io/istio/istioctl/pkg/wait"
    	"istio.io/istio/istioctl/pkg/waypoint"
    	"istio.io/istio/istioctl/pkg/workload"
    	"istio.io/istio/istioctl/pkg/ztunnelconfig"
    	"istio.io/istio/operator/cmd/mesh"
    	"istio.io/istio/pkg/cmd"
    	"istio.io/istio/pkg/collateral"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. cni/pkg/install/install.go

    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    	default:
    		// Valid configuration; set isReady to true and wait for modifications before checking again
    		setReady(in.isReady)
    		cniInstalls.With(resultLabel.Value(resultSuccess)).Increment()
    		// Pod set to "NotReady" before termination
    		return watcher.Wait(ctx)
    	}
    }
    
    // checkValidCNIConfig returns an error if an invalid CNI configuration is detected
    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)
  3. cni/pkg/util/pluginutil.go

    	"istio.io/istio/pkg/log"
    )
    
    type Watcher struct {
    	watcher *fsnotify.Watcher
    	Events  chan struct{}
    	Errors  chan error
    }
    
    // Waits until a file is modified (returns nil), the context is cancelled (returns context error), or returns error
    func (w *Watcher) Wait(ctx context.Context) error {
    	select {
    	case <-w.Events:
    		return nil
    	case err := <-w.Errors:
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    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)
  4. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().DurationVar(&analysisTimeout, "timeout", 30*time.Second,
    		"The duration to wait before failing")
    	analysisCmd.PersistentFlags().BoolVarP(&recursive, "recursive", "R", false,
    		"Process directory arguments recursively. Useful when you want to analyze related manifests organized within the same directory.")
    	analysisCmd.PersistentFlags().BoolVar(&ignoreUnknown, "ignore-unknown", false,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. cni/pkg/util/podutil_test.go

    				namespace: unlabelledNamespace,
    				pod:       podWithSidecarAndAmbientEnabledLabel,
    			},
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := PodRedirectionEnabled(tt.args.namespace, tt.args.pod); got != tt.want {
    				t.Errorf("PodRedirectionEnabled() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret_test.go

    			objs:     []runtime.Object{kubeSystemNamespace, sa, saSecret},
    			name:     "cluster-foo",
    			want:     "cal-want",
    		},
    		{
    			testName: "success with type defined",
    			objs:     []runtime.Object{kubeSystemNamespace, sa, saSecret},
    			name:     "cluster-foo",
    			secType:  "config",
    			want:     "cal-want",
    		},
    		{
    			testName:   "failure due to multiple secrets",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/pilot/status_test.go

    				input[key] = ss
    			}
    
    			err := sw.PrintAll(input)
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    			want, _ := os.ReadFile(tt.want)
    			if err := util.Compare(got.Bytes(), want); err != nil {
    				t.Errorf(err.Error())
    			}
    		})
    	}
    }
    
    const clientConfigType = "type.googleapis.com/envoy.service.status.v3.ClientConfig"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. istioctl/pkg/root/root.go

    	Scope = log.RegisterScope("cli", "istioctl")
    )
    
    func defaultLogOptions() *log.Options {
    	o := log.DefaultOptions()
    	// Default to warning for everything; we usually don't want logs in istioctl
    	o.SetDefaultOutputLevel("all", log.WarnLevel)
    	// These scopes are too noisy even at warning level
    	o.SetDefaultOutputLevel("validation", log.ErrorLevel)
    	o.SetDefaultOutputLevel("processing", log.ErrorLevel)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 26 20:38:10 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers.go

    			err := s.dataplane.RemovePodFromMesh(s.ctx, pod)
    			log.Debugf("RemovePodFromMesh(%s) returned %v", newPod.Name, err)
    			// we ignore errors here as we don't want this event to be retried by the queue.
    		} else {
    			// If oldpod != ready && newpod != ready, but the ambient annotation was added,
    			// then assume this event was generated by the CNI plugin labeling the pod on startup,
    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)
Back to top