Documentation ¶
Index ¶
- Variables
- func GetJobIDByContext(jobs []byte, context string) (string, datastructures.JobsAnnotations, error)
- func GetTargetFromDesignator(designator *identifiers.PortalDesignator) string
- func InitReporter(customerGUID, reporterName, actionName, wlid, eventReceiverUrl string, ...) *datastructures.BaseReport
- func ProcessAnnotations(reporter datastructures.IReporter, jobAnnotations interface{}, ...) error
- func SendImmutableReport(target, reporter, actionID, action, status string, jobID *string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EmptyString = []string{}
)
Functions ¶
func GetJobIDByContext ¶
func GetJobIDByContext(jobs []byte, context string) (string, datastructures.JobsAnnotations, error)
TODO takes annotation and return the jobID, annotationObject, err
func GetTargetFromDesignator ¶
func GetTargetFromDesignator(designator *identifiers.PortalDesignator) string
func InitReporter ¶
func InitReporter(customerGUID, reporterName, actionName, wlid, eventReceiverUrl string, httpClient httputils.IHttpClient, designator *identifiers.PortalDesignator, errChan chan<- error) *datastructures.BaseReport
func ProcessAnnotations ¶
func ProcessAnnotations(reporter datastructures.IReporter, jobAnnotations interface{}, hasAnnotations bool) error
func SendImmutableReport ¶
func SendImmutableReport(target, reporter, actionID, action, status string, jobID *string, err error)
SendImmutableReport incase you want to send it all and just manage jobID, actionID yourself (no locking downtimes)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.