Michelle Noorali
10153528a0
feat(repos): hook up helm repo add cmd
...
* use pkg/httputil instead of func in helm client
9 years ago
Michelle Noorali
17143feb87
ref(helm): clean up callService
9 years ago
Michelle Noorali
899dc0b225
feat(repo): hook up `helm repo list` cmd
9 years ago
Matt Butcher
3efce30ef9
Merge pull request #396 from technosophos/fix/use-decoder
...
fix(manager): use decoder
9 years ago
Michelle Noorali
df10e16ce0
Merge pull request #395 from michelleN/error-punc
...
ref(*): remove punctuation at end of error
9 years ago
Matt Butcher
dec2f0605a
fix(manager): replace Unmarshal with Decode
...
Instead of repeating io.Read/Unmarshal pattern, use the Decoder,
which also gets us content-type negotiation.
9 years ago
Michelle Noorali
be61736773
ref(*): remove punctuation at end of error
9 years ago
Matt Butcher
7623741ca9
fix(manager): remove backend variable
...
This replaces the backend global variable with the Context.Manager
variable.
9 years ago
Matt Butcher
9a9398c079
fix(manager): updated routes to new format
9 years ago
Matt Butcher
0b0092f24a
fix(httputil): improve error handling
...
Errors are now returned in the best matching format for the
HTTP Accept header.
9 years ago
Michelle Noorali
29b1325fae
ref(repo): update import path
9 years ago
Michelle Noorali
07e0542977
feat(repos): add routes for chart repo management
9 years ago
Michelle Noorali
75cbba95e7
feat(repo): stub repo client commands
9 years ago
Matt Butcher
78911ae4e7
fix(manager): add documentation to pos function
9 years ago
Adam Reese
1805e15601
fix(*): update import paths for helm repo naming
9 years ago
Matt Butcher
527a4f9c9d
fix(manager): rewrite URL param grabbing
...
This updates path grabbing to match the new URI matcher.
9 years ago
Matt Butcher
ce32351bec
fix(manager): simplify adding routes
...
This removes the Routes interface and routesMap struct in favor of just
maintaining the routes inside of the handler.
9 years ago
Matt Butcher
05a3965602
fix(manager): add API test for healthz.
9 years ago
Matt Butcher
87d360afda
fix(manager): refactor REST API to make it modular
...
This modifies the startup and initial handling of the REST API to make
it modular, remove the init() methods, and remove reliance on global
vars.
9 years ago
Matt Butcher
d61ba060cb
Merge pull request #371 from technosophos/fix/style-fixes
...
fix(test-style): fix formatting and comments
9 years ago
Matt Butcher
e0d7bad126
Merge pull request #374 from technosophos/feat/revert-helm-deploy
...
fix(cli): revert to older deploy formatting
9 years ago
Matt Butcher
fbb35e71ac
Merge pull request #375 from technosophos/feat/helm-release
...
feat(cli): added back 'helm release'
9 years ago
Matt Butcher
bc4bb79f5c
feat(cli): added back 'helm release'
...
This re-adds the top level Helm command that sends a packaged helm chart
to the server. This existed in an earlier draft of the Helm-DM client,
but it fell through the cracks when we re-organized the helm commands.
9 years ago
Matt Butcher
8fbb567c8b
fix(cli): revert to older deploy formatting
...
Prior to merging the projects, the version of `helm deploy` used a
different REST API (one without YAML in JSON). Post-merge, we need to
revert back to the older common.Template version.
As part of this, I switched an io.ReadCloser back to an io.Reader
because there is nowhere where the Closer part is used. The http lib
does not close a reader passed to it.
9 years ago
Matt Butcher
c849c7059e
fix(test-style): fix formatting and comments
...
This fixes a number of formatting and style issues.
Closes #370
9 years ago
Adam Reese
ca6fdc6e43
fix(version): use build version in helm
9 years ago
Adam Reese
e922695cf9
ref(client): rename pkg/dm to pkg/client
9 years ago
Jack Greenfield
50aa153f0b
Merge pull request #316 from jackgr/make-fixes
...
Make fixes
9 years ago
Matt Butcher
d6ed7aeab0
Merge pull request #318 from technosophos/feat/dm-install-generator
...
feat(dm install): use template to generate manifest
9 years ago
jackgr
7100adbef0
Remove Makefiles and Dockerfiles in cmd directory
9 years ago
Jack Greenfield
eff281edd4
Merge pull request #325 from runseb/licenseheader
...
Correct and add a few license headers
9 years ago
Jack Greenfield
3be42cd605
Merge pull request #324 from michelleN/status
...
feat(*): add helm dm status command
9 years ago
Michelle Noorali
8f747a1cd5
feat(*): add helm dm status command
...
Allows a user to inspec their dm pods and state
in the running Kubernetes cluster. This resolves
issue #301 .
9 years ago
runseb
cdac316fca
Correct and add a few license headers
9 years ago
Matt Butcher
73c469eb6a
feat(dm install): use template to generate manifest
...
Closes #306 .
9 years ago
jackgr
42a134f8f3
Restore #290
9 years ago
Michelle Noorali
44880d5575
Merge pull request #294 from technosophos/fix/helm-license
...
fix(*): add license headers to a number of files
9 years ago
Michelle Noorali
348eb5c6ee
ref(helm): remove init command.
...
The command is redundant. It was already taken out, but
showed up again somehow (probably in the helm/dm merge).
Silly command. Removing it again.
9 years ago
Matt Butcher
3dfd3b89e2
fix(*): add license headers to a number of files
9 years ago
Adam Reese
3cdf4cb3f4
feat(images): initial pass at new Dockerfiles
9 years ago
Adam Reese
4134afee10
style(*): gofmt
9 years ago
Adam Reese
8876c7e54b
Merge remote-tracking branch 'helm/master' into helm-merge
9 years ago
Adam Reese
09796298ea
ref(expansion): move python code out of cmd
9 years ago
Adam Reese
25f339731a
doc(cmd/pkg): add package godocs
9 years ago
Adam Reese
e43286b6f9
ref(*): isolate go code to /cmd and /pkg
9 years ago
Adam Reese
4dc58448a0
ref(*) move lib code into pkg
9 years ago
Matt Butcher
3aaf775209
Merge pull request #26 from technosophos/feat/workflow-stubs
...
feat(*): stub out commands for helm
9 years ago
Matt Butcher
27e01c4d35
fix(deploy): removed "install" alias
9 years ago
Matt Butcher
e1f4488ed2
feat(*): stub out commands for helm
9 years ago
Matt Butcher
7f87745dc7
feat(chart_upload): add chart_upload.go
...
Also removed the now unused deploy subpackage and fixed the makefile
accordingly.
9 years ago
Matt Butcher
84146a29cd
feat(deploy): upload chart if its local
9 years ago
Matt Butcher
0bbde9ad31
Merge pull request #23 from technosophos/feat/deploy
...
Implement client side of `helm deploy`
9 years ago
Adam Reese
7492ad7fe9
fix(create): do not use full path for chart name
9 years ago
Matt Butcher
436b7f0378
feat(deploy): deploy using Configuration
...
This re-jiggers the deployment to use common.Configuration. Right
now it will not work, since the remote server expects a common.Template
instead of a common.Configuration. Still trying to figure out which
side to change.
9 years ago
Matt Butcher
117679c10e
Merge pull request #16 from technosophos/feat/deploy
...
feat(deploy): deploy charts
9 years ago
Matt Butcher
0cdd077114
fix(*): minor codebase cleanups
...
Cleaned up some of the code we inherited from DM.
9 years ago
Adam Reese
dbd90b5cca
feat(delete): add delete verb
9 years ago
Matt Butcher
1058fb9ccf
feat(deploy): Create dm.Client from cli.Context
...
Also, remove a whole bunch of unused functions.
9 years ago
Matt Butcher
bbb3229da1
fix(deploy): add tests
9 years ago
Adam Reese
bf8d4b371d
fix(cmd): prevent cmd init functions from racing
...
No running in the halls!
9 years ago
Adam Reese
3c62cd9fc8
ref(cmd): break up command definitions
9 years ago
Adam Reese
6058cad0a1
feat(client): add timeout cli option
9 years ago
Adam Reese
8cf1f35059
chore(*): remove global debug variable
9 years ago
Adam Reese
1e741afb58
feat(get): add get verb
9 years ago
Adam Reese
570083361d
feat(format): add yaml output format
9 years ago
Adam Reese
fe60ff17c1
feat(debug): add debug flag
9 years ago
Adam Reese
4fc6a7b6c0
test(dm): add unit tests for dm client
9 years ago
Adam Reese
6fd1680b9f
ref(client): refactor url parsing
9 years ago
Matt Butcher
e7445a4632
fix(vet): fix a number of lint/vet warnings
9 years ago
Matt Butcher
be2a09d612
fix(lint): correct several formatting issues
9 years ago
Matt Butcher
9b494f5546
feat(deploy): deploy charts instead of templates
9 years ago
Matt Butcher
9b9705e7a1
feat(create): add create and pack verbs.
...
This adds `helm create CHART` and `helm pack CHART`. Both are really
basic.
NOTE: This is running off of my fork of dm until they get the new chart
stuff merged.
9 years ago
Adam Reese
1e37113c39
feat(dm-delete): add dm-delete command
9 years ago
Michelle Noorali
5884ff12a4
feat(*): add doctor cmd
9 years ago
Adam Reese
defc31a782
chore(*): move /cmd to /cmd/helm
9 years ago
Adam Reese
f76a17acb4
feat(list): add list command
9 years ago
Matt Butcher
9763a89335
feat(*): deploy dry-run now works
9 years ago
Matt Butcher
063e37525c
feat(*): add install/deploy command
9 years ago
Matt Butcher
b5ce6939df
feat(*): add target command
9 years ago
Matt Butcher
8d6007a7d1
feat(*): install DM
9 years ago
Matt Butcher
9e1dbeaa48
feat(*): stub out install
9 years ago
Matt Butcher
69e6256885
feat(*): add scaffolded cli app.
9 years ago