controller

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextReconciler

type ContextReconciler struct {
	SpaceliftContextRepository spaceliftRepository.ContextRepository
	ContextRepository          *repository.ContextRepository
	StackRepository            *repository.StackRepository
	SpaceRepository            *repository.SpaceRepository
	SecretRepository           *repository.SecretRepository
}

ContextReconciler reconciles a Context object

func (*ContextReconciler) Reconcile

func (r *ContextReconciler) 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.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile

func (*ContextReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PolicyReconciler

type PolicyReconciler struct {
	PolicyRepository          *repository.PolicyRepository
	SpaceRepository           *repository.SpaceRepository
	StackRepository           *repository.StackRepository
	SpaceliftPolicyRepository spaceliftRepository.PolicyRepository
}

PolicyReconciler reconciles a Policy object

func (*PolicyReconciler) Reconcile

func (r *PolicyReconciler) 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.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile

func (*PolicyReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type RunReconciler

type RunReconciler struct {
	RunRepository            *repository.RunRepository
	StackRepository          *repository.StackRepository
	StackOutputRepository    *repository.StackOutputRepository
	SpaceliftRunRepository   spaceliftRepository.RunRepository
	SpaceliftStackRepository spaceliftRepository.StackRepository
	RunWatcher               *watcher.RunWatcher
}

RunReconciler reconciles a Run object

func (*RunReconciler) Reconcile

func (r *RunReconciler) 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.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.0/pkg/reconcile

func (*RunReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SpaceReconciler

type SpaceReconciler struct {
	SpaceRepository          *repository.SpaceRepository
	SpaceliftSpaceRepository spaceliftRepository.SpaceRepository
}

SpaceReconciler reconciles a Space object

func (*SpaceReconciler) Reconcile

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

func (*SpaceReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type StackReconciler

type StackReconciler struct {
	StackRepository          *repository.StackRepository
	SpaceRepository          *repository.SpaceRepository
	SpaceliftStackRepository spaceliftRepository.StackRepository
}

StackReconciler reconciles a Stack object

func (*StackReconciler) Reconcile

func (r *StackReconciler) 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.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.0/pkg/reconcile

func (*StackReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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