controllers

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitRepoReconciler

type GitRepoReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme

	PluginPath string
	// contains filtered or unexported fields
}

GitRepoReconciler reconciles a GitRepo object

func (*GitRepoReconciler) Reconcile

func (r *GitRepoReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

+kubebuilder:rbac:groups=git.gitops.slipway.org,resources=gitrepos,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=git.gitops.slipway.org,resources=gitrepos/status,verbs=get;update;patch +kubebuilder:rbac:groups="",resources=events,verbs=create;patch

func (*GitRepoReconciler) SetupWithManager

func (r *GitRepoReconciler) SetupWithManager(mgr ctrl.Manager) error

type HashReconciler

type HashReconciler struct {
	client.Client
	Log        logr.Logger
	Scheme     *runtime.Scheme
	PluginPath string
	// contains filtered or unexported fields
}

HashReconciler reconciles a Hash object

func (*HashReconciler) Reconcile

func (r *HashReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*HashReconciler) SetupWithManager

func (r *HashReconciler) SetupWithManager(mgr ctrl.Manager) (err error)

type WatchedObjPredicate

type WatchedObjPredicate struct{}

func (WatchedObjPredicate) Create

Ignore creation

func (WatchedObjPredicate) Delete

If objects are deleted we need to rerun

func (WatchedObjPredicate) Generic

Always false, not meant for this controller

func (WatchedObjPredicate) Update

If objects are updated we need to rerun

Jump to

Keyboard shortcuts

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