Documentation
¶
Index ¶
Constants ¶
View Source
const ( ParamGroup = "g" ParamArtifact = "a" ParamBuildTool = "b" ParamExtension = "e" ParamVersion = "v" ParamJavaVersion = "j" ParamCN = "cn" )
View Source
const (
QuarkusInitializrURL = "https://code.quarkus.io"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extension ¶
type Extension struct {
ID string `json:"id"`
ShortID string `json:"shortId"`
Version string `json:"version"`
Name string `json:"name"`
Description string `json:"description"`
ShortName string `json:"shortName"`
Category string `json:"category"`
TransitiveExtensions []string `json:"transitiveExtensions"`
Tags []string `json:"tags"`
Keywords []string `json:"keywords"`
ProvidesExampleCode bool `json:"providesExampleCode"`
ProvidesCode bool `json:"providesCode"`
Guide string `json:"guide"`
Order int `json:"order"`
Platform bool `json:"platform"`
BOM string `json:"bom"`
Selected bool `json:"-"`
}
func GetExtensions ¶
type Preset ¶
type Preset struct {
Key string `json:"key"`
Title string `json:"title"`
Icon string `json:"icon"`
Extensions []string `json:"extensions"`
}
func GetPresets ¶
type ProjectInitializr ¶
type ProjectInitializr struct {
Group string
Artifact string
BuildTool string
Version string
JavaVersion string
StarterCode bool
Extension []string
}
func (ProjectInitializr) Generate ¶
func (pi ProjectInitializr) Generate() error
func (ProjectInitializr) URL ¶
func (pi ProjectInitializr) URL() string
type QuarkusStarterResponse ¶
type QuarkusStarterResponse struct {
Group string
Artifact string
BuildTool []string
Version string
JavaVersion []string
StarterCode bool
Extensions []Extension `json:"extensions"`
Presets []Preset `json:"presents"`
}
func Run ¶
func Run() (QuarkusStarterResponse, error)
Click to show internal directories.
Click to hide internal directories.