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: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeTrackerReconciler

type NodeTrackerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

NodeTrackerReconciler reconciles a NodeTracker object

func NewNodeTrackerReconciler

func NewNodeTrackerReconciler(client client.Client, scheme *runtime.Scheme, dispatcher *dispatcher.Dispatcher) *NodeTrackerReconciler

func (*NodeTrackerReconciler) Create

func (*NodeTrackerReconciler) Delete

func (*NodeTrackerReconciler) Generic

func (*NodeTrackerReconciler) Reconcile

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

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

func (*NodeTrackerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*NodeTrackerReconciler) Update

type PodReconciler added in v0.0.4

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

PodReconciler reconciles a Torrent object

func NewPodReconciler added in v0.0.4

func NewPodReconciler(client client.Client, scheme *runtime.Scheme) *PodReconciler

func (*PodReconciler) Create added in v0.0.4

func (r *PodReconciler) Create(e event.CreateEvent) bool

func (*PodReconciler) Delete added in v0.0.4

func (r *PodReconciler) Delete(e event.DeleteEvent) bool

func (*PodReconciler) Generic added in v0.0.4

func (r *PodReconciler) Generic(e event.GenericEvent) bool

func (*PodReconciler) Reconcile added in v0.0.4

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

func (*PodReconciler) SetupWithManager added in v0.0.4

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

func (*PodReconciler) Update added in v0.0.4

func (r *PodReconciler) Update(e event.UpdateEvent) bool

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) Create

Only watch for create events.

func (*ReplicationReconciler) Delete

func (*ReplicationReconciler) Generic

func (*ReplicationReconciler) Reconcile

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

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

func (*ReplicationReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*ReplicationReconciler) Update

type TorrentReconciler

type TorrentReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

TorrentReconciler reconciles a Torrent object

func NewTorrentReconciler

func NewTorrentReconciler(client client.Client, scheme *runtime.Scheme, dispatcher *dispatcher.Dispatcher) *TorrentReconciler

func (*TorrentReconciler) Create

func (r *TorrentReconciler) Create(e event.CreateEvent) bool

func (*TorrentReconciler) Delete

func (r *TorrentReconciler) Delete(e event.DeleteEvent) bool

func (*TorrentReconciler) Generic

func (r *TorrentReconciler) Generic(e event.GenericEvent) bool

func (*TorrentReconciler) Reconcile

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

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

func (*TorrentReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*TorrentReconciler) Update

func (r *TorrentReconciler) Update(e event.UpdateEvent) bool

Jump to

Keyboard shortcuts

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