Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for VMConfig (0.07 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. 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