- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for secretItems (0.08 sec)
-
istioctl/pkg/writer/compare/sds/util.go
builder.TrustDomain(td.GetName()) builder.Data(string(td.GetTrustBundle().GetInlineBytes())) secretItem, err := builder.Build() if err != nil { return []SecretItem{}, err } secretItems = append(secretItems, secretItem) } } } return secretItems, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
fmt.Fprintln(c.Stdout, "No active or warming secrets found.") return nil } secretItems, err := sdscompare.GetEnvoySecrets(c.configDump) if err != nil { return err } secretWriter := sdscompare.NewSDSWriter(c.Stdout, sdscompare.TABULAR) return secretWriter.PrintSecretItems(secretItems) }
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/compare/sds/writer_test.go
func TestSDSWriterSecretItems(t *testing.T) { tests := []struct { name string format Format items []SecretItem expected []string unexpected []string }{ { name: "test tabular output with no secret items is equivalent to the header", format: TABULAR, items: []SecretItem{}, expected: []string{}, unexpected: secretItemColumns, }, {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 4.9K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
package sdscompare import ( "encoding/json" "fmt" "io" "strings" "text/tabwriter" ) // SDSWriter takes lists of SecretItem or SecretItemDiff and prints them through supplied output writer type SDSWriter interface { PrintSecretItems([]SecretItem) error PrintDiffs([]SecretItemDiff) error } type Format int const ( JSON Format = iota TABULAR )
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 4.8K bytes - Viewed (0)