Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleVarz ¶
func HandleVarz(system *core.System) http.HandlerFunc
HandleVarz creates an http.HandlerFunc that exposes internal system information.
Types ¶
type Server ¶
type Server struct {
Installations core.InstallationStore
Installationz core.InstallationService
Jobs core.JobStore
Machines core.MachineStore
Memberships core.MembershipStore
Runners core.RunnerStore
Scheduler core.Scheduler
Session core.Session
Syncer core.Syncer
System *core.System
Users core.UserStore
Userz core.UserService
}
Server is a http.Handler exposing CIHub functionality over HTTP.
func New ¶
func New( installations core.InstallationStore, installationz core.InstallationService, jobs core.JobStore, machines core.MachineStore, memberships core.MembershipStore, runners core.RunnerStore, scheduler core.Scheduler, session core.Session, syncer core.Syncer, system *core.System, users core.UserStore, userz core.UserService, ) Server
Click to show internal directories.
Click to hide internal directories.