Merge pull request #55 from c3os-io/feature/cluster-provider

Abstract Cluster Provisioning with Cluster Plugins
This commit is contained in:
Ettore Di Giacinto
2022-08-09 08:01:54 +02:00
committed by Itxaka
parent ea12ef6cd2
commit aee6631687

View File

@@ -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"`
}