notaryproject / notation-go

A collection of libraries for supporting sign and verify OCI artifacts. Based on Notary Project specifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

doc: provide API documentation and API architecture diagram for notation-go

FeynmanZhou opened this issue · comments

Currently, notation-go is refactoring its interface and architecture and evolving into a generic Golang library.

Developing a generic and extensible library is also critical for other projects to consume Notation API and extend the Notation ecosystem. Take this falcoctl sign and verify commands as an example, if Notation-go can provide corresponding API docs for library users, it will be easy for other projects to use the signing and verifying interfaces. Creating an API architecture diagram will help users understand the logic in Notation-go.

I hope this work can be planned in the RC.2 release.

I 100% agree with this. LGTM

The API doc & example have been updated at https://pkg.go.dev/github.com/notaryproject/notation-go#pkg-examples. So I close this issue as completed.