Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PrintPolicyDump (0.1 sec)

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

    	for _, pol := range pols {
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    			pol.Namespace, pol.Name, pol.Action, pol.Scope)
    	}
    	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)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    				Namespace: policyNamespace,
    			}
    			switch common.outputFormat {
    			case summaryOutput:
    				return cw.PrintPolicySummary(filter)
    			case jsonOutput, yamlOutput:
    				return cw.PrintPolicyDump(filter, common.outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", common.outputFormat)
    			}
    		}),
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top