Documentation ¶
Index ¶
- type Activation
- type ActivationFile
- type ActivationOS
- type ActivationProperty
- type Build
- type BuildBase
- type CIManagement
- type CargoMetadata
- type ComposerMetadata
- type ComposerObject
- type ComposerPackage
- type ConanLockMetadata
- type ConanLockNode
- type ConanMetadata
- type Contributor
- type Contributors
- type Dependency
- type DependencyManagement
- type Developer
- type DistributionManagement
- type DotnetDeps
- type DotnetLibrary
- type Exclusion
- type Extension
- type GoBinMetadata
- type GoDevelMetadata
- type GoModMetadata
- type GraphLock
- type Hackage
- type HackageMetadata
- type HexMetadata
- type IssueManagement
- type License
- type LockDependency
- type MailingList
- type Notifier
- type Organization
- type PackageJSON
- type PackageLock
- type Parent
- type Plugin
- type PluginExecution
- type PluginManagement
- type PluginRepository
- type PodFileLockMetadata
- type PodFileLockMetadataCheckSums
- type PomRepository
- type PortageDigest
- type PortageFile
- type PortageMetadata
- type Prerequisites
- type Profile
- type Project
- type Properties
- type PubspecLockDescription
- type PubspecLockMetadata
- type PubspecLockPackage
- type RPMMetadata
- type Relocation
- type ReportSet
- type Reporting
- type ReportingPlugin
- type Repository
- type RepositoryPolicy
- type Resource
- type Scm
- type Site
- type StackConfig
- type StackLockConfig
- type StackPackages
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activation ¶
type Activation struct { ActiveByDefault bool `xml:"activeByDefault"` JDK string `xml:"jdk"` OS ActivationOS `xml:"os"` Property ActivationProperty `xml:"property"` File ActivationFile `xml:"file"` }
type ActivationFile ¶
type ActivationOS ¶
type ActivationProperty ¶
type Build ¶
type Build struct { SourceDirectory string `xml:"sourceDirectory"` ScriptSourceDirectory string `xml:"scriptSourceDirectory"` TestSourceDirectory string `xml:"testSourceDirectory"` OutputDirectory string `xml:"outputDirectory"` TestOutputDirectory string `xml:"testOutputDirectory"` Extensions []Extension `xml:"extensions>extension"` BuildBase }
type BuildBase ¶
type BuildBase struct { DefaultGoal string `xml:"defaultGoal"` Resources []Resource `xml:"resources>resource"` TestResources []Resource `xml:"testResources>testResource"` Directory string `xml:"directory"` FinalName string `xml:"finalName"` Filters []string `xml:"filters>filter"` PluginManagement PluginManagement `xml:"pluginManagement"` Plugins []Plugin `xml:"plugins>plugin"` }
type CIManagement ¶
type CargoMetadata ¶
type CargoMetadata struct { Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` Source string `json:"source,omitempty"` Checksum string `json:"checksum,omitempty"` Dependencies []string `json:"dependencies,omitempty"` }
CargoMetadata rust metadata
type ComposerMetadata ¶
type ComposerMetadata struct { Readme []string `json:"_readme"` ContentHash string `json:"content-hash"` Packages []ComposerPackage `json:"packages"` PackagesDev []ComposerPackage `json:"packages-dev"` Aliases []string `json:"aliases"` MinimumStability string `json:"minimum-stability"` StabilityFlags interface{} `json:"stability-flags"` PreferStable bool `json:"prefer-stable"` PreferLowest bool `json:"prefer-lowest"` Platform interface{} `json:"platform"` PlatformDev interface{} `json:"platform-dev"` }
ComposerMetadata - composer file metadata
type ComposerObject ¶
type ComposerObject map[string]interface{}
ComposerObject common objects for composer metadata
type ComposerPackage ¶
type ComposerPackage struct { Name string `json:"name"` Version string `json:"version"` Source ComposerObject `json:"source"` Dist ComposerObject `json:"dist"` Require ComposerObject `json:"require"` Provide ComposerObject `json:"provide"` RequireDev ComposerObject `json:"require-dev"` Suggest ComposerObject `json:"suggest"` Type string `json:"type"` Extract ComposerObject `json:"extra"` Autoload ComposerObject `json:"autoload"` NotificationURL string `json:"notification-url"` License []string `json:"license"` Authors []ComposerObject `json:"authors"` Description string `json:"description"` Homepage string `json:"homepage"` Keywords []string `json:"keywords"` Time string `json:"time"` }
ComposerPackage - composer packages
type ConanLockMetadata ¶
type ConanLockMetadata struct { GraphLock GraphLock `json:"graph_lock"` Version string `json:"version"` }
ConanLockMetadata conan.lock metadata
type ConanLockNode ¶
type ConanLockNode struct { Ref string `json:"ref"` Path string `json:"path,omitempty"` Context string `json:"context,omitempty"` Requires []string `json:"requires,omitempty"` PackageID string `json:"package_id,omitempty"` Prev string `json:"prev,omitempty"` BuildRequires string `json:"build_requires,omitempty"` PythonRequires string `json:"py_requires,omitempty"` Options interface{} `json:"options,omitempty"` }
ConanLockNode conan.lock packages metadata
type ConanMetadata ¶
ConanMetadata conan metadata
type Contributor ¶
type Contributors ¶
type Contributors struct { Name string `json:"name" mapstruct:"name"` Username string `json:"email" mapstruct:"username"` URL string `json:"url" mapstruct:"url"` }
Contributors - PackageJSON contributors
type Dependency ¶
type Dependency struct { GroupID string `xml:"groupId"` ArtifactID string `xml:"artifactId"` Version string `xml:"version"` Type string `xml:"type"` Classifier string `xml:"classifier"` Scope string `xml:"scope"` SystemPath string `xml:"systemPath"` Exclusions []Exclusion `xml:"exclusions>exclusion"` Optional string `xml:"optional"` }
type DependencyManagement ¶
type DependencyManagement struct {
Dependencies []Dependency `xml:"dependencies>dependency"`
}
type Developer ¶
type Developer struct { ID string `xml:"id"` Name string `xml:"name"` Email string `xml:"email"` URL string `xml:"url"` Organization string `xml:"organization"` OrganizationURL string `xml:"organizationUrl"` Roles []string `xml:"roles>role"` Timezone string `xml:"timezone"` Properties Properties `xml:"properties"` }
type DistributionManagement ¶
type DistributionManagement struct { Repository Repository `xml:"repository"` SnapshotRepository Repository `xml:"snapshotRepository"` Site Site `xml:"site"` DownloadURL string `xml:"downloadUrl"` Relocation Relocation `xml:"relocation"` Status string `xml:"status"` }
type DotnetDeps ¶
type DotnetDeps struct {
Libraries map[string]DotnetLibrary `json:"libraries"`
}
DotnetDeps - .NET Dependencies
type DotnetLibrary ¶
type DotnetLibrary struct { Type string `json:"type"` Path string `json:"path"` Sha512 string `json:"sha512"` HashPath string `json:"hashPath"` }
DotnetLibrary - .NET libraries
type GoBinMetadata ¶
type GoBinMetadata struct { Architecture string `json:"architecture,omitempty"` Compiler string `json:"compiler,omitempty"` OS string `json:"os,omitempty"` GoCompileRelease string `json:"goCompileRelease,omitempty"` H1Digest string `json:"h1Digest,omitempty"` Path string `json:"path,omitempty"` Version string `json:"version,omitempty"` }
GoBinMetadata go binary metadata
type GoDevelMetadata ¶
type GoDevelMetadata struct { Path string `json:"path"` Version string `json:"version"` GoCompileRelease string `json:"goCompileRelease"` }
GoDevelMetadata - go devel metadata
type GoModMetadata ¶
GoModMetadata go module metadata
type GraphLock ¶
type GraphLock struct { Nodes map[string]ConanLockNode `json:"nodes"` RevisionsEnabled bool `json:"revisions_enabled"` }
GraphLock conan.lock metadata containing nodes
type HackageMetadata ¶
type HackageMetadata struct { Name string `json:"name"` Version string `json:"version"` PkgHash string `json:"pkgHash,omitempty"` Size string `json:"size,omitempty"` Revision string `json:"revision,omitempty"` SnapshotURL string `json:"snapshotURL,omitempty"` }
HackageMetadata haskell packages metadata
type HexMetadata ¶
type IssueManagement ¶
type LockDependency ¶
type LockDependency struct { Version string `json:"version"` Resolved string `json:"resolved"` Integrity string `json:"integrity"` Requires map[string]string }
LockDependency - PackageLock dependencies
type MailingList ¶
type Organization ¶
type PackageJSON ¶
type PackageJSON struct { Version string `json:"version"` Latest []string `json:"latest"` Contributors interface{} `json:"contributors"` License interface{} `json:"license"` Name string `json:"name"` Homepage string `json:"homepage"` Description string `json:"description"` Dependencies map[string]interface{} `json:"dependencies"` Repository interface{} `json:"repository"` Author interface{} `json:"author"` }
PackageJSON - packages.json model
type PackageLock ¶
type PackageLock struct { Requires bool `json:"requires"` LockfileVersion int `json:"lockfileVersion"` Dependencies map[string]LockDependency }
PackageLock - PackageLock model
type Plugin ¶
type Plugin struct { GroupID string `xml:"groupId"` ArtifactID string `xml:"artifactId"` Version string `xml:"version"` Extensions string `xml:"extensions"` Executions []PluginExecution `xml:"executions>execution"` Dependencies []Dependency `xml:"dependencies>dependency"` Inherited string `xml:"inherited"` }
type PluginExecution ¶
type PluginManagement ¶
type PluginManagement struct {
Plugins []Plugin `xml:"plugins>plugin"`
}
type PluginRepository ¶
type PluginRepository struct { Releases RepositoryPolicy `xml:"releases"` Snapshots RepositoryPolicy `xml:"snapshots"` ID string `xml:"id"` Name string `xml:"name"` URL string `xml:"url"` Layout string `xml:"layout"` }
type PodFileLockMetadata ¶
type PodFileLockMetadata struct { Pods []interface{} `yaml:"PODS"` Dependencies []string `yaml:"DEPENDENCIES"` SpecChecksums map[string]string `yaml:"SPEC CHECKSUMS"` Cocoapods string `yaml:"COCOAPODS"` }
Swift and Objective-C Podfile Lock Metadata
type PodFileLockMetadataCheckSums ¶
type PodFileLockMetadataCheckSums struct {
Checksums string `json:"checksum"`
}
type PomRepository ¶
type PomRepository struct { UniqueVersion bool `xml:"uniqueVersion"` Releases RepositoryPolicy `xml:"releases"` Snapshots RepositoryPolicy `xml:"snapshots"` ID string `xml:"id"` Name string `xml:"name"` URL string `xml:"url"` Layout string `xml:"layout"` }
type PortageDigest ¶
type PortageDigest struct { Algorithm string `json:"algorithm,omitempty"` Value string `json:"value,omitempty"` }
PortageDigest file digest metadata
type PortageFile ¶
type PortageFile struct { Path string `json:"path,omitempty"` Digest PortageDigest `json:"digest,omitempty"` }
PortageFile file metadata
type PortageMetadata ¶
type PortageMetadata struct { Size int `json:"size,omitempty"` Files []PortageFile `json:"files,omitempty"` }
PortageMetadata portage metadata
type Prerequisites ¶
type Prerequisites struct {
Maven string `xml:"maven"`
}
type Profile ¶
type Profile struct { ID string `xml:"id"` Activation Activation `xml:"activation"` Build BuildBase `xml:"build"` Modules []string `xml:"modules>module"` DistributionManagement DistributionManagement `xml:"distributionManagement"` Properties Properties `xml:"properties"` DependencyManagement DependencyManagement `xml:"dependencyManagement"` Dependencies []Dependency `xml:"dependencies>dependency"` Repositories []Repository `xml:"repositories>repository"` PluginRepositories []PluginRepository `xml:"pluginRepositories>pluginRepository"` Reporting Reporting `xml:"reporting"` }
type Project ¶
type Project struct { XMLName xml.Name `xml:"project"` ModelVersion string `xml:"modelVersion"` Parent Parent `xml:"parent"` GroupID string `xml:"groupId"` ArtifactID string `xml:"artifactId"` Version string `xml:"version"` Packaging string `xml:"packaging"` Name string `xml:"name"` Description string `xml:"description"` URL string `xml:"url"` InceptionYear string `xml:"inceptionYear"` Organization Organization `xml:"organization"` Licenses []License `xml:"licenses>license"` Developers []Developer `xml:"developers>developer"` Contributors []Contributor `xml:"contributors>contributor"` MailingLists []MailingList `xml:"mailingLists>mailingList"` Prerequisites Prerequisites `xml:"prerequisites"` Modules []string `xml:"modules>module"` SCM Scm `xml:"scm"` IssueManagement IssueManagement `xml:"issueManagement"` CIManagement CIManagement `xml:"ciManagement"` DistributionManagement DistributionManagement `xml:"distributionManagement"` DependencyManagement DependencyManagement `xml:"dependencyManagement"` Dependencies []Dependency `json:"dependencies>dependency" xml:"dependencies>dependency"` Repositories []PomRepository `xml:"repositories>repository"` PluginRepositories []PluginRepository `xml:"pluginRepositories>pluginRepository"` Build Build `xml:"build"` Reporting Reporting `xml:"reporting"` Profiles []Profile `xml:"profiles>profile"` Properties Properties `xml:"properties"` }
type Properties ¶
type PubspecLockDescription ¶
type PubspecLockMetadata ¶
type PubspecLockMetadata struct { Dependency string `yaml:"dependency"` Description PubspecLockDescription `yaml:"description"` Source string `yaml:"source"` Version string `yaml:"version"` }
type PubspecLockPackage ¶
type PubspecLockPackage struct {
Packages map[string]PubspecLockMetadata `yaml:"packages"`
}
type RPMMetadata ¶
type RPMMetadata struct { Release string `json:"release,omitempty"` Architecture string `json:"architecture,omitempty"` SourceRpm string `json:"sourceRpm,omitempty"` License string `json:"license,omitempty"` Size int `json:"size,omitempty"` Name string `json:"name,omitempty"` PGP string `json:"pgp,omitempty"` ModularityLabel string `json:"modularityLabel,omitempty"` Summary string `json:"summary,omitempty"` Vendor string `json:"vendor,omitempty"` Version string `json:"version,omitempty"` Epoch int `json:"epoch,omitempty"` DigestAlgorithm string `json:"digestAlgorithm,omitempty"` }
RPMMetadata rpm metadata
type Relocation ¶
type Reporting ¶
type Reporting struct { ExcludeDefaults string `xml:"excludeDefaults"` OutputDirectory string `xml:"outputDirectory"` Plugins []ReportingPlugin `xml:"plugins>plugin"` }
type ReportingPlugin ¶
type Repository ¶
type Repository struct { Type string `json:"type" mapstructure:"type"` URL string `json:"url" mapstructure:"url"` }
Repository - PackageJSON repository
type RepositoryPolicy ¶
type StackConfig ¶
type StackConfig struct {
ExtraDeps []string `yaml:"extra-deps"`
}
StackConfig stack.yaml metadata containing extra-deps
type StackLockConfig ¶
type StackLockConfig struct { Packages []StackPackages `yaml:"packages"` Snapshots []interface{} `yaml:"snapshots"` }
StackLockConfig stack.yaml.lock metadata containing packages
type StackPackages ¶
type StackPackages struct {
Original Hackage `yaml:"original"`
}
StackPackages stack.yaml.lock packages metadata