Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GFlowsEnv ¶
type GFlowsEnv struct {
// contains filtered or unexported fields
}
func NewGFlowsEnv ¶
func NewGFlowsEnv(fs *afero.Afero, installer *GFlowsLibInstaller, context *config.GFlowsContext, logger *io.Logger) *GFlowsEnv
func (*GFlowsEnv) GetLibPaths ¶
GetLibPaths - returns search paths for the given workflow (including libs and local dependency directories)
func (*GFlowsEnv) GetPackages ¶
func (env *GFlowsEnv) GetPackages() ([]pkg.GFlowsPackage, error)
type GFlowsLib ¶
type GFlowsLib struct { // Path - the path to the package. Can be remote, local (relative) or local (absolute). Path string // ManifestPath - the path to the manifest, computed from Path. ManifestPath string // PackageName - the name of the package. This defaults to the name of the parent directory of // the manifest, but will be updated to the name in the manifest if given. PackageName string // LocalDir - the local directory of the library, to add to the lib paths. If ManifestPath is // local then this will simply be the directory containing ManifestPath. If ManifestPath is // remote, then this will be a local temp directory. LocalDir string // Files - content of the package as an array of FileInfo Files []*pkg.PathInfo // contains filtered or unexported fields }
func NewGFlowsLib ¶
func NewGFlowsLib(fs *afero.Afero, installer *GFlowsLibInstaller, logger *io.Logger, path string, context *config.GFlowsContext) (*GFlowsLib, error)
func (*GFlowsLib) GetPathInfo ¶
func (*GFlowsLib) WorkflowsDir ¶
type GFlowsLibInstaller ¶
type GFlowsLibInstaller struct {
// contains filtered or unexported fields
}
func NewGFlowsLibInstaller ¶
func (*GFlowsLibInstaller) CleanUp ¶
func (installer *GFlowsLibInstaller) CleanUp()
type GFlowsLibManifest ¶
type GFlowsLibManifest struct { // Files - the list of files in the library. If the manifest is remote, this list is used to // download the files. Files []string // Libs - deprecated field, use Files instead Libs []string // Name - the name of the package Name string }
func ParseManifest ¶
func ParseManifest(content string) (*GFlowsLibManifest, error)
Click to show internal directories.
Click to hide internal directories.