Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bazelbuild/bazelisk
/ types & classes
Types & classes
40 in github.com/bazelbuild/bazelisk
⨍
Functions
249
◇
Types & classes
40
↓ 1 callers
Interface
Clock
Clock keeps track of time. It can return the current time, as well as move forward by sleeping for a certain period.
httputil/httputil.go:50
FuncType
ArgsFunc
ArgsFunc is a function that receives a resolved Bazel version and returns the arguments to invoke Bazel with.
core/core.go:55
Struct
BazelInstallation
BazelInstallation provides a summary of a single install of `bazel`
core/core.go:287
Interface
CommitRepo
CommitRepo represents a repository that stores Bazel binaries built at specific commits. It can also return the hashes of the most recent commits that
core/repositories.go:56
Interface
Config
Config allows getting Bazelisk configuration values.
config/config.go:15
FuncType
ContentMerger
ContentMerger is a function that merges multiple HTTP payloads into a single message.
httputil/httputil.go:301
FuncType
DownloadFunc
DownloadFunc downloads a specific Bazel binary to the given location and returns the absolute path.
core/repositories.go:23
Struct
FakeTransport
FakeTransport represents a fake http.Transport that returns prerecorded responses.
httputil/fake.go:10
Struct
FilterOpts
FilterOpts represents options relevant to filtering Bazel versions.
core/repositories.go:29
Interface
ForkRepo
ForkRepo represents a repository that stores a fork of Bazel (releases).
core/repositories.go:46
Struct
GCSRepo
GCSRepo represents a Bazel repository on Google Cloud Storage that contains Bazel releases, release candidates and Bazel binaries built at arbitrary c
repositories/gcs.go:29
Struct
GcsListResponse
GcsListResponse represents the result of listing the contents of a GCS bucket. Public for testing
repositories/gcs.go:114
Struct
GitHubRepo
GitHubRepo represents a fork of Bazel hosted on GitHub, and provides a list of all available Bazel binaries in that repo, as well as the ability to do
repositories/github.go:17
Struct
Info
Info represents a structured Bazel version identifier.
versions/versions.go:30
FuncType
LTSFilter
LTSFilter filters Bazel versions based on specific criteria.
core/repositories.go:26
Interface
LTSRepo
LTSRepo represents a repository that stores LTS Bazel releases and their candidates.
core/repositories.go:36
Struct
Repositories
Repositories offers access to different types of Bazel repositories, mainly for finding and downloading the correct version of Bazel.
core/repositories.go:74
Interface
RollingRepo
RollingRepo represents a repository that stores rolling Bazel releases.
core/repositories.go:65
Struct
args
platforms/platforms_test.go:6
Struct
commit
core/core.go:1009
Struct
compareResponse
core/core.go:1014
Struct
fakeClock
httputil/httputil_test.go:16
Struct
fromEnv
config/config.go:24
Struct
gcsSetup
bazelisk_version_test.go:390
Struct
gitHubRelease
repositories/github.go:82
Struct
layered
config/config.go:107
FuncType
listVersionsFunc
func(bazeliskHome string) ([]string, error)
core/repositories.go:187
Struct
noCommitRepo
core/repositories.go:346
Struct
noForkRepo
core/repositories.go:334
Struct
noLTSRepo
The whole point of the structs below this line is that users can simply call repos.LTS.GetLTSVersions() (etc) without having to worry whether `LTS` po
core/repositories.go:322
Struct
noRollingRepo
core/repositories.go:358
Struct
parentCommit
core/core.go:1005
Struct
platform
platforms/platforms.go:15
Struct
progress
Progress shows a download progress bar.
httputil/progress/progress.go:16
Struct
realClock
httputil/httputil.go:55
Struct
responseCollection
httputil/fake.go:50
Struct
responseError
httputil/fake.go:88
Struct
static
config/config.go:41
Struct
test
httputil/progress/progress_test.go:8
Struct
test
core/repositories_test.go:32