Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 749 for kenv (0.05 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/mutation/env_test.go

    		})
    	if err != nil {
    		t.Fatalf("fail to create env set: %v", err)
    	}
    	env, err := envSet.Env(environment.StoredExpressions)
    	if err != nil {
    		t.Fatalf("fail to setup env: %v", env)
    	}
    	return env
    }
    
    // mustCreateEnvWithOptional creates the default env for testing, with given option,
    // and set up the optional library with default configuration.
    // it fatally fails the test if the env fails to set up.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/io.cc

      return tmp_fname;
    }
    
    absl::StatusOr<std::string> GetLocalTmpFileName() {
      return GetLocalTmpFileName(tsl::Env::Default());
    }
    
    absl::StatusOr<std::string> CreateTmpDir(tsl::Env* const env) {
      TF_ASSIGN_OR_RETURN(std::string tmp_dir, GetLocalTmpFileName(env));
    
      if (!env->RecursivelyCreateDir(tmp_dir).ok()) {
        return absl::InternalError(
            absl::StrFormat("Failed to create tmp dir: '%s'", tmp_dir));
      }
    
      return tmp_dir;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go

    	v, err = compileAndRun(env, activation, exp)
    	if err != nil {
    		t.Fatalf("%q: %v", exp, err)
    	}
    	if v.Value().(bool) != false {
    		t.Errorf("%q: wrong result: %v", exp, v.Value())
    	}
    }
    
    type testActivation struct {
    	variables *MapValue
    }
    
    func compileAndRun(env *cel.Env, activation *testActivation, exp string) (ref.Val, error) {
    	ast, issues := env.Compile(exp)
    	if issues != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. internal/config/notify/parse.go

    			Enable:          true,
    			Address:         *address,
    			Subject:         env.Get(subjectEnv, kv.Get(target.NATSSubject)),
    			Username:        env.Get(usernameEnv, kv.Get(target.NATSUsername)),
    			UserCredentials: env.Get(userCredentialsEnv, kv.Get(target.NATSUserCredentials)),
    			Password:        env.Get(passwordEnv, kv.Get(target.NATSPassword)),
    			CertAuthority:   env.Get(certAuthorityEnv, kv.Get(target.NATSCertAuthority)),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/io.h

    // `tsl::Env::Default` is used to generate the name.
    absl::StatusOr<std::string> GetLocalTmpFileName();
    
    // Creates a temporary directory on an environment defined by the implementation
    // of `tsl::Env` and returns its path. Returns an InternalError status if
    // failed.
    absl::StatusOr<std::string> CreateTmpDir(tsl::Env* env);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. misc/wasm/go_wasip1_wasm_exec

    #!/usr/bin/env bash
    # Copyright 2023 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    case "$GOWASIRUNTIME" in
    	"wasmedge")
    		exec wasmedge --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	"wasmer")
    		exec wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" -- "${@:2}"
    		;;
    	"wazero")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 17:09:10 UTC 2024
    - 797 bytes
    - Viewed (0)
  7. pilot/pkg/features/pilot.go

    	ClusterName = env.Register("CLUSTER_ID", constants.DefaultClusterName,
    		"Defines the cluster and service registry that this Istiod instance belongs to").Get()
    
    	ExternalIstiod = env.Register("EXTERNAL_ISTIOD", false,
    		"If this is set to true, one Istiod will control remote clusters including CA.").Get()
    
    	EnableCAServer = env.Register("ENABLE_CA_SERVER", true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. .github/workflows/iam-integrations.yaml

          openldap:
            image: quay.io/minio/openldap
            ports:
              - "389:389"
              - "636:636"
            env:
              LDAP_ORGANIZATION: "MinIO Inc"
              LDAP_DOMAIN: "min.io"
              LDAP_ADMIN_PASSWORD: "admin"
          etcd:
            image: "quay.io/coreos/etcd:v3.5.1"
            env:
              ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
              ETCD_ADVERTISE_CLIENT_URLS: "http://0.0.0.0:2379"
            ports:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. internal/config/api/api.go

    		apiReplicationFailedWorkers,
    		"expiry_workers",
    	}
    
    	disableODirect := env.Get(EnvAPIDisableODirect, kvs.Get(apiDisableODirect)) == config.EnableOn
    	enableODirect := env.Get(EnvAPIODirect, kvs.Get(apiODirect)) == config.EnableOn
    	gzipObjects := env.Get(EnvAPIGzipObjects, kvs.Get(apiGzipObjects)) == config.EnableOn
    	rootAccess := env.Get(EnvAPIRootAccess, kvs.Get(apiRootAccess)) == config.EnableOn
    
    	cfg = Config{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. internal/kms/config_test.go

    		}
    	}
    }
    
    var isPresentTests = []struct {
    	Env        map[string]string
    	IsPresent  bool
    	ShouldFail bool
    }{
    	{Env: map[string]string{}}, // 0
    	{ // 1
    		Env: map[string]string{
    			EnvKMSSecretKey: "minioy-default-key:6jEQjjMh8iPq8/gqgb4eMDIZFOtPACIsr9kO+vx8JFs=",
    		},
    		IsPresent: true,
    	},
    	{ // 2
    		Env: map[string]string{
    			EnvKMSEndpoint:   "https://127.0.0.1:7373",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top