Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationCreatedHandler ¶
type ApplicationCreatedHandler struct {
// contains filtered or unexported fields
}
func GetApplicationCreatedHandlerInstance ¶
func GetApplicationCreatedHandlerInstance() *ApplicationCreatedHandler
func (*ApplicationCreatedHandler) Handle ¶
func (applicationCreatedHandler *ApplicationCreatedHandler) Handle(application argoSdk.ArgoApplication) error
type ApplicationRemovedHandler ¶
type ApplicationRemovedHandler struct { }
func GetApplicationRemovedHandlerInstance ¶
func GetApplicationRemovedHandlerInstance() *ApplicationRemovedHandler
func (*ApplicationRemovedHandler) Handle ¶
func (applicationRemovedHandler *ApplicationRemovedHandler) Handle(application argoSdk.ArgoApplication) error
type EventHandler ¶
type EventHandler interface {
Handle(payload interface{}) error
}
EventHandler is interface for handle different type of events, like new application added, rollout happens so on
func GetRolloutEventHandlerInstance ¶
func GetRolloutEventHandlerInstance() EventHandler
GetRolloutEventHandlerInstance get singleton instance of rollout handler
type RolloutHandler ¶
type RolloutHandler struct {
// contains filtered or unexported fields
}
RolloutHandler handle rollout event, rollout meat that some new release appear or state of current release is changed
func (*RolloutHandler) Handle ¶
func (rolloutHandler *RolloutHandler) Handle(rollout interface{}) error
Handle handle rollout event , process and store info in codefresh
type SyncHandler ¶
type SyncHandler struct {
// contains filtered or unexported fields
}
func GetSyncHandlerInstance ¶
func GetSyncHandlerInstance(codefreshApi codefresh.CodefreshApi, argoApi argo.ArgoAPI) *SyncHandler
func (*SyncHandler) Handle ¶
func (syncHandler *SyncHandler) Handle() error
Click to show internal directories.
Click to hide internal directories.