services

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 8 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) GetRun

func (s *ModuleService) GetRun(module *domain.Module, runKey string, modulePath string) (*domain.Run, error)

func (*ModuleService) Remove

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

type RunService

type RunService struct {
	// contains filtered or unexported fields
}

func NewRunService

func NewRunService(path string, fs filesystem.FileSystemInterface) *RunService

func (*RunService) Get

func (s *RunService) Get(name string) (*domain.Run, error)

func (*RunService) GetAll

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

Jump to

Keyboard shortcuts

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