Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LeadershipGuarantee is the amount of time that the lease service will // guarantee that the application leader will be the holder of the lease. LeadershipGuarantee = time.Minute )
Variables ¶
This section is empty.
Functions ¶
func RegisterImport ¶
func RegisterImport(coordinator Coordinator, logger logger.Logger)
RegisterImport registers the import operations with the given coordinator.
Types ¶
type Coordinator ¶
type Coordinator interface { // Add adds the given operation to the migration. Add(modelmigration.Operation) }
Coordinator is the interface that is used to add operations to a migration.
Click to show internal directories.
Click to hide internal directories.