Skip to main content

parse_config_helper

Function parse_config_helper 

Source
pub fn parse_config_helper(text: &str) -> Option<(String, SystemTime)>
Expand description

The access token and its expiry from gcloud config config-helper --format=json. A token without a readable expiry is kept for five minutes past the refresh margin.