Documentation ¶
Index ¶
- Constants
- type ArchetypeFilter
- type ArchetypeForm
- type ArchetypeModel
- func (m *ArchetypeModel) AddArtifact(a *ArtifactData) *ArtifactVersions
- func (m *ArchetypeModel) ArtifactIDs(groupId string, filter string) []string
- func (model *ArchetypeModel) CreateSurvey(data *ArchetypeFilter, pickVersion bool, form *ArchetypeForm) error
- func (m *ArchetypeModel) GroupIDs(filter string) []string
- func (m *ArchetypeModel) Versions(groupId string, artifactId, filter string) []string
- type ArtifactData
- type ArtifactVersions
- type GroupArchectypes
Constants ¶
View Source
const (
MavenArchetypePluginVersion = "3.0.1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchetypeFilter ¶
type ArchetypeForm ¶
type ArchetypeModel ¶
type ArchetypeModel struct {
Groups map[string]*GroupArchectypes
}
func LoadArchetypes ¶
func LoadArchetypes(name string, archetypeCatalogURL string, cacheDir string) (*ArchetypeModel, error)
func NewArchetypeModel ¶
func NewArchetypeModel() ArchetypeModel
func (*ArchetypeModel) AddArtifact ¶
func (m *ArchetypeModel) AddArtifact(a *ArtifactData) *ArtifactVersions
func (*ArchetypeModel) ArtifactIDs ¶
func (m *ArchetypeModel) ArtifactIDs(groupId string, filter string) []string
func (*ArchetypeModel) CreateSurvey ¶
func (model *ArchetypeModel) CreateSurvey(data *ArchetypeFilter, pickVersion bool, form *ArchetypeForm) error
func (*ArchetypeModel) GroupIDs ¶
func (m *ArchetypeModel) GroupIDs(filter string) []string
type ArtifactData ¶
type ArtifactVersions ¶
type GroupArchectypes ¶
type GroupArchectypes struct { GroupId string Artifacts map[string]*ArtifactVersions }
Click to show internal directories.
Click to hide internal directories.