mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-10-19 18:13:47 +00:00
Merge pull request #55 from c3os-io/feature/cluster-provider
Abstract Cluster Provisioning with Cluster Plugins
This commit is contained in:
committed by
Itxaka
parent
ea12ef6cd2
commit
aee6631687
@@ -1,29 +0,0 @@
|
||||
package bus
|
||||
|
||||
import (
|
||||
"github.com/mudler/go-pluggable"
|
||||
)
|
||||
|
||||
var (
|
||||
// Package events.
|
||||
|
||||
// EventPackageInstall is the event fired when a new package is being installed.
|
||||
EventBootstrap pluggable.EventType = "agent.bootstrap"
|
||||
EventInstall pluggable.EventType = "agent.install"
|
||||
EventChallenge pluggable.EventType = "agent.install.challenge"
|
||||
)
|
||||
|
||||
type InstallPayload struct {
|
||||
Token string `json:"token"`
|
||||
Config string `json:"config"`
|
||||
}
|
||||
|
||||
type BootstrapPayload struct {
|
||||
APIAddress string `json:"api"`
|
||||
Config string `json:"config"`
|
||||
Logfile string `json:"logfile"`
|
||||
}
|
||||
|
||||
type EventPayload struct {
|
||||
Config string `json:"config"`
|
||||
}
|
Reference in New Issue
Block a user