https://github.com/mittwald/go-helm-client
Go client for accessing the Helm package manager
https://github.com/mittwald/go-helm-client
golang golang-library hacktoberfest helm kubernetes
Last synced: about 1 year ago
JSON representation
Go client for accessing the Helm package manager
- Host: GitHub
- URL: https://github.com/mittwald/go-helm-client
- Owner: mittwald
- License: mit
- Created: 2020-05-04T06:39:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-18T06:44:13.000Z (over 1 year ago)
- Last Synced: 2025-04-11T05:13:50.508Z (about 1 year ago)
- Topics: golang, golang-library, hacktoberfest, helm, kubernetes
- Language: Go
- Homepage:
- Size: 488 KB
- Stars: 259
- Watchers: 6
- Forks: 103
- Open Issues: 52
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Helm Client
Go client library for accessing [Helm](https://github.com/helm/helm), enabling the user to programmatically change helm charts and releases.
This library is build upon [`helm`](https://github.com/helm/helm) and available under the MIT License.

[](https://github.com/mittwald/go-helm-client/blob/master/LICENSE)
[](https://goreportcard.com/report/github.com/mittwald/go-helm-client)
[](https://pkg.go.dev/github.com/mittwald/go-helm-client)
## Installation
Install this library using `go get`:
$ go get github.com/mittwald/go-helm-client
## Usage
Example usage of the client can be found in the [package examples](https://pkg.go.dev/github.com/mittwald/go-helm-client?tab=doc#pkg-examples).
#### Private chart repository
When working with private repositories, you can utilize the `Username` and `Password` parameters of a chart entry to specify credentials.
An example of this can be found in the corresponding [example](https://pkg.go.dev/github.com/mittwald/go-helm-client?tab=doc#example_HelmClient_AddOrUpdateChartRepo_private).
## Mock Client
This library includes a mock client [mock/interface_mock.go](mock/interface.go) which is generated by [mockgen](https://github.com/golang/mock).
Example usage of the mocked client can be found in [mock/mock_test.go](mock/mock_test.go).
If you made changes to [interface.go](./interface.go), you should issue the `make generate` command to trigger code generation.
## Documentation
For more specific documentation, please refer to the [godoc](https://pkg.go.dev/github.com/mittwald/go-helm-client/) of this library.