Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HelmConfig ¶
type HelmConfig struct {
BinaryPath string `example:"/portainer/dist"`
}
HelmConfig is a struct that holds the configuration for the Helm package manager
type HelmPackageManager ¶
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 }
HelmPackageManager represents a service that interfaces with Helm
func NewHelmPackageManager ¶
func NewHelmPackageManager(config HelmConfig) (HelmPackageManager, error)
NewHelmPackageManager returns a new instance of HelmPackageManager based on HelmConfig
Click to show internal directories.
Click to hide internal directories.