package
0.0.0-20230620015642-8705ae581d71
Repository: https://github.com/rohitramu/kpm.git
Documentation: pkg.go.dev
# Functions
GetAvailablePackagesAndVersions retrieves the list of available packages and their versions.
GetDependencyDefinitionTemplates returns the templates for all dependency definition templates in a template package.
GetDependencyTree ensures that the dependency tree has no loops and then returns the dependency tree.
GetExecutableTemplates returns all executable templates in a template package.
GetHighestPackageVersion returns the highest available package version found in the local KPM repository.
GetOutputFriendlyName returns the friendly name given an output name and a package's full name.
GetPackageFullNamesFromLocalRepository returns the list of package names in the local KPM package repository, in alphabetical order.
GetPackageInfo validates the package directory and returns the package info object for a given package.
GetPackageParameters returns the parameters in a file as an object which can be used as input to the interface template in a package.
GetSharedTemplate creates a template which contains default options, functions and helper template definitions defined in the given package.
GetTemplateInput creates the input values for a template by combining the interface, parameters and package info.
PullPackage retrieves a remote template package and makes it available for use.
# Structs
DependencyTree is the definition of the package dependency tree.
# Type aliases
PackageNamesAndVersions is the mapping of package names to its list of versions.