syncer

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAppManager

func WithAppManager(appMgr *applications.SupbApplications) option

func WithRecorder

func WithRecorder(recorder supbapis.Recorder) option

func WithStrategyManager

func WithStrategyManager(stMgr *strategies.SupbStrategies) option

Types

type CreateAssume

type CreateAssume struct {
	// contains filtered or unexported fields
}

func (*CreateAssume) Cancel

func (r *CreateAssume) Cancel()

func (*CreateAssume) Done

func (r *CreateAssume) Done() uint64

type SyncMod

type SyncMod struct {
	// contains filtered or unexported fields
}

func NewSyncMod

func NewSyncMod(ctx context.Context, prefix string) *SyncMod

func (*SyncMod) ApplicationDelInformer

func (r *SyncMod) ApplicationDelInformer(app *m2.SupbApplicationBaseInfo)

func (*SyncMod) ApplicationPutInformer

func (r *SyncMod) ApplicationPutInformer(app *m2.SupbApplicationBaseInfo)

func (*SyncMod) Close

func (r *SyncMod) Close() error

func (*SyncMod) CreateLinkSyncAssume

func (r *SyncMod) CreateLinkSyncAssume(appType string, appKey types.SupbApplicationKey, strategyType string, strategyKey types.SupbStrategyKey)

func (*SyncMod) Initialize

func (r *SyncMod) Initialize(opts ...option)

func (*SyncMod) OptionConfig

func (r *SyncMod) OptionConfig(opts ...option)

func (*SyncMod) StrategyDelInformer

func (r *SyncMod) StrategyDelInformer(strategy *m1.SupbStrategyBaseInfo)

func (*SyncMod) StrategyPutInformer

func (r *SyncMod) StrategyPutInformer(strategy *m1.SupbStrategyBaseInfo)

Jump to

Keyboard shortcuts

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