Documentation ¶
Index ¶
- func AsCodeReviewModule(module loader.Module) (common.CodeReviewModule, error)
- func AsIssueTrackingModule(module loader.Module) (common.IssueTrackingModule, error)
- func AsReleaseNotesModule(module loader.Module) (common.ReleaseNotesModule, error)
- func AvailableModules() []loader.Module
- func GetCodeReviewTool() (common.CodeReviewTool, error)
- func GetIssueTracker() (common.IssueTracker, error)
- func GetReleaseNotesManager() (common.ReleaseNotesManager, error)
- type ErrInvalidModule
- type ErrModuleNotFound
- type ErrModuleNotSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsCodeReviewModule ¶ added in v0.16.0
func AsCodeReviewModule(module loader.Module) (common.CodeReviewModule, error)
func AsIssueTrackingModule ¶ added in v0.16.0
func AsIssueTrackingModule(module loader.Module) (common.IssueTrackingModule, error)
func AsReleaseNotesModule ¶ added in v0.16.0
func AsReleaseNotesModule(module loader.Module) (common.ReleaseNotesModule, error)
func AvailableModules ¶ added in v0.16.0
func GetCodeReviewTool ¶
func GetCodeReviewTool() (common.CodeReviewTool, error)
func GetIssueTracker ¶
func GetIssueTracker() (common.IssueTracker, error)
func GetReleaseNotesManager ¶ added in v0.10.0
func GetReleaseNotesManager() (common.ReleaseNotesManager, error)
Types ¶
type ErrInvalidModule ¶ added in v0.16.0
type ErrInvalidModule struct {
// contains filtered or unexported fields
}
ErrInvalidModule is returned when the module cannot be cast to the right module kind interface.
func (*ErrInvalidModule) Error ¶ added in v0.16.0
func (err *ErrInvalidModule) Error() string
type ErrModuleNotFound ¶ added in v0.16.0
type ErrModuleNotFound struct {
// contains filtered or unexported fields
}
ErrModuleNotFound is returned when the module with the specified ID cannot be found in the list of registered modules.
func (*ErrModuleNotFound) Error ¶ added in v0.16.0
func (err *ErrModuleNotFound) Error() string
type ErrModuleNotSet ¶ added in v0.16.0
type ErrModuleNotSet struct {
// contains filtered or unexported fields
}
ErrModuleNotSet is returned when the module of the given kind is not active, in other words, no module ID is associated with the given module kind.
func (*ErrModuleNotSet) Error ¶ added in v0.16.0
func (err *ErrModuleNotSet) Error() string
Click to show internal directories.
Click to hide internal directories.