Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EventTypeOrchestration is the type of events that are related to orchestration EventTypeOrchestration events.EventType = "orchestration" // EventActionOrchestrationStarted is emitted each time an orchestration process is started EventActionOrchestrationStarted events.EventAction = "started" // EventActionOrchestrationRunning is emitted each time an orchestration process is running EventActionOrchestrationRunning events.EventAction = "running" // EventActionOrchestrationFinished is emitted each time an orchestration process has finished EventActionOrchestrationFinished events.EventAction = "finished" )
Variables ¶
This section is empty.
Functions ¶
func GetUpdateMgrApplyContext ¶
func GetUpdateMgrApplyContext(ctx context.Context) []*unstructured.Unstructured
GetUpdateMgrApplyContext retrieves the values related to the context used throughout a running orchestration
func SetUpdateMgrApplyContext ¶
func SetUpdateMgrApplyContext(ctx context.Context, mf []*unstructured.Unstructured) context.Context
SetUpdateMgrApplyContext ensures the context used throughout a running orchestration
Types ¶
type UpdateManager ¶
type UpdateManager interface { Apply(ctx context.Context, mf []*unstructured.Unstructured) interface{} Get(ctx context.Context) []*unstructured.Unstructured Dispose(ctx context.Context) error }
UpdateManager provides the orchestration management abstraction
Click to show internal directories.
Click to hide internal directories.