Documentation
¶
Index ¶
- Variables
- func GetAllRepo(c echo.Context) error
- func GetBuildProcLog(c echo.Context) error
- func GetBuildProcs(c echo.Context) error
- func GetBuilds(c echo.Context) error
- func GetConfig(c echo.Context) error
- func GetQueueInfo(c echo.Context) error
- func GetRemoteRepos(c echo.Context) error
- func GetRepos(c echo.Context) error
- func GetRoot(c echo.Context) error
- func GetScmAccount(c echo.Context) error
- func GetScmAccounts(c echo.Context) error
- func NewEchoServer() *echo.Echo
- func PostBuild(c echo.Context) error
- func PostConfig(c echo.Context) error
- func PostHook(c echo.Context) error
- func PostRepo(c echo.Context) error
- func PostScmAccount(c echo.Context) error
- func PostSecret(c echo.Context) error
- func RPCHandler(c echo.Context) error
- type CircleContext
- type RPC
- func (s *RPC) Done(c context.Context, id string, state rpc.State) error
- func (s *RPC) Extend(c context.Context, id string) error
- func (s *RPC) Init(c context.Context, id string, state rpc.State) error
- func (s *RPC) Log(c context.Context, id string, line *rpc.Line) error
- func (s *RPC) Next(c context.Context, filter rpc.Filter) (*rpc.Pipeline, error)
- func (s *RPC) Update(c context.Context, id string, state rpc.State) error
- func (s *RPC) Upload(c context.Context, id string, file *rpc.File) error
- func (s *RPC) Wait(c context.Context, id string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = struct { Services struct { // Pubsub pubsub.Publisher Queue queue.Queue Logs logging.Log } Storage struct { // Users model.UserStore // Repos model.RepoStore // Builds model.BuildStore // Logs model.LogStore Config model.ConfigStore } Pipeline struct { Limits model.ResourceLimit Volumes []string Networks []string Privileged []string } }{}
Functions ¶
func GetAllRepo ¶
func GetBuildProcLog ¶
func GetBuildProcs ¶
func GetQueueInfo ¶
func GetRemoteRepos ¶
func GetScmAccount ¶
func GetScmAccounts ¶
func NewEchoServer ¶
func PostConfig ¶
func PostScmAccount ¶
func PostSecret ¶
func RPCHandler ¶
Types ¶
type CircleContext ¶
func (CircleContext) DefaultQueryParam ¶
func (c CircleContext) DefaultQueryParam(name string, defaultVal string) string
type RPC ¶
type RPC struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.