Documentation
¶
Index ¶
- func AddSecret(b bus.Publisher) http.HandlerFunc
- func Deploy(b bus.Publisher) http.HandlerFunc
- func GetBuildLogs(l logGetter, t *template.Template) http.HandlerFunc
- func GetProjectLogs(w http.ResponseWriter, r *http.Request)
- func GetProjectServiceLogs(w http.ResponseWriter, r *http.Request)
- func GithubHook(b bus.Publisher) http.HandlerFunc
- func Sweep(b bus.Broadcaster) http.HandlerFunc
- type RedisLog
- type TemplateData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSecret ¶
func AddSecret(b bus.Publisher) http.HandlerFunc
AddSecret will add a secret to the swarm clustor accessible only to the targeted project.
func Deploy ¶
func Deploy(b bus.Publisher) http.HandlerFunc
Deploy takes a deploy request, and if valid, forwrds it to the "deploy" queue.
func GetBuildLogs ¶
func GetBuildLogs(l logGetter, t *template.Template) http.HandlerFunc
GetBuildLogs returns persisted logs based on the logID
func GetProjectLogs ¶
func GetProjectLogs(w http.ResponseWriter, r *http.Request)
GetProjectLogs connect to rabbitmq's logs channel,
func GetProjectServiceLogs ¶
func GetProjectServiceLogs(w http.ResponseWriter, r *http.Request)
GetProjectServiceLogs retrieves service logs for a project
func GithubHook ¶
func GithubHook(b bus.Publisher) http.HandlerFunc
GithubHook handler for all incoming github webhooks
func Sweep ¶
func Sweep(b bus.Broadcaster) http.HandlerFunc
Sweep sends a sweep job to all docker-sweeper workers. Effectively removing all stopped containers, volumes and images that have no running containers. use with caution.
Types ¶
type TemplateData ¶
TemplateData for index.html
Click to show internal directories.
Click to hide internal directories.