Startx GO Libs
The sxlibs library contains a set of generic packages used by all Go projects at Startx.
Getting started
- Install the
sxlibsmodule in your Go project - Read the architecture overview to understand the package structure
- Browse the package reference for detailed API documentation
import (
sxUtils "gitlab.com/startx1/k8s/go-libs/pkg/utils"
)
func main() {
display := sxUtils.NewCmdDisplay("myapp")
display.Info("Application started")
}
Package reference
| Package | Description |
|---|---|
| utils | Foundation: display helpers, arg parser, debug flag |
| k8sclient | Kubernetes client wrapper |
| kubeconfig | Kubeconfig YAML load/save |
| prometheus | Prometheus query client |
| incrementor | resource.Quantity parser and arithmetic |
| mailer | SMTP email with HTML body and attachments |
| gdrive | Google Drive / Sheets via service account |
| confluence | Confluence Cloud REST API |
Contributing
You can help us by contributing to the project.
History and releases
Read history traceback for more information on change and released version.