pit

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	State     = "pit-rule-pit-stop-state"
	Started   = "started"
	Stopped   = "stopped"
	Cancelled = "cancelled"
	Complete  = "complete"
	Locked    = "locked"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Rule

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

func CreatePitRule

func CreatePitRule(ctx *context.Context) *Rule

func (*Rule) InitializeCarState

func (p *Rule) InitializeCarState(c *state.Car)

func (*Rule) InitializeCourseState

func (p *Rule) InitializeCourseState(course *state.Course)

func (*Rule) Notify

func (p *Rule) Notify(v *state.Value)

Jump to

Keyboard shortcuts

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