Documentation
¶
Index ¶
- Constants
- func NullTimeFromString(s string) (t sql.NullTime, err error)
- func WriteLogs(jobs []Job, dir string) (paths []string, err error)
- type Account
- type Build
- type Cache
- type Commit
- type HierarchicalTabularDataSource
- type Inserter
- type Job
- type JobKey
- type Repository
- type RepositoryBuilds
- func (s *RepositoryBuilds) FetchData(ctx context.Context, updates chan time.Time) error
- func (s *RepositoryBuilds) FetchRows() (err error)
- func (s RepositoryBuilds) MaxWidths() map[string]int
- func (s *RepositoryBuilds) Select(key interface{}, nbrBefore int, nbrAfter int) ([]TabularSourceRow, int, error)
- func (s *RepositoryBuilds) SelectFirst(limit int) ([]TabularSourceRow, error)
- func (s *RepositoryBuilds) SelectLast(limit int) ([]TabularSourceRow, error)
- func (s *RepositoryBuilds) SetTraversable(key interface{}, traversable bool)
- func (s RepositoryBuilds) WriteToDirectory(ctx context.Context, key interface{}, dir string) ([]string, error)
- type Requester
- type Stage
- type State
- type TabularSourceRow
Constants ¶
View Source
const CurrentSchema = `` /* 3340-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func TemporaryCache ¶
func (*Cache) NewRepositoryBuilds ¶
func (c *Cache) NewRepositoryBuilds(repositoryURL string, updates chan time.Time) RepositoryBuilds
type HierarchicalTabularDataSource ¶
type HierarchicalTabularDataSource interface { SetTraversable(key interface{}, traversable bool) FetchRows() error Select(key interface{}, nbrBefore int, nbrAfter int) ([]TabularSourceRow, int, error) SelectFirst(limit int) ([]TabularSourceRow, error) SelectLast(limit int) ([]TabularSourceRow, error) WriteToDirectory(ctx context.Context, key interface{}, tmpDir string) ([]string, error) MaxWidths() map[string]int }
type Repository ¶
func (Repository) Slug ¶
func (r Repository) Slug() string
type RepositoryBuilds ¶
type RepositoryBuilds struct {
// contains filtered or unexported fields
}
func (*RepositoryBuilds) FetchRows ¶
func (s *RepositoryBuilds) FetchRows() (err error)
func (RepositoryBuilds) MaxWidths ¶
func (s RepositoryBuilds) MaxWidths() map[string]int
func (*RepositoryBuilds) Select ¶
func (s *RepositoryBuilds) Select(key interface{}, nbrBefore int, nbrAfter int) ([]TabularSourceRow, int, error)
func (*RepositoryBuilds) SelectFirst ¶
func (s *RepositoryBuilds) SelectFirst(limit int) ([]TabularSourceRow, error)
func (*RepositoryBuilds) SelectLast ¶
func (s *RepositoryBuilds) SelectLast(limit int) ([]TabularSourceRow, error)
func (*RepositoryBuilds) SetTraversable ¶
func (s *RepositoryBuilds) SetTraversable(key interface{}, traversable bool)
func (RepositoryBuilds) WriteToDirectory ¶
type Requester ¶
type Requester interface { AccountID() string Builds(ctx context.Context, repository Repository, duration time.Duration, inserters chan<- []Inserter) error Repository(ctx context.Context, repositoryURL string) (Repository, error) }
FIXME Find a better name
type TabularSourceRow ¶
Click to show internal directories.
Click to hide internal directories.