sync

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMinerConfig

func GetMinerConfig(annotations map[string]string) (cpu int32, mem int32)

Types

type ChainSyncReconciler

type ChainSyncReconciler struct {
	Store store.IStore
	// contains filtered or unexported fields
}

ChainSyncReconciler sync a Chain object to database.

func (*ChainSyncReconciler) Reconcile

func (r *ChainSyncReconciler) Reconcile(ctx context.Context, rq ctrl.Request) (ctrl.Result, error)

func (*ChainSyncReconciler) SetupWithManager

func (r *ChainSyncReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

type MinerSetSyncReconciler

type MinerSetSyncReconciler struct {
	Store store.IStore
	// contains filtered or unexported fields
}

MinerSetSyncReconciler sync a MinerSet object to database.

func (*MinerSetSyncReconciler) Reconcile

func (*MinerSetSyncReconciler) SetupWithManager

func (r *MinerSetSyncReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

type MinerSyncReconciler

type MinerSyncReconciler struct {
	Store store.IStore
	// contains filtered or unexported fields
}

MinerSyncReconciler sync a Miner object to database.

func (*MinerSyncReconciler) Reconcile

func (r *MinerSyncReconciler) Reconcile(ctx context.Context, rq ctrl.Request) (ctrl.Result, error)

func (*MinerSyncReconciler) SetupWithManager

func (r *MinerSyncReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) 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