Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCondition ¶
GetCondition returns the condition with the given <conditionType> out of the list of <conditions>. In case the required type could not be found, it returns nil.
func GetConditionIndex ¶
func GetConditionIndex(conditions []core.Condition, conditionType core.ConditionType) int
GetConditionIndex returns the index of the condition with the given <conditionType> out of the list of <conditions>. In case the required type could not be found, it returns -1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.