-
Notifications
You must be signed in to change notification settings - Fork 705
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move HTTP/handler utils to a separate package (#1311)
* Move HTTP functions to pkg/handlerutil Moving forward, they will be needed to implement Helm 3 support (see #1309), and they were in an internal package, so they couldn't be imported outside the `cmd/tiller-proxy` directory. Because they were all pure (or, in the case of ServeHTTP, at least very simple), I felt confident moving them to another file and reusing them. * Move error code test to pkg/handlerutil #1311 (comment)
- Loading branch information
1 parent
10b1cfa
commit db3fc03
Showing
5 changed files
with
128 additions
and
113 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
Oops, something went wrong.