Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for changes (0.14 sec)

  1. operator/cmd/mesh/manifest-diff.go

    		Short: "Compare manifests and generate diff",
    		Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
    			"changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
    			"List order changes are shown as [OLD-INDEX->NEW-INDEX], with ? used where a list item is added or\n" +
    			"removed.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 2 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. operator/cmd/mesh/profile-dump_test.go

    			outPath := filepath.Join(testDataDir, "output", tt.desc+".yaml")
    
    			got, err := runProfileDump(inPath, tt.configPath, snapshotCharts, "")
    			if err != nil {
    				t.Fatal(err)
    			}
    			// installPackagePath may change, we will remove it for consistent output
    			got = installPackagePathRegex.ReplaceAllString(got, "")
    
    			if refreshGoldenFiles() {
    				t.Logf("Refreshing golden file for %s", outPath)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/wrapper.go

    	typ, err := r.Types.FindMessageByURL(url)
    	if err != nil {
    		// Here we ignore the error since we want istioctl to ignore unknown types due to the Envoy version change
    		msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}
    		return msg.ProtoReflect().Type(), nil
    	}
    	return typ, nil
    }
    
    // Wrapper is a wrapper around the Envoy ConfigDump
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-diff_test.go

    			args: "profile diff default openshift",
    			// This is just one of the many differences
    			expectedString: "+    profile: openshift",
    			// The profile doesn't change istiocoredns, so we shouldn't see this in the diff
    			notExpected: "-    istiocoredns:",
    			// 'profile diff' "fails" so that the error level `$?` is 1, not 0, if there is a diff
    			shouldFail: false,
    		},
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  5. istioctl/pkg/util/handlers/handlers.go

    	if err != nil {
    		return nil, "", "", "", err
    	}
    	return clientset, "", namespace, selector.String(), nil
    }
    
    // this is used for testing. it should not be changed in regular code.
    var getFirstPodFunc func(client corev1client.PodsGetter, namespace string, selector string, timeout time.Duration,
    	sortBy func([]*corev1.Pod) sort.Interface) (*corev1.Pod, int, error)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. istioctl/pkg/proxystatus/proxystatus.go

    	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) {
    				return fmt.Errorf("--%s is experimental. Use `istioctl experimental ps --%s`", flag, flag)
    			}
    		}
    		return nil
    	}
    	for _, flag := range unstableFlags {
    		_ = cmd.PersistentFlags().MarkHidden(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)
  7. cni/pkg/install/install_test.go

    			}
    
    			// Change SA token
    			if len(c.saNewFilename) > 0 {
    				t.Log("Expecting detect changes to the SA token")
    				if err := file.AtomicCopy(filepath.Join("testdata", c.saNewFilename), tempDir, c.saFilename); err != nil {
    					t.Fatal(err)
    				}
    
    				select {
    				case err := <-errChan:
    					if err != nil {
    						// A change in SA token should return nil
    						t.Fatal(err)
    					}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. cni/pkg/install/install.go

    	if err := checkValidCNIConfig(in.cfg, in.cniConfigFilepath); err != nil {
    		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()
    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)
  9. cni/pkg/repair/repaircontroller.go

    	log := repairLog.WithLabels("pod", pod.Namespace+"/"+pod.Name)
    	key := types.NamespacedName{Name: pod.Name, Namespace: pod.Namespace}
    	// We will get an event every time the pod changes. The repair is not instantaneous, though -- it will only recover
    	// once the pod restarts (in CrashLoopBackoff), which can take some time.
    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)
  10. istioctl/pkg/kubeinject/kubeinject.go

    run kube-inject over a single file that contains multiple Service,
    ConfigMap, Deployment, etc. definitions for a complex application. When in
    doubt re-run istioctl kube-inject on deployments to get the most up-to-date changes.
    
    It's best to do kube-inject when the resource is initially created.
    `,
    		Example: `  # Update resources on the fly before applying.
      kubectl apply -f <(istioctl kube-inject -f <resource.yaml>)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
Back to top