controllers

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlayReconciler

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

PlayReconciler reconciles a Play object

func (*PlayReconciler) GetStatus added in v0.11.0

func (r *PlayReconciler) GetStatus(state ci.State) metav1.ConditionStatus

func (*PlayReconciler) Reconcile

func (r *PlayReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*PlayReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*PlayReconciler) UpdateName added in v0.11.0

func (r *PlayReconciler) UpdateName(ctx context.Context, p *ci.Play, name string) error

UpdateName set the status of tekton resource state

func (*PlayReconciler) UpdateStatus added in v0.11.0

func (r *PlayReconciler) UpdateStatus(ctx context.Context, p *ci.Play, state ci.State, message string) error

UpdateStatus set the status of tekton resource state

Jump to

Keyboard shortcuts

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