-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize code to be importable (#8)
* Reorganize project directory structure - Move main.go into cmd/authenticator - Move other go files into pkg/authenticator and relabel with `package authenticator` - Make PublicCert and PrivateKey exportable for now, to allow access from main * Move scripts into bin/ directory - Also, update Jenkinsfile to point to the new location * Bump version to 0.12.0 * Reorganize code in authenticator package - Move functions relating to Login / Authenticate out of main.go and into authenticator package - Add (some) comments - Move utils into authenticator.go, as those functions were only used there * Move generateCSR functionality into GenerateCSR * Updates to fix govet / golint errors
- Loading branch information
Showing
15 changed files
with
413 additions
and
372 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.11.1 | ||
0.12.0 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd $(dirname "$0") | ||
docker build \ | ||
-t conjur-authn-k8s-client-go:builder \ | ||
../ | ||
|
||
docker run \ | ||
--rm -it \ | ||
-v $(cd ..; pwd):/go/src/github.com/cyberark/conjur-authn-k8s-client \ | ||
conjur-authn-k8s-client-go:builder \ | ||
bash |
File renamed without changes.
Oops, something went wrong.