Documentation
¶
Overview ¶
Package core contains the core logic of conductor. It is critical that the app itself is entirely stateless. All state is stored in the services themselves. The services may store their data externally depending on implementation.
Conductor server definition.
Index ¶
- Constants
- func CreateTrain(dataClient data.Client, messagingService messaging.Service, branch string, ...) *types.Train
- func DuplicateTrain(dataClient data.Client, messagingService messaging.Service, ...) *types.Train
- func Endpoints() []endpoint
- func ExtendTrain(dataClient data.Client, messagingService messaging.Service, train *types.Train, ...)
- func NewServer(endpoints []endpoint) *mux.Router
- func Preload()
- func QueueCommits(dataClient data.Client, commits []*types.Commit)
- func StartTrain(dataClient data.Client, codeService code.Service, ...)
Constants ¶
View Source
const AdminPermissionMessage = "Only admins can call this endpoint."
View Source
const CheckJobsInterval = time.Second * 5
View Source
const CheckTrainLockInterval = time.Second * 5
View Source
const SyncTicketsInterval = time.Second * 10
View Source
const TrainCacheTtl = 5
Variables ¶
This section is empty.
Functions ¶
func CreateTrain ¶
func DuplicateTrain ¶
func ExtendTrain ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.