controllers

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildWorkloadResourceLabeler added in v0.7.4

func BuildWorkloadResourceLabeler(owner, blueprint client.Object) realizer.ResourceLabeler

func GetSupplyChainNames added in v0.7.4

func GetSupplyChainNames(objs []*v1alpha1.ClusterSupplyChain) []string

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
}

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, concurrency int) error

type DeliveryReconiler

type DeliveryReconiler struct {
	Repo              repository.Repository
	DependencyTracker dependency.DependencyTracker
}

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
}

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, concurrency int) error

type SupplyChainReconciler

type SupplyChainReconciler struct {
	Repo                    repository.Repository
	ConditionManagerBuilder conditions.ConditionManagerBuilder
	DependencyTracker       dependency.DependencyTracker
}

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
}

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, concurrency int) 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