Documentation ¶
Index ¶
- type App
- func (a *App) Chart() string
- func (a *App) Detect() error
- func (a *App) InstallOrUpdate() error
- func (a *App) LoadChart() error
- func (a *App) NeedDetect() bool
- func (a *App) NeedSetup() bool
- func (a *App) NeedUpdate() bool
- func (a *App) PreInstall() error
- func (a *App) Setup() error
- func (a *App) Status() (*release.Release, error)
- func (a *App) Uninstall() error
- func (a *App) Update() error
- func (a *App) UpdateRunningStatus()
- func (a *App) UpdateSpec() error
- func (a *App) UpdateStatus() error
- type ControlLoop
- type Controller
- type Detector
- type Finalizer
- type Status
- type Storer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App represents a helm app.
func NewApp ¶
func NewApp(ctx context.Context, kubeClient clientset.Interface, katoClient versioned.Interface, helmApp *v1alpha1.HelmApp, repoFile, repoCache, chartCache string) (*App, error)
NewApp creates a new app.
func (*App) InstallOrUpdate ¶
InstallOrUpdate will install or update the helm app.
func (*App) NeedDetect ¶
NeedDetect checks if necessary to detect the helm app.
func (*App) NeedUpdate ¶
NeedUpdate check if the helmApp needed to update.
func (*App) PreInstall ¶
PreInstall will check if we can intall the helm app.
func (*App) UpdateRunningStatus ¶
func (a *App) UpdateRunningStatus()
UpdateRunningStatus updates the running status of the helm app.
func (*App) UpdateStatus ¶
UpdateStatus updates the status of the helm app.
type ControlLoop ¶
type ControlLoop struct {
// contains filtered or unexported fields
}
ControlLoop is a control loop to get helm app and reconcile it.
func NewControlLoop ¶
func NewControlLoop(ctx context.Context, kubeClient clientset.Interface, clientset versioned.Interface, storer Storer, workQueue workqueue.Interface, repoFile string, repoCache string, chartCache string, ) *ControlLoop
NewControlLoop -
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller -
func NewController ¶
func NewController(ctx context.Context, stopCh chan struct{}, kubeClient clientset.Interface, clientset versioned.Interface, informer cache.SharedIndexInformer, lister v1alpha1.HelmAppLister, repoFile, repoCache, chartCache string) *Controller
NewController creates a new helm app controller.
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
Detector is responsible for detecting the helm app.
func NewDetector ¶
NewDetector creates a new Detector.
type Finalizer ¶
type Finalizer struct {
// contains filtered or unexported fields
}
Finalizer does some cleanup work when helmApp is deleted
type Status ¶
type Status struct {
// contains filtered or unexported fields
}
Status represents the status of helm app.