Versions in this module Expand all Collapse all v0 v0.1.1 Mar 12, 2023 v0.1.0 Mar 12, 2023 Changes in this version + func GetMongoDB(ctx context.Context, cfg Config) error + type Config struct + func NewConfig(ctx context.Context, mongoVersionStr string) (*Config, error) + func (cfg *Config) MongoPath() string + type DownloadSpec struct + Arch string + OSName string + Platform string + func MakeDownloadSpec(version Version) (*DownloadSpec, error) + func (spec *DownloadSpec) GetDownloadURL() (string, error) + func (spec *DownloadSpec) Version() string + type UnsupportedMongoVersionError struct + func (err *UnsupportedMongoVersionError) Error() string + type UnsupportedSystemError struct + func (err *UnsupportedSystemError) Error() string + type Version struct + Major int + Minor int + Patch int + func NewVersion(version string) (*Version, error) + func (v *Version) IsGreaterOrEqual(major int, minor int, patch int) bool + func (v *Version) String() string