- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for PrintSecretSummary (0.09 sec)
-
istioctl/pkg/writer/envoy/configdump/configdump.go
if err != nil { return err } out = string(outbyte) } fmt.Fprintln(c.Stdout, out) return nil } // PrintSecretSummary prints a summary of dynamic active secrets from the config dump func (c *ConfigWriter) PrintSecretSummary() error { secretDump, err := c.configDump.GetSecretConfigDump() if err != nil { return err } if len(secretDump.DynamicActiveSecrets) == 0 &&
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 29 20:46:41 UTC 2024 - 7.4K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump_test.go
if tt.callPrime { cw.Prime(cd) } if tt.wantOutputSecret != "" { err := cw.PrintSecretSummary() if err == nil && tt.wantErr { t.Errorf("PrintSecretSummary (%v) did not produce expected err", tt.name) } else if err != nil && !tt.wantErr { t.Errorf("PrintSecretSummary (%v) produced unexpected err: %v", tt.name, err) } util.CompareContent(t, gotOut.Bytes(), tt.wantOutputSecret)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 3.6K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/certificates.go
if out, err = yaml.JSONToYAML(out); err != nil { return err } } fmt.Fprintln(c.Stdout, string(out)) return nil } // PrintSecretSummary prints a summary of dynamic active secrets from the config dump func (c *ConfigWriter) PrintSecretSummary() error { if c.ztunnelDump == nil { return fmt.Errorf("config writer has not been primed") } secretDump := c.ztunnelDump.Certificates
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 25 16:38:16 UTC 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/secret_test.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 1.7K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump.go
return err } _, _ = c.Stdout.Write([]byte("\n")) if err := c.PrintPolicySummary(PolicyFilter{}); err != nil { return err } _, _ = c.Stdout.Write([]byte("\n")) if err := c.PrintSecretSummary(); err != nil { return err } return nil } func (c *ConfigWriter) PrintFullDump(outputFormat string) error { out := c.FullDump if outputFormat == "yaml" { var err error
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
Args: common.validateArgs, RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error { switch common.outputFormat { case summaryOutput: return cw.PrintSecretSummary() case jsonOutput, yamlOutput: return cw.PrintSecretDump(common.outputFormat) default: return fmt.Errorf("output format %q not supported", common.outputFormat) } }),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
log.Warnf("couldn't parse envoy secrets dump: %v", err) } } if err != nil { return err } switch outputFormat { case summaryOutput: return cw.PrintSecretSummary() case jsonOutput, yamlOutput: return cw.PrintSecretDump(outputFormat) default: return fmt.Errorf("output format %q not supported", outputFormat) } },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0)