MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / authentication_docs_url

Method authentication_docs_url

src/run_environment/interfaces.rs:87–95  ·  view source on GitHub ↗

The authentication section of this run environment's documentation. Buildkite covers its token as a setup step rather than in a section, so its guide page stands in. Local runs have nothing to link.

(&self)

Source from the content-addressed store, hash-verified

85 /// Buildkite covers its token as a setup step rather than in a section, so
86 /// its guide page stands in. Local runs have nothing to link.
87 pub fn authentication_docs_url(&self) -> Option<&'static str> {
88 match self {
89 RunEnvironment::GithubActions => Some(GITHUB_ACTIONS_AUTHENTICATION_DOCS_URL),
90 RunEnvironment::GitlabCi => Some(GITLAB_CI_AUTHENTICATION_DOCS_URL),
91 RunEnvironment::Circleci => Some(CIRCLECI_AUTHENTICATION_DOCS_URL),
92 RunEnvironment::Buildkite => Some(BUILDKITE_DOCS_URL),
93 RunEnvironment::Local => None,
94 }
95 }
96}
97
98#[derive(Deserialize, Serialize, Debug)]

Callers 2

log_authenticationMethod · 0.80
retrieve_upload_dataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected