Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ flavor_headers
Function
flavor_headers
crates/openshell-sandbox/src/google_cloud_metadata.rs:341–343 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
339
}
340
341
fn flavor_headers() -> Vec<(String, String)> {
342
vec![(
"Metadata-Flavor"
.to_string(),
"Google"
.to_string())]
343
}
344
345
#[test]
346
fn token_returns_placeholder_not_real_value() {
Callers
12
token_returns_placeholder_not_real_value
Function · 0.85
token_expires_in_computed_from_credential_expiry
Function · 0.85
token_no_expiry_defaults_to_3600
Function · 0.85
unknown_path_404
Function · 0.85
no_credentials_503
Function · 0.85
post_method_405
Function · 0.85
project_id_served_as_plain_text
Function · 0.85
email_served_as_plain_text
Function · 0.85
scopes_returns_cloud_platform
Function · 0.85
query_parameters_ignored_for_routing
Function · 0.85
missing_env_var_returns_404
Function · 0.85
trailing_slash_handled_for_service_account_default
Function · 0.85
Calls
no outgoing calls
Tested by
12
token_returns_placeholder_not_real_value
Function · 0.68
token_expires_in_computed_from_credential_expiry
Function · 0.68
token_no_expiry_defaults_to_3600
Function · 0.68
unknown_path_404
Function · 0.68
no_credentials_503
Function · 0.68
post_method_405
Function · 0.68
project_id_served_as_plain_text
Function · 0.68
email_served_as_plain_text
Function · 0.68
scopes_returns_cloud_platform
Function · 0.68
query_parameters_ignored_for_routing
Function · 0.68
missing_env_var_returns_404
Function · 0.68
trailing_slash_handled_for_service_account_default
Function · 0.68