Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gerrit ¶
type Gerrit struct {
DateCreated string `json:"date_created,omitempty"`
DateModified string `json:"date_modified,omitempty"`
GerritID string `json:"gerrit_id,omitempty"`
GerritName string `json:"gerrit_name,omitempty"`
GerritURL string `json:"gerrit_url,omitempty"`
GroupIDCcla string `json:"group_id_ccla,omitempty"`
GroupIDIcla string `json:"group_id_icla,omitempty"`
GroupNameCcla string `json:"group_name_ccla,omitempty"`
GroupNameIcla string `json:"group_name_icla,omitempty"`
ProjectID string `json:"project_id,omitempty"`
Version string `json:"version,omitempty"`
}
Gerrit represent gerrit instances table
type Repository ¶
type Repository interface {
GetProjectGerrits(projectID string) ([]*models.Gerrit, error)
DeleteProject(projectID string) error
}
Repository defines functions of Repositories
func NewRepository ¶
func NewRepository(awsSession *session.Session, stage string) Repository
NewRepository create new Repository
type Service ¶ added in v1.0.13
Service handles gerrit Repository service
func NewService ¶ added in v1.0.13
func NewService(repo Repository) Service
NewService creates a new gerrit service
Click to show internal directories.
Click to hide internal directories.