- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 210 for Gump (0.18 sec)
-
istioctl/pkg/writer/envoy/configdump/ecds.go
if c.configDump == nil { return nil, fmt.Errorf("config writer has not been primed") } dump, err := c.configDump.GetEcdsConfigDump() if err != nil { return nil, err } ecds := make([]*core.TypedExtensionConfig, 0, len(dump.EcdsFilters)) for _, config := range dump.GetEcdsFilters() { c := &core.TypedExtensionConfig{} err := config.GetEcdsFilter().UnmarshalTo(c) if err != nil {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Jan 14 02:41:27 GMT 2023 - 2.6K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/testdata/config_dump_summary.txt
Xiaopeng Han <******@****.***> 1704323286 +0800
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 2.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
if c.configDump == nil { return nil, fmt.Errorf("config writer has not been primed") } dump, err := c.configDump.GetEndpointsConfigDump() if err != nil { return nil, err } if dump == nil { return nil, nil } endpoints := make([]*endpoint.ClusterLoadAssignment, 0, len(dump.DynamicEndpointConfigs)) for _, e := range dump.GetDynamicEndpointConfigs() { cla, epCount := retrieveEndpoint(e.EndpointConfig, filter)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 5.6K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
The command also supports reading from a standalone config dump file with flag -f.`, Example: ` # Check AuthorizationPolicy applied to pod httpbin-88ddbcfdd-nt5jb: istioctl x authz check httpbin-88ddbcfdd-nt5jb # Check AuthorizationPolicy applied to one pod under a deployment istioctl x authz check deployment/productpage-v1 # Check AuthorizationPolicy from Envoy config dump file: istioctl x authz check -f httpbin_config_dump.json`,
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 5K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump.go
"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 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/util/configdump/util.go
) // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) { var dumpAny *anypb.Any for _, conf := range w.Configs { if conf.TypeUrl == string(sectionTypeURL) { dumpAny = conf } } if dumpAny == nil { return nil, fmt.Errorf("config dump has no configuration type %s", sectionTypeURL) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
type ConfigWriter struct { Stdout io.Writer configDump *configdump.Wrapper } // includeConfigType is a flag to indicate whether to include the config type in the output var includeConfigType bool func SetPrintConfigTypeInSummary(p bool) { includeConfigType = p } // Prime loads the config dump into the writer ready for printing
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0) -
istioctl/pkg/util/configdump/secret.go
extapi "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3" anypb "google.golang.org/protobuf/types/known/anypb" ) // GetSecretConfigDump retrieves a secret dump from a config dump wrapper func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error) { secretDumpAny, err := w.getSection(secrets) if err != nil { return nil, err } secretDump := &admin.SecretsConfigDump{}
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 25 04:09:53 GMT 2023 - 2.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
wantOutputFile string callPrime bool wantErr bool }{ { name: "returns expected bootstrap dump from Envoy onto Stdout", callPrime: true, wantOutputFile: "testdata/bootstrapdump.json", }, { name: "errors if config dump is not primed", wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gotOut := &bytes.Buffer{}
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/util/configdump/ecds.go
) // GetEcdsConfigDump retrieves the extension config dump from the ConfigDump func (w *Wrapper) GetEcdsConfigDump() (*admin.EcdsConfigDump, error) { ecdsDumpAny, err := w.getSections(ecds) if err != nil { return nil, err } ecdsDump := &admin.EcdsConfigDump{} for _, dump := range ecdsDumpAny { ecds := &admin.EcdsConfigDump{} err = dump.UnmarshalTo(ecds) if err != nil { return nil, err }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 1.2K bytes - Viewed (0)