Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrameworkTemplate ¶
FrameworkTemplate represents a framework element template and its target path
func GetFrameworkTemplates ¶
func GetFrameworkTemplates() []FrameworkTemplate
GetFrameworkTemplates returns the list of framework element templates These are the only files that get upgraded when running andurel upgrade
type GitAnalyzer ¶
type GitAnalyzer struct {
// contains filtered or unexported fields
}
func NewGitAnalyzer ¶
func NewGitAnalyzer(projectRoot string) *GitAnalyzer
func (*GitAnalyzer) GetFileFromInitialCommit ¶
func (g *GitAnalyzer) GetFileFromInitialCommit(relPath string) ([]byte, error)
func (*GitAnalyzer) GetModifiedFiles ¶
func (g *GitAnalyzer) GetModifiedFiles() (map[string]bool, error)
func (*GitAnalyzer) IsClean ¶
func (g *GitAnalyzer) IsClean() (bool, error)
type TemplateGenerator ¶
type TemplateGenerator struct {
// contains filtered or unexported fields
}
func NewTemplateGenerator ¶
func NewTemplateGenerator(targetVersion string) *TemplateGenerator
func (*TemplateGenerator) RenderFrameworkTemplates ¶
func (g *TemplateGenerator) RenderFrameworkTemplates( config layout.ScaffoldConfig, ) (map[string][]byte, error)
RenderFrameworkTemplates renders all framework element templates and returns a map of file paths to their rendered content
type ToolSyncResult ¶ added in v1.0.0
ToolSyncResult represents the result of synchronizing tools
type UpgradeOptions ¶
type UpgradeReport ¶
type Upgrader ¶
type Upgrader struct {
// contains filtered or unexported fields
}
func NewUpgrader ¶
func NewUpgrader(projectRoot string, opts UpgradeOptions) (*Upgrader, error)
func (*Upgrader) Execute ¶
func (u *Upgrader) Execute() (*UpgradeReport, error)
Click to show internal directories.
Click to hide internal directories.