Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller is the controller that controls the replication flows
func NewController ¶
func NewController() Controller
NewController returns an instance of the default flow controller
type Flow ¶
type Flow interface { // returns the count of tasks which have been scheduled and the error Run(interface{}) (int, error) }
Flow defines the replication flow
func NewCopyFlow ¶
func NewCopyFlow(executionMgr execution.Manager, scheduler scheduler.Scheduler, executionID int64, policy *model.Policy, resources ...*model.Resource) Flow
NewCopyFlow returns an instance of the copy flow which replicates the resources from the source registry to the destination registry. If the parameter "resources" isn't provided, will fetch the resources first
Click to show internal directories.
Click to hide internal directories.