package
0.7.33
Repository: https://github.com/joey-fossa/fossa-cli.git
Documentation: pkg.go.dev

# Functions

CreateTarball archives and compresses a directory's contents to a temporary file while simultaneously computing its MD5 hash.
CreateTarballFromFiles archives and compresses a list of files to a temporary file while simultaneously computing its MD5 hash.
Get makes an authenticated GET request to a FOSSA API endpoint.
GetIssues loads the issues for a project.
GetJSON makes an authenticated JSON GET request to a FOSSA API endpoint.
GetLatestBuild loads the most recent build for a revision or returns an error if the revision does not exist, or the revision has no builds.
No description provided by the author
GetRevision loads a single revision.
GetRevisionDependencies returns all transitive dependencies for a project revision.
GetRevisions loads many revisions in batched requests.
LocatorOf returns the locator of a pkg.ID.
Normalize transforms module.Modules into SourceUnits.
NormalizeGitURL normalizes all forms of git remote URLs to a single standard form.
NormalizeGitURL normalizes all forms of git remote URLs to a single standard form.
Post
Post makes an authenticated POST request to a FOSSA API endpoint.
ReadLocator parses a string locator into a Locator.
No description provided by the author
No description provided by the author
SourceUnitType normalizes pkg.Types into SourceUnit types.
Upload uploads a project's analysis.
UploadTarball archives, compresses, and uploads a specified directory.
UploadTarballDependency uploads the directory specified to be treated on FOSSA as a dependency.
UploadTarballDependencyFiles generates and uploads a tarball from the provided list of files to FOSSA.
UploadTarballProject uploads the directory specified to be treated on FOSSA as a project.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
RevisionsAPI is the API endpoint for revisions.
RevisionsDependenciesAPI is the API endpoint to retrieve transitive dependencies of a revision.

# Variables

No description provided by the author
Errors resulting from a bad API response.
Errors related to preconditions.
Errors related to preconditions.
Errors related to preconditions.
Errors resulting from a bad API response.
No description provided by the author
No description provided by the author

# Structs

A Build holds the FOSSA API response for the builds API.
No description provided by the author
No description provided by the author
An Issue holds the FOSSA API response for the issue API.
A wrapped list of issues returned by the FOSSA CLI issues endpoint If a push-only API key is used, then only the count is returned.
A License holds the FOSSA API response for the license API.
Locator serializes FOSSA API locators.
No description provided by the author
A Project holds the FOSSA API response for the project API.
A Revision holds the FOSSA API response for the revision API.
A RevisionMeta holds metadata about a FOSSA API revision.
Rule holds the representation of an Issue's Rule.
No description provided by the author
SourceUnit is the basic module unit of the FOSSA API.
A SourceUnitBuild contains the build information of a SourceUnit.
A SourceUnitDependency contains the dependency information of a SourceUnit.
UploadOptions are optional keys that provide extra metadata for an upload.