yukari

package
v0.0.0-...-625f436 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NODENAMES         = miporin.GetNodenames()
	CLIENTSET         = miporin.GetClientSet()
	DYNCLIENT         = miporin.GetDynamicClient()
	MAXPON            = []int{10, 10, 3}
	OKASAN_SCRAPERS   = map[string]*scraper.OkasanScraper{}
	OKASAN_SCHEDULERS = map[string]*OkasanScheduler{}
)

Functions

func Scheduler

func Scheduler(OKASAN_SCHEDULERS map[string]*OkasanScheduler)

Types

type KodomoScheduler

type KodomoScheduler struct {
	Name     string
	Decision map[string]int32

	Okasan       *OkasanScheduler
	ScheduleStop *StopChan
	// contains filtered or unexported fields
}

func NewKodomoScheduler

func NewKodomoScheduler(
	name string, sleepTime int8,
) *KodomoScheduler

type OkasanScheduler

type OkasanScheduler struct {
	Name string

	Kodomo      map[string]*KodomoScheduler
	MaxPoN      map[string]int32
	KPADecision map[string]map[string]int32
	// contains filtered or unexported fields
}

func NewOkasanScheduler

func NewOkasanScheduler(
	name string,
	sleepTime int8,
) *OkasanScheduler

type StopChan

type StopChan struct {
	Kodomo chan bool
	Okasan chan bool
}

func NewStopChan

func NewStopChan() *StopChan

func (*StopChan) Stop

func (s *StopChan) Stop()

Jump to

Keyboard shortcuts

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