Documentation
¶
Index ¶
- func Register(ctx context.Context, management *config.Management, opts config.Options) error
- type Handler
- func (h *Handler) MonitorAddon(key string, aObj *harvesterv1.Addon) (*harvesterv1.Addon, error)
- func (h *Handler) MonitorChanges(key string, aObj *harvesterv1.Addon) (*harvesterv1.Addon, error)
- func (h *Handler) OnAddonChange(key string, a *harvesterv1.Addon) (*harvesterv1.Addon, error)
- func (h *Handler) PatchApps(key string, app *catalogv1.App) (*catalogv1.App, error)
- func (h *Handler) ReconcileHelmChartOwners(_ string, _ string, obj runtime.Object) ([]relatedresource.Key, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) MonitorAddon ¶
func (h *Handler) MonitorAddon(key string, aObj *harvesterv1.Addon) (*harvesterv1.Addon, error)
MonitorAddon will track the deployment of Addon
func (*Handler) MonitorChanges ¶
func (h *Handler) MonitorChanges(key string, aObj *harvesterv1.Addon) (*harvesterv1.Addon, error)
MonitorChanges will trigger updates to helm chart based on changes in values
func (*Handler) OnAddonChange ¶
func (h *Handler) OnAddonChange(key string, a *harvesterv1.Addon) (*harvesterv1.Addon, error)
OnAddonChange will reconcile the Addon CRDs
func (*Handler) PatchApps ¶ added in v1.2.0
PatchApps will watch apps.catalog.cattle.io and patch Charts.yaml with additional annotation 'catalog.cattle.io/managed' this is needed to ensure that addons cannot be upgrade directly from the apps with rancher mcm enabled on harvester
func (*Handler) ReconcileHelmChartOwners ¶
Click to show internal directories.
Click to hide internal directories.