Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for outputFormat (0.14 sec)

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

    	}
    	return w.Flush()
    }
    
    // PrintPolicyDump prints the relevant services in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintPolicyDump(filter PolicyFilter, outputFormat string) error {
    	zDump := c.ztunnelDump
    	policies := slices.Filter(zDump.Policies, filter.Verify)
    	slices.SortFunc(policies, func(a, b *ZtunnelPolicy) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/ecds.go

    func (c *ConfigWriter) PrintEcds(outputFormat string) error {
    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    
    	dump, err := c.configDump.GetEcdsConfigDump()
    	if err != nil {
    		return err
    	}
    
    	out, err := protomarshal.MarshalIndentWithGlobalTypesResolver(dump, "    ")
    	if err != nil {
    		return err
    	}
    	if outputFormat == "yaml" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-common.go

    	manifestsPath string
    	// revision is the Istio control plane revision the command targets.
    	revision string
    	// outputFormat controls the format of operator dumps
    	outputFormat string
    }
    
    const (
    	operatorResourceName     = "istio-operator"
    	operatorDefaultNamespace = "istio-operator"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 17 02:25:04 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/services.go

    	}
    	return w.Flush()
    }
    
    // PrintServiceDump prints the relevant services in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintServiceDump(filter ServiceFilter, outputFormat string) error {
    	zDump := c.ztunnelDump
    	svcs := slices.Filter(zDump.Services, filter.Verify)
    	slices.SortFunc(svcs, func(a, b *ZtunnelService) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags.go

    	if (f.TemplateArgument == nil || len(*f.TemplateArgument) == 0) && len(templateFormat) == 0 {
    		return nil, NoCompatiblePrinterError{Options: f, OutputFormat: &templateFormat}
    	}
    
    	templateValue := ""
    
    	if f.TemplateArgument == nil || len(*f.TemplateArgument) == 0 {
    		for format := range templateFormats {
    			format = format + "="
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	"istio.io/istio/pkg/slices"
    )
    
    type ConnectionsFilter struct {
    	Namespace string
    	Direction string
    	Raw       bool
    }
    
    func (c *ConfigWriter) PrintConnectionsDump(filter ConnectionsFilter, outputFormat string) error {
    	d := c.ztunnelDump
    	workloads := maps.Values(d.WorkloadState)
    	workloads = slices.SortFunc(workloads, func(a, b WorkloadState) int {
    		if r := cmp.Compare(a.Info.Namespace, b.Info.Namespace); r != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    func (c *ConfigWriter) PrintSecretDump(outputFormat string) error {
    	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 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	// as the graph itself doesn't contain enough information to preserve full precision.
    	visualMode := o.OutputFormat == Dot
    	cumSort := o.CumSort
    
    	// The call_tree option is only honored when generating visual representations of the callgraph.
    	callTree := o.CallTree && (o.OutputFormat == Dot || o.OutputFormat == Callgrind)
    
    	// First step: Build complete graph to identify low frequency nodes, based on their cum weight.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags.go

    	if (f.TemplateArgument == nil || len(*f.TemplateArgument) == 0) && len(templateFormat) == 0 {
    		return nil, NoCompatiblePrinterError{Options: f, OutputFormat: &templateFormat}
    	}
    
    	templateValue := ""
    
    	if f.TemplateArgument == nil || len(*f.TemplateArgument) == 0 {
    		for format := range jsonFormats {
    			format = format + "="
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/workload.go

    	}
    	return w.Flush()
    }
    
    // PrintWorkloadDump prints the relevant workloads in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintWorkloadDump(filter WorkloadFilter, outputFormat string) error {
    	zDump := c.ztunnelDump
    	filteredWorkloads := []*ZtunnelWorkload{}
    	for _, workload := range zDump.Workloads {
    		if filter.Verify(workload) {
    			filteredWorkloads = append(filteredWorkloads, workload)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top