Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for VMConfig (0.15 sec)

  1. 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)
  2. pkg/config/validation/validation_test.go

    			"invalid vm config - invalid env name",
    			&extensions.WasmPlugin{
    				Url: "test.com/test",
    				VmConfig: &extensions.VmConfig{
    					Env: []*extensions.EnvVar{
    						{
    							Name:      "",
    							ValueFrom: extensions.EnvValueSource_HOST,
    						},
    					},
    				},
    			},
    			"spec.vmConfig.env invalid", "",
    		},
    		{
    			"invalid vm config - duplicate env",
    			&extensions.WasmPlugin{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    		}
    	}
    	return nil
    }
    
    func validateWasmPluginVMConfig(vm *extensions.VmConfig) error {
    	if vm == nil || len(vm.Env) == 0 {
    		return nil
    	}
    
    	keys := sets.New[string]()
    	for _, env := range vm.Env {
    		if env == nil {
    			continue
    		}
    
    		if env.Name == "" {
    			return fmt.Errorf("spec.vmConfig.env invalid")
    		}
    
    		if keys.InsertContains(env.Name) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                        url(''http://'' +self).getScheme() in ['''', ''http'', ''https'',
                        ''oci'', ''file''])'
                  verificationKey:
                    type: string
                  vmConfig:
                    description: Configuration for a Wasm VM.
                    properties:
                      env:
                        description: Specifies environment variables to be injected to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.7K bytes
    - Viewed (0)
  5. operator/cmd/mesh/testdata/manifest-generate/output/all_on.golden-show-in-gh-pull-request.yaml

                        url(''http://'' +self).getScheme() in ['''', ''http'', ''https'',
                        ''oci'', ''file''])'
                  verificationKey:
                    type: string
                  vmConfig:
                    description: Configuration for a Wasm VM.
                    properties:
                      env:
                        description: Specifies environment variables to be injected to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 506.8K bytes
    - Viewed (0)
  6. manifests/charts/base/crds/crd-all.gen.yaml

                        url(''http://'' +self).getScheme() in ['''', ''http'', ''https'',
                        ''oci'', ''file''])'
                  verificationKey:
                    type: string
                  vmConfig:
                    description: Configuration for a Wasm VM.
                    properties:
                      env:
                        description: Specifies environment variables to be injected to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.6K bytes
    - Viewed (0)
  7. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    oci] rule: 'isURL(self) ? (url(self).getScheme() in ['''', ''http'', ''https'', ''oci'', ''file'']) : (isURL(''http://'' + self) && url(''http://'' +self).getScheme() in ['''', ''http'', ''https'', ''oci'', ''file''])' verificationKey: type: string vmConfig: description: Configuration for a Wasm VM. properties: env: description: Specifies environment variables to be injected to this VM. items: properties: name: description: Name of the environment variable. maxLength: 256 minLength: 1 type: string value:...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
Back to top