Matt Butcher
c52c6c544d
ifix(manager): test for create deployments
...
This is a first pass at using the new test stub to test HTTP services.
9 years ago
Matt Butcher
9473ddff72
fix(manager): add stub for context with Manager
...
This adds testing fixtures for the manager. It includes a stub context
that has either default or stub implementations for each object.
9 years ago
Matt Butcher
1bd4dea314
Merge pull request #404 from michelleN/repo-cmds
...
add repo cmds to helm client
9 years ago
Michelle Noorali
cb41b20909
feat(repo): hook up helm repo remove cmd
9 years ago
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