Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for environmentVariables (0.35 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableInjection.groovy

    abstract class EnvVariableInjection extends BuildInputInjection {
        static EnvVariableInjection environmentVariable(String key, String value) {
            return environmentVariables((key): Objects.requireNonNull(value))
        }
    
        static EnvVariableInjection environmentVariables(Map<String, String> variables) {
            return new EnvVariableInjection() {
                @Override
                String getDescription() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/extension/wasmplugin_test.go

    										Cluster: "_",
    									},
    									Timeout: &durationpb.Duration{
    										Seconds: 30,
    									},
    								},
    							},
    						},
    					},
    					EnvironmentVariables: &wasmextension.EnvironmentVariables{
    						KeyValues: map[string]string{
    							"ISTIO_META_WASM_PLUGIN_RESOURCE_VERSION": "",
    						},
    					},
    				},
    			},
    		},
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pilot/pkg/model/extensions.go

    		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. pilot/pkg/model/extensions_test.go

    			vm:     nil,
    			policy: extensions.PullPolicy_UNSPECIFIED_POLICY,
    			expected: &wasmextensions.PluginConfig_VmConfig{
    				VmConfig: &wasmextensions.VmConfig{
    					Runtime: defaultRuntime,
    					EnvironmentVariables: &wasmextensions.EnvironmentVariables{
    						KeyValues: map[string]string{
    							WasmSecretEnv:          "secret-name",
    							WasmResourceVersionEnv: "dummy-resource-version",
    						},
    					},
    				},
    			},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/build_environment.adoc

    *Example 1:* Reading environment variables at configuration time:
    ====
    include::sample[dir="snippets/tutorial/environmentVariables/kotlin",files="init.gradle.kts[];settings.gradle.kts[];build.gradle.kts[tags=configuration]"]
    include::sample[dir="snippets/tutorial/environmentVariables/groovy",files="init.gradle[];settings.gradle[];build.gradle[tags=configuration]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. pkg/wasm/convert_test.go

    						Remote: &core.RemoteDataSource{
    							HttpUri: &core.HttpUri{
    								Uri: "http://test?module=test.wasm",
    							},
    						},
    					}},
    					EnvironmentVariables: &v3.EnvironmentVariables{
    						KeyValues: map[string]string{
    							model.WasmSecretEnv: "secret",
    						},
    					},
    				},
    			},
    		},
    	}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. tests/integration/pilot/proxyconfig/proxyconfig_test.go

    kind: ProxyConfig
    metadata:
      name: {{ .Name }}
    spec:
    {{- if .Selector }}
      selector:
        matchLabels:
    {{- range $k, $v := .Selector }}
          {{ $k }}: {{ $v }}
    {{- end }}
    {{- end }}
      environmentVariables:
    {{- range $k, $v := .Values }}
        {{ $k }}: "{{ $v }}"
    {{- end }}
    `
    	return proxyConfigInstance{
    		namespace: ns,
    		config: tmpl.MustEvaluate(tpl, struct {
    			Name     string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. tests/integration/ambient/waypoint_test.go

    apiVersion: networking.istio.io/v1beta1
    kind: ProxyConfig
    metadata:
      name: disable-hbone
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: simple-http-waypoint
      environmentVariables:
        ISTIO_META_DISABLE_HBONE_SEND: "true"
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: Gateway
    metadata:
      name: simple-http-waypoint
      namespace: {{.Namespace}}
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pkg/wasm/convert.go

    		for k := range envs.KeyValues {
    			if strings.HasPrefix(k, bootstrap.IstioMetaPrefix) {
    				delete(envs.KeyValues, k)
    			}
    		}
    		if len(envs.KeyValues) == 0 {
    			if len(envs.HostEnvKeys) == 0 {
    				vm.EnvironmentVariables = nil
    			} else {
    				envs.KeyValues = nil
    			}
    		}
    	}
    	remote := vm.GetCode().GetRemote()
    	httpURI := remote.GetHttpUri()
    	if httpURI == nil {
    		*status = missRemoteFetchHint
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

            }
    
    
            when:
            EnvVariableInjection.environmentVariable("CI1", "1").setup(this)
            configurationCacheRun("print")
            outputContains("Execution: CI1 = 1")
    
            then:
            configurationCache.assertStateLoaded()
    
            when:
            EnvVariableInjection.environmentVariables(CI1: "1", CI2: "2").setup(this)
            configurationCacheRun("print")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top