services

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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) Get

func (s *ModuleService) Get(module string) (domain.Module, error)

func (*ModuleService) GetAll

func (s *ModuleService) GetAll() (map[string]domain.Module, error)

func (*ModuleService) GetModuleName

func (s *ModuleService) GetModuleName(repo string) string

func (*ModuleService) GetPipeline added in v1.1.0

func (s *ModuleService) GetPipeline(module *domain.Module, pipelineKey string, modulePath string) (*domain.Pipeline, error)

func (*ModuleService) Remove

func (s *ModuleService) Remove(module string) error

func (*ModuleService) ToSliceAndSort added in v1.3.0

func (s *ModuleService) ToSliceAndSort(modules map[string]domain.Module) []domain.Module

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) GetAll added in v1.1.0

func (s *PipelineService) GetAll(onlyVisible bool) (map[string]domain.Pipeline, error)

func (*PipelineService) ToSliceAndSort added in v1.3.0

func (s *PipelineService) ToSliceAndSort(pipelines map[string]domain.Pipeline) []domain.Pipeline

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL