Commit Graph

3699 Commits

Author SHA1 Message Date
Shubham Minglani
f2bac3c3e5 Modify application create behavior
This commit moves the setting defaultApplication logic from
pkg/application/application.go to cmd/app.go. Also, pretty prints
the log messages now.
2018-02-06 18:31:42 +05:30
Shubham Minglani
2fefdd07bd Newline at the end of output 2018-02-06 18:07:40 +05:30
Shubham Minglani
ec2e41e73c Make application delete throw pretty errors
This commit makes application delete throw better error.
Also, removed logging and switched to printing.
2018-02-06 18:05:44 +05:30
Shubham
beddba36bb Merge pull request #32 from containscafeine/implement-application-delete
implement `ocdev application delete`
2018-02-06 12:31:41 +05:30
Shubham Minglani
754ca24948 implement ocdev application delete 2018-02-06 12:31:18 +05:30
Shubham
0c564d42e5 Merge pull request #33 from containscafeine/implement-application-list
implement `ocdev application list`
2018-02-06 12:27:52 +05:30
Shubham Minglani
b04213c71c implement ocdev application list 2018-02-06 12:22:43 +05:30
Shubham
6bf64ba610 Merge pull request #37 from containscafeine/handle-errors-component
Handle a couple of unhandled errors
2018-02-06 12:17:41 +05:30
Shubham Minglani
209435e111 Handle a couple of unhandled errors 2018-02-06 12:06:52 +05:30
Tomas Kral
d668716fc7 Component create and delete (#18)
Implement `oc component`
2018-02-06 12:03:46 +05:30
Tomas Kral
23d1de793f Merge pull request #31 from containscafeine/implement-application-get
add short flag for `application get`
2018-02-05 19:28:18 +01:00
Tomas Kral
706c3bf838 Merge pull request #34 from kadel/fixBuild
remove unused reflect from config pkg
2018-02-05 19:18:51 +01:00
Tomas Kral
fb126ea50b remove unused reflect from config pkg 2018-02-05 19:10:27 +01:00
Shubham Minglani
bd46173da1 add short flag for application get
This commit implements a `-q` flag for `application get` which
returns only the application name.
2018-02-05 18:26:16 +05:30
Shubham
bdd0e1a548 Merge pull request #30 from containscafeine/tie-application-with-project
make applications tied to OpenShift projects
2018-02-05 18:12:37 +05:30
Shubham Minglani
b10abbca1d implement ocdev appliction get
This commit introduces the `ocdev application get` command which
returns the current active application.
2018-02-05 17:53:03 +05:30
Shubham Minglani
f7ceac9f6f make applications tied to OpenShift projects
This commit ties one application to one OpenShift project.
2018-02-05 17:46:56 +05:30
Tomas Kral
997998d847 Merge pull request #20 from containscafeine/application-create
app application create
2018-02-02 13:21:41 +01:00
Shubham Minglani
3cd28f119c Implement application create
This commit implements "ocdev application create" which creates
an application and binds it to the current project.
2018-02-02 17:34:30 +05:30
Tomas Kral
c621c5a411 Merge pull request #22 from containscafeine/refactor-occlient
Modify occlient structure
2018-02-02 12:50:16 +01:00
Tomas Kral
19f735cc07 Merge pull request #21 from containscafeine/refactor-config
Add config package
2018-02-02 12:20:18 +01:00
Shubham
5c113a85a1 Merge pull request #17 from kadel/fixBintray
Fix bintray uploading and add info to readme
2018-02-02 15:34:54 +05:30
Shubham Minglani
91d4d0e9cf Modify occlient structure
This commit modifies occlinet.go file to accept type OcClient as
input. Also adds a utility function to check for the current
project been set by the user.
2018-02-02 15:24:55 +05:30
Shubham Minglani
7fbd7a2bcf Add config package
This commit adds the config package which has all the methods
related to storing and retrieving ocdev configuration from disk.
Also adds some utility functions for the same.
2018-02-02 15:22:23 +05:30
Shubham Minglani
40d75908ce Update vendor: ghodds/yaml, pkg/errors
This commit updates the vendor/ directory using `dep ensure` to
add the ghodds/yaml and pkg/errors packages to be used in the
config package.
2018-02-02 15:21:25 +05:30
Shubham
a99403b1f5 Merge pull request #19 from kadel/updateOcClient
Update oc client
2018-02-02 10:40:41 +05:30
Shubham
1818aab681 Merge pull request #16 from redhat-developer/fixCodecovBadge
Fix codecov.io badge in readme
2018-02-01 18:29:31 +05:30
Tomas Kral
366586e89f occlient - look for oc binary automaticaly 2018-02-01 13:58:42 +01:00
Tomas Kral
ed0a1d59e9 vendor: add github.com/sirupsen/logrus 2018-02-01 13:28:54 +01:00
Tomas Kral
64281bbfa3 update readme with links to binaries in bintray 2018-01-31 18:22:14 +01:00
Tomas Kral
104f2c0028 fix cross compilation and bintray uploading 2018-01-31 18:22:14 +01:00
Tomas Kral
16aa02ecde Fix codecov.io badge in readme 2018-01-31 17:21:55 +01:00
Shubham
0fcad79944 Merge pull request #11 from kadel/buildMaster
automatically build master branch and upload to bintray
2018-01-31 21:10:13 +05:30
Shubham
8d65227c50 Merge pull request #13 from kadel/ocClient
[Work In Progress] First take on OcClient
2018-01-31 21:08:50 +05:30
Tomas Kral
f3fcf0e9a6 build master branch and upload to bintray 2018-01-31 15:11:26 +01:00
Tomas Kral
1b72e27ea7 create pkg/occliet
this is wrapper around oc command
use NewOcClient to create new OcClient instance
2018-01-31 15:10:52 +01:00
Shubham
c5e3589774 Merge pull request #10 from kadel/addCodecov
add codecov.io
2018-01-31 19:19:55 +05:30
Tomas Kral
ae63e1ad11 add codecov.io 2018-01-31 14:45:49 +01:00
Shubham
8894cae789 Merge pull request #9 from kadel/addTravisCI
enable TravisCI
2018-01-31 19:15:08 +05:30
Tomas Kral
550d2f3b39 Update Readme.md 2018-01-30 17:31:50 +01:00
Tomas Kral
6b482830ca fix check-gofmt.sh 2018-01-30 17:30:37 +01:00
Tomas Kral
64063b260a Update Makefile 2018-01-30 17:30:37 +01:00
Tomas Kral
2222b1a41b add .travis.yml 2018-01-30 17:30:37 +01:00
Tomas Kral
543a97cac0 Merge pull request #7 from containscafeine/add-plugin
add plugin.yaml to be used as oc plugin
2018-01-30 17:29:42 +01:00
Shubham Minglani
5ccc779170 add plugin.yaml to be used as oc plugin
This commit adds the plugin.yaml file to the root of the project
which can be copied to ~/.kube/plugins/ocdev/, thence enabling
ocdev as an oc plugin.
2018-01-30 17:41:31 +05:30
Suraj Narwade
0f9d134992 Merge pull request #6 from surajnarwade/structure
Added basic project and Cobra CLI structure
2018-01-30 17:21:42 +05:30
Suraj Narwade
c75bf541ea Added vendor 2018-01-30 16:45:35 +05:30
Suraj Narwade
8a33b99056 Added basic project and Cobra CLI structure 2018-01-30 16:17:55 +05:30
Tomas Kral
f2f21b527a Create README.md 2018-01-29 10:40:26 +01:00