Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TriggerManager ¶
type TriggerManager struct {
// contains filtered or unexported fields
}
TriggerManager is the struct defined to group and contain all the methods that interact with the trigger subsystem. Parameters: - db: a DbParameter reference to be able to use the DBManager methods. - monit: a StatusManager reference to be able to use the status subsystem methods.
func New ¶
func New(db *dbManager.DbParameter, monit *statusManager.StatusManager) *TriggerManager
New is the function to create the struct TriggerManager. Parameters: - DbParameter: reference pointing to the DbParameter that allows the interaction with the DBManager methods. - StatusParameter: reference poining to the StatusManager that allows the interaction with the StatusManager methods. Returns: - TriggerManager: struct to interact with triggerManager subsystem functionalities.
func (*TriggerManager) ExecSample ¶
func (m *TriggerManager) ExecSample(ctx context.Context, params trigger_management.ExecSampleParams) middleware.Responder
ExecSample (Swagger func) is the function behind the /trigger/sample endpoint. It is a dummy function for reference.