Documentation ¶
Index ¶
Constants ¶
View Source
const ( PriorityLowest = Priority(100) PriorityLow = Priority(200) PriorityNormal = Priority(300) PriorityHigh = Priority(400) PriorityHighest = Priority(500) )
View Source
const ( MagicTrackedString = "THIS FILE IS AUTOGENERATED BY SYNCER" + " DO NOT EDIT" DefaultSyncerGeneratedGoDirectory = "internal" DefaultSyncerGeneratedGoFilename = "syncer.go" DefaultSyncerConfigFileName = ".syncer.yaml" )
View Source
const (
FxTagSyncers = `group:"syncers"`
)
Variables ¶
View Source
var Module = fx.Module("syncer", fx.Provide( fx.Annotate( NewRegistry, fx.As(new(Registry)), fx.ParamTags(FxTagSyncers), ), ), )
Functions ¶
This section is empty.
Types ¶
type ErrSyncerAlreadyRegistered ¶
type ErrSyncerAlreadyRegistered struct {
Name string
}
func (*ErrSyncerAlreadyRegistered) Error ¶
func (e *ErrSyncerAlreadyRegistered) Error() string
type Registry ¶
func NewRegistry ¶
type RunData ¶
type RunData struct { // The root config file RootConfig *config.Root // The subsection of the config file that is relevant to this run RunConfig config.Dynamic // The registries of this run Registry Registry // Where we want to copy destination files to DestinationWorkingDir string }
func (*RunData) AutogenMsg ¶
Click to show internal directories.
Click to hide internal directories.