Documentation ¶
Index ¶
- func BuildPackagemanagerFullURL(url string, repo string, osType config.OperatingSystem, language string) (string, error)
- func BuildPublicPackageManagerFullURL(osType config.OperatingSystem) (string, error)
- func ConvertOSTypeToOSName(osType config.OperatingSystem) (string, error)
- func InteractivePackageManagerPrompts(osType config.OperatingSystem) error
- func PromptLanguageRepos() ([]string, error)
- func PromptPackageManagerChoice() (bool, error)
- func PromptPackageManagerNameAndBuildURL(cleanURL string, osType config.OperatingSystem, language string) (string, error)
- func PromptPackageManagerRepo(language string) (string, error)
- func PromptPackageManagerURL() (string, error)
- func PromptPublicPackageManagerChoice() (bool, error)
- func VerifyAndBuildPublicPackageManager(osType config.OperatingSystem) error
- func VerifyPackageManagerRepo(packageManagerURL string, packageManagerRepo string, language string) error
- func VerifyPackageManagerURL(packageManagerURL string) (string, error)
- type RepoInformation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
Prompt asking users which language repos they will use
func PromptPackageManagerChoice ¶
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 ¶
Prompt users for a Posit Package Manager repo name
func PromptPackageManagerURL ¶
Prompt users for a default Posit Package Manager URL
func PromptPublicPackageManagerChoice ¶
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 VerifyPackageManagerURL ¶
Types ¶
type RepoInformation ¶
type RepoInformation []struct { Name string `json:"name"` }
Click to show internal directories.
Click to hide internal directories.