Documentation ¶
Index ¶
- func Confirm(message, help string, force bool) bool
- func Copy(src, dst string) (int64, error)
- func Create(path string) (afero.File, error)
- func CreateAemInstallDir(instance objects.Instance) (string, error)
- func CreateBinDir() (string, error)
- func CreateDir(path string) (string, error)
- func CreateDirForPackage(aemPackage *objects.Package) (string, error)
- func CreateInstallDir(instance objects.Instance) (string, error)
- func CreateInstanceDir(instance objects.Instance) (string, error)
- func CreateInstancesDir() (string, error)
- func Exists(path string) bool
- func FilesystemError(err bool)
- func GetAemInstallDirLocation(instance objects.Instance) (string, error)
- func GetAppDirLocation(instance objects.Instance) (string, error)
- func GetBinDir() (string, error)
- func GetConfigFileLocation() (string, error)
- func GetDirForPackage(aemPackage *objects.Package) (string, error)
- func GetInstanceDirLocation(instance objects.Instance) (string, error)
- func GetInstancesDirLocation() (string, error)
- func GetJarFileLocation(jar *objects.AemJar) (string, error)
- func GetLicenseLocation(instance objects.Instance) (string, error)
- func GetLocationForPackage(aemPackage *objects.Package) (string, error)
- func GetLogDirLocation(instance objects.Instance) (string, error)
- func GetPidFileLocation(instance objects.Instance) (string, error)
- func GetRunDirLocation(instance objects.Instance) (string, error)
- func GetUnpackDirLocation() (string, error)
- func GetWorkDir() (string, error)
- func HomeDir() (string, error)
- func IsFile(path string) bool
- func Mock(ro bool) afero.Fs
- func Open(path string) (afero.File, error)
- func ReadDir(path string) ([]os.FileInfo, error)
- func Remove(path string) error
- func RemoveAll(path string) error
- func RemoveSlash(path string) string
- func Rename(source, destination string) error
- func WriteGitIgnoreFile() (string, error)
- func WriteTextFile(path, content string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAemInstallDir ¶
CreateAemInstallDir creates aem install dir
func CreateDirForPackage ¶
CreateDirForPackage creates a dir for package struct
func CreateInstallDir ¶
CreateInstallDir create the install dir
func CreateInstanceDir ¶
CreateInstanceDir Create dir for instance
func CreateInstancesDir ¶
CreateInstancesDir creates instances dir for all instances to be created under
func FilesystemError ¶
func FilesystemError(err bool)
FilesystemError trigger filesystem error for unit testing
func GetAemInstallDirLocation ¶
GetAemInstallDirLocation gets AEM install dir for location
func GetAppDirLocation ¶
GetAppDirLocation gets app dir for instance
func GetConfigFileLocation ¶
GetConfigFileLocation get project config file location
func GetDirForPackage ¶
GetDirForPackage get the path for the packages dir
func GetInstanceDirLocation ¶
GetInstanceDirLocation Get's location for instance
func GetInstancesDirLocation ¶
GetInstancesDirLocation get location of instances dir
func GetJarFileLocation ¶
GetJarFileLocation Get the location of the jar file
func GetLicenseLocation ¶
GetLicenseLocation get license location for instance
func GetLocationForPackage ¶
GetLocationForPackage location for package
func GetLogDirLocation ¶
GetLogDirLocation Get the log file location
func GetPidFileLocation ¶
GetPidFileLocation gets path of pidfile
func GetRunDirLocation ¶
GetRunDirLocation Get location of the run dir of aem
func GetUnpackDirLocation ¶
GetUnpackDirLocation get unpack dir location
func RemoveAll ¶
RemoveAll removes a directory path and any children it contains. It does not fail if the path does not exist (return nil).
func WriteGitIgnoreFile ¶
WriteGitIgnoreFile Write ignore file to disk
func WriteTextFile ¶
WriteTextFile write textfile to disk
Types ¶
This section is empty.