Members
+ + + +(inner, constant) isBuildStatus :object
+ + + + +Joi schema for validating Build Status. +Checks if the build status is present in the list of allowed build status.
+Type:
+-
+
- + +object + + + +
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- Source: +
- + + + + + + + +
Methods
+ + + + + + + +(inner) renderBuildStatusBadge(attrs) → {object}
+ + + + + + +Handles rendering concerns of badges that display build status. +Determines the message and color of the badge according to the build status.
+Parameters:
+ + +| Name | + + +Type | + + + + + +Description | +||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attrs |
+
+
+ + + +object + + + + | + + + + + +Refer to individual attributes +Properties+ + +
|
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- Source: +
- + + + + + + + +
Returns:
+ + +Badge with label, message and color properties
+-
+
- + Type + +
- + +object + + + +