Documentation ¶
Index ¶
- type Installer
- func (i *Installer) Get(name oceanv1alpha1.OceanComponentName) (*installer.Release, error)
- func (i *Installer) Install(component *oceanv1alpha1.OceanComponent) (*installer.Release, error)
- func (i *Installer) IsUpgrade(component *oceanv1alpha1.OceanComponent, release *installer.Release) bool
- func (i *Installer) Uninstall(component *oceanv1alpha1.OceanComponent) error
- func (i *Installer) Upgrade(component *oceanv1alpha1.OceanComponent) (*installer.Release, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Installer ¶
type Installer struct { ClientGetter genericclioptions.RESTClientGetter Log log.Logger Namespace string }
func NewInstaller ¶
func NewInstaller(namespace string, getter genericclioptions.RESTClientGetter, log log.Logger) *Installer
NewInstaller returns a Installer.
func (*Installer) Get ¶
func (i *Installer) Get(name oceanv1alpha1.OceanComponentName) (*installer.Release, error)
func (*Installer) Install ¶
func (i *Installer) Install(component *oceanv1alpha1.OceanComponent) (*installer.Release, error)
func (*Installer) IsUpgrade ¶
func (i *Installer) IsUpgrade(component *oceanv1alpha1.OceanComponent, release *installer.Release) bool
func (*Installer) Uninstall ¶
func (i *Installer) Uninstall(component *oceanv1alpha1.OceanComponent) error
func (*Installer) Upgrade ¶
func (i *Installer) Upgrade(component *oceanv1alpha1.OceanComponent) (*installer.Release, error)
Click to show internal directories.
Click to hide internal directories.