api: remove obsolete constants
Remove the constants which are no longer in use from the API. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
54150299a3
commit
0ea0db1fff
|
@ -19,14 +19,14 @@ package v1beta2
|
||||||
const SourceFinalizer = "finalizers.fluxcd.io"
|
const SourceFinalizer = "finalizers.fluxcd.io"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// ArtifactUnavailableCondition indicates there is no Artifact available for the Source.
|
|
||||||
// This is a "negative polarity" or "abnormal-true" type, and is only present on the resource if it is True.
|
|
||||||
ArtifactUnavailableCondition string = "ArtifactUnavailable"
|
|
||||||
|
|
||||||
// ArtifactOutdatedCondition indicates the current Artifact of the Source is outdated.
|
// ArtifactOutdatedCondition indicates the current Artifact of the Source is outdated.
|
||||||
// This is a "negative polarity" or "abnormal-true" type, and is only present on the resource if it is True.
|
// This is a "negative polarity" or "abnormal-true" type, and is only present on the resource if it is True.
|
||||||
ArtifactOutdatedCondition string = "ArtifactOutdated"
|
ArtifactOutdatedCondition string = "ArtifactOutdated"
|
||||||
|
|
||||||
|
// SourceVerifiedCondition indicates the integrity of the Source has been verified. If True, the integrity check
|
||||||
|
// succeeded. If False, it failed. The Condition is only present on the resource if the integrity has been verified.
|
||||||
|
SourceVerifiedCondition string = "SourceVerified"
|
||||||
|
|
||||||
// FetchFailedCondition indicates a transient or persistent fetch failure of an upstream Source.
|
// FetchFailedCondition indicates a transient or persistent fetch failure of an upstream Source.
|
||||||
// If True, observations on the upstream Source revision may be impossible, and the Artifact available for the
|
// If True, observations on the upstream Source revision may be impossible, and the Artifact available for the
|
||||||
// Source may be outdated.
|
// Source may be outdated.
|
||||||
|
@ -48,8 +48,4 @@ const (
|
||||||
// AuthenticationFailedReason represents the fact that a given secret does not
|
// AuthenticationFailedReason represents the fact that a given secret does not
|
||||||
// have the required fields or the provided credentials do not match.
|
// have the required fields or the provided credentials do not match.
|
||||||
AuthenticationFailedReason string = "AuthenticationFailed"
|
AuthenticationFailedReason string = "AuthenticationFailed"
|
||||||
|
|
||||||
// VerificationFailedReason represents the fact that the cryptographic
|
|
||||||
// provenance verification for the source failed.
|
|
||||||
VerificationFailedReason string = "VerificationFailed"
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -36,10 +36,6 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// SourceVerifiedCondition indicates the integrity of the Source has been verified. If True, the integrity check
|
|
||||||
// succeeded. If False, it failed. The Condition is only present on the resource if the integrity has been verified.
|
|
||||||
SourceVerifiedCondition string = "SourceVerified"
|
|
||||||
|
|
||||||
// IncludeUnavailableCondition indicates one of the includes is not available. For example, because it does not
|
// IncludeUnavailableCondition indicates one of the includes is not available. For example, because it does not
|
||||||
// exist, or does not have an Artifact.
|
// exist, or does not have an Artifact.
|
||||||
// This is a "negative polarity" or "abnormal-true" type, and is only present on the resource if it is True.
|
// This is a "negative polarity" or "abnormal-true" type, and is only present on the resource if it is True.
|
||||||
|
|
Loading…
Reference in New Issue