drive

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: BSD-3-Clause Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(Spore) error

func WithTauLatest

func WithTauLatest() Option

func WithTauPath

func WithTauPath(path string) Option

func WithTauUrl

func WithTauUrl(url string) Option

func WithTauVersion

func WithTauVersion(version string) Option

type Progress

type Progress interface {
	Path() string // example: /hypha-generated-name/host/stepId
	Name() string
	Progress() int
	Error() error
	String() string
}

type Spore

type Spore interface {
	Displace(ctx context.Context, course course.Course) <-chan Progress
	Network() *mycelium.Network
}

func New

func New(cnf config.Parser, options ...Option) (Spore, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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