Documentation ¶
Index ¶
- Variables
- func NewCheckRepo(db *gorm.DB) checkrepo.Repo
- func NewConfigRepo(db *gorm.DB) configrepo.Repo
- func NewHostGroupRepo(db *gorm.DB) hostgrouprepo.Repo
- func NewHostRepo(db *gorm.DB) hostrepo.Repo
- func NewPolicyRepo(db *gorm.DB) policyrepo.Repo
- func NewPropertyRepo(db *gorm.DB) propertyrepo.Repo
- func NewReportRepo(db *gorm.DB) reportrepo.Repo
- func NewRoundRepo(db *gorm.DB) roundrepo.Repo
- func NewServiceGroupRepo(db *gorm.DB) servicegrouprepo.Repo
- func NewServiceRepo(db *gorm.DB) servicerepo.Repo
- func NewTeamRepo(db *gorm.DB) teamrepo.Repo
- func NewUserRepo(db *gorm.DB) userrepo.Repo
- func ReplaceInvalidCharacters(chck []*check.Check)
- type NoRowsAffected
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIDMissing = errors.New("the ID should be provided")
View Source
var ErrNoRoundExecuting = errors.New("there is no round executing at the moment")
View Source
var ErrTeamNameMissing = errors.New("team name missing")
Functions ¶
func NewConfigRepo ¶
func NewConfigRepo(db *gorm.DB) configrepo.Repo
func NewHostGroupRepo ¶
func NewHostGroupRepo(db *gorm.DB) hostgrouprepo.Repo
func NewPolicyRepo ¶
func NewPolicyRepo(db *gorm.DB) policyrepo.Repo
func NewPropertyRepo ¶
func NewPropertyRepo(db *gorm.DB) propertyrepo.Repo
func NewReportRepo ¶
func NewReportRepo(db *gorm.DB) reportrepo.Repo
func NewServiceGroupRepo ¶
func NewServiceGroupRepo(db *gorm.DB) servicegrouprepo.Repo
func NewServiceRepo ¶
func NewServiceRepo(db *gorm.DB) servicerepo.Repo
Types ¶
type NoRowsAffected ¶
type NoRowsAffected struct {
// contains filtered or unexported fields
}
func (*NoRowsAffected) Error ¶
func (e *NoRowsAffected) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.