Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoList ¶
type RepoList interface {
// UpdateTrackedRepos, updates the list of trakced repositories, returns
// true if the list changed, false otherwise
UpdateTrackedRepos(context.Context) (bool, error)
GetTrackedRepos() []TrackedRepository
}
RepoList describes a struct that tracks repositories
func NewBucketRepo ¶
NewBucketRepo returns a RepoList based on GCS Buckets
type TrackedRepository ¶
type TrackedRepository struct {
Owner string `json:"owner"`
Name string `json:"name"`
DefaultBranch string `json:"defaultBranch"`
IsTrackingIssues bool `json:"isTrackingIssues"`
IsTrackingSamples bool `json:"isTrackingSamples"`
}
TrackedRepository represents a repository tracked by Maintner or Samplr
func (TrackedRepository) RepoSha ¶
func (t TrackedRepository) RepoSha() string
RepoSha Creates a Sum224 of the TrackedRepository's name
func (TrackedRepository) String ¶
func (t TrackedRepository) String() string
String returns the string representation of the TrackedRepository
Click to show internal directories.
Click to hide internal directories.