Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
e633b4b7
Commit
e633b4b7
authored
Jul 08, 2016
by
Michelle Noorali
Committed by
migmartri-michelleN
Jul 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(pkg/helm): fill in proto for UpdateRelease
parent
35bf1c66
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
1 deletion
+40
-1
tiller.proto
_proto/hapi/services/tiller.proto
+9
-0
interface.go
pkg/helm/interface.go
+1
-1
tiller.pb.go
pkg/proto/hapi/services/tiller.pb.go
+30
-0
No files found.
_proto/hapi/services/tiller.proto
View file @
e633b4b7
...
@@ -154,10 +154,19 @@ message GetReleaseContentResponse {
...
@@ -154,10 +154,19 @@ message GetReleaseContentResponse {
// UpdateReleaseRequest updates a release.
// UpdateReleaseRequest updates a release.
message
UpdateReleaseRequest
{
message
UpdateReleaseRequest
{
// The name of the release
string
name
=
1
;
// Chart is the protobuf representation of a chart.
hapi.chart.Chart
chart
=
2
;
// Values is a string containing (unparsed) YAML values.
hapi.chart.Config
values
=
3
;
// dry_run, if true, will run through the release logic, but neither create
bool
dry_run
=
4
;
}
}
// UpdateReleaseResponse is the response to an update request.
// UpdateReleaseResponse is the response to an update request.
message
UpdateReleaseResponse
{
message
UpdateReleaseResponse
{
hapi.release.Release
release
=
1
;
}
}
// InstallReleaseRequest is the request for an installation of a chart.
// InstallReleaseRequest is the request for an installation of a chart.
...
...
pkg/helm/interface.go
View file @
e633b4b7
...
@@ -26,6 +26,6 @@ type Interface interface {
...
@@ -26,6 +26,6 @@ type Interface interface {
InstallRelease
(
chStr
,
namespace
string
,
opts
...
InstallOption
)
(
*
rls
.
InstallReleaseResponse
,
error
)
InstallRelease
(
chStr
,
namespace
string
,
opts
...
InstallOption
)
(
*
rls
.
InstallReleaseResponse
,
error
)
DeleteRelease
(
rlsName
string
,
opts
...
DeleteOption
)
(
*
rls
.
UninstallReleaseResponse
,
error
)
DeleteRelease
(
rlsName
string
,
opts
...
DeleteOption
)
(
*
rls
.
UninstallReleaseResponse
,
error
)
ReleaseStatus
(
rlsName
string
,
opts
...
StatusOption
)
(
*
rls
.
GetReleaseStatusResponse
,
error
)
ReleaseStatus
(
rlsName
string
,
opts
...
StatusOption
)
(
*
rls
.
GetReleaseStatusResponse
,
error
)
UpdateRelease
(
rlsName
string
,
opts
...
UpdateOption
)
(
*
rls
.
UpdateReleaseResponse
,
error
)
UpdateRelease
(
rlsName
,
chStr
string
,
opts
...
UpdateOption
)
(
*
rls
.
UpdateReleaseResponse
,
error
)
ReleaseContent
(
rlsName
string
,
opts
...
ContentOption
)
(
*
rls
.
GetReleaseContentResponse
,
error
)
ReleaseContent
(
rlsName
string
,
opts
...
ContentOption
)
(
*
rls
.
GetReleaseContentResponse
,
error
)
}
}
pkg/proto/hapi/services/tiller.pb.go
View file @
e633b4b7
...
@@ -218,6 +218,14 @@ func (m *GetReleaseContentResponse) GetRelease() *hapi_release3.Release {
...
@@ -218,6 +218,14 @@ func (m *GetReleaseContentResponse) GetRelease() *hapi_release3.Release {
// UpdateReleaseRequest updates a release.
// UpdateReleaseRequest updates a release.
type
UpdateReleaseRequest
struct
{
type
UpdateReleaseRequest
struct
{
// The name of the release
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Chart is the protobuf representation of a chart.
Chart
*
hapi_chart3
.
Chart
`protobuf:"bytes,2,opt,name=chart" json:"chart,omitempty"`
// Values is a string containing (unparsed) YAML values.
Values
*
hapi_chart
.
Config
`protobuf:"bytes,3,opt,name=values" json:"values,omitempty"`
// dry_run, if true, will run through the release logic, but neither create
DryRun
bool
`protobuf:"varint,4,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
}
}
func
(
m
*
UpdateReleaseRequest
)
Reset
()
{
*
m
=
UpdateReleaseRequest
{}
}
func
(
m
*
UpdateReleaseRequest
)
Reset
()
{
*
m
=
UpdateReleaseRequest
{}
}
...
@@ -225,8 +233,23 @@ func (m *UpdateReleaseRequest) String() string { return proto.Compact
...
@@ -225,8 +233,23 @@ func (m *UpdateReleaseRequest) String() string { return proto.Compact
func
(
*
UpdateReleaseRequest
)
ProtoMessage
()
{}
func
(
*
UpdateReleaseRequest
)
ProtoMessage
()
{}
func
(
*
UpdateReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
7
}
}
func
(
*
UpdateReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
7
}
}
func
(
m
*
UpdateReleaseRequest
)
GetChart
()
*
hapi_chart3
.
Chart
{
if
m
!=
nil
{
return
m
.
Chart
}
return
nil
}
func
(
m
*
UpdateReleaseRequest
)
GetValues
()
*
hapi_chart
.
Config
{
if
m
!=
nil
{
return
m
.
Values
}
return
nil
}
// UpdateReleaseResponse is the response to an update request.
// UpdateReleaseResponse is the response to an update request.
type
UpdateReleaseResponse
struct
{
type
UpdateReleaseResponse
struct
{
Release
*
hapi_release3
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
}
}
func
(
m
*
UpdateReleaseResponse
)
Reset
()
{
*
m
=
UpdateReleaseResponse
{}
}
func
(
m
*
UpdateReleaseResponse
)
Reset
()
{
*
m
=
UpdateReleaseResponse
{}
}
...
@@ -234,6 +257,13 @@ func (m *UpdateReleaseResponse) String() string { return proto.Compac
...
@@ -234,6 +257,13 @@ func (m *UpdateReleaseResponse) String() string { return proto.Compac
func
(
*
UpdateReleaseResponse
)
ProtoMessage
()
{}
func
(
*
UpdateReleaseResponse
)
ProtoMessage
()
{}
func
(
*
UpdateReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
8
}
}
func
(
*
UpdateReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
8
}
}
func
(
m
*
UpdateReleaseResponse
)
GetRelease
()
*
hapi_release3
.
Release
{
if
m
!=
nil
{
return
m
.
Release
}
return
nil
}
// InstallReleaseRequest is the request for an installation of a chart.
// InstallReleaseRequest is the request for an installation of a chart.
type
InstallReleaseRequest
struct
{
type
InstallReleaseRequest
struct
{
// Chart is the protobuf representation of a chart.
// Chart is the protobuf representation of a chart.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment