quarkus

package
v0.0.0-...-46f2bb0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2025 License: MIT Imports: 13 Imported by: 0

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

func GetExtensions() ([]Extension, error)

type Preset

type Preset struct {
	Key        string   `json:"key"`
	Title      string   `json:"title"`
	Icon       string   `json:"icon"`
	Extensions []string `json:"extensions"`
}

func GetPresets

func GetPresets() ([]Preset, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL