Package constructor

const Package({
  1. Input<PackageArchitecture>? architecture,
  2. Input<String>? cpeUri,
  3. Input<String>? description,
  4. Input<List<DigestContaineranalysisV1alpha1>>? digest,
  5. Input<List<DistributionContaineranalysisV1alpha1>>? distribution,
  6. Input<LicenseContaineranalysisV1alpha1>? license,
  7. Input<String>? maintainer,
  8. Input<String>? name,
  9. Input<String>? packageType,
  10. Input<String>? url,
  11. Input<VersionContaineranalysisV1alpha1>? version,
})

Creates a new Package. architecture The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. cpeUri The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages. description The description of this package. digest Hash value, typically a file digest, that allows unique identification a specific package. distribution The various channels by which a package is distributed. license Licenses that have been declared by the authors of the package. maintainer A freeform text denoting the maintainer of this package. name The name of the package. packageType The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.). url The homepage for this package. version The version of the package.

Implementation

const Package({
  this.architecture,
  this.cpeUri,
  this.description,
  this.digest,
  this.distribution,
  this.license,
  this.maintainer,
  this.name,
  this.packageType,
  this.url,
  this.version,
});