plug

package
v0.0.0-...-5032473 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cronners = make(map[string]Cronner)
View Source
var InteractPluggers = make(map[string]InteractPlugger)
View Source
var Stagers = make(map[string]Stager)

Functions

This section is empty.

Types

type ConfigChecker

type ConfigChecker interface {
	CheckConfig() error
}

type ConfigSetter

type ConfigSetter interface {
	SetConfig(interface{})
}

type CronConfigSetter

type CronConfigSetter interface {
	SetConfig(map[string]interface{})
}

type CronUser

type CronUser interface {
	SetCronner(string)
	StartCronners()
	StopCronners()
}

type Cronner

type Cronner interface {
	CronConfigSetter
	ConfigChecker
	Stopper
}

type ErrorCounter

type ErrorCounter interface {
	AddError()
}

type InteractPlugger

type InteractPlugger interface {
	ConfigSetter
	ConfigChecker
	Stopper
}

type InteractUser

type InteractUser interface {
	SetStage(string, int, interface{})
	SetInteractor(string)
	StartInteractor()
	StopInteractor()
}

type Listener

type Listener interface {
	ListenAndServe() error
	Shutdown(ctx context.Context) error
}

type Stager

type Stager interface {
	ConfigSetter
	ConfigChecker
	Execute(*protocol.Job) (bool, error)
}

type Stopper

type Stopper interface {
	Stop()
}

type SuccessCounter

type SuccessCounter interface {
	AddSuccess()
}

Jump to

Keyboard shortcuts

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