How to name it in the runner output.
(&self, run_environment: &RunEnvironment)
| 52 | |
| 53 | /// How to name it in the runner output. |
| 54 | pub fn label(&self, run_environment: &RunEnvironment) -> String { |
| 55 | match self { |
| 56 | Authentication::Oidc(_) => format!("OIDC token minted by {run_environment}"), |
| 57 | Authentication::RunToken(_) => "token from `CODSPEED_TOKEN`".to_owned(), |
| 58 | Authentication::CliLogin(_) => "token from `codspeed auth login`".to_owned(), |
| 59 | Authentication::Tokenless => { |
| 60 | "tokenless, supported for public repositories only".to_owned() |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | impl CodSpeedAPIClient { |
nothing calls this directly
no outgoing calls
no test coverage detected