Commit Graph

267 Commits

Author SHA1 Message Date
Naomi Seyfer b5b02f64f3
Incorporate reference to knative/test-infra for setting up automated tests. (#34)
* Set up some test infra

* fix gitignore

* More mod gitignore

* Add dummy file that depends on stuff
2019-03-05 16:31:05 -08:00
Navid Shaikh 139db6c4f9 Fixes typo in the kn help command (#24)
s/blokcs/blocks

 and removes few unneeded dots (.)
2019-02-25 14:49:19 -08:00
Tara Gu e6699b9b54 Add service describe (#18) 2019-02-08 14:43:44 -08:00
Charlie Drage be52528d78 Add building documentaiton (#20)
Adds documentation on how to build the project.
2019-02-07 12:04:08 -08:00
Charlie Drage bbde785a6e Add more .gitignore (#21)
Adds more .gitignore caveats
2019-02-05 14:15:03 -08:00
Scott Andrews 855ea20d40 Generate go.sum with go 1.11.5 (#19)
When building with go 1.11.5 I see a hash mismatch for knative/serving.
The algorithm for computing the hash has changed in recent go releases.

To create this PR I ran:
- `rm go.sum`
- `go test ./pkg/...`
- `go build ./cmd/kn`
- `go mod tidy`

All developers should update their version of go and clean their module
cache to flush downloaded modules with an invalid hash.
2019-02-04 16:19:49 -08:00
Nima Kaviani ad636ad789 add revision describe (#15) (#16)
* put the auth libraries in the root command

* add revision describe (#15)

* print the yaml formatted revision by default
* allow for custom formatting to be passed in
2019-02-01 15:23:13 -08:00
Naomi Seyfer 7cc59481bb
Refactor to allow testing; write first tests. (#10)
* Refactor commands to allow insertion of fakes for testing

* Pin client-go to version that matches signatures other libs use

* Add tests for service list

* actually add test file

* Review comments: Fatal instead of Error/return, Split instead of read to newline
2019-01-29 12:40:22 -08:00
Naomi Seyfer 38932b1d61
Get revision and service listing skeletons in. (#2)
* Get revision and service listing skeletons in.

This adds the kn program, with basic commands for service and revision listing
in.

kn service list
kn revision list

They use the genericclioptions library from kubernetes to support jsonpath,
yaml, and json output. The default is to just list the names of the objects, for
now, until we add in some of the kubectl-based libraries for creating tables in
another commit.

This is deliberately bare-bones; I am looking to get the basic skeletons of how
this repository is laid out down.

No tests yet. Soon.

* Move commands to pkg, so cmd only contains minimalist main.go

* RunE instead of Run. The defaults on Cobra command generation are weird.

* Oops forgot to change types of stuff

* Do not panic on bad config file

* Make commands no longer global

* Make configuration initialization not static in the module, but rather triggered by main.go init
2019-01-22 09:03:58 -08:00
Naomi Seyfer f867eb7006
Improve description in README and link to contribution guidelines (#5) 2019-01-14 12:45:17 -08:00
Naomi Seyfer fe75bdb302
Add emacs and project-specific stuff to .gitignore (#4) 2019-01-11 15:48:17 -08:00
Naomi Seyfer bfe011051b
Add OWNERS file, initially with WG leads + evan and matt (#3) 2019-01-10 17:46:31 -08:00
Mark Chmarny 7d7e3abfd6
Delete feature_request.md 2018-12-12 16:58:47 -08:00
Mark Chmarny 2d0411395f
Will replace with Knative templates 2018-12-12 16:58:30 -08:00
Mark Chmarny ea9b6b3333
Default, will replace with Knative templates 2018-12-12 16:58:07 -08:00
Mark Chmarny 27f5731717 Update issue templates
Default templates
2018-12-12 16:47:03 -08:00
Mark Chmarny 7585e47a7a
Initial commit 2018-12-12 16:45:51 -08:00