-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding sslkey_expirations methods in clients #7388
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7388 +/- ##
============================================
+ Coverage 26.12% 26.13% +0.01%
Complexity 98 98
============================================
Files 648 650 +2
Lines 76280 76294 +14
Branches 90 90
============================================
+ Hits 19925 19939 +14
Misses 54520 54520
Partials 1835 1835
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good. Just a couple of minor comments.
* under the License. | ||
*/ | ||
|
||
type SSLKeyExpirationGetResponse struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a GoDoc comment for this struct
"github.com/apache/trafficcontrol/traffic_ops/toclientlib" | ||
) | ||
|
||
func (to *Session) GetExpiringCerts(opts RequestOptions) (tc.SSLKeyExpirationGetResponse, toclientlib.ReqInf, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a GoDoc comment
"github.com/apache/trafficcontrol/traffic_ops/toclientlib" | ||
) | ||
|
||
func (to *Session) GetExpiringCerts(opts RequestOptions) (tc.SSLKeyExpirationGetResponse, toclientlib.ReqInf, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good. All manual and automated tests pass. LGTM!
This PR adds sslkey_expirations methodology to v4 and v5 clients
Closes: #7387
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
to verify this PR, call GetExipiringCerts using TC client
If this is a bugfix, which Traffic Control versions contained the bug?
PR submission checklist