package
0.0.0-20250402025314-898447b66097
Repository: https://github.com/openshift/insights-operator.git
Documentation: pkg.go.dev

# Functions

CreateDataGatherGathererStatus creates GathererStatus attribute for the "datagather.insights.openshift.io" custom resource type.
CreateOperatorGathererStatus creates GathererStatus attribute for the "insightsoperator.operator.openshift.io" custom resource type.
DataGatherStatusToOperatorStatus copies "DataGatherStatus" from "datagather.openshift.io" and creates "Status" for "insightsoperator.operator.openshift.io".
DataProcessedCondition returns new "DataProcessed" status condition with provided status, reason and message.
DataRecordedCondition returns new "DataRecorded" status condition with provided status, reason and message.
DataUploadedCondition returns new "DataUploaded" status condition with provided status, reason and message.
GetConditionByType tries to get the condition with the provided condition status from the provided "datagather" resource.
NewController creates a statusMessage controller, responsible for monitoring the operators statusMessage and updating its cluster statusMessage accordingly.
RemoteConfigurationInvalidCondition retunrs new "RemoteConfigurationInvalid" status condition with provided status, reason and message.
RemoteConfigurationNotAvailableCondition retunrs new "RemoteConfigurationNotAvailable" status condition with provided status, reason and message.
UpdateDataGatherConditions updates the conditions of the provided dataGather resource with provided condition.
UpdateDataGatherState updates status' time attributes, state and conditions of the provided DataGather resource.

# Constants

No description provided by the author
ClusterTransferAvailable is a condition type providing info about ClusterTransfer controller status.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GatheredOKReason is a reason when data is gathered as expected.
GatheredWithErrorReason is a reason when data is gathered partially or with another error message.
GatherErrorReason is a reason when there is some error and no data gathered.
GatherPanicReason is a reason when there is some error and no data gathered.
InsightsDownloadDegraded defines the condition type (when set to True) when the Insights report can't be successfully downloaded.
InsightsUploadDegraded defines the condition type (when set to True) when an archive can't be successfully uploaded.
NoDataGatheredReason is a reason when there is no data gathered - e.g the resource is not in a cluster.
No description provided by the author
No description provided by the author
No description provided by the author
OperatorDisabled defines the condition type when the operator's primary function has been disabled.
No description provided by the author
RemoteConfigurationAvailable is a condition type providing info about remote configuration (conditional gathering) availability.
RemoteConfigurationInvalid is a condition type providing info about remote configuration content validity.
No description provided by the author
No description provided by the author
No description provided by the author
SCAAvailable is a condition type providing info about SCA controller status.
No description provided by the author
No description provided by the author

# Structs

Controller is the type responsible for managing the statusMessage of the operator according to the statusMessage of the sources.
No description provided by the author