application

package
v0.0.0-...-f7dd865 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: AGPL-3.0 Imports: 1 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoalState

type GoalState struct {
	Units     UnitsGoalState
	Relations map[string]UnitsGoalState
}

GoalState is responsible to organize the Units and Relations with a specific unit, and transmit this information from the api to the worker.

type GoalStateStatus

type GoalStateStatus struct {
	Status string
	Since  *time.Time
}

GoalStateStatus keeps the status and timestamp of a unit.

type UnitsGoalState

type UnitsGoalState map[string]GoalStateStatus

UnitsGoalState keeps the collection of units and their GoalStateStatus

Jump to

Keyboard shortcuts

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