Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultLimit is the default pagination limit
DefaultLimit = 10
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
The Controller implements the API endpoints
func NewController ¶
func NewController(index *index.Index, listen string, CORSAllowAll bool) *Controller
NewController creates a new Controller instance fully ready to serve
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct {
Repositories []RepositoryStatus `json:"repositories"`
}
ListRepositoriesResponse contains the response from listing all repositories
type RepositoryStatus ¶
RepositoryStatus contains the status of a single repository
Click to show internal directories.
Click to hide internal directories.