Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Aare (0.12 sec)

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

    		ignoreResources, verbose)
    	if err != nil {
    		return false, err
    	}
    	if diff != "" {
    		fmt.Printf("Differences in manifests are:\n%s\n", diff)
    		return false, nil
    	}
    
    	fmt.Println("Manifests are identical")
    	return true, nil
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Ext(path) == YAMLSuffix
    }
    
    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. cni/pkg/repair/netns.go

    	// We want the pause container, as the istio-validation one may exit before we are done.
    	// We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms.
    	for _, p := range procs {
    		ns := getPidNamespace(p.PID)
    		fd, err := unix.Open(ns, unix.O_RDONLY, 0)
    		if err != nil {
    			// Not uncommon, many processes are transient and we have a TOCTOU here.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-diff_test.go

    			expectedString: "Profiles are identical",
    		},
    		{
    			args:           fmt.Sprintf("profile diff demo demo --manifests %s", snapshotCharts),
    			expectedString: "Profiles are identical",
    		},
    		{
    			args:           fmt.Sprintf("profile diff openshift openshift --manifests %s", snapshotCharts),
    			expectedString: "Profiles are identical",
    		},
    	}
    
    	for i, c := range cases {
    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)
  4. istioctl/cmd/options.go

    	"log_target":           true,
    	"log_caller":           true,
    	"log_output_level":     true,
    	// istioctl also inherits support for log_rotate, log_rotate_max_age, log_rotate_max_backups,
    	// log_rotate_max_size, but these are rarely appropriate for a user-facing CLI so we ignore them
    }
    
    func optionsCommand(rootCmd *cobra.Command) *cobra.Command {
    	retval := &cobra.Command{
    		Use:   "options",
    		Short: "Displays istioctl global options",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    	testenv    *envtest.Environment
    	testClient client.Client
    
    	allNamespacedGVKs = append(helmreconciler.NamespacedResources(),
    		schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Endpoints"})
    	// CRDs are not in the prune list, but must be considered for tests.
    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. operator/cmd/mesh/profile-dump.go

    	if err != nil {
    		return "", err
    	}
    	return out2, nil
    }
    
    // Convert the generated YAML to pretty JSON.
    func yamlToPrettyJSON(yml string) (string, error) {
    	// YAML objects are not completely compatible with JSON
    	// objects. Let yaml.YAMLToJSON handle the edge cases and
    	// we'll re-encode the result to pretty JSON.
    	uglyJSON, err := yaml.YAMLToJSON([]byte(yml))
    	if err != nil {
    		return "", err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/listener.go

    }
    
    func getMatches(f *listener.FilterChainMatch) string {
    	match := f
    	if match == nil {
    		match = &listener.FilterChainMatch{}
    	}
    	// filterChaince also has SuffixLen, SourceType, SourcePrefixRanges which are not rendered.
    
    	descrs := []string{}
    	if len(match.ServerNames) > 0 {
    		descrs = append(descrs, fmt.Sprintf("SNI: %s", strings.Join(match.ServerNames, ",")))
    	}
    	if len(match.TransportProtocol) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net.go

    		s.currentPodSnapshot.UpsertPodCacheWithNetns(uid, wl)
    	}
    	return nil
    }
    
    func realDependencies() *dep.RealDependencies {
    	return &dep.RealDependencies{
    		CNIMode:          false, // we are in cni, but as we do the netns ourselves, we should keep this as false.
    		NetworkNamespace: "",
    	}
    }
    
    // Remove pod from mesh: pod is not deleted, we just want to remove it from the mesh.
    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)
  9. istioctl/pkg/workload/workload_test.go

    }
    
    const goldenSuffix = ".golden"
    
    // TestWorkloadEntryConfigure enumerates test cases based on subdirectories of testdata/vmconfig.
    // Each subdirectory contains two input files: workloadgroup.yaml and meshconfig.yaml that are used
    // to generate golden outputs from the VM command.
    func TestWorkloadEntryConfigure(t *testing.T) {
    	noClusterID := "failed to automatically determine the --clusterID"
    	files, err := os.ReadDir("testdata/vmconfig")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  10. istioctl/cmd/sysexits.go

    )
    
    // Values should try to use sendmail-style values as in <sysexits.h>
    // See e.g. https://man.openbsd.org/sysexits.3
    // or `less /usr/includes/sysexits.h` if you're on Linux
    //
    // Picking the right range is tricky--there are a lot of reserved ones (see
    // https://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF) and then some
    // used by convention (see sysexits).
    //
    // The intention here is to use 64-78 in a way that matches the attempt in
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top