controller

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NODE_NAME = os.Getenv("NODE_NAME")
)

Functions

This section is empty.

Types

type ReplicationReconciler

type ReplicationReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ReplicationReconciler reconciles a Replication object

func NewReplicationReconciler

func NewReplicationReconciler(client client.Client, scheme *runtime.Scheme) *ReplicationReconciler

func (*ReplicationReconciler) Reconcile

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

Agent Replication reconciler only focuses on downloading and replicating process, not interested in the Replication lifecycle management.

func (*ReplicationReconciler) SetupWithManager

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