mirror of https://github.com/portainer/portainer
17 lines
585 B
Go
17 lines
585 B
Go
|
package libhelm
|
||
|
|
||
|
import (
|
||
|
"github.com/portainer/libhelm/options"
|
||
|
"github.com/portainer/libhelm/release"
|
||
|
)
|
||
|
|
||
|
// 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
|
||
|
}
|