- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for configs (0.4 sec)
-
istioctl/pkg/writer/pilot/status.go
configs := handleAndGetXdsConfigs(clientConfig) for _, config := range configs { cfgType := config.GetTypeUrl() switch cfgType { case xdsresource.ListenerType: lds = formatStatus(config) case xdsresource.ClusterType: cds = formatStatus(config) case xdsresource.RouteType: rds = formatStatus(config) case xdsresource.EndpointType:
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
err := cw.Prime(cd) if cw.configDump == nil { if tt.wantConfigs != 0 { t.Errorf("wanted some configs loaded but config dump was nil") } } else if len(cw.configDump.Configs) != tt.wantConfigs { t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.configDump.Configs)) } if tt.wantErr { assert.Error(t, err) } else { assert.NoError(t, err) } }) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K 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 08 22:53:08 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/testdata/config_dump.json
} }, "common_lb_config": {} }, "last_updated": "2023-12-26T05:57:09.956Z" } ] }, { "@type": "type.googleapis.com/envoy.admin.v3.EndpointsConfigDump", "static_endpoint_configs": [ { "endpoint_config": { "@type": "type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment",
Json - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 54.8K bytes - Viewed (1) -
istioctl/pkg/writer/ztunnel/configdump/configdump_test.go
{ name: "loads valid ztunnel config_dump", inputFile: "testdata/dump.json", wantConfigs: 27, wantErr: false, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { cw := &ConfigWriter{} cd, _ := os.ReadFile(tt.inputFile) err := cw.Prime(cd) if cw.ztunnelDump == nil { if tt.wantConfigs != 0 { t.Errorf("wanted some configs loaded but config dump was nil") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Feb 02 18:21:48 GMT 2024 - 3.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/testdata/configdump_diff.json
Json - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Mar 12 10:02:09 GMT 2024 - 51.6K bytes - Viewed (1) -
istioctl/pkg/writer/compare/comparator.go
for _, resp := range istiodResponses { if len(resp.Resources) > 0 { c.istiod = &configdump.Wrapper{ ConfigDump: &admin.ConfigDump{ Configs: resp.Resources, }, } break } } if c.istiod == nil { return nil, fmt.Errorf("unable to find config dump in Istiod responses") } envoyDump := &configdump.Wrapper{} err := json.Unmarshal(envoyResponse, envoyDump) if err != nil { return nil, err
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 3.7K bytes - Viewed (1) -
istioctl/pkg/kubeinject/kubeinject.go
revision, injectorAddress string, ) (*ExternalInjector, *meshconfig.MeshConfig, error) { var err error // Get configs from IOP files firstly, and if not exists, get configs from files and configmaps. values, meshConfig, err := getIOPConfigs() if err != nil { return nil, nil, err } if meshConfig == nil { if meshConfigFile != "" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer_test.go
tests := []struct { name string input *configdump.Wrapper wantErr error }{ { name: "Test1", input: &configdump.Wrapper{ ConfigDump: &envoy_admin.ConfigDump{ Configs: []*anypb.Any{ { TypeUrl: "type.googleapis.com/envoy.admin.v3.ListenersConfigDump", }, }, }, }, wantErr: nil, }, } for _, tt := range tests {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
// and rootNamespaces configs, caller should be responsible for controlling configs passed // in. func findMatchedConfigs(podsLabels klabels.Set, configs []*config.Config) []*config.Config { var cfgs []*config.Config for _, cfg := range configs { cfg := cfg labels := cfg.Spec.(Workloader).GetSelector().GetMatchLabels() selector := klabels.SelectorFromSet(labels) if selector.Matches(podsLabels) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0)