templatereconciler

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {
	Name() string
	Skipped(runtime.Object) bool
	Enabled(runtime.Object) bool
	PreChecks(runtime.Object) error
	ReleaseData(runtime.Object) (*ReleaseData, error)
	UpdateStatus(object runtime.Object, status types.ReconcileStatus, message string) error
}

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,
	opts []reconciler.NativeReconcilerOpt,
) *HelmReconciler

func (*HelmReconciler) Reconcile

func (rec *HelmReconciler) Reconcile(object runtime.Object, component Component) (*reconcile.Result, error)

func (HelmReconciler) RegisterWatches

func (rec HelmReconciler) RegisterWatches(_ *controllerruntime.Builder)

type ReleaseData

type ReleaseData struct {
	Chart       http.FileSystem
	Values      map[string]interface{}
	Namespace   string
	ChartName   string
	ReleaseName string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL