- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,172 for kenv (0.2 sec)
-
cluster/images/etcd/migrate/options.go
"If unset fallbacks to ETCD_CREDS env.") } func lookupEnv(env string) (string, error) { result, ok := os.LookupEnv(env) if !ok || len(result) == 0 { return result, fmt.Errorf("%s variable unset - expected failure", env) } return result, nil } func fallbackToEnv(flag, env string) (string, error) { klog.Infof("--%s unset - falling back to %s variable", flag, env) return lookupEnv(env) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 09:59:52 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc
const absl::Status write_status = WriteStringToFile(dst_file_path, "test_string"); ASSERT_THAT(write_status, IsOk()); auto* const env = tsl::Env::Default(); ASSERT_THAT(env->FileExists(dst_file_path), IsOk()); std::string data{}; ASSERT_THAT(tsl::ReadFileToString(env, dst_file_path, &data), IsOk()); EXPECT_THAT(data, Eq("test_string")); } TEST(IoTest, ReadFileToString) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:28:15 UTC 2024 - 6.7K bytes - Viewed (0) -
pilot/pkg/features/tuning.go
import ( "runtime" "time" "istio.io/istio/pkg/env" ) // Define performance tuning related features here. var ( MaxConcurrentStreams = env.Register( "ISTIO_GPRC_MAXSTREAMS", 100000, "Sets the maximum number of concurrent grpc streams.", ).Get() // MaxRecvMsgSize The max receive buffer size of gRPC received channel of Pilot in bytes. MaxRecvMsgSize = env.Register( "ISTIO_GPRC_MAXRECVMSGSIZE", 4*1024*1024,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 04:22:19 UTC 2024 - 4.8K bytes - Viewed (1) -
src/cmd/go/testdata/script/env_gomod_issue61455.txt
env TESTGO_VERSION=go1.500 env TESTGO_VERSION_SWITCH=mismatch # go env GOMOD should not trigger a toolchain download cd $GOPATH/mod go env GOMOD stdout mod[/\\]go.mod ! stderr 'go: toolchain go1.500 invoked to provide go1.700' # go env GOWORK should not trigger a toolchain download cd $GOPATH/work go env GOWORK stdout work[/\\]go.work ! stderr 'go: toolchain go1.500 invoked to provide go1.700' -- $GOPATH/mod/go.mod --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 16:05:39 UTC 2024 - 510 bytes - Viewed (0) -
pilot/pkg/features/xds.go
// limitations under the License. package features import ( "istio.io/istio/pkg/env" ) // Define flags that affect XDS config generation here. var ( // EnableMysqlFilter enables injection of `envoy.filters.network.mysql_proxy` in the filter chain. // Pilot injects this outbound filter if the service port name is `mysql`. EnableMysqlFilter = env.Register( "PILOT_ENABLE_MYSQL_FILTER", false,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 24 06:18:36 UTC 2024 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver_test.go
func mustCreateEnv(t testing.TB, envOptions ...cel.EnvOption) *cel.Env { envSet, err := environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true). Extend(environment.VersionedOptions{ IntroducedVersion: version.MajorMinor(1, 30), EnvOptions: envOptions, }) if err != nil { t.Fatalf("fail to create env set: %v", err) } env, err := envSet.Env(environment.StoredExpressions) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 3.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/goroot_executable.txt
# Instead, we build a fresh copy of the binary with known settings. go build -o $WORK/new/bin/go$GOEXE cmd/go & go build -trimpath -o $WORK/bin/check$GOEXE check.go & wait env TESTGOROOT=$GOROOT env GOROOT= # Relocated Executable exec $WORK/bin/check$GOEXE $WORK/new/bin/go$GOEXE $TESTGOROOT # Relocated Tree: # If the binary is sitting in a bin dir next to ../pkg/tool, that counts as a GOROOT,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 2.6K bytes - Viewed (0) -
pilot/pkg/features/ambient.go
) // registerAmbient registers a variable that is allowed only if EnableAmbient is set func registerAmbient[T env.Parseable](name string, defaultWithAmbient, defaultWithoutAmbient T, description string) T { if EnableAmbient { return env.Register(name, defaultWithAmbient, description).Get() } _, f := env.Register(name, defaultWithoutAmbient, description).Lookup() if f {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 00:02:56 UTC 2024 - 2.4K bytes - Viewed (0) -
cni/pkg/nodeagent/options.go
"istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/env" ) var ( PodNamespace = env.RegisterStringVar("POD_NAMESPACE", "", "pod's namespace").Get() SystemNamespace = env.RegisterStringVar("SYSTEM_NAMESPACE", constants.IstioSystemNamespace, "istio system namespace").Get() PodName = env.RegisterStringVar("POD_NAME", "", "").Get() NodeName = env.RegisterStringVar("NODE_NAME", "", "").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 2.1K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
}, } configStore := memory.Make(collections.Pilot) env := model.NewEnvironment() env.ServiceDiscovery = serviceDiscovery env.ConfigStore = configStore env.Watcher = mesh.NewFixedWatcher(meshConfig) pushContext := model.NewPushContext() env.Init() _ = pushContext.InitContext(env, nil, nil) env.SetPushContext(pushContext) pushContext.SetDestinationRulesForTesting([]config.Config{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 39.1K bytes - Viewed (0)