controllers

package
v0.0.0-...-81b0bac Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptionalInt

type OptionalInt struct {
	Value int
	//Null  bool
	Set bool
}

type OptionalString

type OptionalString struct {
	Value string
	//Null  bool
	Set bool
}

type Status

type Status struct {
	Action   OptionalString
	Apply    OptionalString
	Branch   OptionalString
	Commit   OptionalString
	Destroy  OptionalString
	Phase    OptionalString
	PrePhase OptionalString
	Reason   OptionalString
	State    OptionalString
	URL      OptionalString
}

type TFApplyClaimReconciler

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

TFApplyClaimReconciler reconciles a TFApplyClaim object

func (*TFApplyClaimReconciler) ApplyClaimPhase

func (r *TFApplyClaimReconciler) ApplyClaimPhase(ctx context.Context, tfapplyclaim *claimv1alpha1.TFApplyClaim) (ctrl.Result, error)

Status Update: action - apply

func (*TFApplyClaimReconciler) ApproveClaimPhase

func (r *TFApplyClaimReconciler) ApproveClaimPhase(ctx context.Context, tfapplyclaim *claimv1alpha1.TFApplyClaim) (ctrl.Result, error)

Status Update: action - approve

func (*TFApplyClaimReconciler) DestroyClaimPhase

func (r *TFApplyClaimReconciler) DestroyClaimPhase(ctx context.Context, tfapplyclaim *claimv1alpha1.TFApplyClaim) (ctrl.Result, error)

Spec Update: destroy - true (This fuction is triggered by all users)

func (*TFApplyClaimReconciler) PlanClaimPhase

func (r *TFApplyClaimReconciler) PlanClaimPhase(ctx context.Context, tfapplyclaim *claimv1alpha1.TFApplyClaim) (ctrl.Result, error)

Status Update: action - plan

func (*TFApplyClaimReconciler) ReadyClaimPhase

func (r *TFApplyClaimReconciler) ReadyClaimPhase(ctx context.Context, tfapplyclaim *claimv1alpha1.TFApplyClaim) (ctrl.Result, error)

func (*TFApplyClaimReconciler) Reconcile

func (r *TFApplyClaimReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)

func (*TFApplyClaimReconciler) RejectClaimPhase

func (r *TFApplyClaimReconciler) RejectClaimPhase(ctx context.Context, tfapplyclaim *claimv1alpha1.TFApplyClaim) (ctrl.Result, error)

Status Update: action - reject

func (*TFApplyClaimReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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