Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// DefaultMixinVersion is the default version of mixins installed when it's not present
DefaultMixinVersion = "canary"
)
View Source
var (
// DefaultPorterVersion is the default version of Porter that is installed when it's not present
DefaultPorterVersion = "v1.0.16"
)
Functions ¶
func EnsureMixin ¶
func EnsureMixin(mixin InstallMixinOptions) error
EnsureMixin installs the specified mixin.
func EnsurePorter ¶
func EnsurePorter()
Install the default version of porter, if porter isn't already installed
func GetPorterHome ¶
func GetPorterHome() string
GetPorterHome determines the current PORTER_HOME directory
func UseBinForPorterHome ¶
func UseBinForPorterHome()
UseBinForPorterHome sets the bin/ directory to be PORTER_HOME
func UsePorterHome ¶
func UsePorterHome(home string)
UsePorterHome sets the specified directory to be PORTER_HOME
Types ¶
Click to show internal directories.
Click to hide internal directories.