Provides a go client library for connecting to, and interacting with, Sonatype Nexus applications such as Nexus Repository Manager and Nexus IQ Server.
The library is broken into two packages. One for each application.
Create a connection to an instance of Nexus Repository Manager
// import "github.com/sonatype-nexus-community/gonexus/rm"
rm, err := nexusrm.New("http://localhost:8081", "username", "password")
if err != nil {
panic(err)
}
Endpoint | Status |
---|---|
Assets | 🌕 |
Components | 🌖 |
Lifecycle | 🌑 |
Maintenance pro | 🌘 |
Nodes pro | 🌑 |
Read-Only | 🌕 |
Repositories | 🌕 |
Script | 🌕 |
Search | 🌖 |
Staging pro | 🌑 |
Status | 🌕 |
Support | 🌕 |
Tagging pro | 🌑 |
Tasks | 🌑 |
API | Status |
---|---|
Core | 🌑 |
Security | 🌑 |
Blob Store | 🌖 |
Repository | 🌖 |
Legend: 🌕 == Complete 🌑 == untouched 🌘🌗🌖 == partial support
Create a connection to an instance of Nexus IQ Server
// import "github.com/sonatype-nexus-community/gonexus/iq"
iq, err := nexusiq.New("http://localhost:8070", "username", "password")
if err != nil {
panic(err)
}
Endpoint | Status |
---|---|
Application | 🌗 |
Component Details | 🌕 |
Component Evaluation | 🌕 |
Component Labels | 🌕 |
Component Remediation | 🌕 |
Component Search | 🌕 |
Component Versions | 🌕 |
Data Retention Policy | 🌑 |
Organization | 🌗 |
Promote Scan | 🌑 |
Report-related | 🌕 |
Source Control | 🌕 |
Success Metrics Data | 🌑 |
Violation | 🌕 |
Legend: 🌕 == Complete 🌑 == untouched 🌘🌗🌖 == partial support
It is worth noting that this is NOT SUPPORTED by Sonatype, and is a contribution of @HokieGeek plus us to the open source community (read: you!)
Remember:
- Use this contribution at the risk tolerance that you have
- Do NOT file Sonatype support tickets related to this
- DO file issues here on GitHub, so that the community can pitch in