Documentation ¶
Overview ¶
Copyright © 2019 Reijhanniel Jearl Campos <devcsrj@apache.org>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2019 Reijhanniel Jearl Campos <devcsrj@apache.org>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactApi ¶
type ArtifactApi interface { // Queries for artifacts using the provided query 'q' SearchArtifacts(q string, page int) SearchResults // Queries the details of the provided group and id GetArtifactDetails(group string, id string) Details }
Interface for querying maven artifacts
type BuildrImportStyle ¶
type BuildrImportStyle struct{}
type Details ¶
type Details struct { License string Repositories []Repository Versions []Version }
type GradleImportStyle ¶
type GradleImportStyle struct{}
type GrapeImportStyle ¶
type GrapeImportStyle struct{}
http://docs.groovy-lang.org/latest/html/documentation/grape.html
type ImportStyle ¶
type ImportStyle interface { // Constructs the import string for the provided artifact and version Apply(artifact Artifact, version Version) string }
Interface for creating import style for artifacts
type IvyImportStyle ¶
type IvyImportStyle struct{}
type LeiningenImportStyle ¶
type LeiningenImportStyle struct{}
type MavenImportStyle ¶
type MavenImportStyle struct{}
type Mvnrepository ¶
type Mvnrepository struct {
// contains filtered or unexported fields
}
Implementation for fetching artifacts from https://mvnrepository.com
func (*Mvnrepository) GetArtifactDetails ¶
func (e *Mvnrepository) GetArtifactDetails(group string, id string) Details
func (*Mvnrepository) Init ¶
func (e *Mvnrepository) Init(url string)
func (*Mvnrepository) SearchArtifacts ¶
func (e *Mvnrepository) SearchArtifacts(q string, page int) SearchResults
type Repository ¶
type SbtImportStyle ¶
type SbtImportStyle struct{}
type SearchResults ¶
type Version ¶
type Version struct { Value string Repository Repository Date string }