Documentation ¶
Index ¶
- func NewPreConditionsFatalErr(err error) error
- type Component
- type HelmReconciler
- func (rec *HelmReconciler) GetClient() client.Client
- func (rec *HelmReconciler) GetResourceBuilders(parent reconciler.ResourceOwner, component Component, releaseData *ReleaseData, ...) ([]reconciler.ResourceBuilder, error)
- func (rec *HelmReconciler) Reconcile(object runtime.Object, component Component) (*reconcile.Result, error)
- func (rec HelmReconciler) RegisterWatches(_ *controllerruntime.Builder)
- type HelmReconcilerOpt
- type ReleaseData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPreConditionsFatalErr ¶ added in v0.20.0
Types ¶
type HelmReconciler ¶
type HelmReconciler struct {
// contains filtered or unexported fields
}
func NewHelmReconciler ¶
func NewHelmReconciler( client client.Client, scheme *runtime.Scheme, logger logr.Logger, discovery discovery.DiscoveryInterface, nativeReconcilerOpts []reconciler.NativeReconcilerOpt, ) *HelmReconciler
func NewHelmReconcilerWith ¶ added in v0.26.1
func NewHelmReconcilerWith( client client.Client, scheme *runtime.Scheme, logger logr.Logger, discovery discovery.DiscoveryInterface, opts ...HelmReconcilerOpt, ) *HelmReconciler
func (*HelmReconciler) GetClient ¶ added in v0.26.1
func (rec *HelmReconciler) GetClient() client.Client
func (*HelmReconciler) GetResourceBuilders ¶ added in v0.26.1
func (rec *HelmReconciler) GetResourceBuilders(parent reconciler.ResourceOwner, component Component, releaseData *ReleaseData, doInventory bool) ([]reconciler.ResourceBuilder, error)
func (HelmReconciler) RegisterWatches ¶
func (rec HelmReconciler) RegisterWatches(_ *controllerruntime.Builder)
type HelmReconcilerOpt ¶ added in v0.26.1
type HelmReconcilerOpt func(*HelmReconciler)
func ManageNamespace ¶ added in v0.26.1
func ManageNamespace(manageNamespace bool) HelmReconcilerOpt
func WithGenericReconcilerOptions ¶ added in v0.26.1
func WithGenericReconcilerOptions(opts ...reconciler.ResourceReconcilerOption) HelmReconcilerOpt
func WithNativeReconcilerOptions ¶ added in v0.26.1
func WithNativeReconcilerOptions(opts ...reconciler.NativeReconcilerOpt) HelmReconcilerOpt
type ReleaseData ¶
type ReleaseData struct { Chart http.FileSystem Values map[string]interface{} Namespace string ChartName string ReleaseName string // Layers can be embedded into CRDs directly to provide flexible override mechanisms Layers []resources.K8SResourceOverlay // Modifiers can be used from client code to modify resources before being applied Modifiers []resources.ObjectModifierFunc // DesiredStateOverrides can be used to override desired states of certain objects DesiredStateOverrides map[reconciler.ObjectKeyWithGVK]reconciler.DesiredState }
Click to show internal directories.
Click to hide internal directories.