- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MaybeConvertWasmExtensionConfig (0.33 sec)
-
pkg/wasm/convert_test.go
})}, wantNack: true, }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { mc := &mockCache{} gotErr := MaybeConvertWasmExtensionConfig(tc.input, mc) if gotErr == nil { t.Errorf("wasm config conversion should return error, but did not") } }) } } func TestWasmConvert(t *testing.T) { cases := []struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.6K bytes - Viewed (0) -
pkg/wasm/convert.go
Name: name, TypedConfig: allowNetworkTypedConfig, } return anypb.New(ec) } // MaybeConvertWasmExtensionConfig converts any presence of module remote download to local file. // It downloads the Wasm module and stores the module locally in the file system. func MaybeConvertWasmExtensionConfig(resources []*anypb.Any, cache Cache) error { var wg sync.WaitGroup numResources := len(resources)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy_delta.go
resources := make([]*anypb.Any, 0, len(resp.Resources)) for i := range resp.Resources { resources = append(resources, resp.Resources[i].Resource) } if err := wasm.MaybeConvertWasmExtensionConfig(resources, p.wasmCache); err != nil { proxyLog.Debugf("sending NACK for ECDS resources %+v, err: %+v", resp.Resources, err) con.sendDeltaRequest(&discovery.DeltaDiscoveryRequest{ TypeUrl: resp.TypeUrl,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy.go
return } } } func (p *XdsProxy) rewriteAndForward(con *ProxyConnection, resp *discovery.DiscoveryResponse, forward func(resp *discovery.DiscoveryResponse)) { if err := wasm.MaybeConvertWasmExtensionConfig(resp.Resources, p.wasmCache); err != nil { proxyLog.Debugf("sending NACK for ECDS resources %+v, err: %+v", resp.Resources, err) con.sendRequest(&discovery.DiscoveryRequest{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 27.9K bytes - Viewed (0)