Documentation ¶
Index ¶
- func CreateFileFolder(action, fileType, path string) (string, string)
- func GetAvailablePackages() []model.Package
- func GetDriversList(folder string) ([]model.Driver, error)
- func GetLoadedDriver() *model.Driver
- func InstallPackageFile(file *model.DriverFile, environments *model.Environments, soapFunc util.Soap) model.Output
- func LoadDriver(path string) (int, error)
- func LoadPackages(systemPackageFolder, userPackageFolder string)
- func ProcessDriverFile(file *model.DriverFile, action, sourceFolder, outputFolder string, ...) model.Output
- func ProcessPackageFile(file *model.DriverFile, selectedVersion *model.Version, ...) model.Output
- func ValidateLoadedDriver() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFileFolder ¶
CreateFileFolder creates the folders according to the action (read, write or migrate)
func GetAvailablePackages ¶
GetAvailablePackages returns a list of available packages
func GetDriversList ¶
GetDriversList returns a list of available drivers in the defined folder
func GetLoadedDriver ¶
GetLoadedDriver returns the pointer to the loaded driver
func InstallPackageFile ¶
func InstallPackageFile(file *model.DriverFile, environments *model.Environments, soapFunc util.Soap) model.Output
InstallPackageFile execute the soap call to install the driver and returns the output
func LoadDriver ¶
LoadDriver load an specific driver defined by a path
func LoadPackages ¶
func LoadPackages(systemPackageFolder, userPackageFolder string)
LoadPackages load the available packages in the user's folder
func ProcessDriverFile ¶
func ProcessDriverFile(file *model.DriverFile, action, sourceFolder, outputFolder string, environments *model.Environments, soapFunc util.Soap) model.Output
ProcessDriverFile execute a xog files and return the output
func ProcessPackageFile ¶
func ProcessPackageFile(file *model.DriverFile, selectedVersion *model.Version, packageFolder, writeFolder string, environments *model.Environments, soapFunc util.Soap) model.Output
ProcessPackageFile validates if the driver needs transformation and creates the write xog files according to the installation environment
func ValidateLoadedDriver ¶
func ValidateLoadedDriver() bool
ValidateLoadedDriver verify if the driver was loaded successfully
Types ¶
This section is empty.