manager

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager represents the script manager

func New

func New() *Manager

New creates new script manager

func (*Manager) Get

func (m *Manager) Get() ([]*script.Script, error)

Get returns scripts obtained from providers

func (*Manager) GetWithTests added in v0.4.0

func (m *Manager) GetWithTests() ([]*script.Script, error)

GetWithTests returns scripts with tests

func (*Manager) Init

func (m *Manager) Init(cfg *scripts.Scripts) error

Init the script manager

type Provider

type Provider interface {
	Get() ([]*script.Script, error)
}

Provider is an interface for script provider

Jump to

Keyboard shortcuts

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