|
|
|
@ -7,7 +7,7 @@ package release
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
|
import fmt "fmt"
|
|
|
|
|
import math "math"
|
|
|
|
|
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
|
|
|
|
|
import _ "github.com/golang/protobuf/ptypes/any"
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
|
var _ = proto.Marshal
|
|
|
|
@ -55,8 +55,7 @@ func (Status_Code) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []
|
|
|
|
|
|
|
|
|
|
// Status defines the status of a release.
|
|
|
|
|
type Status struct {
|
|
|
|
|
Code Status_Code `protobuf:"varint,1,opt,name=code,enum=hapi.release.Status_Code" json:"code,omitempty"`
|
|
|
|
|
Details *google_protobuf1.Any `protobuf:"bytes,2,opt,name=details" json:"details,omitempty"`
|
|
|
|
|
Code Status_Code `protobuf:"varint,1,opt,name=code,enum=hapi.release.Status_Code" json:"code,omitempty"`
|
|
|
|
|
// Cluster resources as kubectl would print them.
|
|
|
|
|
Resources string `protobuf:"bytes,3,opt,name=resources" json:"resources,omitempty"`
|
|
|
|
|
// Contains the rendered templates/NOTES.txt if available
|
|
|
|
@ -68,13 +67,6 @@ func (m *Status) String() string { return proto.CompactTextString(m)
|
|
|
|
|
func (*Status) ProtoMessage() {}
|
|
|
|
|
func (*Status) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
|
|
|
|
|
|
|
|
|
|
func (m *Status) GetDetails() *google_protobuf1.Any {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Details
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
|
proto.RegisterType((*Status)(nil), "hapi.release.Status")
|
|
|
|
|
proto.RegisterEnum("hapi.release.Status_Code", Status_Code_name, Status_Code_value)
|
|
|
|
@ -83,22 +75,21 @@ func init() {
|
|
|
|
|
func init() { proto.RegisterFile("hapi/release/status.proto", fileDescriptor3) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor3 = []byte{
|
|
|
|
|
// 269 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0x8f, 0x4d, 0x6f, 0x82, 0x40,
|
|
|
|
|
0x10, 0x86, 0xbb, 0x8a, 0x50, 0x46, 0x63, 0x36, 0x1b, 0x0f, 0xd0, 0xf4, 0x40, 0x3c, 0x71, 0xe9,
|
|
|
|
|
0x92, 0xd8, 0x5f, 0x60, 0xbb, 0xdb, 0xc6, 0x94, 0xa0, 0x01, 0x4d, 0x3f, 0x6e, 0x28, 0x53, 0x6b,
|
|
|
|
|
0x42, 0x58, 0xc3, 0xc2, 0xc1, 0x1f, 0xde, 0x7b, 0x03, 0x68, 0xea, 0x71, 0xf7, 0x79, 0xde, 0x79,
|
|
|
|
|
0x67, 0xc0, 0xfd, 0x49, 0x8f, 0x87, 0xa0, 0xc4, 0x1c, 0x53, 0x8d, 0x81, 0xae, 0xd2, 0xaa, 0xd6,
|
|
|
|
|
0xfc, 0x58, 0xaa, 0x4a, 0xb1, 0x51, 0x83, 0xf8, 0x19, 0xdd, 0xb9, 0x7b, 0xa5, 0xf6, 0x39, 0x06,
|
|
|
|
|
0x2d, 0xdb, 0xd6, 0xdf, 0x41, 0x5a, 0x9c, 0x3a, 0x71, 0xfa, 0x4b, 0xc0, 0x4c, 0xda, 0x24, 0x7b,
|
|
|
|
|
0x00, 0x63, 0xa7, 0x32, 0x74, 0x88, 0x47, 0xfc, 0xf1, 0xcc, 0xe5, 0xd7, 0x23, 0x78, 0xe7, 0xf0,
|
|
|
|
|
0x67, 0x95, 0x61, 0xdc, 0x6a, 0x8c, 0x83, 0x95, 0x61, 0x95, 0x1e, 0x72, 0xed, 0xf4, 0x3c, 0xe2,
|
|
|
|
|
0x0f, 0x67, 0x13, 0xde, 0xd5,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