Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContainerHandler ¶
ContainerHandler manages a container by key
func (*ContainerHandler) Deregister ¶
func (h *ContainerHandler) Deregister(key string) error
Deregister removes key from Store
func (*ContainerHandler) Destroy ¶
func (h *ContainerHandler) Destroy(c *Container) error
Destroy destroys a container pointed by c
type PullRequestEvent ¶
type PullRequestEvent struct { Action string `json:"action"` Number int `json:"number"` Repository Repository `json:"repository"` }
type PullRequestHandler ¶
type PullRequestHandler struct { Secret string Domain string Port string Theme string OAuthToken string ContainerHandler *ContainerHandler }
func (*PullRequestHandler) ServeHTTP ¶
func (h *PullRequestHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)
type RedisStore ¶
type RedisStore struct {
// contains filtered or unexported fields
}
func NewRedisStore ¶
func NewRedisStore() *RedisStore
func (*RedisStore) DeleteHost ¶
func (s *RedisStore) DeleteHost(key string) error
func (*RedisStore) GetHost ¶
func (s *RedisStore) GetHost(key string) *Container
type Repository ¶
type Repository struct {
CloneURL string `json:"clone_url"`
}
type ReverseProxyHandler ¶
type ReverseProxyHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(s Store) *ReverseProxyHandler
func (*ReverseProxyHandler) ServeHTTP ¶
func (h *ReverseProxyHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.