package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
ExpectIdent returns an identifier string or an error if this Expr is not an identifier.
ExpectLiteralString returns the string represented by this Expr or an error if the Expr is not a literal string.
ExpectSingletonStringList returns the string in this list or an error if this Expr is not a string list of length 1.
ExpectTupleOfStrings returns the strings in the tuple represented by this Expr or an error if this is not a string tuple of the correct length.
GetArtifactFromGoRepository returns the DownloadableArtifact pointed to by the given go_repository.
GetArtifactFromHTTPArchive returns the DownloadableArtifact for a given http_archive() call.
GetFunctionFromCall returns the name of the function called for the given call expression, or the empty string if the function being called is not a normal identifier.
ListArtifactsInDepsBzl parses the DEPS.bzl file and returns a map of repo name -> DownloadableArtifact capturing what's in that repo.
# Structs
DownloadableArtifact represents a single URL/SHA256 pair.