Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RawMetadata (0.12 sec)

  1. pkg/bootstrap/config_test.go

    						ServiceCluster: "cluster",
    					},
    				},
    			},
    			Owner: "real-owner",
    		},
    		RawMetadata: map[string]any{},
    	}
    	node.Metadata.Owner = "real-owner"
    	node.RawMetadata["OWNER"] = "fake-owner"
    	node.RawMetadata["UNKNOWN"] = "new-field"
    	node.RawMetadata["A"] = 1
    	node.RawMetadata["B"] = map[string]any{"b": 1}
    
    	out := ConvertNodeToXDSNode(node)
    	{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. pkg/bootstrap/config.go

    	// Add locality options.
    	opts := getLocalityOptions(node.Locality)
    
    	opts = append(opts, getStatsOptions(node.Metadata)...)
    
    	opts = append(opts,
    		option.NodeMetadata(node.Metadata, node.RawMetadata),
    		option.RuntimeFlags(extractRuntimeFlags(node.Metadata.ProxyConfig, policy)),
    		option.EnvoyStatusPort(node.Metadata.EnvoyStatusPort),
    		option.EnvoyPrometheusPort(node.Metadata.EnvoyPrometheusPort))
    	return opts
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pkg/bootstrap/option/instances.go

    	return newOption("deferred_cluster_creation", deferred)
    }
    
    func LoadStatsConfigJSONStr(node *model.Node) Instance {
    	// JSON string for configuring Load Reporting Service.
    	if json, ok := node.RawMetadata["LOAD_STATS_CONFIG_JSON"].(string); ok {
    		return newOption("load_stats_config_json_str", json)
    	}
    	return skipOption("load_stats_config_json_str")
    }
    
    type HistogramMatch struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. pkg/model/proxy.go

    // Node is a typed version of Envoy node with metadata.
    type Node struct {
    	// ID of the Envoy node
    	ID string
    	// Metadata is the typed node metadata
    	Metadata *BootstrapNodeMetadata
    	// RawMetadata is the untyped node metadata
    	RawMetadata map[string]any
    	// Locality from Envoy bootstrap
    	Locality *core.Locality
    }
    
    // BootstrapNodeMetadata is a superset of NodeMetadata, intended to model the entirety of the node metadata
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top