Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for failed (0.18 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/policies.go

    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    	out, err := json.MarshalIndent(policies, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal policies: %v", err)
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    }
    
    func readFile(filename string) ([]byte, error) {
    	file := os.Stdin
    	if filename != "-" {
    		var err error
    		file, err = os.Open(filename)
    		if err != nil {
    			return nil, err
    		}
    	}
    	defer func() {
    		if err := file.Close(); err != nil {
    			log.Errorf("failed to close %s: %s", filename, err)
    		}
    	}()
    	return io.ReadAll(file)
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/workload.go

    		if filter.Verify(workload) {
    			filteredWorkloads = append(filteredWorkloads, workload)
    		}
    	}
    	out, err := json.MarshalIndent(filteredWorkloads, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal workloads: %v", err)
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	if c.ztunnelDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	secretDump := c.ztunnelDump.Certificates
    	out, err := json.MarshalIndent(secretDump, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal secrets dump: %v", err)
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. manifests/charts/base/crds/crd-all.gen.yaml

                  failStrategy:
                    description: |-
                      Specifies the failure behavior for the plugin due to fatal errors.
    
                      Valid Options: FAIL_CLOSE, FAIL_OPEN
                    enum:
                    - FAIL_CLOSE
                    - FAIL_OPEN
                    type: string
                  imagePullPolicy:
                    description: |-
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  6. common/config/.golangci.yml

    # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY
    #
    # The original version of this file is located in the https://github.com/istio/common-files repo.
    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    run:
      # Timeout for analysis, e.g. 30s, 5m.
      # Default: 1m
      timeout: 20m
      build-tags:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    	} else if err != nil {
    		return fmt.Errorf("failed to get namespace %s: %v", ns, err)
    	}
    	if nsObj.Labels == nil {
    		nsObj.Labels = map[string]string{}
    	}
    	nsObj.Labels[constants.AmbientUseWaypoint] = waypointName
    	if _, err := kubeClient.Kube().CoreV1().Namespaces().Update(context.Background(), nsObj, metav1.UpdateOptions{}); err != nil {
    		return fmt.Errorf("failed to update namespace %s: %v", ns, err)
    	}
    	return nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:40 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/services.go

    		}
    		if r := cmp.Compare(a.Name, b.Name); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Hostname, b.Hostname)
    	})
    	out, err := json.MarshalIndent(svcs, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal workloads: %v", err)
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/connections.go

    		if filter.Namespace != "" && filter.Namespace != state.Info.Namespace {
    			return false
    		}
    		return true
    	})
    	out, err := json.MarshalIndent(workloads, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal workloads: %v", err)
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top