Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for VMConfig (0.22 sec)

  1. pkg/wasm/convert_test.go

    			Vm: &v3.PluginConfig_VmConfig{
    				VmConfig: &v3.VmConfig{
    					Code: &core.AsyncDataSource{Specifier: &core.AsyncDataSource_Remote{
    						Remote: &core.RemoteDataSource{},
    					}},
    				},
    			},
    		},
    	}),
    	"remote-load-success": buildTypedStructExtensionConfig("remote-load-success", &wasm.Wasm{
    		Config: &v3.PluginConfig{
    			Vm: &v3.PluginConfig_VmConfig{
    				VmConfig: &v3.VmConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. pilot/pkg/model/extensions_test.go

    	cases := []struct {
    		desc     string
    		vm       *extensions.VmConfig
    		policy   extensions.PullPolicy
    		expected *wasmextensions.PluginConfig_VmConfig
    	}{
    		{
    			desc:   "Build VMConfig without a base VMConfig",
    			vm:     nil,
    			policy: extensions.PullPolicy_UNSPECIFIED_POLICY,
    			expected: &wasmextensions.PluginConfig_VmConfig{
    				VmConfig: &wasmextensions.VmConfig{
    					Runtime: defaultRuntime,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/extensions.go

    	cfg := &wasmextensions.PluginConfig_VmConfig{
    		VmConfig: &wasmextensions.VmConfig{
    			Runtime: defaultRuntime,
    			Code:    datasource,
    			EnvironmentVariables: &wasmextensions.EnvironmentVariables{
    				KeyValues: map[string]string{},
    			},
    		},
    	}
    
    	if wasmPlugin.ImagePullSecret != "" {
    		cfg.VmConfig.EnvironmentVariables.KeyValues[WasmSecretEnv] = wasmPlugin.ImagePullSecret
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    // Each subdirectory contains two input files: workloadgroup.yaml and meshconfig.yaml that are used
    // to generate golden outputs from the VM command.
    func TestWorkloadEntryConfigure(t *testing.T) {
    	noClusterID := "failed to automatically determine the --clusterID"
    	files, err := os.ReadDir("testdata/vmconfig")
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. pkg/istio-agent/xds_proxy_test.go

    		t.Fatalf("wasm config conversion output %v failed to unmarshal", gotResp.Resources[0])
    	}
    	wasm := &wasm.Wasm{
    		Config: &wasmv3.PluginConfig{
    			Vm: &wasmv3.PluginConfig_VmConfig{
    				VmConfig: &wasmv3.VmConfig{
    					Code: &core.AsyncDataSource{Specifier: &core.AsyncDataSource_Local{
    						Local: &core.DataSource{
    							Specifier: &core.DataSource_Filename{
    								Filename: "test",
    							},
    						},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. pkg/wasm/convert.go

    	// At this point, we are certain that wasm module has been downloaded and config is rewritten.
    	// ECDS will be rewritten successfully.
    	return nec, nil
    }
    
    func rewriteVMConfig(resourceName string, vm *wasmextensions.VmConfig, status *string, cache Cache, configName string) error {
    	envs := vm.GetEnvironmentVariables()
    	var pullSecret []byte
    	pullPolicy := Unspecified
    	resourceVersion := ""
    	if envs != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top