Documentation
¶
Index ¶
- Variables
- func BuildProject(project common.AppProject, options common.BuildOptions) error
- func CreateLegacyMetadata(path, contribType, contribPkg string) error
- func CreateProject(basePath, appName, appCfgPath, coreVersion string) (common.AppProject, error)
- func GetAliasRef(contribType string, alias string) (string, bool)
- func GetTempDir() (string, error)
- func InstallContribBundle(project common.AppProject, path string) error
- func InstallLegacySupport(project common.AppProject) error
- func InstallPackage(project common.AppProject, pkg string) error
- func InstallReplacedPackage(project common.AppProject, replacedPath string, pkg string) error
- func ListContribs(project common.AppProject, jsonFormat bool, filter string) error
- func ListOrphanedRefs(project common.AppProject, jsonFormat bool) error
- func ListProjectImports(project common.AppProject) error
- func NewAppProject(appDir string) common.AppProject
- func RegisterAlias(contribType string, alias, ref string)
- func RenderTemplate(w io.Writer, text string, data interface{})
- func ResolveProjectImports(project common.AppProject) error
- func SetVerbose(enable bool)
- func SyncProjectImports(project common.AppProject) error
- func UpdatePkg(project common.AppProject, pkg string) error
- func Verbose() bool
- type ContribSpec
- type ListFilter
- type ShimBuildPreProcessor
Constants ¶
This section is empty.
Variables ¶
View Source
var GOOSENV = os.Getenv("GOOS")
Functions ¶
func BuildProject ¶
func BuildProject(project common.AppProject, options common.BuildOptions) error
func CreateLegacyMetadata ¶
func CreateProject ¶
func CreateProject(basePath, appName, appCfgPath, coreVersion string) (common.AppProject, error)
func GetTempDir ¶
func InstallContribBundle ¶
func InstallContribBundle(project common.AppProject, path string) error
func InstallLegacySupport ¶
func InstallLegacySupport(project common.AppProject) error
func InstallPackage ¶
func InstallPackage(project common.AppProject, pkg string) error
func InstallReplacedPackage ¶
func InstallReplacedPackage(project common.AppProject, replacedPath string, pkg string) error
func ListContribs ¶
func ListContribs(project common.AppProject, jsonFormat bool, filter string) error
func ListOrphanedRefs ¶
func ListOrphanedRefs(project common.AppProject, jsonFormat bool) error
func ListProjectImports ¶
func ListProjectImports(project common.AppProject) error
func NewAppProject ¶
func NewAppProject(appDir string) common.AppProject
func RegisterAlias ¶
func RenderTemplate ¶
RenderTemplate renders the specified template
func ResolveProjectImports ¶
func ResolveProjectImports(project common.AppProject) error
func SetVerbose ¶
func SetVerbose(enable bool)
func SyncProjectImports ¶
func SyncProjectImports(project common.AppProject) error
Types ¶
type ContribSpec ¶
type ListFilter ¶
type ListFilter int
type ShimBuildPreProcessor ¶
type ShimBuildPreProcessor struct {
}
func (*ShimBuildPreProcessor) DoPreProcessing ¶
func (*ShimBuildPreProcessor) DoPreProcessing(project common.AppProject, options common.BuildOptions) error
Click to show internal directories.
Click to hide internal directories.