feat: initial release
This commit is contained in:
parent
a3cf21f5bd
commit
761174d035
41 changed files with 2008 additions and 217 deletions
18
internal/state/runtime.go
Normal file
18
internal/state/runtime.go
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package state
|
||||
|
||||
import (
|
||||
"git.wzray.com/homelab/mastermind/internal/registry"
|
||||
"git.wzray.com/homelab/mastermind/internal/types"
|
||||
)
|
||||
|
||||
type RuntimeState struct {
|
||||
Registry *registry.Registry
|
||||
Self types.Node
|
||||
}
|
||||
|
||||
func New(r *registry.Registry, n types.Node) *RuntimeState {
|
||||
return &RuntimeState{
|
||||
Registry: r,
|
||||
Self: n,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue