This repository was archived by the owner on Nov 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 353
Add/Update/Correct GoDoc comments on /lib symbols #6099
Merged
Merged
Conversation
This file contains hidden or 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
rob05c
reviewed
Aug 11, 2021
rob05c
reviewed
Aug 11, 2021
rob05c
reviewed
Aug 11, 2021
rob05c
reviewed
Aug 11, 2021
rob05c
reviewed
Aug 11, 2021
474926d to
f9757b6
Compare
9fa64fd to
0972053
Compare
261ad46 to
ad8ebd9
Compare
Codecov Report
@@ Coverage Diff @@
## master #6099 +/- ##
============================================
+ Coverage 28.91% 29.18% +0.26%
============================================
Files 600 518 -82
Lines 77353 75777 -1576
Branches 90 880 +790
============================================
- Hits 22368 22114 -254
+ Misses 52892 51786 -1106
+ Partials 2093 1877 -216
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 318 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…vice SSL/URI/URL keys
7247e00 to
903041e
Compare
zrhoffman
approved these changes
Sep 26, 2023
jpappa200
pushed a commit
to jpappa200/trafficcontrol
that referenced
this pull request
Sep 27, 2023
* Add/Update/Correct GoDoc comments on cache-control-related symbols * Formatting for caching symbol GoDoc comments * Add/Update/Correct GoDoc comments for email-related structures * Add/Update/Correct GoDoc comments on URL-related structures * Add/Update/Correct GoDoc comments for logging-related structures * Add package GoDoc documentation for lib/go-log/ * Add/Update/Correct GoDoc comments on "backoff"-related structures * Add/Update/Correct GoDoc comment on encryption-related utilities * Add/Update/Correct GoDoc comments on sting/error-joining-related utilities * Add/Update/Correct GoDoc comments on IP address-related utilities * Add/Update/Correct GoDoc comments on variable-typed numerics utilities * Add/Update/Correct GoDoc comments on string slice utilities * Add package GoDoc documentation for lib/go-util * Add package GoDoc documentation for lib/go-atscfg * Add/Update/Correct GoDoc comments for astats.config symbols * Add/Update/Correct GoDoc comments for generic/widely used ATS configuration file-related structures * Add/Update/Correct GoDoc comments for 50-ats.rules symbols * Add/Update/Correct GoDoc comments for bg_fetch.config symbols * Add/Update/Correct GoDoc comments for cache.config symbols * Add/Update/Correct GoDoc comments for chkconfig symbols * Add/Update/Correct GoDoc comments on drop_qstring.config symbols * Add/Update/Correct GoDoc comments on 12M_facts symbols * Add/Update/Correct GoDoc comments on hdr_rw_*.config symbols * Add/Update/Correct GoDoc comments on hosting.config symbols * Add/Update/Correct GoDoc comments on ip_allow.config symbols * Add/Update/Correct GoDoc comments on ip_allow.yaml-related symbols * Add/Update/Correct GoDoc comments on logging.config symbols * Add/Update/Correct GoDoc comments on logging.yaml symbols * Add/Update/Correct GoDoc comments for logs_xml.config symbols * Add/Update/Correct GoDoc comments for configuration file "meta" symbols * Add/Update/Correct GoDoc comments for package-related symbols * Add/Update/Correct GoDoc comments for parent.config symbols * Add/Update/Correct GoDoc comments for records.config symbols * Add/Update/Correct GoDoc comments for regex_remap.config symbols * Add/Update/Correct GoDoc comments for regex_revalidate.config symbols * Add/Update/Correct GoDoc comments for remap.config symbols * Add/Update/Correct GoDoc comments for "server" cache.config symbols * Add/Update/Correct GoDoc comments for arbitrary file generation symbols * Add/Update/Correct GoDoc comments for set_dscp.config symbols * Add/Update/Correct GoDoc comments for sni.yaml symbols * Add/Update/Correct GoDoc comments on ssl_multicert.config symbols * Add/Update/Correct GoDoc comments on ssl_server_name.yaml symbols. * Add/Update/Correct GoDoc comments for storage.config symbols * Add/Update/Correct GoDoc comments for sysctl.conf symbols * Add/Update/Correct GoDoc comments for uri_signing.config symbols * Add/Update/Correct GoDoc comments for url_sig.config symbols * Add/Update/Correct GoDoc comments for volume.config symbols * Fix spelling errors * Remove incorrect warning * Update chkconfig GoDoc comments based on questions answered in the review * Remove comments about removing constants that are only used tautologically * Add/Update/Correct GoDoc comments for abstract parentage utilities * Add/Update/Correct GoDoc comments for strategies.yaml symbols * Add/Update/Correct GoDoc comments for symbols related to Delivery Service SSL/URI/URL keys * Add/Update/Correct GoDoc comments for symbols related to servers * Add/Update/Correct GoDoc comments for symbols related to Traffic Router * Add/Update/Delete GoDoc comments for symbols related to emulated enumerated types * Add/Update/Correct GoDoc comments for symbols related to content invalidation jobs * Add/Update/Correct GoDoc comments for symbols related to users * Go fmt
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR modifies the packages
github.com/apache/trafficcontrol/lib/go-atscfggithub.com/apache/trafficcontrol/lib/go-loggithub.com/apache/trafficcontrol/lib/go-rfcgithub.com/apache/trafficcontrol/lib/go-utilThis PR ensures that each modified package
// SymbolName ...where...is literal.This PR also adds deprecation notices to some structures used only in deprecated API versions (2 and 3).
There should be only one actual code change from this PR - fixing a misspelling of "occurred" ("occured") -, but it does move imports around in affected files if necessary to match the pattern:
and possibly moves constants to logical groupings so that a single GoDoc can be written effectively for the group. In at least one case this involved moving a symbol to a different file (but not a different package).
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
I used the command
which should output nothing (but exit with a failure because
grepfound no matches), with the following in./golangci.yml(underlib/):Click to expand
Then to find things like
// Foo ...I did... also within
lib/, which should also output no lines (and exit failure b/cgrep).PR submission checklist