Documentation
¶
Index ¶
- func ConvertToEnvMap(activations []provider.EnvironmentActivation) map[string]string
- func ConvertToEnvmanEnvs(activations []provider.EnvironmentActivation) []envmanModels.EnvironmentItemModel
- func InstallSingleTool(toolRequest provider.ToolRequest, providerID string, useFastInstall bool, ...) ([]provider.EnvironmentActivation, error)
- func ParseVersionString(versionString string) (string, provider.ResolutionStrategy, error)
- func RunDeclarativeSetup(config models.BitriseDataModel, tracker analytics.Tracker, isCI bool, ...) ([]provider.EnvironmentActivation, error)
- func RunVersionFileSetup(versionFilePaths []string, tracker analytics.Tracker, silent bool) ([]provider.EnvironmentActivation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToEnvMap ¶ added in v2.36.0
func ConvertToEnvMap(activations []provider.EnvironmentActivation) map[string]string
func ConvertToEnvmanEnvs ¶ added in v2.36.0
func ConvertToEnvmanEnvs(activations []provider.EnvironmentActivation) []envmanModels.EnvironmentItemModel
func InstallSingleTool ¶ added in v2.36.1
func InstallSingleTool(toolRequest provider.ToolRequest, providerID string, useFastInstall bool, tracker analytics.Tracker, silent bool) ([]provider.EnvironmentActivation, error)
InstallSingleTool installs a single tool with the specified version using the given provider. This is a convenience wrapper around installTools for installing just one tool.
func ParseVersionString ¶
func ParseVersionString(versionString string) (string, provider.ResolutionStrategy, error)
ParseVersionString takes a string like `3.12:latest` and parses it into a plain version string (3.12) and a ResolutionStrategy (latest released).
func RunDeclarativeSetup ¶ added in v2.36.0
func RunDeclarativeSetup(config models.BitriseDataModel, tracker analytics.Tracker, isCI bool, workflowID string, silent bool) ([]provider.EnvironmentActivation, error)
func RunVersionFileSetup ¶ added in v2.36.0
func RunVersionFileSetup(versionFilePaths []string, tracker analytics.Tracker, silent bool) ([]provider.EnvironmentActivation, error)
RunVersionFileSetup installs tools from version files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.