Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 138 for ekvs (0.31 sec)

  1. pkg/monitoring/monitortest/test.go

    		}
    	}
    	return res
    }
    
    func toMetricKey(row *dto.Metric, metric *dto.MetricFamily) metricKey {
    	kvs := []attribute.KeyValue{}
    	for _, lv := range row.Label {
    		kvs = append(kvs, attribute.String(*lv.Name, *lv.Value))
    	}
    	key := metricKey{
    		name:  *metric.Name,
    		attrs: attribute.NewSet(kvs...),
    	}
    	return key
    }
    
    type Compare func(any) error
    
    func DoesNotExist(any) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. internal/config/cache/cache.go

    }
    
    // LookupConfig - lookup config and override with valid environment settings if any.
    func LookupConfig(kvs config.KVS, transport http.RoundTripper) (cfg Config, err error) {
    	cfg.Enable = env.Get(EnvEnable, kvs.GetWithDefault(Enable, DefaultKVS)) == config.EnableOn
    
    	if d := env.Get(EnvBlockSize, kvs.GetWithDefault(BlockSize, DefaultKVS)); d != "" {
    		objectSize, err := humanize.ParseBytes(d)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pkg/kubelet/container/helpers.go

    // of env vars.
    func envVarsToMap(envs []EnvVar) map[string]string {
    	result := map[string]string{}
    	for _, env := range envs {
    		result[env.Name] = env.Value
    	}
    	return result
    }
    
    // v1EnvVarsToMap constructs a map of environment name to value from a slice
    // of env vars.
    func v1EnvVarsToMap(envs []v1.EnvVar) map[string]string {
    	result := map[string]string{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. internal/s3select/sql/jsonpath.go

    	}
    
    	switch {
    	case p[0].Key != nil:
    		key := p[0].Key.keyString()
    
    		switch kvs := v.(type) {
    		case jstream.KVS:
    			for _, kv := range kvs {
    				if kv.Key == key {
    					return jsonpathEval(p[1:], kv.Value)
    				}
    			}
    			// Key not found - return nil result
    			return Missing{}, false, nil
    		case simdjson.Object:
    			elem := kvs.FindKey(key, nil)
    			if elem == nil {
    				// Key not found - return nil result
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. pilot/cmd/pilot-agent/options/agent.go

    // Unlike ISTIO_META, where we need JSON and advanced features - this is just for small string headers.
    func extractXDSHeadersFromEnv(o *istioagent.AgentOptions) {
    	envs := os.Environ()
    	for _, e := range envs {
    		if strings.HasPrefix(e, xdsHeaderPrefix) {
    			parts := strings.SplitN(e, "=", 2)
    			if len(parts) != 2 {
    				continue
    			}
    			o.XDSHeaders[parts[0][len(xdsHeaderPrefix):]] = parts[1]
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/config/lambda/parse.go

    			}
    		}
    	}
    	return targetList, nil
    }
    
    // DefaultLambdaKVS - default notification list of kvs.
    var (
    	DefaultLambdaKVS = map[string]config.KVS{
    		config.LambdaWebhookSubSys: DefaultWebhookKVS,
    	}
    )
    
    // DefaultWebhookKVS - default KV for webhook config
    var (
    	DefaultWebhookKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. cmd/gotemplate/gotemplate.go

    func main() {
    	kvs := make(map[string]string)
    
    	for _, keyValue := range os.Args[1:] {
    		index := strings.Index(keyValue, "=")
    		if index <= 0 {
    			fmt.Fprintf(os.Stderr, "optional arguments must be of the form <key>=<value>, got instead: %q\n", keyValue)
    			os.Exit(1)
    		}
    		kvs[keyValue[0:index]] = keyValue[index+1:]
    	}
    
    	if err := generate(os.Stdin, os.Stdout, kvs); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. internal/s3select/sql/statement.go

    		return nil, errDataSource(errors.New("path not supported"))
    	}
    	switch rec := rawVal.(type) {
    	case jstream.KVS:
    		txedRec, _, err := jsonpathEval(e.selectAST.From.Table.PathExpr[1:], rec)
    		if err != nil {
    			return nil, err
    		}
    
    		var kvs jstream.KVS
    		switch v := txedRec.(type) {
    		case jstream.KVS:
    			kvs = v
    
    		case []interface{}:
    			recs := make([]*Record, len(v))
    			for i, val := range v {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 09 17:19:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. ci/official/envs/ci_default

    #   cd ci/official
    #   ls *.sh utilities/*.sh | xargs grep -H --color=always TFCI_ARG_HERE
    # You may also get an overview, e.g.:
    #   cd ci/official
    #   grep -o '^TFCI\w*' envs/ci_default | xargs -n 1 -I{} bash -c "echo; echo {}; grep -R -H --exclude-dir=envs --color=always '{}'"
    TFCI_ARTIFACT_FINAL_GCS_ENABLE=
    TFCI_ARTIFACT_FINAL_GCS_SA_PATH=
    TFCI_ARTIFACT_FINAL_GCS_URI=
    TFCI_ARTIFACT_FINAL_PYPI_ARGS=
    TFCI_ARTIFACT_FINAL_PYPI_ENABLE=
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 21:16:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. ci/official/envs/linux_x86_cuda

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    source ci/official/envs/linux_x86
    TFCI_BAZEL_COMMON_ARGS="--repo_env=TF_PYTHON_VERSION=$TFCI_PYTHON_VERSION --config release_gpu_linux"
    TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=linux_cuda
    TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 19 00:24:30 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top