16 lines
291 B
Go
16 lines
291 B
Go
package node
|
|
|
|
import (
|
|
"context"
|
|
|
|
monov1alpha1 "undecided.project/monok8s/pkg/apis/monok8s/v1alpha1"
|
|
"undecided.project/monok8s/pkg/system"
|
|
)
|
|
|
|
type NodeContext struct {
|
|
Config *monov1alpha1.MonoKSConfig
|
|
SystemRunner *system.Runner
|
|
}
|
|
|
|
type Step func(context.Context, *NodeContext) error
|