xog

package
v2.5.85+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFileFolder

func CreateFileFolder(action, fileType, path string) (string, string)

CreateFileFolder creates the folders according to the action (read, write or migrate)

func GetAvailablePackages

func GetAvailablePackages() []model.Package

GetAvailablePackages returns a list of available packages

func GetDriversList

func GetDriversList(folder string) ([]model.Driver, error)

GetDriversList returns a list of available drivers in the defined folder

func GetLoadedDriver

func GetLoadedDriver() *model.Driver

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

func LoadDriver(path string) (int, error)

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.

Jump to

Keyboard shortcuts

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