2022-11-30 01:25:47 +00:00
|
|
|
package libhelm
|
|
|
|
|
|
|
|
import (
|
2022-12-04 21:38:16 +00:00
|
|
|
"github.com/portainer/portainer/pkg/libhelm/options"
|
|
|
|
"github.com/portainer/portainer/pkg/libhelm/release"
|
2022-11-30 01:25:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// HelmPackageManager represents a service that interfaces with Helm
|
|
|
|
type HelmPackageManager interface {
|
|
|
|
Show(showOpts options.ShowOptions) ([]byte, error)
|
|
|
|
SearchRepo(searchRepoOpts options.SearchRepoOptions) ([]byte, error)
|
|
|
|
Get(getOpts options.GetOptions) ([]byte, error)
|
|
|
|
List(listOpts options.ListOptions) ([]release.ReleaseElement, error)
|
|
|
|
Install(installOpts options.InstallOptions) (*release.Release, error)
|
|
|
|
Uninstall(uninstallOpts options.UninstallOptions) error
|
|
|
|
}
|