Documentation ¶
Index ¶
- func DeleteDemoFiles(targetDir string, orderConfig config.ProjectConfiguration)
- func DownloadInitializer(targetDir string, formData url.Values) error
- func SetLogger(logger logrus.FieldLogger)
- func UrlValuesFrom(bootVersion string, config config.ProjectConfiguration) url.Values
- func Validate(config config.ProjectConfiguration) error
- type Bom
- type Dependency
- type IoDependenciesResponse
- type IoInfoResponse
- type IoRootResponse
- type LinksResponse
- type Repository
- type ValueResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDemoFiles ¶
func DeleteDemoFiles(targetDir string, orderConfig config.ProjectConfiguration)
func SetLogger ¶
func SetLogger(logger logrus.FieldLogger)
func UrlValuesFrom ¶
func UrlValuesFrom(bootVersion string, config config.ProjectConfiguration) url.Values
func Validate ¶
func Validate(config config.ProjectConfiguration) error
Types ¶
type Dependency ¶
type IoDependenciesResponse ¶
type IoDependenciesResponse struct { BootVersion string `json:"bootVersion"` Dependencies map[string]Dependency `json:"dependencies"` Repositories map[string]Repository `json:"repositories"` }
func GetDependencies ¶
func GetDependencies() (IoDependenciesResponse, error)
type IoInfoResponse ¶
type IoInfoResponse struct { BomRanges map[string]map[string]string `json:"bom-ranges"` Build struct { Artifact string `json:"artifact"` Group string `json:"group"` Name string `json:"name"` Time string `json:"time"` Version string `json:"version"` Versions map[string]string `json:"versions"` } `json:"build"` DependencyRanges map[string]map[string]string `json:"dependency-ranges"` Git struct { Branch string `json:"branch"` Commit map[string]string `json:"commit"` } `json:"git"` }
type IoRootResponse ¶
type IoRootResponse struct { Links map[string]LinksResponse `json:"_links"` ArtifactId struct { Default string `json:"default"` Type string `json:"text"` } `json:"artifactId"` BootVersion struct { Default string `json:"default"` Type string `json:"type"` Values []ValueResponse `json:"values"` } `json:"bootVersion"` Dependencies struct { Type string `json:"type"` Values []struct { Name string `json:"name"` Values []ValueResponse `json:"values"` } } `json:"dependencies"` Description struct { Default string `json:"default"` Type string `json:"type"` } `json:"description"` JavaVersion struct { Default string `json:"default"` Type string `json:"type"` Values []ValueResponse `json:"values"` } `json:"javaVersion"` Language struct { Default string `json:"default"` Type string `json:"type"` Values []ValueResponse `json:"values"` } `json:"language"` Name struct { Default string `json:"default"` Type string `json:"type"` } `json:"name"` GroupId struct { Default string `json:"default"` Type string `json:"type"` } `json:"groupId"` PackageName struct { Default string `json:"default"` Type string `json:"type"` } `json:"packageName"` Packaging struct { Default string `json:"default"` Type string `json:"type"` Values []ValueResponse `json:"values"` } `json:"packaging"` Type struct { Default string `json:"default"` Type string `json:"type"` Values []ValueResponse `json:"values"` } `json:"type"` Version struct { Default string `json:"default"` Type string `json:"type"` } `json:"version"` }
func GetRoot ¶
func GetRoot() (IoRootResponse, error)
type LinksResponse ¶
type Repository ¶
type ValueResponse ¶
type ValueResponse struct { Id string `json:"id,omitempty"` Name string `json:"name"` Description string `json:"description,omitempty"` VersionRange string `json:"versionRange,omitempty"` Action string `json:"action,omitempty"` //Links map[string]LinksResponse `json:"_links,omitempty"` Tags map[string]string `json:"tags,omitempty"` }
Click to show internal directories.
Click to hide internal directories.