Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Builds core.BuildStore Cron core.CronStore Commits core.CommitService Events core.Pubsub Globals core.GlobalSecretStore Hooks core.HookService Logs core.LogStore License *core.License Licenses core.LicenseService Orgs core.OrganizationService Perms core.PermStore Repos core.RepositoryStore Repoz core.RepositoryService Scheduler core.Scheduler Secrets core.SecretStore Stages core.StageStore Steps core.StepStore Status core.StatusService Session core.Session Stream core.LogStream Syncer core.Syncer System *core.System Triggerer core.Triggerer Users core.UserStore Userz core.UserService Webhook core.WebhookSender Private bool }
Server is a http.Handler which exposes drone functionality over HTTP.
func New ¶
func New( builds core.BuildStore, commits core.CommitService, cron core.CronStore, events core.Pubsub, globals core.GlobalSecretStore, hooks core.HookService, logs core.LogStore, license *core.License, licenses core.LicenseService, orgs core.OrganizationService, perms core.PermStore, repos core.RepositoryStore, repoz core.RepositoryService, scheduler core.Scheduler, secrets core.SecretStore, stages core.StageStore, steps core.StepStore, status core.StatusService, session core.Session, stream core.LogStream, syncer core.Syncer, system *core.System, triggerer core.Triggerer, users core.UserStore, userz core.UserService, webhook core.WebhookSender, ) Server
Click to show internal directories.
Click to hide internal directories.