repo_indexer

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(cfg *config.Config)

Types

type EventController

type EventController struct {
	*pi.Pi
	// contains filtered or unexported fields
}

func NewEventController

func NewEventController(pi *pi.Pi) *EventController

func (*EventController) Dequeue

func (i *EventController) Dequeue()

func (*EventController) ExecuteEvent

func (i *EventController) ExecuteEvent(repoEvent *models.RepoEvent, cb func())

func (*EventController) GetEventLength

func (i *EventController) GetEventLength() int32

func (*EventController) NewRepoEvent

func (i *EventController) NewRepoEvent(repoId, owner string) (*models.RepoEvent, error)

func (*EventController) Serve

func (i *EventController) Serve()

type Server

type Server struct {
	*pi.Pi
	// contains filtered or unexported fields
}

func (*Server) Checker added in v0.1.2

func (p *Server) Checker(ctx context.Context, req interface{}) error

func (*Server) Cron

func (p *Server) Cron()

func (*Server) DescribeRepoEvents

func (*Server) IndexRepo

func (p *Server) IndexRepo(ctx context.Context, req *pb.IndexRepoRequest) (*pb.IndexRepoResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL