- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for struct (0.16 sec)
-
istioctl/pkg/writer/ztunnel/configdump/configdump.go
import ( "encoding/json" "fmt" "io" "text/tabwriter" "sigs.k8s.io/yaml" ) // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint type ConfigWriter struct { Stdout io.Writer ztunnelDump *ZtunnelDump FullDump []byte } // Prime loads the config dump into the writer ready for printing func (c *ConfigWriter) Prime(b []byte) error { cd := ZtunnelDump{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
if secret.Name == "ROOTCA" { var returnStr string var returnErr error strCA, err := c.configDump.GetRootCAFromSecretConfigDump(secret.GetSecret()) if err != nil { returnStr = "" returnErr = fmt.Errorf("can not dump ROOTCA from secret: %v", err) } else { returnStr = strCA returnErr = nil } return returnStr, returnErr } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0)