api/v1beta2: add note on Condition polarity
This was missing for `BuildFailedCondition` and `StorageOperationFailedCondition`. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
e4d0b53164
commit
6bf8dc5cca
|
@ -42,14 +42,19 @@ const (
|
||||||
// BuildFailedCondition indicates a transient or persistent build failure
|
// BuildFailedCondition indicates a transient or persistent build failure
|
||||||
// of a Source's Artifact.
|
// of a Source's Artifact.
|
||||||
// If True, the Source can be in an ArtifactOutdatedCondition.
|
// If True, the Source can be in an ArtifactOutdatedCondition.
|
||||||
|
// This is a "negative polarity" or "abnormal-true" type, and is only
|
||||||
|
// present on the resource if it is True.
|
||||||
BuildFailedCondition string = "BuildFailed"
|
BuildFailedCondition string = "BuildFailed"
|
||||||
|
|
||||||
// StorageOperationFailedCondition indicates a transient or persistent
|
// StorageOperationFailedCondition indicates a transient or persistent
|
||||||
// failure related to storage. If True, the reconciliation failed while
|
// failure related to storage. If True, the reconciliation failed while
|
||||||
// performing some filesystem operation.
|
// performing some filesystem operation.
|
||||||
|
// This is a "negative polarity" or "abnormal-true" type, and is only
|
||||||
|
// present on the resource if it is True.
|
||||||
StorageOperationFailedCondition string = "StorageOperationFailed"
|
StorageOperationFailedCondition string = "StorageOperationFailed"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Reasons are provided as utility, and not part of the declarative API.
|
||||||
const (
|
const (
|
||||||
// URLInvalidReason signals that a given Source has an invalid URL.
|
// URLInvalidReason signals that a given Source has an invalid URL.
|
||||||
URLInvalidReason string = "URLInvalid"
|
URLInvalidReason string = "URLInvalid"
|
||||||
|
|
Loading…
Reference in New Issue