Documentation ¶
Index ¶
- Constants
- func ResourcesReady(ctx context.Context, acID, app, cluster string)
- type DependManager
- func (dm *DependManager) AddDependency(app string, dep map[string]*types.Criteria) error
- func (dm *DependManager) ClearChannels(app string)
- func (dm *DependManager) GetResourceReadyStatus(ctx context.Context, app, cluster, res string) bool
- func (dm *DependManager) NotifyAppliedStatus(app string)
- func (dm *DependManager) NotifyReadyStatus(app string)
- func (dm *DependManager) NotifyStatus(dl []appData)
- func (dm *DependManager) WaitForDependency(ctx context.Context, app string) error
- func (dm *DependManager) WaitResourceDependency(ctx context.Context, app, cluster, name string) error
- type DependManagerList
Constants ¶
View Source
const SEPARATOR = "+"
Variables ¶
This section is empty.
Functions ¶
func ResourcesReady ¶
Inform waiting threads of App Ready
Types ¶
type DependManager ¶
func (*DependManager) AddDependency ¶
Function registers an app for dependency
func (*DependManager) ClearChannels ¶
func (dm *DependManager) ClearChannels(app string)
func (*DependManager) GetResourceReadyStatus ¶
func (dm *DependManager) GetResourceReadyStatus(ctx context.Context, app, cluster, res string) bool
func (*DependManager) NotifyAppliedStatus ¶
func (dm *DependManager) NotifyAppliedStatus(app string)
func (*DependManager) NotifyReadyStatus ¶
func (dm *DependManager) NotifyReadyStatus(app string)
func (*DependManager) NotifyStatus ¶
func (dm *DependManager) NotifyStatus(dl []appData)
func (*DependManager) WaitForDependency ¶
func (dm *DependManager) WaitForDependency(ctx context.Context, app string) error
WaitForDependency waits for all dependecies to be met for an app
func (*DependManager) WaitResourceDependency ¶
func (dm *DependManager) WaitResourceDependency(ctx context.Context, app, cluster, name string) error
WaitResourceDependency waits for the resource to be Success
type DependManagerList ¶
Click to show internal directories.
Click to hide internal directories.