-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unexport RPRT member functions used within resources pkg only
Some member functions of ResolvedPipelineRunTask are exported but they are used within the resources package only: `IsDone`, `IsSuccessful`, `IsFailure`, `IsRunning` `HasRemainingRetries`, `IsCancelled`, `IsConditionStatusFalse`, and `IsStarted`. These functions, except `IsDone`, are not tested but the exported functions that use them within the resources package are tested. In this change, we unexport the above member functions that are used within resources package only. We do not add tests for the now-unexported functions as recommended in [guidelines][guidelines], but we can add them later if we change the guideline. [guidelines]: https://github.com/tektoncd/community/blob/ac0ae1b304ef515e8099f772f42b91aac1b26e6b/standards.md#tests
- Loading branch information
Showing
5 changed files
with
45 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters