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
96258e3b
Unverified
Commit
96258e3b
authored
May 06, 2019
by
Matthew Fisher
Committed by
GitHub
May 06, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5669 from mortent/UpdateProtoTypes
fix(helm): Regenerate go types from proto
parents
609e3ace
072cd6af
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
1599 additions
and
580 deletions
+1599
-580
version.go
cmd/helm/version.go
+1
-1
chart.pb.go
pkg/proto/hapi/chart/chart.pb.go
+35
-30
config.pb.go
pkg/proto/hapi/chart/config.pb.go
+64
-13
metadata.pb.go
pkg/proto/hapi/chart/metadata.pb.go
+84
-31
template.pb.go
pkg/proto/hapi/chart/template.pb.go
+36
-8
hook.pb.go
pkg/proto/hapi/release/hook.pb.go
+44
-37
info.pb.go
pkg/proto/hapi/release/info.pb.go
+43
-15
release.pb.go
pkg/proto/hapi/release/release.pb.go
+45
-18
status.pb.go
pkg/proto/hapi/release/status.pb.go
+41
-11
test_run.pb.go
pkg/proto/hapi/release/test_run.pb.go
+47
-15
test_suite.pb.go
pkg/proto/hapi/release/test_suite.pb.go
+42
-12
rudder.pb.go
pkg/proto/hapi/rudder/rudder.pb.go
+398
-132
tiller.pb.go
pkg/proto/hapi/services/tiller.pb.go
+662
-229
version.pb.go
pkg/proto/hapi/version/version.pb.go
+31
-18
cfgmaps_test.go
pkg/storage/driver/cfgmaps_test.go
+3
-4
mock_test.go
pkg/storage/driver/mock_test.go
+10
-0
secrets_test.go
pkg/storage/driver/secrets_test.go
+3
-4
version_test.go
pkg/version/version_test.go
+10
-2
No files found.
cmd/helm/version.go
View file @
96258e3b
...
@@ -151,5 +151,5 @@ func formatVersion(v *pb.Version, short bool) string {
...
@@ -151,5 +151,5 @@ func formatVersion(v *pb.Version, short bool) string {
if
short
&&
v
.
GitCommit
!=
""
{
if
short
&&
v
.
GitCommit
!=
""
{
return
fmt
.
Sprintf
(
"%s+g%s"
,
v
.
SemVer
,
v
.
GitCommit
[
:
7
])
return
fmt
.
Sprintf
(
"%s+g%s"
,
v
.
SemVer
,
v
.
GitCommit
[
:
7
])
}
}
return
fmt
.
Sprintf
(
"
%#v"
,
v
)
return
fmt
.
Sprintf
(
"
&version.Version{SemVer:
\"
%s
\"
, GitCommit:
\"
%s
\"
, GitTreeState:
\"
%s
\"
}"
,
v
.
SemVer
,
v
.
GitCommit
,
v
.
GitTreeState
)
}
}
pkg/proto/hapi/chart/chart.pb.go
View file @
96258e3b
// Code generated by protoc-gen-go. DO NOT EDIT.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: hapi/chart/chart.proto
// source: hapi/chart/chart.proto
/*
Package chart is a generated protocol buffer package.
It is generated from these files:
hapi/chart/chart.proto
hapi/chart/config.proto
hapi/chart/metadata.proto
hapi/chart/template.proto
It has these top-level messages:
Chart
Config
Value
Maintainer
Metadata
Template
*/
package
chart
package
chart
import
proto
"github.com/golang/protobuf/proto"
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
fmt
"fmt"
import
math
"math"
import
math
"math"
import
google_protobuf
"github.com/golang/protobuf/ptypes/any"
import
any
"github.com/golang/protobuf/ptypes/any"
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
proto
.
Marshal
...
@@ -40,22 +23,44 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
...
@@ -40,22 +23,44 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// optionally parameterizable templates, and zero or more charts (dependencies).
// optionally parameterizable templates, and zero or more charts (dependencies).
type
Chart
struct
{
type
Chart
struct
{
// Contents of the Chartfile.
// Contents of the Chartfile.
Metadata
*
Metadata
`protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
Metadata
*
Metadata
`protobuf:"bytes,1,opt,name=metadata
,proto3
" json:"metadata,omitempty"`
// Templates for this chart.
// Templates for this chart.
Templates
[]
*
Template
`protobuf:"bytes,2,rep,name=templates" json:"templates,omitempty"`
Templates
[]
*
Template
`protobuf:"bytes,2,rep,name=templates
,proto3
" json:"templates,omitempty"`
// Charts that this chart depends on.
// Charts that this chart depends on.
Dependencies
[]
*
Chart
`protobuf:"bytes,3,rep,name=dependencies" json:"dependencies,omitempty"`
Dependencies
[]
*
Chart
`protobuf:"bytes,3,rep,name=dependencies
,proto3
" json:"dependencies,omitempty"`
// Default config for this template.
// Default config for this template.
Values
*
Config
`protobuf:"bytes,4,opt,name=values" json:"values,omitempty"`
Values
*
Config
`protobuf:"bytes,4,opt,name=values
,proto3
" json:"values,omitempty"`
// Miscellaneous files in a chart archive,
// Miscellaneous files in a chart archive,
// e.g. README, LICENSE, etc.
// e.g. README, LICENSE, etc.
Files
[]
*
google_protobuf
.
Any
`protobuf:"bytes,5,rep,name=files" json:"files,omitempty"`
Files
[]
*
any
.
Any
`protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Chart
)
Reset
()
{
*
m
=
Chart
{}
}
func
(
m
*
Chart
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Chart
)
ProtoMessage
()
{}
func
(
*
Chart
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_chart_829b474cf208a7f0
,
[]
int
{
0
}
}
func
(
m
*
Chart
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Chart
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Chart
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Chart
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Chart
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Chart
.
Merge
(
dst
,
src
)
}
func
(
m
*
Chart
)
XXX_Size
()
int
{
return
xxx_messageInfo_Chart
.
Size
(
m
)
}
func
(
m
*
Chart
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Chart
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Chart
)
Reset
()
{
*
m
=
Chart
{}
}
var
xxx_messageInfo_Chart
proto
.
InternalMessageInfo
func
(
m
*
Chart
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Chart
)
ProtoMessage
()
{}
func
(
*
Chart
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
}
}
func
(
m
*
Chart
)
GetMetadata
()
*
Metadata
{
func
(
m
*
Chart
)
GetMetadata
()
*
Metadata
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -85,7 +90,7 @@ func (m *Chart) GetValues() *Config {
...
@@ -85,7 +90,7 @@ func (m *Chart) GetValues() *Config {
return
nil
return
nil
}
}
func
(
m
*
Chart
)
GetFiles
()
[]
*
google_protobuf
.
Any
{
func
(
m
*
Chart
)
GetFiles
()
[]
*
any
.
Any
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Files
return
m
.
Files
}
}
...
@@ -96,9 +101,9 @@ func init() {
...
@@ -96,9 +101,9 @@ func init() {
proto
.
RegisterType
((
*
Chart
)(
nil
),
"hapi.chart.Chart"
)
proto
.
RegisterType
((
*
Chart
)(
nil
),
"hapi.chart.Chart"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/chart.proto"
,
fileDescriptor0
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/chart.proto"
,
fileDescriptor
_chart_829b474cf208a7f
0
)
}
var
fileDescriptor0
=
[]
byte
{
var
fileDescriptor
_chart_829b474cf208a7f
0
=
[]
byte
{
// 242 bytes of a gzipped FileDescriptorProto
// 242 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x6c
,
0x90
,
0xb1
,
0x4e
,
0xc3
,
0x30
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x6c
,
0x90
,
0xb1
,
0x4e
,
0xc3
,
0x30
,
0x10
,
0x86
,
0x15
,
0x4a
,
0x0a
,
0x1c
,
0x2c
,
0x58
,
0x08
,
0x4c
,
0xa7
,
0x8a
,
0x09
,
0x75
,
0x70
,
0x50
,
0x10
,
0x86
,
0x15
,
0x4a
,
0x0a
,
0x1c
,
0x2c
,
0x58
,
0x08
,
0x4c
,
0xa7
,
0x8a
,
0x09
,
0x75
,
0x70
,
0x50
,
...
...
pkg/proto/hapi/chart/config.pb.go
View file @
96258e3b
...
@@ -12,16 +12,44 @@ var _ = proto.Marshal
...
@@ -12,16 +12,44 @@ var _ = proto.Marshal
var
_
=
fmt
.
Errorf
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
// Config supplies values to the parametrizable templates of a chart.
// Config supplies values to the parametrizable templates of a chart.
type
Config
struct
{
type
Config
struct
{
Raw
string
`protobuf:"bytes,1,opt,name=raw" json:"raw,omitempty"`
Raw
string
`protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"`
Values
map
[
string
]
*
Value
`protobuf:"bytes,2,rep,name=values" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Values
map
[
string
]
*
Value
`protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Config
)
Reset
()
{
*
m
=
Config
{}
}
func
(
m
*
Config
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Config
)
ProtoMessage
()
{}
func
(
*
Config
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_config_332ead17c4feed84
,
[]
int
{
0
}
}
func
(
m
*
Config
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Config
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Config
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Config
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Config
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Config
.
Merge
(
dst
,
src
)
}
func
(
m
*
Config
)
XXX_Size
()
int
{
return
xxx_messageInfo_Config
.
Size
(
m
)
}
func
(
m
*
Config
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Config
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Config
)
Reset
()
{
*
m
=
Config
{}
}
var
xxx_messageInfo_Config
proto
.
InternalMessageInfo
func
(
m
*
Config
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Config
)
ProtoMessage
()
{}
func
(
*
Config
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor1
,
[]
int
{
0
}
}
func
(
m
*
Config
)
GetRaw
()
string
{
func
(
m
*
Config
)
GetRaw
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -39,13 +67,35 @@ func (m *Config) GetValues() map[string]*Value {
...
@@ -39,13 +67,35 @@ func (m *Config) GetValues() map[string]*Value {
// Value describes a configuration value as a string.
// Value describes a configuration value as a string.
type
Value
struct
{
type
Value
struct
{
Value
string
`protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
Value
string
`protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Value
)
Reset
()
{
*
m
=
Value
{}
}
func
(
m
*
Value
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Value
)
ProtoMessage
()
{}
func
(
*
Value
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_config_332ead17c4feed84
,
[]
int
{
1
}
}
func
(
m
*
Value
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Value
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Value
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Value
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Value
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Value
.
Merge
(
dst
,
src
)
}
func
(
m
*
Value
)
XXX_Size
()
int
{
return
xxx_messageInfo_Value
.
Size
(
m
)
}
func
(
m
*
Value
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Value
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Value
)
Reset
()
{
*
m
=
Value
{}
}
var
xxx_messageInfo_Value
proto
.
InternalMessageInfo
func
(
m
*
Value
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Value
)
ProtoMessage
()
{}
func
(
*
Value
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor1
,
[]
int
{
1
}
}
func
(
m
*
Value
)
GetValue
()
string
{
func
(
m
*
Value
)
GetValue
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -56,12 +106,13 @@ func (m *Value) GetValue() string {
...
@@ -56,12 +106,13 @@ func (m *Value) GetValue() string {
func
init
()
{
func
init
()
{
proto
.
RegisterType
((
*
Config
)(
nil
),
"hapi.chart.Config"
)
proto
.
RegisterType
((
*
Config
)(
nil
),
"hapi.chart.Config"
)
proto
.
RegisterMapType
((
map
[
string
]
*
Value
)(
nil
),
"hapi.chart.Config.ValuesEntry"
)
proto
.
RegisterType
((
*
Value
)(
nil
),
"hapi.chart.Value"
)
proto
.
RegisterType
((
*
Value
)(
nil
),
"hapi.chart.Value"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/config.proto"
,
fileDescriptor
1
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/config.proto"
,
fileDescriptor
_config_332ead17c4feed84
)
}
var
fileDescriptor
1
=
[]
byte
{
var
fileDescriptor
_config_332ead17c4feed84
=
[]
byte
{
// 182 bytes of a gzipped FileDescriptorProto
// 182 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0x12
,
0xcf
,
0x48
,
0x2c
,
0xc8
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0x12
,
0xcf
,
0x48
,
0x2c
,
0xc8
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0xd1
,
0x4f
,
0xce
,
0xcf
,
0x4b
,
0xcb
,
0x4c
,
0xd7
,
0x2b
,
0x28
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0xd1
,
0x4f
,
0xce
,
0xcf
,
0x4b
,
0xcb
,
0x4c
,
0xd7
,
0x2b
,
0x28
,
...
...
pkg/proto/hapi/chart/metadata.pb.go
View file @
96258e3b
...
@@ -12,6 +12,12 @@ var _ = proto.Marshal
...
@@ -12,6 +12,12 @@ var _ = proto.Marshal
var
_
=
fmt
.
Errorf
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
type
Metadata_Engine
int32
type
Metadata_Engine
int32
const
(
const
(
...
@@ -31,22 +37,46 @@ var Metadata_Engine_value = map[string]int32{
...
@@ -31,22 +37,46 @@ var Metadata_Engine_value = map[string]int32{
func
(
x
Metadata_Engine
)
String
()
string
{
func
(
x
Metadata_Engine
)
String
()
string
{
return
proto
.
EnumName
(
Metadata_Engine_name
,
int32
(
x
))
return
proto
.
EnumName
(
Metadata_Engine_name
,
int32
(
x
))
}
}
func
(
Metadata_Engine
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor2
,
[]
int
{
1
,
0
}
}
func
(
Metadata_Engine
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_metadata_d6c714c73a051dcb
,
[]
int
{
1
,
0
}
}
// Maintainer describes a Chart maintainer.
// Maintainer describes a Chart maintainer.
type
Maintainer
struct
{
type
Maintainer
struct
{
// Name is a user name or organization name
// Name is a user name or organization name
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// Email is an optional email address to contact the named maintainer
// Email is an optional email address to contact the named maintainer
Email
string
`protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
Email
string
`protobuf:"bytes,2,opt,name=email
,proto3
" json:"email,omitempty"`
// Url is an optional URL to an address for the named maintainer
// Url is an optional URL to an address for the named maintainer
Url
string
`protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
Url
string
`protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Maintainer
)
Reset
()
{
*
m
=
Maintainer
{}
}
func
(
m
*
Maintainer
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Maintainer
)
ProtoMessage
()
{}
func
(
*
Maintainer
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_metadata_d6c714c73a051dcb
,
[]
int
{
0
}
}
func
(
m
*
Maintainer
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Maintainer
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Maintainer
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Maintainer
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Maintainer
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Maintainer
.
Merge
(
dst
,
src
)
}
func
(
m
*
Maintainer
)
XXX_Size
()
int
{
return
xxx_messageInfo_Maintainer
.
Size
(
m
)
}
func
(
m
*
Maintainer
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Maintainer
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Maintainer
)
Reset
()
{
*
m
=
Maintainer
{}
}
var
xxx_messageInfo_Maintainer
proto
.
InternalMessageInfo
func
(
m
*
Maintainer
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Maintainer
)
ProtoMessage
()
{}
func
(
*
Maintainer
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor2
,
[]
int
{
0
}
}
func
(
m
*
Maintainer
)
GetName
()
string
{
func
(
m
*
Maintainer
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -74,47 +104,69 @@ func (m *Maintainer) GetUrl() string {
...
@@ -74,47 +104,69 @@ func (m *Maintainer) GetUrl() string {
// Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
// Spec: https://k8s.io/helm/blob/master/docs/design/chart_format.md#the-chart-file
type
Metadata
struct
{
type
Metadata
struct
{
// The name of the chart
// The name of the chart
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// The URL to a relevant project page, git repo, or contact person
// The URL to a relevant project page, git repo, or contact person
Home
string
`protobuf:"bytes,2,opt,name=home" json:"home,omitempty"`
Home
string
`protobuf:"bytes,2,opt,name=home
,proto3
" json:"home,omitempty"`
// Source is the URL to the source code of this chart
// Source is the URL to the source code of this chart
Sources
[]
string
`protobuf:"bytes,3,rep,name=sources" json:"sources,omitempty"`
Sources
[]
string
`protobuf:"bytes,3,rep,name=sources
,proto3
" json:"sources,omitempty"`
// A SemVer 2 conformant version string of the chart
// A SemVer 2 conformant version string of the chart
Version
string
`protobuf:"bytes,4,opt,name=version" json:"version,omitempty"`
Version
string
`protobuf:"bytes,4,opt,name=version
,proto3
" json:"version,omitempty"`
// A one-sentence description of the chart
// A one-sentence description of the chart
Description
string
`protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
Description
string
`protobuf:"bytes,5,opt,name=description
,proto3
" json:"description,omitempty"`
// A list of string keywords
// A list of string keywords
Keywords
[]
string
`protobuf:"bytes,6,rep,name=keywords" json:"keywords,omitempty"`
Keywords
[]
string
`protobuf:"bytes,6,rep,name=keywords
,proto3
" json:"keywords,omitempty"`
// A list of name and URL/email address combinations for the maintainer(s)
// A list of name and URL/email address combinations for the maintainer(s)
Maintainers
[]
*
Maintainer
`protobuf:"bytes,7,rep,name=maintainers" json:"maintainers,omitempty"`
Maintainers
[]
*
Maintainer
`protobuf:"bytes,7,rep,name=maintainers
,proto3
" json:"maintainers,omitempty"`
// The name of the template engine to use. Defaults to 'gotpl'.
// The name of the template engine to use. Defaults to 'gotpl'.
Engine
string
`protobuf:"bytes,8,opt,name=engine" json:"engine,omitempty"`
Engine
string
`protobuf:"bytes,8,opt,name=engine
,proto3
" json:"engine,omitempty"`
// The URL to an icon file.
// The URL to an icon file.
Icon
string
`protobuf:"bytes,9,opt,name=icon" json:"icon,omitempty"`
Icon
string
`protobuf:"bytes,9,opt,name=icon
,proto3
" json:"icon,omitempty"`
// The API Version of this chart.
// The API Version of this chart.
ApiVersion
string
`protobuf:"bytes,10,opt,name=apiVersion" json:"apiVersion,omitempty"`
ApiVersion
string
`protobuf:"bytes,10,opt,name=apiVersion
,proto3
" json:"apiVersion,omitempty"`
// The condition to check to enable chart
// The condition to check to enable chart
Condition
string
`protobuf:"bytes,11,opt,name=condition" json:"condition,omitempty"`
Condition
string
`protobuf:"bytes,11,opt,name=condition
,proto3
" json:"condition,omitempty"`
// The tags to check to enable chart
// The tags to check to enable chart
Tags
string
`protobuf:"bytes,12,opt,name=tags" json:"tags,omitempty"`
Tags
string
`protobuf:"bytes,12,opt,name=tags
,proto3
" json:"tags,omitempty"`
// The version of the application enclosed inside of this chart.
// The version of the application enclosed inside of this chart.
AppVersion
string
`protobuf:"bytes,13,opt,name=appVersion" json:"appVersion,omitempty"`
AppVersion
string
`protobuf:"bytes,13,opt,name=appVersion
,proto3
" json:"appVersion,omitempty"`
// Whether or not this chart is deprecated
// Whether or not this chart is deprecated
Deprecated
bool
`protobuf:"varint,14,opt,name=deprecated" json:"deprecated,omitempty"`
Deprecated
bool
`protobuf:"varint,14,opt,name=deprecated
,proto3
" json:"deprecated,omitempty"`
// TillerVersion is a SemVer constraints on what version of Tiller is required.
// TillerVersion is a SemVer constraints on what version of Tiller is required.
// See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
// See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
TillerVersion
string
`protobuf:"bytes,15,opt,name=tillerVersion" json:"tillerVersion,omitempty"`
TillerVersion
string
`protobuf:"bytes,15,opt,name=tillerVersion
,proto3
" json:"tillerVersion,omitempty"`
// Annotations are additional mappings uninterpreted by Tiller,
// Annotations are additional mappings uninterpreted by Tiller,
// made available for inspection by other applications.
// made available for inspection by other applications.
Annotations
map
[
string
]
string
`protobuf:"bytes,16,rep,name=annotations
" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value
"`
Annotations
map
[
string
]
string
`protobuf:"bytes,16,rep,name=annotations
,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3
"`
// KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
// KubeVersion is a SemVer constraint specifying the version of Kubernetes required.
KubeVersion
string
`protobuf:"bytes,17,opt,name=kubeVersion" json:"kubeVersion,omitempty"`
KubeVersion
string
`protobuf:"bytes,17,opt,name=kubeVersion,proto3" json:"kubeVersion,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Metadata
)
Reset
()
{
*
m
=
Metadata
{}
}
func
(
m
*
Metadata
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Metadata
)
ProtoMessage
()
{}
func
(
*
Metadata
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_metadata_d6c714c73a051dcb
,
[]
int
{
1
}
}
func
(
m
*
Metadata
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Metadata
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Metadata
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Metadata
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Metadata
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Metadata
.
Merge
(
dst
,
src
)
}
func
(
m
*
Metadata
)
XXX_Size
()
int
{
return
xxx_messageInfo_Metadata
.
Size
(
m
)
}
func
(
m
*
Metadata
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Metadata
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Metadata
)
Reset
()
{
*
m
=
Metadata
{}
}
var
xxx_messageInfo_Metadata
proto
.
InternalMessageInfo
func
(
m
*
Metadata
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Metadata
)
ProtoMessage
()
{}
func
(
*
Metadata
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor2
,
[]
int
{
1
}
}
func
(
m
*
Metadata
)
GetName
()
string
{
func
(
m
*
Metadata
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -238,12 +290,13 @@ func (m *Metadata) GetKubeVersion() string {
...
@@ -238,12 +290,13 @@ func (m *Metadata) GetKubeVersion() string {
func
init
()
{
func
init
()
{
proto
.
RegisterType
((
*
Maintainer
)(
nil
),
"hapi.chart.Maintainer"
)
proto
.
RegisterType
((
*
Maintainer
)(
nil
),
"hapi.chart.Maintainer"
)
proto
.
RegisterType
((
*
Metadata
)(
nil
),
"hapi.chart.Metadata"
)
proto
.
RegisterType
((
*
Metadata
)(
nil
),
"hapi.chart.Metadata"
)
proto
.
RegisterMapType
((
map
[
string
]
string
)(
nil
),
"hapi.chart.Metadata.AnnotationsEntry"
)
proto
.
RegisterEnum
(
"hapi.chart.Metadata_Engine"
,
Metadata_Engine_name
,
Metadata_Engine_value
)
proto
.
RegisterEnum
(
"hapi.chart.Metadata_Engine"
,
Metadata_Engine_name
,
Metadata_Engine_value
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/metadata.proto"
,
fileDescriptor
2
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/metadata.proto"
,
fileDescriptor
_metadata_d6c714c73a051dcb
)
}
var
fileDescriptor
2
=
[]
byte
{
var
fileDescriptor
_metadata_d6c714c73a051dcb
=
[]
byte
{
// 435 bytes of a gzipped FileDescriptorProto
// 435 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x6c
,
0x52
,
0x5d
,
0x6b
,
0xd4
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x6c
,
0x52
,
0x5d
,
0x6b
,
0xd4
,
0x40
,
0x14
,
0x35
,
0xcd
,
0x66
,
0x77
,
0x73
,
0x63
,
0x35
,
0x0e
,
0x52
,
0xc6
,
0x22
,
0x12
,
0x16
,
0x85
,
0x7d
,
0x14
,
0x35
,
0xcd
,
0x66
,
0x77
,
0x73
,
0x63
,
0x35
,
0x0e
,
0x52
,
0xc6
,
0x22
,
0x12
,
0x16
,
0x85
,
0x7d
,
...
...
pkg/proto/hapi/chart/template.pb.go
View file @
96258e3b
...
@@ -12,21 +12,49 @@ var _ = proto.Marshal
...
@@ -12,21 +12,49 @@ var _ = proto.Marshal
var
_
=
fmt
.
Errorf
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
// Template represents a template as a name/value pair.
// Template represents a template as a name/value pair.
//
//
// By convention, name is a relative path within the scope of the chart's
// By convention, name is a relative path within the scope of the chart's
// base directory.
// base directory.
type
Template
struct
{
type
Template
struct
{
// Name is the path-like name of the template.
// Name is the path-like name of the template.
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// Data is the template as byte data.
// Data is the template as byte data.
Data
[]
byte
`protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Data
[]
byte
`protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Template
)
Reset
()
{
*
m
=
Template
{}
}
func
(
m
*
Template
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Template
)
ProtoMessage
()
{}
func
(
*
Template
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_template_051845a7e9227d35
,
[]
int
{
0
}
}
func
(
m
*
Template
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Template
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Template
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Template
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Template
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Template
.
Merge
(
dst
,
src
)
}
func
(
m
*
Template
)
XXX_Size
()
int
{
return
xxx_messageInfo_Template
.
Size
(
m
)
}
func
(
m
*
Template
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Template
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Template
)
Reset
()
{
*
m
=
Template
{}
}
var
xxx_messageInfo_Template
proto
.
InternalMessageInfo
func
(
m
*
Template
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Template
)
ProtoMessage
()
{}
func
(
*
Template
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor3
,
[]
int
{
0
}
}
func
(
m
*
Template
)
GetName
()
string
{
func
(
m
*
Template
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -46,9 +74,9 @@ func init() {
...
@@ -46,9 +74,9 @@ func init() {
proto
.
RegisterType
((
*
Template
)(
nil
),
"hapi.chart.Template"
)
proto
.
RegisterType
((
*
Template
)(
nil
),
"hapi.chart.Template"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/template.proto"
,
fileDescriptor
3
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/chart/template.proto"
,
fileDescriptor
_template_051845a7e9227d35
)
}
var
fileDescriptor
3
=
[]
byte
{
var
fileDescriptor
_template_051845a7e9227d35
=
[]
byte
{
// 107 bytes of a gzipped FileDescriptorProto
// 107 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0x92
,
0xcc
,
0x48
,
0x2c
,
0xc8
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0x92
,
0xcc
,
0x48
,
0x2c
,
0xc8
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0xd1
,
0x2f
,
0x49
,
0xcd
,
0x2d
,
0xc8
,
0x49
,
0x2c
,
0x49
,
0xd5
,
0xd4
,
0x4f
,
0xce
,
0x48
,
0x2c
,
0x2a
,
0xd1
,
0x2f
,
0x49
,
0xcd
,
0x2d
,
0xc8
,
0x49
,
0x2c
,
0x49
,
0xd5
,
...
...
pkg/proto/hapi/release/hook.pb.go
View file @
96258e3b
// Code generated by protoc-gen-go. DO NOT EDIT.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: hapi/release/hook.proto
// source: hapi/release/hook.proto
/*
Package release is a generated protocol buffer package.
It is generated from these files:
hapi/release/hook.proto
hapi/release/info.proto
hapi/release/release.proto
hapi/release/status.proto
hapi/release/test_run.proto
hapi/release/test_suite.proto
It has these top-level messages:
Hook
Info
Release
Status
TestRun
TestSuite
*/
package
release
package
release
import
proto
"github.com/golang/protobuf/proto"
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
fmt
"fmt"
import
math
"math"
import
math
"math"
import
google_protobuf
"github.com/golang/protobuf/ptypes/timestamp"
import
timestamp
"github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
proto
.
Marshal
...
@@ -87,7 +68,9 @@ var Hook_Event_value = map[string]int32{
...
@@ -87,7 +68,9 @@ var Hook_Event_value = map[string]int32{
func
(
x
Hook_Event
)
String
()
string
{
func
(
x
Hook_Event
)
String
()
string
{
return
proto
.
EnumName
(
Hook_Event_name
,
int32
(
x
))
return
proto
.
EnumName
(
Hook_Event_name
,
int32
(
x
))
}
}
func
(
Hook_Event
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
,
0
}
}
func
(
Hook_Event
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_hook_8076b1a80af16030
,
[]
int
{
0
,
0
}
}
type
Hook_DeletePolicy
int32
type
Hook_DeletePolicy
int32
...
@@ -111,31 +94,55 @@ var Hook_DeletePolicy_value = map[string]int32{
...
@@ -111,31 +94,55 @@ var Hook_DeletePolicy_value = map[string]int32{
func
(
x
Hook_DeletePolicy
)
String
()
string
{
func
(
x
Hook_DeletePolicy
)
String
()
string
{
return
proto
.
EnumName
(
Hook_DeletePolicy_name
,
int32
(
x
))
return
proto
.
EnumName
(
Hook_DeletePolicy_name
,
int32
(
x
))
}
}
func
(
Hook_DeletePolicy
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
,
1
}
}
func
(
Hook_DeletePolicy
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_hook_8076b1a80af16030
,
[]
int
{
0
,
1
}
}
// Hook defines a hook object.
// Hook defines a hook object.
type
Hook
struct
{
type
Hook
struct
{
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// Kind is the Kubernetes kind.
// Kind is the Kubernetes kind.
Kind
string
`protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
Kind
string
`protobuf:"bytes,2,opt,name=kind
,proto3
" json:"kind,omitempty"`
// Path is the chart-relative path to the template.
// Path is the chart-relative path to the template.
Path
string
`protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
Path
string
`protobuf:"bytes,3,opt,name=path
,proto3
" json:"path,omitempty"`
// Manifest is the manifest contents.
// Manifest is the manifest contents.
Manifest
string
`protobuf:"bytes,4,opt,name=manifest" json:"manifest,omitempty"`
Manifest
string
`protobuf:"bytes,4,opt,name=manifest
,proto3
" json:"manifest,omitempty"`
// Events are the events that this hook fires on.
// Events are the events that this hook fires on.
Events
[]
Hook_Event
`protobuf:"varint,5,rep,packed,name=events,enum=hapi.release.Hook_Event" json:"events,omitempty"`
Events
[]
Hook_Event
`protobuf:"varint,5,rep,packed,name=events,
proto3,
enum=hapi.release.Hook_Event" json:"events,omitempty"`
// LastRun indicates the date/time this was last run.
// LastRun indicates the date/time this was last run.
LastRun
*
google_protobuf
.
Timestamp
`protobuf:"bytes,6,opt,name=last_run,json=lastRun
" json:"last_run,omitempty"`
LastRun
*
timestamp
.
Timestamp
`protobuf:"bytes,6,opt,name=last_run,json=lastRun,proto3
" json:"last_run,omitempty"`
// Weight indicates the sort order for execution among similar Hook type
// Weight indicates the sort order for execution among similar Hook type
Weight
int32
`protobuf:"varint,7,opt,name=weight" json:"weight,omitempty"`
Weight
int32
`protobuf:"varint,7,opt,name=weight
,proto3
" json:"weight,omitempty"`
// DeletePolicies are the policies that indicate when to delete the hook
// DeletePolicies are the policies that indicate when to delete the hook
DeletePolicies
[]
Hook_DeletePolicy
`protobuf:"varint,8,rep,packed,name=delete_policies,json=deletePolicies,enum=hapi.release.Hook_DeletePolicy" json:"delete_policies,omitempty"`
DeletePolicies
[]
Hook_DeletePolicy
`protobuf:"varint,8,rep,packed,name=delete_policies,json=deletePolicies,proto3,enum=hapi.release.Hook_DeletePolicy" json:"delete_policies,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Hook
)
Reset
()
{
*
m
=
Hook
{}
}
func
(
m
*
Hook
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Hook
)
ProtoMessage
()
{}
func
(
*
Hook
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_hook_8076b1a80af16030
,
[]
int
{
0
}
}
func
(
m
*
Hook
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Hook
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Hook
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Hook
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Hook
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Hook
.
Merge
(
dst
,
src
)
}
func
(
m
*
Hook
)
XXX_Size
()
int
{
return
xxx_messageInfo_Hook
.
Size
(
m
)
}
func
(
m
*
Hook
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Hook
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Hook
)
Reset
()
{
*
m
=
Hook
{}
}
var
xxx_messageInfo_Hook
proto
.
InternalMessageInfo
func
(
m
*
Hook
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Hook
)
ProtoMessage
()
{}
func
(
*
Hook
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
}
}
func
(
m
*
Hook
)
GetName
()
string
{
func
(
m
*
Hook
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -172,7 +179,7 @@ func (m *Hook) GetEvents() []Hook_Event {
...
@@ -172,7 +179,7 @@ func (m *Hook) GetEvents() []Hook_Event {
return
nil
return
nil
}
}
func
(
m
*
Hook
)
GetLastRun
()
*
google_protobuf
.
Timestamp
{
func
(
m
*
Hook
)
GetLastRun
()
*
timestamp
.
Timestamp
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
LastRun
return
m
.
LastRun
}
}
...
@@ -199,9 +206,9 @@ func init() {
...
@@ -199,9 +206,9 @@ func init() {
proto
.
RegisterEnum
(
"hapi.release.Hook_DeletePolicy"
,
Hook_DeletePolicy_name
,
Hook_DeletePolicy_value
)
proto
.
RegisterEnum
(
"hapi.release.Hook_DeletePolicy"
,
Hook_DeletePolicy_name
,
Hook_DeletePolicy_value
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/hook.proto"
,
fileDescriptor0
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/hook.proto"
,
fileDescriptor
_hook_8076b1a80af1603
0
)
}
var
fileDescriptor0
=
[]
byte
{
var
fileDescriptor
_hook_8076b1a80af1603
0
=
[]
byte
{
// 453 bytes of a gzipped FileDescriptorProto
// 453 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x6c
,
0x91
,
0x51
,
0x8f
,
0x9a
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x6c
,
0x91
,
0x51
,
0x8f
,
0x9a
,
0x40
,
0x10
,
0x80
,
0x8f
,
0x53
,
0x41
,
0x47
,
0xcf
,
0xdb
,
0x6e
,
0x9a
,
0x76
,
0xe3
,
0xcb
,
0x19
,
0x9f
,
0x7c
,
0x10
,
0x80
,
0x8f
,
0x53
,
0x41
,
0x47
,
0xcf
,
0xdb
,
0x6e
,
0x9a
,
0x76
,
0xe3
,
0xcb
,
0x19
,
0x9f
,
0x7c
,
...
...
pkg/proto/hapi/release/info.pb.go
View file @
96258e3b
...
@@ -6,28 +6,56 @@ package release
...
@@ -6,28 +6,56 @@ package release
import
proto
"github.com/golang/protobuf/proto"
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
fmt
"fmt"
import
math
"math"
import
math
"math"
import
google_protobuf
"github.com/golang/protobuf/ptypes/timestamp"
import
timestamp
"github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
proto
.
Marshal
var
_
=
fmt
.
Errorf
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
// Info describes release information.
// Info describes release information.
type
Info
struct
{
type
Info
struct
{
Status
*
Status
`protobuf:"bytes,1,opt,name=status
" json:"status,omitempty"`
Status
*
Status
`protobuf:"bytes,1,opt,name=status,proto3
" json:"status,omitempty"`
FirstDeployed
*
google_protobuf
.
Timestamp
`protobuf:"bytes,2,opt,name=first_deployed,json=firstDeployed
" json:"first_deployed,omitempty"`
FirstDeployed
*
timestamp
.
Timestamp
`protobuf:"bytes,2,opt,name=first_deployed,json=firstDeployed,proto3
" json:"first_deployed,omitempty"`
LastDeployed
*
google_protobuf
.
Timestamp
`protobuf:"bytes,3,opt,name=last_deployed,json=lastDeployed
" json:"last_deployed,omitempty"`
LastDeployed
*
timestamp
.
Timestamp
`protobuf:"bytes,3,opt,name=last_deployed,json=lastDeployed,proto3
" json:"last_deployed,omitempty"`
// Deleted tracks when this object was deleted.
// Deleted tracks when this object was deleted.
Deleted
*
google_protobuf
.
Timestamp
`protobuf:"bytes,4,opt,name=deleted
" json:"deleted,omitempty"`
Deleted
*
timestamp
.
Timestamp
`protobuf:"bytes,4,opt,name=deleted,proto3
" json:"deleted,omitempty"`
// Description is human-friendly "log entry" about this release.
// Description is human-friendly "log entry" about this release.
Description
string
`protobuf:"bytes,5,opt,name=Description" json:"Description,omitempty"`
Description
string
`protobuf:"bytes,5,opt,name=Description,proto3" json:"Description,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Info
)
Reset
()
{
*
m
=
Info
{}
}
func
(
m
*
Info
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Info
)
ProtoMessage
()
{}
func
(
*
Info
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_info_1c62b71ed76c67c1
,
[]
int
{
0
}
}
func
(
m
*
Info
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Info
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Info
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Info
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Info
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Info
.
Merge
(
dst
,
src
)
}
func
(
m
*
Info
)
XXX_Size
()
int
{
return
xxx_messageInfo_Info
.
Size
(
m
)
}
func
(
m
*
Info
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Info
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Info
)
Reset
()
{
*
m
=
Info
{}
}
var
xxx_messageInfo_Info
proto
.
InternalMessageInfo
func
(
m
*
Info
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Info
)
ProtoMessage
()
{}
func
(
*
Info
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor1
,
[]
int
{
0
}
}
func
(
m
*
Info
)
GetStatus
()
*
Status
{
func
(
m
*
Info
)
GetStatus
()
*
Status
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -36,21 +64,21 @@ func (m *Info) GetStatus() *Status {
...
@@ -36,21 +64,21 @@ func (m *Info) GetStatus() *Status {
return
nil
return
nil
}
}
func
(
m
*
Info
)
GetFirstDeployed
()
*
google_protobuf
.
Timestamp
{
func
(
m
*
Info
)
GetFirstDeployed
()
*
timestamp
.
Timestamp
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
FirstDeployed
return
m
.
FirstDeployed
}
}
return
nil
return
nil
}
}
func
(
m
*
Info
)
GetLastDeployed
()
*
google_protobuf
.
Timestamp
{
func
(
m
*
Info
)
GetLastDeployed
()
*
timestamp
.
Timestamp
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
LastDeployed
return
m
.
LastDeployed
}
}
return
nil
return
nil
}
}
func
(
m
*
Info
)
GetDeleted
()
*
google_protobuf
.
Timestamp
{
func
(
m
*
Info
)
GetDeleted
()
*
timestamp
.
Timestamp
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Deleted
return
m
.
Deleted
}
}
...
@@ -68,9 +96,9 @@ func init() {
...
@@ -68,9 +96,9 @@ func init() {
proto
.
RegisterType
((
*
Info
)(
nil
),
"hapi.release.Info"
)
proto
.
RegisterType
((
*
Info
)(
nil
),
"hapi.release.Info"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/info.proto"
,
fileDescriptor1
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/info.proto"
,
fileDescriptor
_info_1c62b71ed76c67c
1
)
}
var
fileDescriptor1
=
[]
byte
{
var
fileDescriptor
_info_1c62b71ed76c67c
1
=
[]
byte
{
// 235 bytes of a gzipped FileDescriptorProto
// 235 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x84
,
0x8f
,
0x31
,
0x4f
,
0xc3
,
0x30
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x84
,
0x8f
,
0x31
,
0x4f
,
0xc3
,
0x30
,
0x10
,
0x85
,
0x95
,
0x52
,
0x5a
,
0xd5
,
0x6d
,
0x19
,
0x2c
,
0x24
,
0x42
,
0x16
,
0x22
,
0xa6
,
0x0e
,
0xc8
,
0x10
,
0x85
,
0x95
,
0x52
,
0x5a
,
0xd5
,
0x6d
,
0x19
,
0x2c
,
0x24
,
0x42
,
0x16
,
0x22
,
0xa6
,
0x0e
,
0xc8
,
...
...
pkg/proto/hapi/release/release.pb.go
View file @
96258e3b
...
@@ -6,40 +6,67 @@ package release
...
@@ -6,40 +6,67 @@ package release
import
proto
"github.com/golang/protobuf/proto"
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
fmt
"fmt"
import
math
"math"
import
math
"math"
import
hapi_chart
"k8s.io/helm/pkg/proto/hapi/chart"
import
chart
"k8s.io/helm/pkg/proto/hapi/chart"
import
hapi_chart3
"k8s.io/helm/pkg/proto/hapi/chart"
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
proto
.
Marshal
var
_
=
fmt
.
Errorf
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
// Release describes a deployment of a chart, together with the chart
// Release describes a deployment of a chart, together with the chart
// and the variables used to deploy that chart.
// and the variables used to deploy that chart.
type
Release
struct
{
type
Release
struct
{
// Name is the name of the release
// Name is the name of the release
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// Info provides information about a release
// Info provides information about a release
Info
*
Info
`protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
Info
*
Info
`protobuf:"bytes,2,opt,name=info
,proto3
" json:"info,omitempty"`
// Chart is the chart that was released.
// Chart is the chart that was released.
Chart
*
hapi_chart3
.
Chart
`protobuf:"bytes,3,opt,name=chart
" json:"chart,omitempty"`
Chart
*
chart
.
Chart
`protobuf:"bytes,3,opt,name=chart,proto3
" json:"chart,omitempty"`
// Config is the set of extra Values added to the chart.
// Config is the set of extra Values added to the chart.
// These values override the default values inside of the chart.
// These values override the default values inside of the chart.
Config
*
hapi_chart
.
Config
`protobuf:"bytes,4,opt,name=config
" json:"config,omitempty"`
Config
*
chart
.
Config
`protobuf:"bytes,4,opt,name=config,proto3
" json:"config,omitempty"`
// Manifest is the string representation of the rendered template.
// Manifest is the string representation of the rendered template.
Manifest
string
`protobuf:"bytes,5,opt,name=manifest" json:"manifest,omitempty"`
Manifest
string
`protobuf:"bytes,5,opt,name=manifest
,proto3
" json:"manifest,omitempty"`
// Hooks are all of the hooks declared for this release.
// Hooks are all of the hooks declared for this release.
Hooks
[]
*
Hook
`protobuf:"bytes,6,rep,name=hooks" json:"hooks,omitempty"`
Hooks
[]
*
Hook
`protobuf:"bytes,6,rep,name=hooks
,proto3
" json:"hooks,omitempty"`
// Version is an int32 which represents the version of the release.
// Version is an int32 which represents the version of the release.
Version
int32
`protobuf:"varint,7,opt,name=version" json:"version,omitempty"`
Version
int32
`protobuf:"varint,7,opt,name=version
,proto3
" json:"version,omitempty"`
// Namespace is the kubernetes namespace of the release.
// Namespace is the kubernetes namespace of the release.
Namespace
string
`protobuf:"bytes,8,opt,name=namespace" json:"namespace,omitempty"`
Namespace
string
`protobuf:"bytes,8,opt,name=namespace,proto3" json:"namespace,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Release
)
Reset
()
{
*
m
=
Release
{}
}
func
(
m
*
Release
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Release
)
ProtoMessage
()
{}
func
(
*
Release
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_release_4bea5d16ba219619
,
[]
int
{
0
}
}
func
(
m
*
Release
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Release
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Release
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Release
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Release
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Release
.
Merge
(
dst
,
src
)
}
func
(
m
*
Release
)
XXX_Size
()
int
{
return
xxx_messageInfo_Release
.
Size
(
m
)
}
func
(
m
*
Release
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Release
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Release
)
Reset
()
{
*
m
=
Release
{}
}
var
xxx_messageInfo_Release
proto
.
InternalMessageInfo
func
(
m
*
Release
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Release
)
ProtoMessage
()
{}
func
(
*
Release
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor2
,
[]
int
{
0
}
}
func
(
m
*
Release
)
GetName
()
string
{
func
(
m
*
Release
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -55,14 +82,14 @@ func (m *Release) GetInfo() *Info {
...
@@ -55,14 +82,14 @@ func (m *Release) GetInfo() *Info {
return
nil
return
nil
}
}
func
(
m
*
Release
)
GetChart
()
*
hapi_chart3
.
Chart
{
func
(
m
*
Release
)
GetChart
()
*
chart
.
Chart
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Chart
return
m
.
Chart
}
}
return
nil
return
nil
}
}
func
(
m
*
Release
)
GetConfig
()
*
hapi_
chart
.
Config
{
func
(
m
*
Release
)
GetConfig
()
*
chart
.
Config
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Config
return
m
.
Config
}
}
...
@@ -101,9 +128,9 @@ func init() {
...
@@ -101,9 +128,9 @@ func init() {
proto
.
RegisterType
((
*
Release
)(
nil
),
"hapi.release.Release"
)
proto
.
RegisterType
((
*
Release
)(
nil
),
"hapi.release.Release"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/release.proto"
,
fileDescriptor
2
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/release.proto"
,
fileDescriptor
_release_4bea5d16ba219619
)
}
var
fileDescriptor
2
=
[]
byte
{
var
fileDescriptor
_release_4bea5d16ba219619
=
[]
byte
{
// 256 bytes of a gzipped FileDescriptorProto
// 256 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x64
,
0x90
,
0xbf
,
0x4e
,
0xc3
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x64
,
0x90
,
0xbf
,
0x4e
,
0xc3
,
0x40
,
0x0c
,
0xc6
,
0x95
,
0x36
,
0x7f
,
0x1a
,
0xc3
,
0x82
,
0x07
,
0xb0
,
0x22
,
0x86
,
0x88
,
0x01
,
0x22
,
0x86
,
0x0c
,
0xc6
,
0x95
,
0x36
,
0x7f
,
0x1a
,
0xc3
,
0x82
,
0x07
,
0xb0
,
0x22
,
0x86
,
0x88
,
0x01
,
0x22
,
0x86
,
...
...
pkg/proto/hapi/release/status.pb.go
View file @
96258e3b
...
@@ -13,6 +13,12 @@ var _ = proto.Marshal
...
@@ -13,6 +13,12 @@ var _ = proto.Marshal
var
_
=
fmt
.
Errorf
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
type
Status_Code
int32
type
Status_Code
int32
const
(
const
(
...
@@ -62,23 +68,47 @@ var Status_Code_value = map[string]int32{
...
@@ -62,23 +68,47 @@ var Status_Code_value = map[string]int32{
func
(
x
Status_Code
)
String
()
string
{
func
(
x
Status_Code
)
String
()
string
{
return
proto
.
EnumName
(
Status_Code_name
,
int32
(
x
))
return
proto
.
EnumName
(
Status_Code_name
,
int32
(
x
))
}
}
func
(
Status_Code
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor3
,
[]
int
{
0
,
0
}
}
func
(
Status_Code
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_status_933517e5a50981ed
,
[]
int
{
0
,
0
}
}
// Status defines the status of a release.
// Status defines the status of a release.
type
Status
struct
{
type
Status
struct
{
Code
Status_Code
`protobuf:"varint,1,opt,name=code,enum=hapi.release.Status_Code" json:"code,omitempty"`
Code
Status_Code
`protobuf:"varint,1,opt,name=code,
proto3,
enum=hapi.release.Status_Code" json:"code,omitempty"`
// Cluster resources as kubectl would print them.
// Cluster resources as kubectl would print them.
Resources
string
`protobuf:"bytes,3,opt,name=resources" json:"resources,omitempty"`
Resources
string
`protobuf:"bytes,3,opt,name=resources
,proto3
" json:"resources,omitempty"`
// Contains the rendered templates/NOTES.txt if available
// Contains the rendered templates/NOTES.txt if available
Notes
string
`protobuf:"bytes,4,opt,name=notes" json:"notes,omitempty"`
Notes
string
`protobuf:"bytes,4,opt,name=notes
,proto3
" json:"notes,omitempty"`
// LastTestSuiteRun provides results on the last test run on a release
// LastTestSuiteRun provides results on the last test run on a release
LastTestSuiteRun
*
TestSuite
`protobuf:"bytes,5,opt,name=last_test_suite_run,json=lastTestSuiteRun" json:"last_test_suite_run,omitempty"`
LastTestSuiteRun
*
TestSuite
`protobuf:"bytes,5,opt,name=last_test_suite_run,json=lastTestSuiteRun,proto3" json:"last_test_suite_run,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Status
)
Reset
()
{
*
m
=
Status
{}
}
func
(
m
*
Status
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Status
)
ProtoMessage
()
{}
func
(
*
Status
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_status_933517e5a50981ed
,
[]
int
{
0
}
}
func
(
m
*
Status
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Status
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Status
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Status
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Status
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Status
.
Merge
(
dst
,
src
)
}
func
(
m
*
Status
)
XXX_Size
()
int
{
return
xxx_messageInfo_Status
.
Size
(
m
)
}
func
(
m
*
Status
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Status
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Status
)
Reset
()
{
*
m
=
Status
{}
}
var
xxx_messageInfo_Status
proto
.
InternalMessageInfo
func
(
m
*
Status
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Status
)
ProtoMessage
()
{}
func
(
*
Status
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor3
,
[]
int
{
0
}
}
func
(
m
*
Status
)
GetCode
()
Status_Code
{
func
(
m
*
Status
)
GetCode
()
Status_Code
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -113,9 +143,9 @@ func init() {
...
@@ -113,9 +143,9 @@ func init() {
proto
.
RegisterEnum
(
"hapi.release.Status_Code"
,
Status_Code_name
,
Status_Code_value
)
proto
.
RegisterEnum
(
"hapi.release.Status_Code"
,
Status_Code_name
,
Status_Code_value
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/status.proto"
,
fileDescriptor
3
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/status.proto"
,
fileDescriptor
_status_933517e5a50981ed
)
}
var
fileDescriptor
3
=
[]
byte
{
var
fileDescriptor
_status_933517e5a50981ed
=
[]
byte
{
// 333 bytes of a gzipped FileDescriptorProto
// 333 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x54
,
0x90
,
0xd1
,
0x6e
,
0xa2
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x54
,
0x90
,
0xd1
,
0x6e
,
0xa2
,
0x40
,
0x14
,
0x86
,
0x17
,
0x45
,
0xd4
,
0xa3
,
0x71
,
0x27
,
0xa3
,
0xc9
,
0xa2
,
0xd9
,
0x4d
,
0x8c
,
0x57
,
0xde
,
0x14
,
0x86
,
0x17
,
0x45
,
0xd4
,
0xa3
,
0x71
,
0x27
,
0xa3
,
0xc9
,
0xa2
,
0xd9
,
0x4d
,
0x8c
,
0x57
,
0xde
,
...
...
pkg/proto/hapi/release/test_run.pb.go
View file @
96258e3b
...
@@ -6,13 +6,19 @@ package release
...
@@ -6,13 +6,19 @@ package release
import
proto
"github.com/golang/protobuf/proto"
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
fmt
"fmt"
import
math
"math"
import
math
"math"
import
google_protobuf
"github.com/golang/protobuf/ptypes/timestamp"
import
timestamp
"github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
proto
.
Marshal
var
_
=
fmt
.
Errorf
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
type
TestRun_Status
int32
type
TestRun_Status
int32
const
(
const
(
...
@@ -38,20 +44,44 @@ var TestRun_Status_value = map[string]int32{
...
@@ -38,20 +44,44 @@ var TestRun_Status_value = map[string]int32{
func
(
x
TestRun_Status
)
String
()
string
{
func
(
x
TestRun_Status
)
String
()
string
{
return
proto
.
EnumName
(
TestRun_Status_name
,
int32
(
x
))
return
proto
.
EnumName
(
TestRun_Status_name
,
int32
(
x
))
}
}
func
(
TestRun_Status
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor4
,
[]
int
{
0
,
0
}
}
func
(
TestRun_Status
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_test_run_31b133e40c63664e
,
[]
int
{
0
,
0
}
}
type
TestRun
struct
{
type
TestRun
struct
{
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Status
TestRun_Status
`protobuf:"varint,2,opt,name=status,enum=hapi.release.TestRun_Status" json:"status,omitempty"`
Status
TestRun_Status
`protobuf:"varint,2,opt,name=status,proto3,enum=hapi.release.TestRun_Status" json:"status,omitempty"`
Info
string
`protobuf:"bytes,3,opt,name=info" json:"info,omitempty"`
Info
string
`protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
StartedAt
*
google_protobuf
.
Timestamp
`protobuf:"bytes,4,opt,name=started_at,json=startedAt" json:"started_at,omitempty"`
StartedAt
*
timestamp
.
Timestamp
`protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
CompletedAt
*
google_protobuf
.
Timestamp
`protobuf:"bytes,5,opt,name=completed_at,json=completedAt" json:"completed_at,omitempty"`
CompletedAt
*
timestamp
.
Timestamp
`protobuf:"bytes,5,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
TestRun
)
Reset
()
{
*
m
=
TestRun
{}
}
func
(
m
*
TestRun
)
Reset
()
{
*
m
=
TestRun
{}
}
func
(
m
*
TestRun
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TestRun
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TestRun
)
ProtoMessage
()
{}
func
(
*
TestRun
)
ProtoMessage
()
{}
func
(
*
TestRun
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor4
,
[]
int
{
0
}
}
func
(
*
TestRun
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_test_run_31b133e40c63664e
,
[]
int
{
0
}
}
func
(
m
*
TestRun
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TestRun
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
TestRun
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TestRun
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
TestRun
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TestRun
.
Merge
(
dst
,
src
)
}
func
(
m
*
TestRun
)
XXX_Size
()
int
{
return
xxx_messageInfo_TestRun
.
Size
(
m
)
}
func
(
m
*
TestRun
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_TestRun
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_TestRun
proto
.
InternalMessageInfo
func
(
m
*
TestRun
)
GetName
()
string
{
func
(
m
*
TestRun
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -74,14 +104,14 @@ func (m *TestRun) GetInfo() string {
...
@@ -74,14 +104,14 @@ func (m *TestRun) GetInfo() string {
return
""
return
""
}
}
func
(
m
*
TestRun
)
GetStartedAt
()
*
google_protobuf
.
Timestamp
{
func
(
m
*
TestRun
)
GetStartedAt
()
*
timestamp
.
Timestamp
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
StartedAt
return
m
.
StartedAt
}
}
return
nil
return
nil
}
}
func
(
m
*
TestRun
)
GetCompletedAt
()
*
google_protobuf
.
Timestamp
{
func
(
m
*
TestRun
)
GetCompletedAt
()
*
timestamp
.
Timestamp
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
CompletedAt
return
m
.
CompletedAt
}
}
...
@@ -93,9 +123,11 @@ func init() {
...
@@ -93,9 +123,11 @@ func init() {
proto
.
RegisterEnum
(
"hapi.release.TestRun_Status"
,
TestRun_Status_name
,
TestRun_Status_value
)
proto
.
RegisterEnum
(
"hapi.release.TestRun_Status"
,
TestRun_Status_name
,
TestRun_Status_value
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/test_run.proto"
,
fileDescriptor4
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/test_run.proto"
,
fileDescriptor_test_run_31b133e40c63664e
)
}
var
fileDescriptor
4
=
[]
byte
{
var
fileDescriptor
_test_run_31b133e40c63664e
=
[]
byte
{
// 274 bytes of a gzipped FileDescriptorProto
// 274 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x84
,
0x8f
,
0xc1
,
0x4b
,
0xfb
,
0x30
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x84
,
0x8f
,
0xc1
,
0x4b
,
0xfb
,
0x30
,
0x1c
,
0xc5
,
0x7f
,
0xe9
,
0xf6
,
0x6b
,
0x69
,
0x3a
,
0xa4
,
0xe4
,
0x54
,
0xa6
,
0x60
,
0xd9
,
0xa9
,
0xa7
,
0x1c
,
0xc5
,
0x7f
,
0xe9
,
0xf6
,
0x6b
,
0x69
,
0x3a
,
0xa4
,
0xe4
,
0x54
,
0xa6
,
0x60
,
0xd9
,
0xa9
,
0xa7
,
...
...
pkg/proto/hapi/release/test_suite.pb.go
View file @
96258e3b
...
@@ -6,36 +6,64 @@ package release
...
@@ -6,36 +6,64 @@ package release
import
proto
"github.com/golang/protobuf/proto"
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
fmt
"fmt"
import
math
"math"
import
math
"math"
import
google_protobuf
"github.com/golang/protobuf/ptypes/timestamp"
import
timestamp
"github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
proto
.
Marshal
var
_
=
fmt
.
Errorf
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion2
// please upgrade the proto package
// TestSuite comprises of the last run of the pre-defined test suite of a release version
// TestSuite comprises of the last run of the pre-defined test suite of a release version
type
TestSuite
struct
{
type
TestSuite
struct
{
// StartedAt indicates the date/time this test suite was kicked off
// StartedAt indicates the date/time this test suite was kicked off
StartedAt
*
google_protobuf
.
Timestamp
`protobuf:"bytes,1,opt,name=started_at,json=startedAt
" json:"started_at,omitempty"`
StartedAt
*
timestamp
.
Timestamp
`protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3
" json:"started_at,omitempty"`
// CompletedAt indicates the date/time this test suite was completed
// CompletedAt indicates the date/time this test suite was completed
CompletedAt
*
google_protobuf
.
Timestamp
`protobuf:"bytes,2,opt,name=completed_at,json=completedAt
" json:"completed_at,omitempty"`
CompletedAt
*
timestamp
.
Timestamp
`protobuf:"bytes,2,opt,name=completed_at,json=completedAt,proto3
" json:"completed_at,omitempty"`
// Results are the results of each segment of the test
// Results are the results of each segment of the test
Results
[]
*
TestRun
`protobuf:"bytes,3,rep,name=results" json:"results,omitempty"`
Results
[]
*
TestRun
`protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
TestSuite
)
Reset
()
{
*
m
=
TestSuite
{}
}
func
(
m
*
TestSuite
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TestSuite
)
ProtoMessage
()
{}
func
(
*
TestSuite
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_test_suite_06a0016f2c6417b8
,
[]
int
{
0
}
}
func
(
m
*
TestSuite
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TestSuite
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
TestSuite
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TestSuite
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
TestSuite
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TestSuite
.
Merge
(
dst
,
src
)
}
func
(
m
*
TestSuite
)
XXX_Size
()
int
{
return
xxx_messageInfo_TestSuite
.
Size
(
m
)
}
func
(
m
*
TestSuite
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_TestSuite
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
TestSuite
)
Reset
()
{
*
m
=
TestSuite
{}
}
var
xxx_messageInfo_TestSuite
proto
.
InternalMessageInfo
func
(
m
*
TestSuite
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TestSuite
)
ProtoMessage
()
{}
func
(
*
TestSuite
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor5
,
[]
int
{
0
}
}
func
(
m
*
TestSuite
)
GetStartedAt
()
*
google_protobuf
.
Timestamp
{
func
(
m
*
TestSuite
)
GetStartedAt
()
*
timestamp
.
Timestamp
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
StartedAt
return
m
.
StartedAt
}
}
return
nil
return
nil
}
}
func
(
m
*
TestSuite
)
GetCompletedAt
()
*
google_protobuf
.
Timestamp
{
func
(
m
*
TestSuite
)
GetCompletedAt
()
*
timestamp
.
Timestamp
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
CompletedAt
return
m
.
CompletedAt
}
}
...
@@ -53,9 +81,11 @@ func init() {
...
@@ -53,9 +81,11 @@ func init() {
proto
.
RegisterType
((
*
TestSuite
)(
nil
),
"hapi.release.TestSuite"
)
proto
.
RegisterType
((
*
TestSuite
)(
nil
),
"hapi.release.TestSuite"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/test_suite.proto"
,
fileDescriptor5
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/release/test_suite.proto"
,
fileDescriptor_test_suite_06a0016f2c6417b8
)
}
var
fileDescriptor
5
=
[]
byte
{
var
fileDescriptor
_test_suite_06a0016f2c6417b8
=
[]
byte
{
// 207 bytes of a gzipped FileDescriptorProto
// 207 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x84
,
0x8f
,
0xc1
,
0x4a
,
0x86
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x84
,
0x8f
,
0xc1
,
0x4a
,
0x86
,
0x40
,
0x14
,
0x85
,
0x31
,
0x21
,
0x71
,
0x74
,
0x35
,
0x10
,
0x88
,
0x11
,
0x49
,
0x2b
,
0x57
,
0x33
,
0x60
,
0xab
,
0x14
,
0x85
,
0x31
,
0x21
,
0x71
,
0x74
,
0x35
,
0x10
,
0x88
,
0x11
,
0x49
,
0x2b
,
0x57
,
0x33
,
0x60
,
0xab
,
...
...
pkg/proto/hapi/rudder/rudder.pb.go
View file @
96258e3b
// Code generated by protoc-gen-go. DO NOT EDIT.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: hapi/rudder/rudder.proto
// source: hapi/rudder/rudder.proto
/*
Package rudder is a generated protocol buffer package.
It is generated from these files:
hapi/rudder/rudder.proto
It has these top-level messages:
Result
VersionReleaseRequest
VersionReleaseResponse
InstallReleaseRequest
InstallReleaseResponse
DeleteReleaseRequest
DeleteReleaseResponse
UpgradeReleaseRequest
UpgradeReleaseResponse
RollbackReleaseRequest
RollbackReleaseResponse
ReleaseStatusRequest
ReleaseStatusResponse
*/
package
rudder
package
rudder
import
proto
"github.com/golang/protobuf/proto"
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
fmt
"fmt"
import
math
"math"
import
math
"math"
import
hapi_release3
"k8s.io/helm/pkg/proto/hapi/release"
import
release
"k8s.io/helm/pkg/proto/hapi/release"
import
hapi_release5
"k8s.io/helm/pkg/proto/hapi/release"
import
(
import
(
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
...
@@ -75,17 +53,41 @@ var Result_Status_value = map[string]int32{
...
@@ -75,17 +53,41 @@ var Result_Status_value = map[string]int32{
func
(
x
Result_Status
)
String
()
string
{
func
(
x
Result_Status
)
String
()
string
{
return
proto
.
EnumName
(
Result_Status_name
,
int32
(
x
))
return
proto
.
EnumName
(
Result_Status_name
,
int32
(
x
))
}
}
func
(
Result_Status
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
,
0
}
}
func
(
Result_Status
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
0
,
0
}
}
type
Result
struct
{
type
Result
struct
{
Info
string
`protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
Info
string
`protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
Log
[]
string
`protobuf:"bytes,2,rep,name=log" json:"log,omitempty"`
Log
[]
string
`protobuf:"bytes,2,rep,name=log,proto3" json:"log,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Result
)
Reset
()
{
*
m
=
Result
{}
}
func
(
m
*
Result
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Result
)
ProtoMessage
()
{}
func
(
*
Result
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
0
}
}
func
(
m
*
Result
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Result
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Result
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Result
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Result
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Result
.
Merge
(
dst
,
src
)
}
func
(
m
*
Result
)
XXX_Size
()
int
{
return
xxx_messageInfo_Result
.
Size
(
m
)
}
func
(
m
*
Result
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Result
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Result
)
Reset
()
{
*
m
=
Result
{}
}
var
xxx_messageInfo_Result
proto
.
InternalMessageInfo
func
(
m
*
Result
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Result
)
ProtoMessage
()
{}
func
(
*
Result
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
}
}
func
(
m
*
Result
)
GetInfo
()
string
{
func
(
m
*
Result
)
GetInfo
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -102,22 +104,66 @@ func (m *Result) GetLog() []string {
...
@@ -102,22 +104,66 @@ func (m *Result) GetLog() []string {
}
}
type
VersionReleaseRequest
struct
{
type
VersionReleaseRequest
struct
{
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
VersionReleaseRequest
)
Reset
()
{
*
m
=
VersionReleaseRequest
{}
}
func
(
m
*
VersionReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
VersionReleaseRequest
)
ProtoMessage
()
{}
func
(
*
VersionReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
1
}
}
func
(
m
*
VersionReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_VersionReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
VersionReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_VersionReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
VersionReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_VersionReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
VersionReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_VersionReleaseRequest
.
Size
(
m
)
}
func
(
m
*
VersionReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_VersionReleaseRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
VersionReleaseRequest
)
Reset
()
{
*
m
=
VersionReleaseRequest
{}
}
var
xxx_messageInfo_VersionReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
VersionReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
VersionReleaseRequest
)
ProtoMessage
()
{}
func
(
*
VersionReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
1
}
}
type
VersionReleaseResponse
struct
{
type
VersionReleaseResponse
struct
{
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version
string
`protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
Version
string
`protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
VersionReleaseResponse
)
Reset
()
{
*
m
=
VersionReleaseResponse
{}
}
func
(
m
*
VersionReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
VersionReleaseResponse
)
ProtoMessage
()
{}
func
(
*
VersionReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
2
}
}
func
(
m
*
VersionReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_VersionReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
VersionReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_VersionReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
VersionReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_VersionReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
VersionReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_VersionReleaseResponse
.
Size
(
m
)
}
func
(
m
*
VersionReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_VersionReleaseResponse
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
VersionReleaseResponse
)
Reset
()
{
*
m
=
VersionReleaseResponse
{}
}
var
xxx_messageInfo_VersionReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
VersionReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
VersionReleaseResponse
)
ProtoMessage
()
{}
func
(
*
VersionReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
2
}
}
func
(
m
*
VersionReleaseResponse
)
GetName
()
string
{
func
(
m
*
VersionReleaseResponse
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -134,15 +180,37 @@ func (m *VersionReleaseResponse) GetVersion() string {
...
@@ -134,15 +180,37 @@ func (m *VersionReleaseResponse) GetVersion() string {
}
}
type
InstallReleaseRequest
struct
{
type
InstallReleaseRequest
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
InstallReleaseRequest
)
Reset
()
{
*
m
=
InstallReleaseRequest
{}
}
func
(
m
*
InstallReleaseRequest
)
Reset
()
{
*
m
=
InstallReleaseRequest
{}
}
func
(
m
*
InstallReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
InstallReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InstallReleaseRequest
)
ProtoMessage
()
{}
func
(
*
InstallReleaseRequest
)
ProtoMessage
()
{}
func
(
*
InstallReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
3
}
}
func
(
*
InstallReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
3
}
}
func
(
m
*
InstallReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_InstallReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
InstallReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_InstallReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
InstallReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_InstallReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
InstallReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_InstallReleaseRequest
.
Size
(
m
)
}
func
(
m
*
InstallReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_InstallReleaseRequest
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_InstallReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
InstallReleaseRequest
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
InstallReleaseRequest
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -150,16 +218,38 @@ func (m *InstallReleaseRequest) GetRelease() *hapi_release5.Release {
...
@@ -150,16 +218,38 @@ func (m *InstallReleaseRequest) GetRelease() *hapi_release5.Release {
}
}
type
InstallReleaseResponse
struct
{
type
InstallReleaseResponse
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
Result
*
Result
`protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
Result
*
Result
`protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
InstallReleaseResponse
)
Reset
()
{
*
m
=
InstallReleaseResponse
{}
}
func
(
m
*
InstallReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InstallReleaseResponse
)
ProtoMessage
()
{}
func
(
*
InstallReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
4
}
}
func
(
m
*
InstallReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_InstallReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
InstallReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_InstallReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
InstallReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_InstallReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
InstallReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_InstallReleaseResponse
.
Size
(
m
)
}
func
(
m
*
InstallReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_InstallReleaseResponse
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
InstallReleaseResponse
)
Reset
()
{
*
m
=
InstallReleaseResponse
{}
}
var
xxx_messageInfo_InstallReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
InstallReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InstallReleaseResponse
)
ProtoMessage
()
{}
func
(
*
InstallReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
4
}
}
func
(
m
*
InstallReleaseResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
InstallReleaseResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -174,15 +264,37 @@ func (m *InstallReleaseResponse) GetResult() *Result {
...
@@ -174,15 +264,37 @@ func (m *InstallReleaseResponse) GetResult() *Result {
}
}
type
DeleteReleaseRequest
struct
{
type
DeleteReleaseRequest
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
DeleteReleaseRequest
)
Reset
()
{
*
m
=
DeleteReleaseRequest
{}
}
func
(
m
*
DeleteReleaseRequest
)
Reset
()
{
*
m
=
DeleteReleaseRequest
{}
}
func
(
m
*
DeleteReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
DeleteReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DeleteReleaseRequest
)
ProtoMessage
()
{}
func
(
*
DeleteReleaseRequest
)
ProtoMessage
()
{}
func
(
*
DeleteReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
5
}
}
func
(
*
DeleteReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
5
}
}
func
(
m
*
DeleteReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_DeleteReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
DeleteReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_DeleteReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
DeleteReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_DeleteReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
DeleteReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_DeleteReleaseRequest
.
Size
(
m
)
}
func
(
m
*
DeleteReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_DeleteReleaseRequest
.
DiscardUnknown
(
m
)
}
func
(
m
*
DeleteReleaseRequest
)
GetRelease
()
*
hapi_release5
.
Release
{
var
xxx_messageInfo_DeleteReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
DeleteReleaseRequest
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -190,16 +302,38 @@ func (m *DeleteReleaseRequest) GetRelease() *hapi_release5.Release {
...
@@ -190,16 +302,38 @@ func (m *DeleteReleaseRequest) GetRelease() *hapi_release5.Release {
}
}
type
DeleteReleaseResponse
struct
{
type
DeleteReleaseResponse
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
Result
*
Result
`protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
Result
*
Result
`protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
DeleteReleaseResponse
)
Reset
()
{
*
m
=
DeleteReleaseResponse
{}
}
func
(
m
*
DeleteReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DeleteReleaseResponse
)
ProtoMessage
()
{}
func
(
*
DeleteReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
6
}
}
func
(
m
*
DeleteReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_DeleteReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
DeleteReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_DeleteReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
DeleteReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_DeleteReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
DeleteReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_DeleteReleaseResponse
.
Size
(
m
)
}
func
(
m
*
DeleteReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_DeleteReleaseResponse
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
DeleteReleaseResponse
)
Reset
()
{
*
m
=
DeleteReleaseResponse
{}
}
var
xxx_messageInfo_DeleteReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
DeleteReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DeleteReleaseResponse
)
ProtoMessage
()
{}
func
(
*
DeleteReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
6
}
}
func
(
m
*
DeleteReleaseResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
DeleteReleaseResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -214,28 +348,50 @@ func (m *DeleteReleaseResponse) GetResult() *Result {
...
@@ -214,28 +348,50 @@ func (m *DeleteReleaseResponse) GetResult() *Result {
}
}
type
UpgradeReleaseRequest
struct
{
type
UpgradeReleaseRequest
struct
{
Current
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=current" json:"current,omitempty"`
Current
*
release
.
Release
`protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"`
Target
*
hapi_release5
.
Release
`protobuf:"bytes,2,opt,name=target" json:"target,omitempty"`
Target
*
release
.
Release
`protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
Timeout
int64
`protobuf:"varint,3,opt,name=Timeout" json:"Timeout,omitempty"`
Timeout
int64
`protobuf:"varint,3,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
Wait
bool
`protobuf:"varint,4,opt,name=Wait" json:"Wait,omitempty"`
Wait
bool
`protobuf:"varint,4,opt,name=Wait,proto3" json:"Wait,omitempty"`
Recreate
bool
`protobuf:"varint,5,opt,name=Recreate" json:"Recreate,omitempty"`
Recreate
bool
`protobuf:"varint,5,opt,name=Recreate,proto3" json:"Recreate,omitempty"`
Force
bool
`protobuf:"varint,6,opt,name=Force" json:"Force,omitempty"`
Force
bool
`protobuf:"varint,6,opt,name=Force,proto3" json:"Force,omitempty"`
CleanupOnFail
bool
`protobuf:"varint,7,opt,name=CleanupOnFail" json:"CleanupOnFail,omitempty"`
CleanupOnFail
bool
`protobuf:"varint,7,opt,name=CleanupOnFail,proto3" json:"CleanupOnFail,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
UpgradeReleaseRequest
)
Reset
()
{
*
m
=
UpgradeReleaseRequest
{}
}
func
(
m
*
UpgradeReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpgradeReleaseRequest
)
ProtoMessage
()
{}
func
(
*
UpgradeReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
7
}
}
func
(
m
*
UpgradeReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UpgradeReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
UpgradeReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_UpgradeReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
UpgradeReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_UpgradeReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
UpgradeReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_UpgradeReleaseRequest
.
Size
(
m
)
}
func
(
m
*
UpgradeReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_UpgradeReleaseRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
UpgradeReleaseRequest
)
Reset
()
{
*
m
=
UpgradeReleaseRequest
{}
}
var
xxx_messageInfo_UpgradeReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
UpgradeReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpgradeReleaseRequest
)
ProtoMessage
()
{}
func
(
*
UpgradeReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
7
}
}
func
(
m
*
UpgradeReleaseRequest
)
GetCurrent
()
*
hapi_release5
.
Release
{
func
(
m
*
UpgradeReleaseRequest
)
GetCurrent
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Current
return
m
.
Current
}
}
return
nil
return
nil
}
}
func
(
m
*
UpgradeReleaseRequest
)
GetTarget
()
*
hapi_release5
.
Release
{
func
(
m
*
UpgradeReleaseRequest
)
GetTarget
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Target
return
m
.
Target
}
}
...
@@ -278,16 +434,38 @@ func (m *UpgradeReleaseRequest) GetCleanupOnFail() bool {
...
@@ -278,16 +434,38 @@ func (m *UpgradeReleaseRequest) GetCleanupOnFail() bool {
}
}
type
UpgradeReleaseResponse
struct
{
type
UpgradeReleaseResponse
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
Result
*
Result
`protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
Result
*
Result
`protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
UpgradeReleaseResponse
)
Reset
()
{
*
m
=
UpgradeReleaseResponse
{}
}
func
(
m
*
UpgradeReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpgradeReleaseResponse
)
ProtoMessage
()
{}
func
(
*
UpgradeReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
8
}
}
func
(
m
*
UpgradeReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UpgradeReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
UpgradeReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_UpgradeReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
UpgradeReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_UpgradeReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
UpgradeReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_UpgradeReleaseResponse
.
Size
(
m
)
}
func
(
m
*
UpgradeReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_UpgradeReleaseResponse
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
UpgradeReleaseResponse
)
Reset
()
{
*
m
=
UpgradeReleaseResponse
{}
}
var
xxx_messageInfo_UpgradeReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
UpgradeReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpgradeReleaseResponse
)
ProtoMessage
()
{}
func
(
*
UpgradeReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
8
}
}
func
(
m
*
UpgradeReleaseResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
UpgradeReleaseResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -302,28 +480,50 @@ func (m *UpgradeReleaseResponse) GetResult() *Result {
...
@@ -302,28 +480,50 @@ func (m *UpgradeReleaseResponse) GetResult() *Result {
}
}
type
RollbackReleaseRequest
struct
{
type
RollbackReleaseRequest
struct
{
Current
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=current" json:"current,omitempty"`
Current
*
release
.
Release
`protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"`
Target
*
hapi_release5
.
Release
`protobuf:"bytes,2,opt,name=target" json:"target,omitempty"`
Target
*
release
.
Release
`protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
Timeout
int64
`protobuf:"varint,3,opt,name=Timeout" json:"Timeout,omitempty"`
Timeout
int64
`protobuf:"varint,3,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
Wait
bool
`protobuf:"varint,4,opt,name=Wait" json:"Wait,omitempty"`
Wait
bool
`protobuf:"varint,4,opt,name=Wait,proto3" json:"Wait,omitempty"`
Recreate
bool
`protobuf:"varint,5,opt,name=Recreate" json:"Recreate,omitempty"`
Recreate
bool
`protobuf:"varint,5,opt,name=Recreate,proto3" json:"Recreate,omitempty"`
Force
bool
`protobuf:"varint,6,opt,name=Force" json:"Force,omitempty"`
Force
bool
`protobuf:"varint,6,opt,name=Force,proto3" json:"Force,omitempty"`
CleanupOnFail
bool
`protobuf:"varint,7,opt,name=CleanupOnFail" json:"CleanupOnFail,omitempty"`
CleanupOnFail
bool
`protobuf:"varint,7,opt,name=CleanupOnFail,proto3" json:"CleanupOnFail,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
RollbackReleaseRequest
)
Reset
()
{
*
m
=
RollbackReleaseRequest
{}
}
func
(
m
*
RollbackReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RollbackReleaseRequest
)
ProtoMessage
()
{}
func
(
*
RollbackReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
9
}
}
func
(
m
*
RollbackReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RollbackReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
RollbackReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_RollbackReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
RollbackReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_RollbackReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
RollbackReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_RollbackReleaseRequest
.
Size
(
m
)
}
func
(
m
*
RollbackReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_RollbackReleaseRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
RollbackReleaseRequest
)
Reset
()
{
*
m
=
RollbackReleaseRequest
{}
}
var
xxx_messageInfo_RollbackReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
RollbackReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RollbackReleaseRequest
)
ProtoMessage
()
{}
func
(
*
RollbackReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
9
}
}
func
(
m
*
RollbackReleaseRequest
)
GetCurrent
()
*
hapi_release5
.
Release
{
func
(
m
*
RollbackReleaseRequest
)
GetCurrent
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Current
return
m
.
Current
}
}
return
nil
return
nil
}
}
func
(
m
*
RollbackReleaseRequest
)
GetTarget
()
*
hapi_release5
.
Release
{
func
(
m
*
RollbackReleaseRequest
)
GetTarget
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Target
return
m
.
Target
}
}
...
@@ -366,16 +566,38 @@ func (m *RollbackReleaseRequest) GetCleanupOnFail() bool {
...
@@ -366,16 +566,38 @@ func (m *RollbackReleaseRequest) GetCleanupOnFail() bool {
}
}
type
RollbackReleaseResponse
struct
{
type
RollbackReleaseResponse
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
Result
*
Result
`protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
Result
*
Result
`protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
RollbackReleaseResponse
)
Reset
()
{
*
m
=
RollbackReleaseResponse
{}
}
func
(
m
*
RollbackReleaseResponse
)
Reset
()
{
*
m
=
RollbackReleaseResponse
{}
}
func
(
m
*
RollbackReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
RollbackReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RollbackReleaseResponse
)
ProtoMessage
()
{}
func
(
*
RollbackReleaseResponse
)
ProtoMessage
()
{}
func
(
*
RollbackReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
10
}
}
func
(
*
RollbackReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
10
}
}
func
(
m
*
RollbackReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RollbackReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
RollbackReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_RollbackReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
RollbackReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_RollbackReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
RollbackReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_RollbackReleaseResponse
.
Size
(
m
)
}
func
(
m
*
RollbackReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_RollbackReleaseResponse
.
DiscardUnknown
(
m
)
}
func
(
m
*
RollbackReleaseResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
var
xxx_messageInfo_RollbackReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
RollbackReleaseResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -390,15 +612,37 @@ func (m *RollbackReleaseResponse) GetResult() *Result {
...
@@ -390,15 +612,37 @@ func (m *RollbackReleaseResponse) GetResult() *Result {
}
}
type
ReleaseStatusRequest
struct
{
type
ReleaseStatusRequest
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
ReleaseStatusRequest
)
Reset
()
{
*
m
=
ReleaseStatusRequest
{}
}
func
(
m
*
ReleaseStatusRequest
)
Reset
()
{
*
m
=
ReleaseStatusRequest
{}
}
func
(
m
*
ReleaseStatusRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ReleaseStatusRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReleaseStatusRequest
)
ProtoMessage
()
{}
func
(
*
ReleaseStatusRequest
)
ProtoMessage
()
{}
func
(
*
ReleaseStatusRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
11
}
}
func
(
*
ReleaseStatusRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
11
}
}
func
(
m
*
ReleaseStatusRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReleaseStatusRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ReleaseStatusRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReleaseStatusRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
ReleaseStatusRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReleaseStatusRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
ReleaseStatusRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReleaseStatusRequest
.
Size
(
m
)
}
func
(
m
*
ReleaseStatusRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ReleaseStatusRequest
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ReleaseStatusRequest
proto
.
InternalMessageInfo
func
(
m
*
ReleaseStatusRequest
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
ReleaseStatusRequest
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -406,23 +650,45 @@ func (m *ReleaseStatusRequest) GetRelease() *hapi_release5.Release {
...
@@ -406,23 +650,45 @@ func (m *ReleaseStatusRequest) GetRelease() *hapi_release5.Release {
}
}
type
ReleaseStatusResponse
struct
{
type
ReleaseStatusResponse
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
Info
*
hapi_release3
.
Info
`protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
Info
*
release
.
Info
`protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
ReleaseStatusResponse
)
Reset
()
{
*
m
=
ReleaseStatusResponse
{}
}
func
(
m
*
ReleaseStatusResponse
)
Reset
()
{
*
m
=
ReleaseStatusResponse
{}
}
func
(
m
*
ReleaseStatusResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ReleaseStatusResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ReleaseStatusResponse
)
ProtoMessage
()
{}
func
(
*
ReleaseStatusResponse
)
ProtoMessage
()
{}
func
(
*
ReleaseStatusResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
12
}
}
func
(
*
ReleaseStatusResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_rudder_dd8cdbe38a210d28
,
[]
int
{
12
}
}
func
(
m
*
ReleaseStatusResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ReleaseStatusResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ReleaseStatusResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ReleaseStatusResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
ReleaseStatusResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ReleaseStatusResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
ReleaseStatusResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_ReleaseStatusResponse
.
Size
(
m
)
}
func
(
m
*
ReleaseStatusResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ReleaseStatusResponse
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ReleaseStatusResponse
proto
.
InternalMessageInfo
func
(
m
*
ReleaseStatusResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
ReleaseStatusResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
return
nil
return
nil
}
}
func
(
m
*
ReleaseStatusResponse
)
GetInfo
()
*
hapi_release3
.
Info
{
func
(
m
*
ReleaseStatusResponse
)
GetInfo
()
*
release
.
Info
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Info
return
m
.
Info
}
}
...
@@ -454,8 +720,9 @@ var _ grpc.ClientConn
...
@@ -454,8 +720,9 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against.
// is compatible with the grpc package it is being compiled against.
const
_
=
grpc
.
SupportPackageIsVersion4
const
_
=
grpc
.
SupportPackageIsVersion4
// Client API for ReleaseModuleService service
// ReleaseModuleServiceClient is the client API for ReleaseModuleService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type
ReleaseModuleServiceClient
interface
{
type
ReleaseModuleServiceClient
interface
{
Version
(
ctx
context
.
Context
,
in
*
VersionReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
VersionReleaseResponse
,
error
)
Version
(
ctx
context
.
Context
,
in
*
VersionReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
VersionReleaseResponse
,
error
)
// InstallRelease requests installation of a chart as a new release.
// InstallRelease requests installation of a chart as a new release.
...
@@ -480,7 +747,7 @@ func NewReleaseModuleServiceClient(cc *grpc.ClientConn) ReleaseModuleServiceClie
...
@@ -480,7 +747,7 @@ func NewReleaseModuleServiceClient(cc *grpc.ClientConn) ReleaseModuleServiceClie
func
(
c
*
releaseModuleServiceClient
)
Version
(
ctx
context
.
Context
,
in
*
VersionReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
VersionReleaseResponse
,
error
)
{
func
(
c
*
releaseModuleServiceClient
)
Version
(
ctx
context
.
Context
,
in
*
VersionReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
VersionReleaseResponse
,
error
)
{
out
:=
new
(
VersionReleaseResponse
)
out
:=
new
(
VersionReleaseResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/Version"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/Version"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -489,7 +756,7 @@ func (c *releaseModuleServiceClient) Version(ctx context.Context, in *VersionRel
...
@@ -489,7 +756,7 @@ func (c *releaseModuleServiceClient) Version(ctx context.Context, in *VersionRel
func
(
c
*
releaseModuleServiceClient
)
InstallRelease
(
ctx
context
.
Context
,
in
*
InstallReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
InstallReleaseResponse
,
error
)
{
func
(
c
*
releaseModuleServiceClient
)
InstallRelease
(
ctx
context
.
Context
,
in
*
InstallReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
InstallReleaseResponse
,
error
)
{
out
:=
new
(
InstallReleaseResponse
)
out
:=
new
(
InstallReleaseResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/InstallRelease"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/InstallRelease"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -498,7 +765,7 @@ func (c *releaseModuleServiceClient) InstallRelease(ctx context.Context, in *Ins
...
@@ -498,7 +765,7 @@ func (c *releaseModuleServiceClient) InstallRelease(ctx context.Context, in *Ins
func
(
c
*
releaseModuleServiceClient
)
DeleteRelease
(
ctx
context
.
Context
,
in
*
DeleteReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
DeleteReleaseResponse
,
error
)
{
func
(
c
*
releaseModuleServiceClient
)
DeleteRelease
(
ctx
context
.
Context
,
in
*
DeleteReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
DeleteReleaseResponse
,
error
)
{
out
:=
new
(
DeleteReleaseResponse
)
out
:=
new
(
DeleteReleaseResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/DeleteRelease"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/DeleteRelease"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -507,7 +774,7 @@ func (c *releaseModuleServiceClient) DeleteRelease(ctx context.Context, in *Dele
...
@@ -507,7 +774,7 @@ func (c *releaseModuleServiceClient) DeleteRelease(ctx context.Context, in *Dele
func
(
c
*
releaseModuleServiceClient
)
RollbackRelease
(
ctx
context
.
Context
,
in
*
RollbackReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
RollbackReleaseResponse
,
error
)
{
func
(
c
*
releaseModuleServiceClient
)
RollbackRelease
(
ctx
context
.
Context
,
in
*
RollbackReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
RollbackReleaseResponse
,
error
)
{
out
:=
new
(
RollbackReleaseResponse
)
out
:=
new
(
RollbackReleaseResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/RollbackRelease"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/RollbackRelease"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -516,7 +783,7 @@ func (c *releaseModuleServiceClient) RollbackRelease(ctx context.Context, in *Ro
...
@@ -516,7 +783,7 @@ func (c *releaseModuleServiceClient) RollbackRelease(ctx context.Context, in *Ro
func
(
c
*
releaseModuleServiceClient
)
UpgradeRelease
(
ctx
context
.
Context
,
in
*
UpgradeReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
UpgradeReleaseResponse
,
error
)
{
func
(
c
*
releaseModuleServiceClient
)
UpgradeRelease
(
ctx
context
.
Context
,
in
*
UpgradeReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
UpgradeReleaseResponse
,
error
)
{
out
:=
new
(
UpgradeReleaseResponse
)
out
:=
new
(
UpgradeReleaseResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/UpgradeRelease"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/UpgradeRelease"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -525,15 +792,14 @@ func (c *releaseModuleServiceClient) UpgradeRelease(ctx context.Context, in *Upg
...
@@ -525,15 +792,14 @@ func (c *releaseModuleServiceClient) UpgradeRelease(ctx context.Context, in *Upg
func
(
c
*
releaseModuleServiceClient
)
ReleaseStatus
(
ctx
context
.
Context
,
in
*
ReleaseStatusRequest
,
opts
...
grpc
.
CallOption
)
(
*
ReleaseStatusResponse
,
error
)
{
func
(
c
*
releaseModuleServiceClient
)
ReleaseStatus
(
ctx
context
.
Context
,
in
*
ReleaseStatusRequest
,
opts
...
grpc
.
CallOption
)
(
*
ReleaseStatusResponse
,
error
)
{
out
:=
new
(
ReleaseStatusResponse
)
out
:=
new
(
ReleaseStatusResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/ReleaseStatus"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.rudder.ReleaseModuleService/ReleaseStatus"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
return
out
,
nil
return
out
,
nil
}
}
// Server API for ReleaseModuleService service
// ReleaseModuleServiceServer is the server API for ReleaseModuleService service.
type
ReleaseModuleServiceServer
interface
{
type
ReleaseModuleServiceServer
interface
{
Version
(
context
.
Context
,
*
VersionReleaseRequest
)
(
*
VersionReleaseResponse
,
error
)
Version
(
context
.
Context
,
*
VersionReleaseRequest
)
(
*
VersionReleaseResponse
,
error
)
// InstallRelease requests installation of a chart as a new release.
// InstallRelease requests installation of a chart as a new release.
...
@@ -693,9 +959,9 @@ var _ReleaseModuleService_serviceDesc = grpc.ServiceDesc{
...
@@ -693,9 +959,9 @@ var _ReleaseModuleService_serviceDesc = grpc.ServiceDesc{
Metadata
:
"hapi/rudder/rudder.proto"
,
Metadata
:
"hapi/rudder/rudder.proto"
,
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/rudder/rudder.proto"
,
fileDescriptor
0
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/rudder/rudder.proto"
,
fileDescriptor
_rudder_dd8cdbe38a210d28
)
}
var
fileDescriptor
0
=
[]
byte
{
var
fileDescriptor
_rudder_dd8cdbe38a210d28
=
[]
byte
{
// 615 bytes of a gzipped FileDescriptorProto
// 615 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe4
,
0x56
,
0x4d
,
0x6f
,
0xd3
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe4
,
0x56
,
0x4d
,
0x6f
,
0xd3
,
0x40
,
0x10
,
0x8d
,
0x9b
,
0xc6
,
0x69
,
0xa6
,
0x2a
,
0x44
,
0xab
,
0xba
,
0xb5
,
0x2c
,
0x0e
,
0x91
,
0x85
,
0x50
,
0x10
,
0x8d
,
0x9b
,
0xc6
,
0x69
,
0xa6
,
0x2a
,
0x44
,
0xab
,
0xba
,
0xb5
,
0x2c
,
0x0e
,
0x91
,
0x85
,
0x50
,
...
...
pkg/proto/hapi/services/tiller.pb.go
View file @
96258e3b
// Code generated by protoc-gen-go. DO NOT EDIT.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: hapi/services/tiller.proto
// source: hapi/services/tiller.proto
/*
Package services is a generated protocol buffer package.
It is generated from these files:
hapi/services/tiller.proto
It has these top-level messages:
ListReleasesRequest
ListSort
ListReleasesResponse
GetReleaseStatusRequest
GetReleaseStatusResponse
GetReleaseContentRequest
GetReleaseContentResponse
UpdateReleaseRequest
UpdateReleaseResponse
RollbackReleaseRequest
RollbackReleaseResponse
InstallReleaseRequest
InstallReleaseResponse
UninstallReleaseRequest
UninstallReleaseResponse
GetVersionRequest
GetVersionResponse
GetHistoryRequest
GetHistoryResponse
TestReleaseRequest
TestReleaseResponse
*/
package
services
package
services
import
proto
"github.com/golang/protobuf/proto"
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
fmt
"fmt"
import
math
"math"
import
math
"math"
import
hapi_chart3
"k8s.io/helm/pkg/proto/hapi/chart"
import
chart
"k8s.io/helm/pkg/proto/hapi/chart"
import
hapi_chart
"k8s.io/helm/pkg/proto/hapi/chart"
import
release
"k8s.io/helm/pkg/proto/hapi/release"
import
hapi_release5
"k8s.io/helm/pkg/proto/hapi/release"
import
version
"k8s.io/helm/pkg/proto/hapi/version"
import
hapi_release4
"k8s.io/helm/pkg/proto/hapi/release"
import
hapi_release1
"k8s.io/helm/pkg/proto/hapi/release"
import
hapi_release3
"k8s.io/helm/pkg/proto/hapi/release"
import
hapi_version
"k8s.io/helm/pkg/proto/hapi/version"
import
(
import
(
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
...
@@ -85,7 +52,9 @@ var ListSort_SortBy_value = map[string]int32{
...
@@ -85,7 +52,9 @@ var ListSort_SortBy_value = map[string]int32{
func
(
x
ListSort_SortBy
)
String
()
string
{
func
(
x
ListSort_SortBy
)
String
()
string
{
return
proto
.
EnumName
(
ListSort_SortBy_name
,
int32
(
x
))
return
proto
.
EnumName
(
ListSort_SortBy_name
,
int32
(
x
))
}
}
func
(
ListSort_SortBy
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
1
,
0
}
}
func
(
ListSort_SortBy
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
1
,
0
}
}
// SortOrder defines sort orders to augment sorting operations.
// SortOrder defines sort orders to augment sorting operations.
type
ListSort_SortOrder
int32
type
ListSort_SortOrder
int32
...
@@ -107,7 +76,9 @@ var ListSort_SortOrder_value = map[string]int32{
...
@@ -107,7 +76,9 @@ var ListSort_SortOrder_value = map[string]int32{
func
(
x
ListSort_SortOrder
)
String
()
string
{
func
(
x
ListSort_SortOrder
)
String
()
string
{
return
proto
.
EnumName
(
ListSort_SortOrder_name
,
int32
(
x
))
return
proto
.
EnumName
(
ListSort_SortOrder_name
,
int32
(
x
))
}
}
func
(
ListSort_SortOrder
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
1
,
1
}
}
func
(
ListSort_SortOrder
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
1
,
1
}
}
// ListReleasesRequest requests a list of releases.
// ListReleasesRequest requests a list of releases.
//
//
...
@@ -116,30 +87,52 @@ func (ListSort_SortOrder) EnumDescriptor() ([]byte, []int) { return fileDescript
...
@@ -116,30 +87,52 @@ func (ListSort_SortOrder) EnumDescriptor() ([]byte, []int) { return fileDescript
// Releases can be sorted according to a few pre-determined sort strategies.
// Releases can be sorted according to a few pre-determined sort strategies.
type
ListReleasesRequest
struct
{
type
ListReleasesRequest
struct
{
// Limit is the maximum number of releases to be returned.
// Limit is the maximum number of releases to be returned.
Limit
int64
`protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"`
Limit
int64
`protobuf:"varint,1,opt,name=limit
,proto3
" json:"limit,omitempty"`
// Offset is the last release name that was seen. The next listing
// Offset is the last release name that was seen. The next listing
// operation will start with the name after this one.
// operation will start with the name after this one.
// Example: If list one returns albert, bernie, carl, and sets 'next: dennis'.
// Example: If list one returns albert, bernie, carl, and sets 'next: dennis'.
// dennis is the offset. Supplying 'dennis' for the next request should
// dennis is the offset. Supplying 'dennis' for the next request should
// cause the next batch to return a set of results starting with 'dennis'.
// cause the next batch to return a set of results starting with 'dennis'.
Offset
string
`protobuf:"bytes,2,opt,name=offset" json:"offset,omitempty"`
Offset
string
`protobuf:"bytes,2,opt,name=offset
,proto3
" json:"offset,omitempty"`
// SortBy is the sort field that the ListReleases server should sort data before returning.
// SortBy is the sort field that the ListReleases server should sort data before returning.
SortBy
ListSort_SortBy
`protobuf:"varint,3,opt,name=sort_by,json=sortBy,enum=hapi.services.tiller.ListSort_SortBy" json:"sort_by,omitempty"`
SortBy
ListSort_SortBy
`protobuf:"varint,3,opt,name=sort_by,json=sortBy,
proto3,
enum=hapi.services.tiller.ListSort_SortBy" json:"sort_by,omitempty"`
// Filter is a regular expression used to filter which releases should be listed.
// Filter is a regular expression used to filter which releases should be listed.
//
//
// Anything that matches the regexp will be included in the results.
// Anything that matches the regexp will be included in the results.
Filter
string
`protobuf:"bytes,4,opt,name=filter" json:"filter,omitempty"`
Filter
string
`protobuf:"bytes,4,opt,name=filter
,proto3
" json:"filter,omitempty"`
// SortOrder is the ordering directive used for sorting.
// SortOrder is the ordering directive used for sorting.
SortOrder
ListSort_SortOrder
`protobuf:"varint,5,opt,name=sort_order,json=sortOrder
,enum=hapi.services.tiller.ListSort_SortOrder" json:"sort_order,omitempty"`
SortOrder
ListSort_SortOrder
`protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3
,enum=hapi.services.tiller.ListSort_SortOrder" json:"sort_order,omitempty"`
StatusCodes
[]
hapi_release3
.
Status_Code
`protobuf:"varint,6,rep,packed,name=status_codes,json=statusCodes
,enum=hapi.release.Status_Code" json:"status_codes,omitempty"`
StatusCodes
[]
release
.
Status_Code
`protobuf:"varint,6,rep,packed,name=status_codes,json=statusCodes,proto3
,enum=hapi.release.Status_Code" json:"status_codes,omitempty"`
// Namespace is the filter to select releases only from a specific namespace.
// Namespace is the filter to select releases only from a specific namespace.
Namespace
string
`protobuf:"bytes,7,opt,name=namespace" json:"namespace,omitempty"`
Namespace
string
`protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ListReleasesRequest
)
Reset
()
{
*
m
=
ListReleasesRequest
{}
}
func
(
m
*
ListReleasesRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ListReleasesRequest
)
ProtoMessage
()
{}
func
(
*
ListReleasesRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
0
}
}
func
(
m
*
ListReleasesRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ListReleasesRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ListReleasesRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ListReleasesRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
ListReleasesRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ListReleasesRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
ListReleasesRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_ListReleasesRequest
.
Size
(
m
)
}
func
(
m
*
ListReleasesRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ListReleasesRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
ListReleasesRequest
)
Reset
()
{
*
m
=
ListReleasesRequest
{}
}
var
xxx_messageInfo_ListReleasesRequest
proto
.
InternalMessageInfo
func
(
m
*
ListReleasesRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ListReleasesRequest
)
ProtoMessage
()
{}
func
(
*
ListReleasesRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
}
}
func
(
m
*
ListReleasesRequest
)
GetLimit
()
int64
{
func
(
m
*
ListReleasesRequest
)
GetLimit
()
int64
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -176,7 +169,7 @@ func (m *ListReleasesRequest) GetSortOrder() ListSort_SortOrder {
...
@@ -176,7 +169,7 @@ func (m *ListReleasesRequest) GetSortOrder() ListSort_SortOrder {
return
ListSort_ASC
return
ListSort_ASC
}
}
func
(
m
*
ListReleasesRequest
)
GetStatusCodes
()
[]
hapi_release3
.
Status_Code
{
func
(
m
*
ListReleasesRequest
)
GetStatusCodes
()
[]
release
.
Status_Code
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
StatusCodes
return
m
.
StatusCodes
}
}
...
@@ -192,30 +185,74 @@ func (m *ListReleasesRequest) GetNamespace() string {
...
@@ -192,30 +185,74 @@ func (m *ListReleasesRequest) GetNamespace() string {
// ListSort defines sorting fields on a release list.
// ListSort defines sorting fields on a release list.
type
ListSort
struct
{
type
ListSort
struct
{
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
ListSort
)
Reset
()
{
*
m
=
ListSort
{}
}
func
(
m
*
ListSort
)
Reset
()
{
*
m
=
ListSort
{}
}
func
(
m
*
ListSort
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ListSort
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ListSort
)
ProtoMessage
()
{}
func
(
*
ListSort
)
ProtoMessage
()
{}
func
(
*
ListSort
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
1
}
}
func
(
*
ListSort
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
1
}
}
func
(
m
*
ListSort
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ListSort
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ListSort
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ListSort
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
ListSort
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ListSort
.
Merge
(
dst
,
src
)
}
func
(
m
*
ListSort
)
XXX_Size
()
int
{
return
xxx_messageInfo_ListSort
.
Size
(
m
)
}
func
(
m
*
ListSort
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ListSort
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_ListSort
proto
.
InternalMessageInfo
// ListReleasesResponse is a list of releases.
// ListReleasesResponse is a list of releases.
type
ListReleasesResponse
struct
{
type
ListReleasesResponse
struct
{
// Count is the expected total number of releases to be returned.
// Count is the expected total number of releases to be returned.
Count
int64
`protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
Count
int64
`protobuf:"varint,1,opt,name=count
,proto3
" json:"count,omitempty"`
// Next is the name of the next release. If this is other than an empty
// Next is the name of the next release. If this is other than an empty
// string, it means there are more results.
// string, it means there are more results.
Next
string
`protobuf:"bytes,2,opt,name=next" json:"next,omitempty"`
Next
string
`protobuf:"bytes,2,opt,name=next
,proto3
" json:"next,omitempty"`
// Total is the total number of queryable releases.
// Total is the total number of queryable releases.
Total
int64
`protobuf:"varint,3,opt,name=total" json:"total,omitempty"`
Total
int64
`protobuf:"varint,3,opt,name=total
,proto3
" json:"total,omitempty"`
// Releases is the list of found release objects.
// Releases is the list of found release objects.
Releases
[]
*
hapi_release5
.
Release
`protobuf:"bytes,4,rep,name=releases" json:"releases,omitempty"`
Releases
[]
*
release
.
Release
`protobuf:"bytes,4,rep,name=releases,proto3" json:"releases,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
ListReleasesResponse
)
Reset
()
{
*
m
=
ListReleasesResponse
{}
}
func
(
m
*
ListReleasesResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ListReleasesResponse
)
ProtoMessage
()
{}
func
(
*
ListReleasesResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
2
}
}
func
(
m
*
ListReleasesResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ListReleasesResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
ListReleasesResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_ListReleasesResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
ListReleasesResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_ListReleasesResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
ListReleasesResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_ListReleasesResponse
.
Size
(
m
)
}
func
(
m
*
ListReleasesResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_ListReleasesResponse
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
ListReleasesResponse
)
Reset
()
{
*
m
=
ListReleasesResponse
{}
}
var
xxx_messageInfo_ListReleasesResponse
proto
.
InternalMessageInfo
func
(
m
*
ListReleasesResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ListReleasesResponse
)
ProtoMessage
()
{}
func
(
*
ListReleasesResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
2
}
}
func
(
m
*
ListReleasesResponse
)
GetCount
()
int64
{
func
(
m
*
ListReleasesResponse
)
GetCount
()
int64
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -238,7 +275,7 @@ func (m *ListReleasesResponse) GetTotal() int64 {
...
@@ -238,7 +275,7 @@ func (m *ListReleasesResponse) GetTotal() int64 {
return
0
return
0
}
}
func
(
m
*
ListReleasesResponse
)
GetReleases
()
[]
*
hapi_release5
.
Release
{
func
(
m
*
ListReleasesResponse
)
GetReleases
()
[]
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Releases
return
m
.
Releases
}
}
...
@@ -248,15 +285,37 @@ func (m *ListReleasesResponse) GetReleases() []*hapi_release5.Release {
...
@@ -248,15 +285,37 @@ func (m *ListReleasesResponse) GetReleases() []*hapi_release5.Release {
// GetReleaseStatusRequest is a request to get the status of a release.
// GetReleaseStatusRequest is a request to get the status of a release.
type
GetReleaseStatusRequest
struct
{
type
GetReleaseStatusRequest
struct
{
// Name is the name of the release
// Name is the name of the release
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// Version is the version of the release
// Version is the version of the release
Version
int32
`protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
Version
int32
`protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
GetReleaseStatusRequest
)
Reset
()
{
*
m
=
GetReleaseStatusRequest
{}
}
func
(
m
*
GetReleaseStatusRequest
)
Reset
()
{
*
m
=
GetReleaseStatusRequest
{}
}
func
(
m
*
GetReleaseStatusRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
GetReleaseStatusRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetReleaseStatusRequest
)
ProtoMessage
()
{}
func
(
*
GetReleaseStatusRequest
)
ProtoMessage
()
{}
func
(
*
GetReleaseStatusRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
3
}
}
func
(
*
GetReleaseStatusRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
3
}
}
func
(
m
*
GetReleaseStatusRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_GetReleaseStatusRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
GetReleaseStatusRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_GetReleaseStatusRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
GetReleaseStatusRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_GetReleaseStatusRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
GetReleaseStatusRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_GetReleaseStatusRequest
.
Size
(
m
)
}
func
(
m
*
GetReleaseStatusRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_GetReleaseStatusRequest
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_GetReleaseStatusRequest
proto
.
InternalMessageInfo
func
(
m
*
GetReleaseStatusRequest
)
GetName
()
string
{
func
(
m
*
GetReleaseStatusRequest
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -275,17 +334,39 @@ func (m *GetReleaseStatusRequest) GetVersion() int32 {
...
@@ -275,17 +334,39 @@ func (m *GetReleaseStatusRequest) GetVersion() int32 {
// GetReleaseStatusResponse is the response indicating the status of the named release.
// GetReleaseStatusResponse is the response indicating the status of the named release.
type
GetReleaseStatusResponse
struct
{
type
GetReleaseStatusResponse
struct
{
// Name is the name of the release.
// Name is the name of the release.
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// Info contains information about the release.
// Info contains information about the release.
Info
*
hapi_release4
.
Info
`protobuf:"bytes,2,opt,name=info
" json:"info,omitempty"`
Info
*
release
.
Info
`protobuf:"bytes,2,opt,name=info,proto3
" json:"info,omitempty"`
// Namespace the release was released into
// Namespace the release was released into
Namespace
string
`protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"`
Namespace
string
`protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
GetReleaseStatusResponse
)
Reset
()
{
*
m
=
GetReleaseStatusResponse
{}
}
func
(
m
*
GetReleaseStatusResponse
)
Reset
()
{
*
m
=
GetReleaseStatusResponse
{}
}
func
(
m
*
GetReleaseStatusResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
GetReleaseStatusResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetReleaseStatusResponse
)
ProtoMessage
()
{}
func
(
*
GetReleaseStatusResponse
)
ProtoMessage
()
{}
func
(
*
GetReleaseStatusResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
4
}
}
func
(
*
GetReleaseStatusResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
4
}
}
func
(
m
*
GetReleaseStatusResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_GetReleaseStatusResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
GetReleaseStatusResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_GetReleaseStatusResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
GetReleaseStatusResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_GetReleaseStatusResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
GetReleaseStatusResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_GetReleaseStatusResponse
.
Size
(
m
)
}
func
(
m
*
GetReleaseStatusResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_GetReleaseStatusResponse
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_GetReleaseStatusResponse
proto
.
InternalMessageInfo
func
(
m
*
GetReleaseStatusResponse
)
GetName
()
string
{
func
(
m
*
GetReleaseStatusResponse
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -294,7 +375,7 @@ func (m *GetReleaseStatusResponse) GetName() string {
...
@@ -294,7 +375,7 @@ func (m *GetReleaseStatusResponse) GetName() string {
return
""
return
""
}
}
func
(
m
*
GetReleaseStatusResponse
)
GetInfo
()
*
hapi_release4
.
Info
{
func
(
m
*
GetReleaseStatusResponse
)
GetInfo
()
*
release
.
Info
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Info
return
m
.
Info
}
}
...
@@ -311,15 +392,37 @@ func (m *GetReleaseStatusResponse) GetNamespace() string {
...
@@ -311,15 +392,37 @@ func (m *GetReleaseStatusResponse) GetNamespace() string {
// GetReleaseContentRequest is a request to get the contents of a release.
// GetReleaseContentRequest is a request to get the contents of a release.
type
GetReleaseContentRequest
struct
{
type
GetReleaseContentRequest
struct
{
// The name of the release
// The name of the release
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// Version is the version of the release
// Version is the version of the release
Version
int32
`protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
Version
int32
`protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
GetReleaseContentRequest
)
Reset
()
{
*
m
=
GetReleaseContentRequest
{}
}
func
(
m
*
GetReleaseContentRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetReleaseContentRequest
)
ProtoMessage
()
{}
func
(
*
GetReleaseContentRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
5
}
}
func
(
m
*
GetReleaseContentRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_GetReleaseContentRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
GetReleaseContentRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_GetReleaseContentRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
GetReleaseContentRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_GetReleaseContentRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
GetReleaseContentRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_GetReleaseContentRequest
.
Size
(
m
)
}
func
(
m
*
GetReleaseContentRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_GetReleaseContentRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
GetReleaseContentRequest
)
Reset
()
{
*
m
=
GetReleaseContentRequest
{}
}
var
xxx_messageInfo_GetReleaseContentRequest
proto
.
InternalMessageInfo
func
(
m
*
GetReleaseContentRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetReleaseContentRequest
)
ProtoMessage
()
{}
func
(
*
GetReleaseContentRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
5
}
}
func
(
m
*
GetReleaseContentRequest
)
GetName
()
string
{
func
(
m
*
GetReleaseContentRequest
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -338,15 +441,37 @@ func (m *GetReleaseContentRequest) GetVersion() int32 {
...
@@ -338,15 +441,37 @@ func (m *GetReleaseContentRequest) GetVersion() int32 {
// GetReleaseContentResponse is a response containing the contents of a release.
// GetReleaseContentResponse is a response containing the contents of a release.
type
GetReleaseContentResponse
struct
{
type
GetReleaseContentResponse
struct
{
// The release content
// The release content
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
GetReleaseContentResponse
)
Reset
()
{
*
m
=
GetReleaseContentResponse
{}
}
func
(
m
*
GetReleaseContentResponse
)
Reset
()
{
*
m
=
GetReleaseContentResponse
{}
}
func
(
m
*
GetReleaseContentResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
GetReleaseContentResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetReleaseContentResponse
)
ProtoMessage
()
{}
func
(
*
GetReleaseContentResponse
)
ProtoMessage
()
{}
func
(
*
GetReleaseContentResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
6
}
}
func
(
*
GetReleaseContentResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
6
}
}
func
(
m
*
GetReleaseContentResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_GetReleaseContentResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
GetReleaseContentResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_GetReleaseContentResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
GetReleaseContentResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_GetReleaseContentResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
GetReleaseContentResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_GetReleaseContentResponse
.
Size
(
m
)
}
func
(
m
*
GetReleaseContentResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_GetReleaseContentResponse
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_GetReleaseContentResponse
proto
.
InternalMessageInfo
func
(
m
*
GetReleaseContentResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
GetReleaseContentResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -356,41 +481,63 @@ func (m *GetReleaseContentResponse) GetRelease() *hapi_release5.Release {
...
@@ -356,41 +481,63 @@ func (m *GetReleaseContentResponse) GetRelease() *hapi_release5.Release {
// UpdateReleaseRequest updates a release.
// UpdateReleaseRequest updates a release.
type
UpdateReleaseRequest
struct
{
type
UpdateReleaseRequest
struct
{
// The name of the release
// The name of the release
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// Chart is the protobuf representation of a chart.
// Chart is the protobuf representation of a chart.
Chart
*
hapi_chart3
.
Chart
`protobuf:"bytes,2,opt,name=chart
" json:"chart,omitempty"`
Chart
*
chart
.
Chart
`protobuf:"bytes,2,opt,name=chart,proto3
" json:"chart,omitempty"`
// Values is a string containing (unparsed) YAML values.
// Values is a string containing (unparsed) YAML values.
Values
*
hapi_chart
.
Config
`protobuf:"bytes,3,opt,name=values
" json:"values,omitempty"`
Values
*
chart
.
Config
`protobuf:"bytes,3,opt,name=values,proto3
" json:"values,omitempty"`
// dry_run, if true, will run through the release logic, but neither create
// 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"`
DryRun
bool
`protobuf:"varint,4,opt,name=dry_run,json=dryRun
,proto3
" json:"dry_run,omitempty"`
// DisableHooks causes the server to skip running any hooks for the upgrade.
// DisableHooks causes the server to skip running any hooks for the upgrade.
DisableHooks
bool
`protobuf:"varint,5,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"`
DisableHooks
bool
`protobuf:"varint,5,opt,name=disable_hooks,json=disableHooks
,proto3
" json:"disable_hooks,omitempty"`
// Performs pods restart for resources if applicable
// Performs pods restart for resources if applicable
Recreate
bool
`protobuf:"varint,6,opt,name=recreate" json:"recreate,omitempty"`
Recreate
bool
`protobuf:"varint,6,opt,name=recreate
,proto3
" json:"recreate,omitempty"`
// timeout specifies the max amount of time any kubernetes client command can run.
// timeout specifies the max amount of time any kubernetes client command can run.
Timeout
int64
`protobuf:"varint,7,opt,name=timeout" json:"timeout,omitempty"`
Timeout
int64
`protobuf:"varint,7,opt,name=timeout
,proto3
" json:"timeout,omitempty"`
// ResetValues will cause Tiller to ignore stored values, resetting to default values.
// ResetValues will cause Tiller to ignore stored values, resetting to default values.
ResetValues
bool
`protobuf:"varint,8,opt,name=reset_values,json=resetValues" json:"reset_values,omitempty"`
ResetValues
bool
`protobuf:"varint,8,opt,name=reset_values,json=resetValues
,proto3
" json:"reset_values,omitempty"`
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
// before marking the release as successful. It will wait for as long as timeout
// before marking the release as successful. It will wait for as long as timeout
Wait
bool
`protobuf:"varint,9,opt,name=wait" json:"wait,omitempty"`
Wait
bool
`protobuf:"varint,9,opt,name=wait
,proto3
" json:"wait,omitempty"`
// ReuseValues will cause Tiller to reuse the values from the last release.
// ReuseValues will cause Tiller to reuse the values from the last release.
// This is ignored if reset_values is set.
// This is ignored if reset_values is set.
ReuseValues
bool
`protobuf:"varint,10,opt,name=reuse_values,json=reuseValues" json:"reuse_values,omitempty"`
ReuseValues
bool
`protobuf:"varint,10,opt,name=reuse_values,json=reuseValues
,proto3
" json:"reuse_values,omitempty"`
// Force resource update through delete/recreate if needed.
// Force resource update through delete/recreate if needed.
Force
bool
`protobuf:"varint,11,opt,name=force" json:"force,omitempty"`
Force
bool
`protobuf:"varint,11,opt,name=force
,proto3
" json:"force,omitempty"`
// Description, if set, will set the description for the updated release
// Description, if set, will set the description for the updated release
Description
string
`protobuf:"bytes,12,opt,name=description" json:"description,omitempty"`
Description
string
`protobuf:"bytes,12,opt,name=description
,proto3
" json:"description,omitempty"`
// Render subchart notes if enabled
// Render subchart notes if enabled
SubNotes
bool
`protobuf:"varint,13,opt,name=subNotes" json:"subNotes,omitempty"`
SubNotes
bool
`protobuf:"varint,13,opt,name=subNotes
,proto3
" json:"subNotes,omitempty"`
// Allow deletion of new resources created in this update when update failed
// Allow deletion of new resources created in this update when update failed
CleanupOnFail
bool
`protobuf:"varint,14,opt,name=cleanup_on_fail,json=cleanupOnFail" json:"cleanup_on_fail,omitempty"`
CleanupOnFail
bool
`protobuf:"varint,14,opt,name=cleanup_on_fail,json=cleanupOnFail,proto3" json:"cleanup_on_fail,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
UpdateReleaseRequest
)
Reset
()
{
*
m
=
UpdateReleaseRequest
{}
}
func
(
m
*
UpdateReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpdateReleaseRequest
)
ProtoMessage
()
{}
func
(
*
UpdateReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
7
}
}
func
(
m
*
UpdateReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UpdateReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
UpdateReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_UpdateReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
UpdateReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_UpdateReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
UpdateReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_UpdateReleaseRequest
.
Size
(
m
)
}
func
(
m
*
UpdateReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_UpdateReleaseRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
UpdateReleaseRequest
)
Reset
()
{
*
m
=
UpdateReleaseRequest
{}
}
var
xxx_messageInfo_UpdateReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
UpdateReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpdateReleaseRequest
)
ProtoMessage
()
{}
func
(
*
UpdateReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
7
}
}
func
(
m
*
UpdateReleaseRequest
)
GetName
()
string
{
func
(
m
*
UpdateReleaseRequest
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -399,14 +546,14 @@ func (m *UpdateReleaseRequest) GetName() string {
...
@@ -399,14 +546,14 @@ func (m *UpdateReleaseRequest) GetName() string {
return
""
return
""
}
}
func
(
m
*
UpdateReleaseRequest
)
GetChart
()
*
hapi_chart3
.
Chart
{
func
(
m
*
UpdateReleaseRequest
)
GetChart
()
*
chart
.
Chart
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Chart
return
m
.
Chart
}
}
return
nil
return
nil
}
}
func
(
m
*
UpdateReleaseRequest
)
GetValues
()
*
hapi_
chart
.
Config
{
func
(
m
*
UpdateReleaseRequest
)
GetValues
()
*
chart
.
Config
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Values
return
m
.
Values
}
}
...
@@ -492,15 +639,37 @@ func (m *UpdateReleaseRequest) GetCleanupOnFail() bool {
...
@@ -492,15 +639,37 @@ func (m *UpdateReleaseRequest) GetCleanupOnFail() bool {
// UpdateReleaseResponse is the response to an update request.
// UpdateReleaseResponse is the response to an update request.
type
UpdateReleaseResponse
struct
{
type
UpdateReleaseResponse
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
UpdateReleaseResponse
)
Reset
()
{
*
m
=
UpdateReleaseResponse
{}
}
func
(
m
*
UpdateReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpdateReleaseResponse
)
ProtoMessage
()
{}
func
(
*
UpdateReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
8
}
}
func
(
m
*
UpdateReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UpdateReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
UpdateReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_UpdateReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
UpdateReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_UpdateReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
UpdateReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_UpdateReleaseResponse
.
Size
(
m
)
}
func
(
m
*
UpdateReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_UpdateReleaseResponse
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
UpdateReleaseResponse
)
Reset
()
{
*
m
=
UpdateReleaseResponse
{}
}
var
xxx_messageInfo_UpdateReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
UpdateReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UpdateReleaseResponse
)
ProtoMessage
()
{}
func
(
*
UpdateReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
8
}
}
func
(
m
*
UpdateReleaseResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
UpdateReleaseResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -509,32 +678,54 @@ func (m *UpdateReleaseResponse) GetRelease() *hapi_release5.Release {
...
@@ -509,32 +678,54 @@ func (m *UpdateReleaseResponse) GetRelease() *hapi_release5.Release {
type
RollbackReleaseRequest
struct
{
type
RollbackReleaseRequest
struct
{
// The name of the release
// The name of the release
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// dry_run, if true, will run through the release logic but no create
// dry_run, if true, will run through the release logic but no create
DryRun
bool
`protobuf:"varint,2,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
DryRun
bool
`protobuf:"varint,2,opt,name=dry_run,json=dryRun
,proto3
" json:"dry_run,omitempty"`
// DisableHooks causes the server to skip running any hooks for the rollback
// DisableHooks causes the server to skip running any hooks for the rollback
DisableHooks
bool
`protobuf:"varint,3,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"`
DisableHooks
bool
`protobuf:"varint,3,opt,name=disable_hooks,json=disableHooks
,proto3
" json:"disable_hooks,omitempty"`
// Version is the version of the release to deploy.
// Version is the version of the release to deploy.
Version
int32
`protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
Version
int32
`protobuf:"varint,4,opt,name=version
,proto3
" json:"version,omitempty"`
// Performs pods restart for resources if applicable
// Performs pods restart for resources if applicable
Recreate
bool
`protobuf:"varint,5,opt,name=recreate" json:"recreate,omitempty"`
Recreate
bool
`protobuf:"varint,5,opt,name=recreate
,proto3
" json:"recreate,omitempty"`
// timeout specifies the max amount of time any kubernetes client command can run.
// timeout specifies the max amount of time any kubernetes client command can run.
Timeout
int64
`protobuf:"varint,6,opt,name=timeout" json:"timeout,omitempty"`
Timeout
int64
`protobuf:"varint,6,opt,name=timeout
,proto3
" json:"timeout,omitempty"`
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
// before marking the release as successful. It will wait for as long as timeout
// before marking the release as successful. It will wait for as long as timeout
Wait
bool
`protobuf:"varint,7,opt,name=wait" json:"wait,omitempty"`
Wait
bool
`protobuf:"varint,7,opt,name=wait
,proto3
" json:"wait,omitempty"`
// Force resource update through delete/recreate if needed.
// Force resource update through delete/recreate if needed.
Force
bool
`protobuf:"varint,8,opt,name=force" json:"force,omitempty"`
Force
bool
`protobuf:"varint,8,opt,name=force
,proto3
" json:"force,omitempty"`
// Description, if set, will set the description for the rollback
// Description, if set, will set the description for the rollback
Description
string
`protobuf:"bytes,9,opt,name=description" json:"description,omitempty"`
Description
string
`protobuf:"bytes,9,opt,name=description
,proto3
" json:"description,omitempty"`
// Allow deletion of new resources created in this rollback when rollback failed
// Allow deletion of new resources created in this rollback when rollback failed
CleanupOnFail
bool
`protobuf:"varint,10,opt,name=cleanup_on_fail,json=cleanupOnFail" json:"cleanup_on_fail,omitempty"`
CleanupOnFail
bool
`protobuf:"varint,10,opt,name=cleanup_on_fail,json=cleanupOnFail,proto3" json:"cleanup_on_fail,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
RollbackReleaseRequest
)
Reset
()
{
*
m
=
RollbackReleaseRequest
{}
}
func
(
m
*
RollbackReleaseRequest
)
Reset
()
{
*
m
=
RollbackReleaseRequest
{}
}
func
(
m
*
RollbackReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
RollbackReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RollbackReleaseRequest
)
ProtoMessage
()
{}
func
(
*
RollbackReleaseRequest
)
ProtoMessage
()
{}
func
(
*
RollbackReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
9
}
}
func
(
*
RollbackReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
9
}
}
func
(
m
*
RollbackReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RollbackReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
RollbackReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_RollbackReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
RollbackReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_RollbackReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
RollbackReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_RollbackReleaseRequest
.
Size
(
m
)
}
func
(
m
*
RollbackReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_RollbackReleaseRequest
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_RollbackReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
RollbackReleaseRequest
)
GetName
()
string
{
func
(
m
*
RollbackReleaseRequest
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -608,15 +799,37 @@ func (m *RollbackReleaseRequest) GetCleanupOnFail() bool {
...
@@ -608,15 +799,37 @@ func (m *RollbackReleaseRequest) GetCleanupOnFail() bool {
// RollbackReleaseResponse is the response to an update request.
// RollbackReleaseResponse is the response to an update request.
type
RollbackReleaseResponse
struct
{
type
RollbackReleaseResponse
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
RollbackReleaseResponse
)
Reset
()
{
*
m
=
RollbackReleaseResponse
{}
}
func
(
m
*
RollbackReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RollbackReleaseResponse
)
ProtoMessage
()
{}
func
(
*
RollbackReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
10
}
}
func
(
m
*
RollbackReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RollbackReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
RollbackReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_RollbackReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
RollbackReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_RollbackReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
RollbackReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_RollbackReleaseResponse
.
Size
(
m
)
}
func
(
m
*
RollbackReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_RollbackReleaseResponse
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
RollbackReleaseResponse
)
Reset
()
{
*
m
=
RollbackReleaseResponse
{}
}
var
xxx_messageInfo_RollbackReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
RollbackReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RollbackReleaseResponse
)
ProtoMessage
()
{}
func
(
*
RollbackReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
10
}
}
func
(
m
*
RollbackReleaseResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
RollbackReleaseResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -626,47 +839,69 @@ func (m *RollbackReleaseResponse) GetRelease() *hapi_release5.Release {
...
@@ -626,47 +839,69 @@ func (m *RollbackReleaseResponse) GetRelease() *hapi_release5.Release {
// 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.
Chart
*
hapi_chart3
.
Chart
`protobuf:"bytes,1,opt,name=chart
" json:"chart,omitempty"`
Chart
*
chart
.
Chart
`protobuf:"bytes,1,opt,name=chart,proto3
" json:"chart,omitempty"`
// Values is a string containing (unparsed) YAML values.
// Values is a string containing (unparsed) YAML values.
Values
*
hapi_chart
.
Config
`protobuf:"bytes,2,opt,name=values
" json:"values,omitempty"`
Values
*
chart
.
Config
`protobuf:"bytes,2,opt,name=values,proto3
" json:"values,omitempty"`
// DryRun, if true, will run through the release logic, but neither create
// DryRun, if true, will run through the release logic, but neither create
// a release object nor deploy to Kubernetes. The release object returned
// a release object nor deploy to Kubernetes. The release object returned
// in the response will be fake.
// in the response will be fake.
DryRun
bool
`protobuf:"varint,3,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
DryRun
bool
`protobuf:"varint,3,opt,name=dry_run,json=dryRun
,proto3
" json:"dry_run,omitempty"`
// Name is the candidate release name. This must be unique to the
// Name is the candidate release name. This must be unique to the
// namespace, otherwise the server will return an error. If it is not
// namespace, otherwise the server will return an error. If it is not
// supplied, the server will autogenerate one.
// supplied, the server will autogenerate one.
Name
string
`protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,4,opt,name=name
,proto3
" json:"name,omitempty"`
// DisableHooks causes the server to skip running any hooks for the install.
// DisableHooks causes the server to skip running any hooks for the install.
DisableHooks
bool
`protobuf:"varint,5,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"`
DisableHooks
bool
`protobuf:"varint,5,opt,name=disable_hooks,json=disableHooks
,proto3
" json:"disable_hooks,omitempty"`
// Namespace is the kubernetes namespace of the release.
// Namespace is the kubernetes namespace of the release.
Namespace
string
`protobuf:"bytes,6,opt,name=namespace" json:"namespace,omitempty"`
Namespace
string
`protobuf:"bytes,6,opt,name=namespace
,proto3
" json:"namespace,omitempty"`
// Reuse_name requests that Tiller re-uses a name, instead of erroring out.
// Reuse_name requests that Tiller re-uses a name, instead of erroring out.
ReuseName
bool
`protobuf:"varint,7,opt,name=reuse_name,json=reuseName" json:"reuse_name,omitempty"`
ReuseName
bool
`protobuf:"varint,7,opt,name=reuse_name,json=reuseName
,proto3
" json:"reuse_name,omitempty"`
// timeout specifies the max amount of time any kubernetes client command can run.
// timeout specifies the max amount of time any kubernetes client command can run.
Timeout
int64
`protobuf:"varint,8,opt,name=timeout" json:"timeout,omitempty"`
Timeout
int64
`protobuf:"varint,8,opt,name=timeout
,proto3
" json:"timeout,omitempty"`
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
// wait, if true, will wait until all Pods, PVCs, and Services are in a ready state
// before marking the release as successful. It will wait for as long as timeout
// before marking the release as successful. It will wait for as long as timeout
Wait
bool
`protobuf:"varint,9,opt,name=wait" json:"wait,omitempty"`
Wait
bool
`protobuf:"varint,9,opt,name=wait
,proto3
" json:"wait,omitempty"`
DisableCrdHook
bool
`protobuf:"varint,10,opt,name=disable_crd_hook,json=disableCrdHook" json:"disable_crd_hook,omitempty"`
DisableCrdHook
bool
`protobuf:"varint,10,opt,name=disable_crd_hook,json=disableCrdHook
,proto3
" json:"disable_crd_hook,omitempty"`
// Description, if set, will set the description for the installed release
// Description, if set, will set the description for the installed release
Description
string
`protobuf:"bytes,11,opt,name=description" json:"description,omitempty"`
Description
string
`protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
SubNotes
bool
`protobuf:"varint,12,opt,name=subNotes" json:"subNotes,omitempty"`
SubNotes
bool
`protobuf:"varint,12,opt,name=subNotes,proto3" json:"subNotes,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
InstallReleaseRequest
)
Reset
()
{
*
m
=
InstallReleaseRequest
{}
}
func
(
m
*
InstallReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InstallReleaseRequest
)
ProtoMessage
()
{}
func
(
*
InstallReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
11
}
}
func
(
m
*
InstallReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_InstallReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
InstallReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_InstallReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
InstallReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_InstallReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
InstallReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_InstallReleaseRequest
.
Size
(
m
)
}
func
(
m
*
InstallReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_InstallReleaseRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
InstallReleaseRequest
)
Reset
()
{
*
m
=
InstallReleaseRequest
{}
}
var
xxx_messageInfo_InstallReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
InstallReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InstallReleaseRequest
)
ProtoMessage
()
{}
func
(
*
InstallReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
11
}
}
func
(
m
*
InstallReleaseRequest
)
GetChart
()
*
hapi_chart3
.
Chart
{
func
(
m
*
InstallReleaseRequest
)
GetChart
()
*
chart
.
Chart
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Chart
return
m
.
Chart
}
}
return
nil
return
nil
}
}
func
(
m
*
InstallReleaseRequest
)
GetValues
()
*
hapi_
chart
.
Config
{
func
(
m
*
InstallReleaseRequest
)
GetValues
()
*
chart
.
Config
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Values
return
m
.
Values
}
}
...
@@ -745,15 +980,37 @@ func (m *InstallReleaseRequest) GetSubNotes() bool {
...
@@ -745,15 +980,37 @@ func (m *InstallReleaseRequest) GetSubNotes() bool {
// InstallReleaseResponse is the response from a release installation.
// InstallReleaseResponse is the response from a release installation.
type
InstallReleaseResponse
struct
{
type
InstallReleaseResponse
struct
{
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3" json:"release,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
InstallReleaseResponse
)
Reset
()
{
*
m
=
InstallReleaseResponse
{}
}
func
(
m
*
InstallReleaseResponse
)
Reset
()
{
*
m
=
InstallReleaseResponse
{}
}
func
(
m
*
InstallReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
InstallReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
InstallReleaseResponse
)
ProtoMessage
()
{}
func
(
*
InstallReleaseResponse
)
ProtoMessage
()
{}
func
(
*
InstallReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
12
}
}
func
(
*
InstallReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
12
}
}
func
(
m
*
InstallReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_InstallReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
InstallReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_InstallReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
InstallReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_InstallReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
InstallReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_InstallReleaseResponse
.
Size
(
m
)
}
func
(
m
*
InstallReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_InstallReleaseResponse
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_InstallReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
InstallReleaseResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
InstallReleaseResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -763,21 +1020,43 @@ func (m *InstallReleaseResponse) GetRelease() *hapi_release5.Release {
...
@@ -763,21 +1020,43 @@ func (m *InstallReleaseResponse) GetRelease() *hapi_release5.Release {
// UninstallReleaseRequest represents a request to uninstall a named release.
// UninstallReleaseRequest represents a request to uninstall a named release.
type
UninstallReleaseRequest
struct
{
type
UninstallReleaseRequest
struct
{
// Name is the name of the release to delete.
// Name is the name of the release to delete.
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// DisableHooks causes the server to skip running any hooks for the uninstall.
// DisableHooks causes the server to skip running any hooks for the uninstall.
DisableHooks
bool
`protobuf:"varint,2,opt,name=disable_hooks,json=disableHooks" json:"disable_hooks,omitempty"`
DisableHooks
bool
`protobuf:"varint,2,opt,name=disable_hooks,json=disableHooks
,proto3
" json:"disable_hooks,omitempty"`
// Purge removes the release from the store and make its name free for later use.
// Purge removes the release from the store and make its name free for later use.
Purge
bool
`protobuf:"varint,3,opt,name=purge" json:"purge,omitempty"`
Purge
bool
`protobuf:"varint,3,opt,name=purge
,proto3
" json:"purge,omitempty"`
// timeout specifies the max amount of time any kubernetes client command can run.
// timeout specifies the max amount of time any kubernetes client command can run.
Timeout
int64
`protobuf:"varint,4,opt,name=timeout" json:"timeout,omitempty"`
Timeout
int64
`protobuf:"varint,4,opt,name=timeout
,proto3
" json:"timeout,omitempty"`
// Description, if set, will set the description for the uninstalled release
// Description, if set, will set the description for the uninstalled release
Description
string
`protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
Description
string
`protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
UninstallReleaseRequest
)
Reset
()
{
*
m
=
UninstallReleaseRequest
{}
}
func
(
m
*
UninstallReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UninstallReleaseRequest
)
ProtoMessage
()
{}
func
(
*
UninstallReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
13
}
}
func
(
m
*
UninstallReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UninstallReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
UninstallReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_UninstallReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
UninstallReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_UninstallReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
UninstallReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_UninstallReleaseRequest
.
Size
(
m
)
}
func
(
m
*
UninstallReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_UninstallReleaseRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
UninstallReleaseRequest
)
Reset
()
{
*
m
=
UninstallReleaseRequest
{}
}
var
xxx_messageInfo_UninstallReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
UninstallReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UninstallReleaseRequest
)
ProtoMessage
()
{}
func
(
*
UninstallReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
13
}
}
func
(
m
*
UninstallReleaseRequest
)
GetName
()
string
{
func
(
m
*
UninstallReleaseRequest
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -817,17 +1096,39 @@ func (m *UninstallReleaseRequest) GetDescription() string {
...
@@ -817,17 +1096,39 @@ func (m *UninstallReleaseRequest) GetDescription() string {
// UninstallReleaseResponse represents a successful response to an uninstall request.
// UninstallReleaseResponse represents a successful response to an uninstall request.
type
UninstallReleaseResponse
struct
{
type
UninstallReleaseResponse
struct
{
// Release is the release that was marked deleted.
// Release is the release that was marked deleted.
Release
*
hapi_release5
.
Release
`protobuf:"bytes,1,opt,name=release
" json:"release,omitempty"`
Release
*
release
.
Release
`protobuf:"bytes,1,opt,name=release,proto3
" json:"release,omitempty"`
// Info is an uninstall message
// Info is an uninstall message
Info
string
`protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
Info
string
`protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
UninstallReleaseResponse
)
Reset
()
{
*
m
=
UninstallReleaseResponse
{}
}
func
(
m
*
UninstallReleaseResponse
)
Reset
()
{
*
m
=
UninstallReleaseResponse
{}
}
func
(
m
*
UninstallReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
UninstallReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UninstallReleaseResponse
)
ProtoMessage
()
{}
func
(
*
UninstallReleaseResponse
)
ProtoMessage
()
{}
func
(
*
UninstallReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
14
}
}
func
(
*
UninstallReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
14
}
}
func
(
m
*
UninstallReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_UninstallReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
UninstallReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_UninstallReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
UninstallReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_UninstallReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
UninstallReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_UninstallReleaseResponse
.
Size
(
m
)
}
func
(
m
*
UninstallReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_UninstallReleaseResponse
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_UninstallReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
UninstallReleaseResponse
)
GetRelease
()
*
hapi_release5
.
Release
{
func
(
m
*
UninstallReleaseResponse
)
GetRelease
()
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Release
return
m
.
Release
}
}
...
@@ -843,23 +1144,67 @@ func (m *UninstallReleaseResponse) GetInfo() string {
...
@@ -843,23 +1144,67 @@ func (m *UninstallReleaseResponse) GetInfo() string {
// GetVersionRequest requests for version information.
// GetVersionRequest requests for version information.
type
GetVersionRequest
struct
{
type
GetVersionRequest
struct
{
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
GetVersionRequest
)
Reset
()
{
*
m
=
GetVersionRequest
{}
}
func
(
m
*
GetVersionRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetVersionRequest
)
ProtoMessage
()
{}
func
(
*
GetVersionRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
15
}
}
func
(
m
*
GetVersionRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_GetVersionRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
GetVersionRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_GetVersionRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
GetVersionRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_GetVersionRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
GetVersionRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_GetVersionRequest
.
Size
(
m
)
}
func
(
m
*
GetVersionRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_GetVersionRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
GetVersionRequest
)
Reset
()
{
*
m
=
GetVersionRequest
{}
}
var
xxx_messageInfo_GetVersionRequest
proto
.
InternalMessageInfo
func
(
m
*
GetVersionRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetVersionRequest
)
ProtoMessage
()
{}
func
(
*
GetVersionRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
15
}
}
type
GetVersionResponse
struct
{
type
GetVersionResponse
struct
{
Version
*
hapi_version
.
Version
`protobuf:"bytes,1,opt,name=Version" json:"Version,omitempty"`
Version
*
version
.
Version
`protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
GetVersionResponse
)
Reset
()
{
*
m
=
GetVersionResponse
{}
}
func
(
m
*
GetVersionResponse
)
Reset
()
{
*
m
=
GetVersionResponse
{}
}
func
(
m
*
GetVersionResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
GetVersionResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetVersionResponse
)
ProtoMessage
()
{}
func
(
*
GetVersionResponse
)
ProtoMessage
()
{}
func
(
*
GetVersionResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
16
}
}
func
(
*
GetVersionResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
16
}
}
func
(
m
*
GetVersionResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_GetVersionResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
GetVersionResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_GetVersionResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
GetVersionResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_GetVersionResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
GetVersionResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_GetVersionResponse
.
Size
(
m
)
}
func
(
m
*
GetVersionResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_GetVersionResponse
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_GetVersionResponse
proto
.
InternalMessageInfo
func
(
m
*
GetVersionResponse
)
GetVersion
()
*
hapi_
version
.
Version
{
func
(
m
*
GetVersionResponse
)
GetVersion
()
*
version
.
Version
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Version
return
m
.
Version
}
}
...
@@ -869,15 +1214,37 @@ func (m *GetVersionResponse) GetVersion() *hapi_version.Version {
...
@@ -869,15 +1214,37 @@ func (m *GetVersionResponse) GetVersion() *hapi_version.Version {
// GetHistoryRequest requests a release's history.
// GetHistoryRequest requests a release's history.
type
GetHistoryRequest
struct
{
type
GetHistoryRequest
struct
{
// The name of the release.
// The name of the release.
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// The maximum number of releases to include.
// The maximum number of releases to include.
Max
int32
`protobuf:"varint,2,opt,name=max" json:"max,omitempty"`
Max
int32
`protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
GetHistoryRequest
)
Reset
()
{
*
m
=
GetHistoryRequest
{}
}
func
(
m
*
GetHistoryRequest
)
Reset
()
{
*
m
=
GetHistoryRequest
{}
}
func
(
m
*
GetHistoryRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
GetHistoryRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetHistoryRequest
)
ProtoMessage
()
{}
func
(
*
GetHistoryRequest
)
ProtoMessage
()
{}
func
(
*
GetHistoryRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
17
}
}
func
(
*
GetHistoryRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
17
}
}
func
(
m
*
GetHistoryRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_GetHistoryRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
GetHistoryRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_GetHistoryRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
GetHistoryRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_GetHistoryRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
GetHistoryRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_GetHistoryRequest
.
Size
(
m
)
}
func
(
m
*
GetHistoryRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_GetHistoryRequest
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_GetHistoryRequest
proto
.
InternalMessageInfo
func
(
m
*
GetHistoryRequest
)
GetName
()
string
{
func
(
m
*
GetHistoryRequest
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -895,15 +1262,37 @@ func (m *GetHistoryRequest) GetMax() int32 {
...
@@ -895,15 +1262,37 @@ func (m *GetHistoryRequest) GetMax() int32 {
// GetHistoryResponse is received in response to a GetHistory rpc.
// GetHistoryResponse is received in response to a GetHistory rpc.
type
GetHistoryResponse
struct
{
type
GetHistoryResponse
struct
{
Releases
[]
*
hapi_release5
.
Release
`protobuf:"bytes,1,rep,name=releases" json:"releases,omitempty"`
Releases
[]
*
release
.
Release
`protobuf:"bytes,1,rep,name=releases,proto3" json:"releases,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
GetHistoryResponse
)
Reset
()
{
*
m
=
GetHistoryResponse
{}
}
func
(
m
*
GetHistoryResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetHistoryResponse
)
ProtoMessage
()
{}
func
(
*
GetHistoryResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
18
}
}
func
(
m
*
GetHistoryResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_GetHistoryResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
GetHistoryResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_GetHistoryResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
GetHistoryResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_GetHistoryResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
GetHistoryResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_GetHistoryResponse
.
Size
(
m
)
}
func
(
m
*
GetHistoryResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_GetHistoryResponse
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
GetHistoryResponse
)
Reset
()
{
*
m
=
GetHistoryResponse
{}
}
var
xxx_messageInfo_GetHistoryResponse
proto
.
InternalMessageInfo
func
(
m
*
GetHistoryResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetHistoryResponse
)
ProtoMessage
()
{}
func
(
*
GetHistoryResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
18
}
}
func
(
m
*
GetHistoryResponse
)
GetReleases
()
[]
*
hapi_release5
.
Release
{
func
(
m
*
GetHistoryResponse
)
GetReleases
()
[]
*
release
.
Release
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Releases
return
m
.
Releases
}
}
...
@@ -913,19 +1302,41 @@ func (m *GetHistoryResponse) GetReleases() []*hapi_release5.Release {
...
@@ -913,19 +1302,41 @@ func (m *GetHistoryResponse) GetReleases() []*hapi_release5.Release {
// TestReleaseRequest is a request to get the status of a release.
// TestReleaseRequest is a request to get the status of a release.
type
TestReleaseRequest
struct
{
type
TestReleaseRequest
struct
{
// Name is the name of the release
// Name is the name of the release
Name
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Name
string
`protobuf:"bytes,1,opt,name=name
,proto3
" json:"name,omitempty"`
// timeout specifies the max amount of time any kubernetes client command can run.
// timeout specifies the max amount of time any kubernetes client command can run.
Timeout
int64
`protobuf:"varint,2,opt,name=timeout" json:"timeout,omitempty"`
Timeout
int64
`protobuf:"varint,2,opt,name=timeout
,proto3
" json:"timeout,omitempty"`
// cleanup specifies whether or not to attempt pod deletion after test completes
// cleanup specifies whether or not to attempt pod deletion after test completes
Cleanup
bool
`protobuf:"varint,3,opt,name=cleanup" json:"cleanup,omitempty"`
Cleanup
bool
`protobuf:"varint,3,opt,name=cleanup
,proto3
" json:"cleanup,omitempty"`
// parallel specifies whether or not to run test pods in parallel
// parallel specifies whether or not to run test pods in parallel
Parallel
bool
`protobuf:"varint,4,opt,name=parallel" json:"parallel,omitempty"`
Parallel
bool
`protobuf:"varint,4,opt,name=parallel,proto3" json:"parallel,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
TestReleaseRequest
)
Reset
()
{
*
m
=
TestReleaseRequest
{}
}
func
(
m
*
TestReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TestReleaseRequest
)
ProtoMessage
()
{}
func
(
*
TestReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
19
}
}
func
(
m
*
TestReleaseRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TestReleaseRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
TestReleaseRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TestReleaseRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
TestReleaseRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TestReleaseRequest
.
Merge
(
dst
,
src
)
}
func
(
m
*
TestReleaseRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_TestReleaseRequest
.
Size
(
m
)
}
func
(
m
*
TestReleaseRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_TestReleaseRequest
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
TestReleaseRequest
)
Reset
()
{
*
m
=
TestReleaseRequest
{}
}
var
xxx_messageInfo_TestReleaseRequest
proto
.
InternalMessageInfo
func
(
m
*
TestReleaseRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TestReleaseRequest
)
ProtoMessage
()
{}
func
(
*
TestReleaseRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
19
}
}
func
(
m
*
TestReleaseRequest
)
GetName
()
string
{
func
(
m
*
TestReleaseRequest
)
GetName
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -957,14 +1368,36 @@ func (m *TestReleaseRequest) GetParallel() bool {
...
@@ -957,14 +1368,36 @@ func (m *TestReleaseRequest) GetParallel() bool {
// TestReleaseResponse represents a message from executing a test
// TestReleaseResponse represents a message from executing a test
type
TestReleaseResponse
struct
{
type
TestReleaseResponse
struct
{
Msg
string
`protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
Msg
string
`protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
Status
hapi_release1
.
TestRun_Status
`protobuf:"varint,2,opt,name=status,enum=hapi.release.TestRun_Status" json:"status,omitempty"`
Status
release
.
TestRun_Status
`protobuf:"varint,2,opt,name=status,proto3,enum=hapi.release.TestRun_Status" json:"status,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
TestReleaseResponse
)
Reset
()
{
*
m
=
TestReleaseResponse
{}
}
func
(
m
*
TestReleaseResponse
)
Reset
()
{
*
m
=
TestReleaseResponse
{}
}
func
(
m
*
TestReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TestReleaseResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
TestReleaseResponse
)
ProtoMessage
()
{}
func
(
*
TestReleaseResponse
)
ProtoMessage
()
{}
func
(
*
TestReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
20
}
}
func
(
*
TestReleaseResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_tiller_bb72ee4a42494734
,
[]
int
{
20
}
}
func
(
m
*
TestReleaseResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_TestReleaseResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
TestReleaseResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_TestReleaseResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
TestReleaseResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_TestReleaseResponse
.
Merge
(
dst
,
src
)
}
func
(
m
*
TestReleaseResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_TestReleaseResponse
.
Size
(
m
)
}
func
(
m
*
TestReleaseResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_TestReleaseResponse
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_TestReleaseResponse
proto
.
InternalMessageInfo
func
(
m
*
TestReleaseResponse
)
GetMsg
()
string
{
func
(
m
*
TestReleaseResponse
)
GetMsg
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -973,11 +1406,11 @@ func (m *TestReleaseResponse) GetMsg() string {
...
@@ -973,11 +1406,11 @@ func (m *TestReleaseResponse) GetMsg() string {
return
""
return
""
}
}
func
(
m
*
TestReleaseResponse
)
GetStatus
()
hapi_release1
.
TestRun_Status
{
func
(
m
*
TestReleaseResponse
)
GetStatus
()
release
.
TestRun_Status
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Status
return
m
.
Status
}
}
return
hapi_release1
.
TestRun_UNKNOWN
return
release
.
TestRun_UNKNOWN
}
}
func
init
()
{
func
init
()
{
...
@@ -1014,8 +1447,9 @@ var _ grpc.ClientConn
...
@@ -1014,8 +1447,9 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against.
// is compatible with the grpc package it is being compiled against.
const
_
=
grpc
.
SupportPackageIsVersion4
const
_
=
grpc
.
SupportPackageIsVersion4
// Client API for ReleaseService service
// ReleaseServiceClient is the client API for ReleaseService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type
ReleaseServiceClient
interface
{
type
ReleaseServiceClient
interface
{
// ListReleases retrieves release history.
// ListReleases retrieves release history.
// TODO: Allow filtering the set of releases by
// TODO: Allow filtering the set of releases by
...
@@ -1051,7 +1485,7 @@ func NewReleaseServiceClient(cc *grpc.ClientConn) ReleaseServiceClient {
...
@@ -1051,7 +1485,7 @@ func NewReleaseServiceClient(cc *grpc.ClientConn) ReleaseServiceClient {
}
}
func
(
c
*
releaseServiceClient
)
ListReleases
(
ctx
context
.
Context
,
in
*
ListReleasesRequest
,
opts
...
grpc
.
CallOption
)
(
ReleaseService_ListReleasesClient
,
error
)
{
func
(
c
*
releaseServiceClient
)
ListReleases
(
ctx
context
.
Context
,
in
*
ListReleasesRequest
,
opts
...
grpc
.
CallOption
)
(
ReleaseService_ListReleasesClient
,
error
)
{
stream
,
err
:=
grpc
.
NewClientStream
(
ctx
,
&
_ReleaseService_serviceDesc
.
Streams
[
0
],
c
.
cc
,
"/hapi.services.tiller.ReleaseService/ListReleases"
,
opts
...
)
stream
,
err
:=
c
.
cc
.
NewStream
(
ctx
,
&
_ReleaseService_serviceDesc
.
Streams
[
0
]
,
"/hapi.services.tiller.ReleaseService/ListReleases"
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1084,7 +1518,7 @@ func (x *releaseServiceListReleasesClient) Recv() (*ListReleasesResponse, error)
...
@@ -1084,7 +1518,7 @@ func (x *releaseServiceListReleasesClient) Recv() (*ListReleasesResponse, error)
func
(
c
*
releaseServiceClient
)
GetReleaseStatus
(
ctx
context
.
Context
,
in
*
GetReleaseStatusRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetReleaseStatusResponse
,
error
)
{
func
(
c
*
releaseServiceClient
)
GetReleaseStatus
(
ctx
context
.
Context
,
in
*
GetReleaseStatusRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetReleaseStatusResponse
,
error
)
{
out
:=
new
(
GetReleaseStatusResponse
)
out
:=
new
(
GetReleaseStatusResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/GetReleaseStatus"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/GetReleaseStatus"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1093,7 +1527,7 @@ func (c *releaseServiceClient) GetReleaseStatus(ctx context.Context, in *GetRele
...
@@ -1093,7 +1527,7 @@ func (c *releaseServiceClient) GetReleaseStatus(ctx context.Context, in *GetRele
func
(
c
*
releaseServiceClient
)
GetReleaseContent
(
ctx
context
.
Context
,
in
*
GetReleaseContentRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetReleaseContentResponse
,
error
)
{
func
(
c
*
releaseServiceClient
)
GetReleaseContent
(
ctx
context
.
Context
,
in
*
GetReleaseContentRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetReleaseContentResponse
,
error
)
{
out
:=
new
(
GetReleaseContentResponse
)
out
:=
new
(
GetReleaseContentResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/GetReleaseContent"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/GetReleaseContent"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1102,7 +1536,7 @@ func (c *releaseServiceClient) GetReleaseContent(ctx context.Context, in *GetRel
...
@@ -1102,7 +1536,7 @@ func (c *releaseServiceClient) GetReleaseContent(ctx context.Context, in *GetRel
func
(
c
*
releaseServiceClient
)
UpdateRelease
(
ctx
context
.
Context
,
in
*
UpdateReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
UpdateReleaseResponse
,
error
)
{
func
(
c
*
releaseServiceClient
)
UpdateRelease
(
ctx
context
.
Context
,
in
*
UpdateReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
UpdateReleaseResponse
,
error
)
{
out
:=
new
(
UpdateReleaseResponse
)
out
:=
new
(
UpdateReleaseResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/UpdateRelease"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/UpdateRelease"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1111,7 +1545,7 @@ func (c *releaseServiceClient) UpdateRelease(ctx context.Context, in *UpdateRele
...
@@ -1111,7 +1545,7 @@ func (c *releaseServiceClient) UpdateRelease(ctx context.Context, in *UpdateRele
func
(
c
*
releaseServiceClient
)
InstallRelease
(
ctx
context
.
Context
,
in
*
InstallReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
InstallReleaseResponse
,
error
)
{
func
(
c
*
releaseServiceClient
)
InstallRelease
(
ctx
context
.
Context
,
in
*
InstallReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
InstallReleaseResponse
,
error
)
{
out
:=
new
(
InstallReleaseResponse
)
out
:=
new
(
InstallReleaseResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/InstallRelease"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/InstallRelease"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1120,7 +1554,7 @@ func (c *releaseServiceClient) InstallRelease(ctx context.Context, in *InstallRe
...
@@ -1120,7 +1554,7 @@ func (c *releaseServiceClient) InstallRelease(ctx context.Context, in *InstallRe
func
(
c
*
releaseServiceClient
)
UninstallRelease
(
ctx
context
.
Context
,
in
*
UninstallReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
UninstallReleaseResponse
,
error
)
{
func
(
c
*
releaseServiceClient
)
UninstallRelease
(
ctx
context
.
Context
,
in
*
UninstallReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
UninstallReleaseResponse
,
error
)
{
out
:=
new
(
UninstallReleaseResponse
)
out
:=
new
(
UninstallReleaseResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/UninstallRelease"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/UninstallRelease"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1129,7 +1563,7 @@ func (c *releaseServiceClient) UninstallRelease(ctx context.Context, in *Uninsta
...
@@ -1129,7 +1563,7 @@ func (c *releaseServiceClient) UninstallRelease(ctx context.Context, in *Uninsta
func
(
c
*
releaseServiceClient
)
GetVersion
(
ctx
context
.
Context
,
in
*
GetVersionRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetVersionResponse
,
error
)
{
func
(
c
*
releaseServiceClient
)
GetVersion
(
ctx
context
.
Context
,
in
*
GetVersionRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetVersionResponse
,
error
)
{
out
:=
new
(
GetVersionResponse
)
out
:=
new
(
GetVersionResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/GetVersion"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/GetVersion"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1138,7 +1572,7 @@ func (c *releaseServiceClient) GetVersion(ctx context.Context, in *GetVersionReq
...
@@ -1138,7 +1572,7 @@ func (c *releaseServiceClient) GetVersion(ctx context.Context, in *GetVersionReq
func
(
c
*
releaseServiceClient
)
RollbackRelease
(
ctx
context
.
Context
,
in
*
RollbackReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
RollbackReleaseResponse
,
error
)
{
func
(
c
*
releaseServiceClient
)
RollbackRelease
(
ctx
context
.
Context
,
in
*
RollbackReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
*
RollbackReleaseResponse
,
error
)
{
out
:=
new
(
RollbackReleaseResponse
)
out
:=
new
(
RollbackReleaseResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/RollbackRelease"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/RollbackRelease"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1147,7 +1581,7 @@ func (c *releaseServiceClient) RollbackRelease(ctx context.Context, in *Rollback
...
@@ -1147,7 +1581,7 @@ func (c *releaseServiceClient) RollbackRelease(ctx context.Context, in *Rollback
func
(
c
*
releaseServiceClient
)
GetHistory
(
ctx
context
.
Context
,
in
*
GetHistoryRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetHistoryResponse
,
error
)
{
func
(
c
*
releaseServiceClient
)
GetHistory
(
ctx
context
.
Context
,
in
*
GetHistoryRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetHistoryResponse
,
error
)
{
out
:=
new
(
GetHistoryResponse
)
out
:=
new
(
GetHistoryResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/GetHistory"
,
in
,
out
,
c
.
cc
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/hapi.services.tiller.ReleaseService/GetHistory"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1155,7 +1589,7 @@ func (c *releaseServiceClient) GetHistory(ctx context.Context, in *GetHistoryReq
...
@@ -1155,7 +1589,7 @@ func (c *releaseServiceClient) GetHistory(ctx context.Context, in *GetHistoryReq
}
}
func
(
c
*
releaseServiceClient
)
RunReleaseTest
(
ctx
context
.
Context
,
in
*
TestReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
ReleaseService_RunReleaseTestClient
,
error
)
{
func
(
c
*
releaseServiceClient
)
RunReleaseTest
(
ctx
context
.
Context
,
in
*
TestReleaseRequest
,
opts
...
grpc
.
CallOption
)
(
ReleaseService_RunReleaseTestClient
,
error
)
{
stream
,
err
:=
grpc
.
NewClientStream
(
ctx
,
&
_ReleaseService_serviceDesc
.
Streams
[
1
],
c
.
cc
,
"/hapi.services.tiller.ReleaseService/RunReleaseTest"
,
opts
...
)
stream
,
err
:=
c
.
cc
.
NewStream
(
ctx
,
&
_ReleaseService_serviceDesc
.
Streams
[
1
]
,
"/hapi.services.tiller.ReleaseService/RunReleaseTest"
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1186,8 +1620,7 @@ func (x *releaseServiceRunReleaseTestClient) Recv() (*TestReleaseResponse, error
...
@@ -1186,8 +1620,7 @@ func (x *releaseServiceRunReleaseTestClient) Recv() (*TestReleaseResponse, error
return
m
,
nil
return
m
,
nil
}
}
// Server API for ReleaseService service
// ReleaseServiceServer is the server API for ReleaseService service.
type
ReleaseServiceServer
interface
{
type
ReleaseServiceServer
interface
{
// ListReleases retrieves release history.
// ListReleases retrieves release history.
// TODO: Allow filtering the set of releases by
// TODO: Allow filtering the set of releases by
...
@@ -1456,9 +1889,9 @@ var _ReleaseService_serviceDesc = grpc.ServiceDesc{
...
@@ -1456,9 +1889,9 @@ var _ReleaseService_serviceDesc = grpc.ServiceDesc{
Metadata
:
"hapi/services/tiller.proto"
,
Metadata
:
"hapi/services/tiller.proto"
,
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/services/tiller.proto"
,
fileDescriptor
0
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/services/tiller.proto"
,
fileDescriptor
_tiller_bb72ee4a42494734
)
}
var
fileDescriptor
0
=
[]
byte
{
var
fileDescriptor
_tiller_bb72ee4a42494734
=
[]
byte
{
// 1337 bytes of a gzipped FileDescriptorProto
// 1337 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x9c
,
0x58
,
0xdd
,
0x72
,
0xdb
,
0x44
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x9c
,
0x58
,
0xdd
,
0x72
,
0xdb
,
0x44
,
0x14
,
0x8e
,
0x2d
,
0xff
,
0x1e
,
0x27
,
0xae
,
0xbb
,
0x4d
,
0x13
,
0xd5
,
0x14
,
0x26
,
0x88
,
0xa1
,
0x75
,
0x14
,
0x8e
,
0x2d
,
0xff
,
0x1e
,
0x27
,
0xae
,
0xbb
,
0x4d
,
0x13
,
0xd5
,
0x14
,
0x26
,
0x88
,
0xa1
,
0x75
,
...
...
pkg/proto/hapi/version/version.pb.go
View file @
96258e3b
// Code generated by protoc-gen-go. DO NOT EDIT.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: hapi/version/version.proto
// source: hapi/version/version.proto
/*
Package version is a generated protocol buffer package.
It is generated from these files:
hapi/version/version.proto
It has these top-level messages:
Version
*/
package
version
package
version
import
proto
"github.com/golang/protobuf/proto"
import
proto
"github.com/golang/protobuf/proto"
...
@@ -29,15 +20,37 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
...
@@ -29,15 +20,37 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type
Version
struct
{
type
Version
struct
{
// Sem ver string for the version
// Sem ver string for the version
SemVer
string
`protobuf:"bytes,1,opt,name=sem_ver,json=semVer" json:"sem_ver,omitempty"`
SemVer
string
`protobuf:"bytes,1,opt,name=sem_ver,json=semVer,proto3" json:"sem_ver,omitempty"`
GitCommit
string
`protobuf:"bytes,2,opt,name=git_commit,json=gitCommit" json:"git_commit,omitempty"`
GitCommit
string
`protobuf:"bytes,2,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"`
GitTreeState
string
`protobuf:"bytes,3,opt,name=git_tree_state,json=gitTreeState" json:"git_tree_state,omitempty"`
GitTreeState
string
`protobuf:"bytes,3,opt,name=git_tree_state,json=gitTreeState,proto3" json:"git_tree_state,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Version
)
Reset
()
{
*
m
=
Version
{}
}
func
(
m
*
Version
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Version
)
ProtoMessage
()
{}
func
(
*
Version
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_version_227db6d1d83f2c17
,
[]
int
{
0
}
}
func
(
m
*
Version
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Version
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Version
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Version
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
dst
*
Version
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Version
.
Merge
(
dst
,
src
)
}
func
(
m
*
Version
)
XXX_Size
()
int
{
return
xxx_messageInfo_Version
.
Size
(
m
)
}
func
(
m
*
Version
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Version
.
DiscardUnknown
(
m
)
}
}
func
(
m
*
Version
)
Reset
()
{
*
m
=
Version
{}
}
var
xxx_messageInfo_Version
proto
.
InternalMessageInfo
func
(
m
*
Version
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Version
)
ProtoMessage
()
{}
func
(
*
Version
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
}
}
func
(
m
*
Version
)
GetSemVer
()
string
{
func
(
m
*
Version
)
GetSemVer
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -64,9 +77,9 @@ func init() {
...
@@ -64,9 +77,9 @@ func init() {
proto
.
RegisterType
((
*
Version
)(
nil
),
"hapi.version.Version"
)
proto
.
RegisterType
((
*
Version
)(
nil
),
"hapi.version.Version"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/version/version.proto"
,
fileDescriptor
0
)
}
func
init
()
{
proto
.
RegisterFile
(
"hapi/version/version.proto"
,
fileDescriptor
_version_227db6d1d83f2c17
)
}
var
fileDescriptor
0
=
[]
byte
{
var
fileDescriptor
_version_227db6d1d83f2c17
=
[]
byte
{
// 151 bytes of a gzipped FileDescriptorProto
// 151 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0x92
,
0xca
,
0x48
,
0x2c
,
0xc8
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0x92
,
0xca
,
0x48
,
0x2c
,
0xc8
,
0xd4
,
0x2f
,
0x4b
,
0x2d
,
0x2a
,
0xce
,
0xcc
,
0xcf
,
0x83
,
0xd1
,
0x7a
,
0x05
,
0x45
,
0xf9
,
0x25
,
0xf9
,
0xd4
,
0x2f
,
0x4b
,
0x2d
,
0x2a
,
0xce
,
0xcc
,
0xcf
,
0x83
,
0xd1
,
0x7a
,
0x05
,
0x45
,
0xf9
,
0x25
,
0xf9
,
...
...
pkg/storage/driver/cfgmaps_test.go
View file @
96258e3b
...
@@ -15,7 +15,6 @@ package driver
...
@@ -15,7 +15,6 @@ package driver
import
(
import
(
"encoding/base64"
"encoding/base64"
"reflect"
"testing"
"testing"
"github.com/gogo/protobuf/proto"
"github.com/gogo/protobuf/proto"
...
@@ -46,7 +45,7 @@ func TestConfigMapGet(t *testing.T) {
...
@@ -46,7 +45,7 @@ func TestConfigMapGet(t *testing.T) {
t
.
Fatalf
(
"Failed to get release: %s"
,
err
)
t
.
Fatalf
(
"Failed to get release: %s"
,
err
)
}
}
// compare fetched release with original
// compare fetched release with original
if
!
reflect
.
Deep
Equal
(
rel
,
got
)
{
if
!
shallowRelease
Equal
(
rel
,
got
)
{
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
}
}
}
}
...
@@ -78,7 +77,7 @@ func TestUNcompressedConfigMapGet(t *testing.T) {
...
@@ -78,7 +77,7 @@ func TestUNcompressedConfigMapGet(t *testing.T) {
t
.
Fatalf
(
"Failed to get release: %s"
,
err
)
t
.
Fatalf
(
"Failed to get release: %s"
,
err
)
}
}
// compare fetched release with original
// compare fetched release with original
if
!
reflect
.
Deep
Equal
(
rel
,
got
)
{
if
!
shallowRelease
Equal
(
rel
,
got
)
{
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
}
}
}
}
...
@@ -151,7 +150,7 @@ func TestConfigMapCreate(t *testing.T) {
...
@@ -151,7 +150,7 @@ func TestConfigMapCreate(t *testing.T) {
}
}
// compare created release with original
// compare created release with original
if
!
reflect
.
Deep
Equal
(
rel
,
got
)
{
if
!
shallowRelease
Equal
(
rel
,
got
)
{
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
}
}
}
}
...
...
pkg/storage/driver/mock_test.go
View file @
96258e3b
...
@@ -38,6 +38,16 @@ func releaseStub(name string, vers int32, namespace string, code rspb.Status_Cod
...
@@ -38,6 +38,16 @@ func releaseStub(name string, vers int32, namespace string, code rspb.Status_Cod
}
}
}
}
func
shallowReleaseEqual
(
r1
*
rspb
.
Release
,
r2
*
rspb
.
Release
)
bool
{
if
r1
.
Name
!=
r2
.
Name
||
r1
.
Namespace
!=
r2
.
Namespace
||
r1
.
Version
!=
r2
.
Version
||
r1
.
Manifest
!=
r2
.
Manifest
{
return
false
}
return
true
}
func
testKey
(
name
string
,
vers
int32
)
string
{
func
testKey
(
name
string
,
vers
int32
)
string
{
return
fmt
.
Sprintf
(
"%s.v%d"
,
name
,
vers
)
return
fmt
.
Sprintf
(
"%s.v%d"
,
name
,
vers
)
}
}
...
...
pkg/storage/driver/secrets_test.go
View file @
96258e3b
...
@@ -15,7 +15,6 @@ package driver
...
@@ -15,7 +15,6 @@ package driver
import
(
import
(
"encoding/base64"
"encoding/base64"
"reflect"
"testing"
"testing"
"github.com/gogo/protobuf/proto"
"github.com/gogo/protobuf/proto"
...
@@ -46,7 +45,7 @@ func TestSecretGet(t *testing.T) {
...
@@ -46,7 +45,7 @@ func TestSecretGet(t *testing.T) {
t
.
Fatalf
(
"Failed to get release: %s"
,
err
)
t
.
Fatalf
(
"Failed to get release: %s"
,
err
)
}
}
// compare fetched release with original
// compare fetched release with original
if
!
reflect
.
Deep
Equal
(
rel
,
got
)
{
if
!
shallowRelease
Equal
(
rel
,
got
)
{
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
}
}
}
}
...
@@ -78,7 +77,7 @@ func TestUNcompressedSecretGet(t *testing.T) {
...
@@ -78,7 +77,7 @@ func TestUNcompressedSecretGet(t *testing.T) {
t
.
Fatalf
(
"Failed to get release: %s"
,
err
)
t
.
Fatalf
(
"Failed to get release: %s"
,
err
)
}
}
// compare fetched release with original
// compare fetched release with original
if
!
reflect
.
Deep
Equal
(
rel
,
got
)
{
if
!
shallowRelease
Equal
(
rel
,
got
)
{
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
}
}
}
}
...
@@ -151,7 +150,7 @@ func TestSecretCreate(t *testing.T) {
...
@@ -151,7 +150,7 @@ func TestSecretCreate(t *testing.T) {
}
}
// compare created release with original
// compare created release with original
if
!
reflect
.
Deep
Equal
(
rel
,
got
)
{
if
!
shallowRelease
Equal
(
rel
,
got
)
{
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
t
.
Errorf
(
"Expected {%q}, got {%q}"
,
rel
,
got
)
}
}
}
}
...
...
pkg/version/version_test.go
View file @
96258e3b
...
@@ -39,9 +39,17 @@ func TestGetVersionProto(t *testing.T) {
...
@@ -39,9 +39,17 @@ func TestGetVersionProto(t *testing.T) {
BuildMetadata
=
tt
.
buildMetadata
BuildMetadata
=
tt
.
buildMetadata
GitCommit
=
tt
.
gitCommit
GitCommit
=
tt
.
gitCommit
GitTreeState
=
tt
.
gitTreeState
GitTreeState
=
tt
.
gitTreeState
if
versionProto
:=
GetVersionProto
();
*
versionProto
!=
tt
.
expected
{
if
versionProto
:=
GetVersionProto
();
!
versionEqual
(
*
versionProto
,
tt
.
expected
)
{
t
.
Errorf
(
"expected Semver(%s
), GitCommit(%s) and GitTreeState(%s) to be %v"
,
tt
.
expected
,
tt
.
gitCommit
,
tt
.
gitTreeState
,
*
versionProto
)
t
.
Errorf
(
"expected Semver(%s
+%s), GitCommit(%s) and GitTreeState(%s) to be %v"
,
tt
.
version
,
tt
.
buildMetadata
,
tt
.
gitCommit
,
tt
.
gitTreeState
,
*
versionProto
)
}
}
}
}
}
func
versionEqual
(
v1
version
.
Version
,
v2
version
.
Version
)
bool
{
if
v1
.
SemVer
!=
v2
.
SemVer
||
v1
.
GitCommit
!=
v2
.
GitCommit
||
v1
.
GitTreeState
!=
v2
.
GitTreeState
{
return
false
}
return
true
}
}
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