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 AppBuilder
- type ContribSpec
- type ListFilter
- type ShimBuilder
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 AppBuilder ¶ added in v0.10.0
type AppBuilder struct { }
func (*AppBuilder) Build ¶ added in v0.10.0
func (*AppBuilder) Build(project common.AppProject) error
type ContribSpec ¶
type ListFilter ¶
type ListFilter int
type ShimBuilder ¶ added in v0.10.0
type ShimBuilder struct {
// contains filtered or unexported fields
}
func (*ShimBuilder) Build ¶ added in v0.10.0
func (sb *ShimBuilder) Build(project common.AppProject) error
Click to show internal directories.
Click to hide internal directories.