internal

package
v0.2.47-rc0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package internal implements a data manager service definition with additional exported functions for the purpose of testing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DMService

type DMService interface {
	Sync(ctx context.Context, extra map[string]interface{}) error
	Reconfigure(
		ctx context.Context,
		deps resource.Dependencies,
		conf resource.Config,
	) error
	Close(ctx context.Context) error
	SetSyncerConstructor(fn datasync.ManagerConstructor)
	SetWaitAfterLastModifiedMillis(s int)
}

DMService in the internal package includes additional exported functions relating to the syncing and updating processes in the data manager service. These functions are not exported to the user. This resolves a circular import caused by the inject package.

Jump to

Keyboard shortcuts

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