controllers

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 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 DeliverableReconciler

type DeliverableReconciler struct {
	TokenManager            satoken.TokenManager
	Repo                    repository.Repository
	ConditionManagerBuilder conditions.ConditionManagerBuilder
	ResourceRealizerBuilder realizer.ResourceRealizerBuilder
	Realizer                Realizer
	StampedTracker          stamped.StampedTracker
	DependencyTracker       dependency.DependencyTracker

	EventRecorder record.EventRecorder
	RESTMapper    meta.RESTMapper
	// contains filtered or unexported fields
}

func (*DeliverableReconciler) Reconcile

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

func (*DeliverableReconciler) SetupWithManager

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

type DeliveryReconiler

type DeliveryReconiler struct {
	Repo              repository.Repository
	DependencyTracker dependency.DependencyTracker
	// contains filtered or unexported fields
}

func (*DeliveryReconiler) Reconcile

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

func (*DeliveryReconiler) SetupWithManager

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

type Realizer added in v0.6.0

type Realizer interface {
	Realize(ctx context.Context, resourceRealizer realizer.ResourceRealizer, blueprintName string, ownerResources []realizer.OwnerResource, resourceStatuses statuses.ResourceStatuses) error
}

type RunnableReconciler

type RunnableReconciler struct {
	TokenManager            satoken.TokenManager
	Repo                    repository.Repository
	Realizer                realizer.Realizer
	ConditionManagerBuilder conditions.ConditionManagerBuilder

	RepositoryBuilder repository.RepositoryBuilder
	ClientBuilder     realizerclient.ClientBuilder
	RunnableCache     repository.RepoCache
	StampedTracker    stamped.StampedTracker
	DependencyTracker dependency.DependencyTracker
	EventRecorder     record.EventRecorder
	RESTMapper        meta.RESTMapper
	// contains filtered or unexported fields
}

func (*RunnableReconciler) Reconcile

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

func (*RunnableReconciler) SetupWithManager

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

type SupplyChainReconciler

type SupplyChainReconciler struct {
	Repo                    repository.Repository
	ConditionManagerBuilder conditions.ConditionManagerBuilder

	DependencyTracker dependency.DependencyTracker
	// contains filtered or unexported fields
}

func (*SupplyChainReconciler) Reconcile

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

func (*SupplyChainReconciler) SetupWithManager

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

type Timer

type Timer interface {
	Now() metav1.Time
}

type WorkloadReconciler

type WorkloadReconciler struct {
	TokenManager            satoken.TokenManager
	Repo                    repository.Repository
	ConditionManagerBuilder conditions.ConditionManagerBuilder
	ResourceRealizerBuilder realizer.ResourceRealizerBuilder
	Realizer                Realizer

	StampedTracker    stamped.StampedTracker
	DependencyTracker dependency.DependencyTracker
	EventRecorder     record.EventRecorder
	RESTMapper        meta.RESTMapper
	// contains filtered or unexported fields
}

func (*WorkloadReconciler) Reconcile

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

func (*WorkloadReconciler) SetupWithManager

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

TODO: kubebuilder:rbac

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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