Skip to content

Commit ec89f03

Browse files
authored
Merge pull request #53 from crenshaw-dev/go-library-docs
docs: go library (#52)
2 parents d37b2a3 + f356583 commit ec89f03

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
- [Getting Started](getting-started.md)
33
- [Validations](validations.md)
44
- [Configuration](configuration.md)
5+
- [Go Library](go-library.md)

docs/go-library.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Go Library
2+
3+
crdify may be used as a CLI or as a Go library. For an example of using crdify as a library, see the
4+
[OLM v1 preflight checks for CRD compatibility](https://github.com/operator-framework/operator-controller/blob/f17f3c5728d330511f970ce501b709321ba54b09/internal/operator-controller/rukpak/preflights/crdupgradesafety/crdupgradesafety.go#L67-L107).
5+
6+
To communicate library changes, crdify adheres to the [go package version numbers convention](https://go.dev/doc/modules/version-numbers).
7+
Keep in mind that, while we will try to keep the API as stable as possible, v0.x.y versions may introduce breaking changes.

0 commit comments

Comments
 (0)