packagemanager

package
v0.0.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPackagemanagerFullURL

func BuildPackagemanagerFullURL(url string, repo string, osType config.OperatingSystem, language string) (string, error)

func BuildPublicPackageManagerFullURL

func BuildPublicPackageManagerFullURL(osType config.OperatingSystem) (string, error)

func ConvertOSTypeToOSName

func ConvertOSTypeToOSName(osType config.OperatingSystem) (string, error)

func InteractivePackageManagerPrompts

func InteractivePackageManagerPrompts(osType config.OperatingSystem) error

func PromptLanguageRepos

func PromptLanguageRepos() ([]string, error)

Prompt asking users which language repos they will use

func PromptPackageManagerChoice

func PromptPackageManagerChoice() (string, error)

Prompt users if they wish to add a default Posit Package Manager URL to Workbench

func PromptPackageManagerNameAndBuildURL

func PromptPackageManagerNameAndBuildURL(cleanURL string, osType config.OperatingSystem, language string) (string, error)

PromptPackageManagerNameAndBuildURL prompts users for a Posit Package Manager repo name and builds the full URL

func PromptPackageManagerRepo

func PromptPackageManagerRepo(language string) (string, error)

Prompt users for a Posit Package Manager repo name

func PromptPackageManagerURL

func PromptPackageManagerURL() (string, error)

Prompt users for a default Posit Package Manager URL

func PromptPublicPackageManagerChoice

func PromptPublicPackageManagerChoice() (bool, error)

Prompt users if they wish to add Posit Public Package Manager as the default R repo in Workbench

func VerifyAndBuildPublicPackageManager

func VerifyAndBuildPublicPackageManager(osType config.OperatingSystem) error

func VerifyPackageManagerRepo

func VerifyPackageManagerRepo(packageManagerURL string, packageManagerRepo string, language string) error

func VerifyPackageManagerURL

func VerifyPackageManagerURL(packageManagerURL string) (string, error)

Types

type RepoInformation

type RepoInformation []struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL