Documentation
¶
Index ¶
- type ModuleService
- func (s *ModuleService) Add(newModule string) error
- func (s *ModuleService) Get(module string) (domain.Module, error)
- func (s *ModuleService) GetAll() (map[string]domain.Module, error)
- func (s *ModuleService) GetModuleName(repo string) string
- func (s *ModuleService) GetPipeline(module *domain.Module, pipelineKey string, modulePath string) (*domain.Pipeline, error)
- func (s *ModuleService) Remove(module string) error
- func (s *ModuleService) ToSliceAndSort(modules map[string]domain.Module) []domain.Module
- type PipelineService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleService ¶
type ModuleService struct {
// contains filtered or unexported fields
}
func NewModuleService ¶
func NewModuleService(path string, fs filesystem.FileSystemInterface) *ModuleService
func (*ModuleService) Add ¶
func (s *ModuleService) Add(newModule string) error
func (*ModuleService) GetModuleName ¶
func (s *ModuleService) GetModuleName(repo string) string
func (*ModuleService) GetPipeline ¶ added in v1.1.0
func (*ModuleService) Remove ¶
func (s *ModuleService) Remove(module string) error
func (*ModuleService) ToSliceAndSort ¶ added in v1.3.0
type PipelineService ¶ added in v1.1.0
type PipelineService struct {
// contains filtered or unexported fields
}
func NewPipelineService ¶ added in v1.1.0
func NewPipelineService(path string, fs filesystem.FileSystemInterface) *PipelineService
func (*PipelineService) Get ¶ added in v1.1.0
func (s *PipelineService) Get(name string) (*domain.Pipeline, error)
func (*PipelineService) ToSliceAndSort ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.