mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
3.1 KiB
87 lines
3.1 KiB
9 years ago
|
// Code generated by protoc-gen-go.
|
||
|
// source: hapi/release/status.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package release
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
type Status_Code int32
|
||
|
|
||
|
const (
|
||
|
Status_UNKNOWN Status_Code = 0
|
||
|
Status_DEPLOYED Status_Code = 1
|
||
|
Status_DELETED Status_Code = 2
|
||
|
Status_SUPERSEDED Status_Code = 3
|
||
|
)
|
||
|
|
||
|
var Status_Code_name = map[int32]string{
|
||
|
0: "UNKNOWN",
|
||
|
1: "DEPLOYED",
|
||
|
2: "DELETED",
|
||
|
3: "SUPERSEDED",
|
||
|
}
|
||
|
var Status_Code_value = map[string]int32{
|
||
|
"UNKNOWN": 0,
|
||
|
"DEPLOYED": 1,
|
||
|
"DELETED": 2,
|
||
|
"SUPERSEDED": 3,
|
||
|
}
|
||
|
|
||
|
func (x Status_Code) String() string {
|
||
|
return proto.EnumName(Status_Code_name, int32(x))
|
||
|
}
|
||
|
func (Status_Code) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0, 0} }
|
||
|
|
||
|
//
|
||
|
// Status:
|
||
|
//
|
||
|
//
|
||
|
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"`
|
||
|
}
|
||
|
|
||
|
func (m *Status) Reset() { *m = Status{} }
|
||
|
func (m *Status) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Status) ProtoMessage() {}
|
||
|
func (*Status) Descriptor() ([]byte, []int) { return fileDescriptor2, []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)
|
||
|
}
|
||
|
|
||
|
var fileDescriptor2 = []byte{
|
||
|
// 215 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0x48, 0x2c, 0xc8,
|
||
|
0xd4, 0x2f, 0x4a, 0xcd, 0x49, 0x4d, 0x2c, 0x4e, 0xd5, 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0x2d, 0xd6,
|
||
|
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x01, 0x49, 0xe9, 0x41, 0xa5, 0xa4, 0x24, 0xd3, 0xf3,
|
||
|
0xf3, 0xd3, 0x73, 0x52, 0xf5, 0xc1, 0x72, 0x49, 0xa5, 0x69, 0xfa, 0x89, 0x79, 0x95, 0x10, 0x85,
|
||
|
0x4a, 0xcb, 0x19, 0xb9, 0xd8, 0x82, 0xc1, 0x3a, 0x85, 0x74, 0xb9, 0x58, 0x92, 0xf3, 0x53, 0x52,
|
||
|
0x25, 0x18, 0x15, 0x18, 0x35, 0xf8, 0x8c, 0x24, 0xf5, 0x90, 0x8d, 0xd0, 0x83, 0xa8, 0xd1, 0x73,
|
||
|
0x06, 0x2a, 0x08, 0x02, 0x2b, 0x13, 0xd2, 0xe3, 0x62, 0x4f, 0x49, 0x2d, 0x49, 0xcc, 0xcc, 0x29,
|
||
|
0x96, 0x60, 0x02, 0xea, 0xe0, 0x36, 0x12, 0xd1, 0x83, 0x58, 0xa3, 0x07, 0xb3, 0x46, 0xcf, 0x31,
|
||
|
0xaf, 0x32, 0x08, 0xa6, 0x48, 0xc9, 0x8e, 0x8b, 0x05, 0xa4, 0x5b, 0x88, 0x9b, 0x8b, 0x3d, 0xd4,
|
||
|
0xcf, 0xdb, 0xcf, 0x3f, 0xdc, 0x4f, 0x80, 0x41, 0x88, 0x87, 0x8b, 0xc3, 0xc5, 0x35, 0xc0, 0xc7,
|
||
|
0x3f, 0xd2, 0xd5, 0x45, 0x80, 0x11, 0x24, 0xe5, 0xe2, 0xea, 0xe3, 0x1a, 0x02, 0xe4, 0x30, 0x09,
|
||
|
0xf1, 0x71, 0x71, 0x05, 0x87, 0x06, 0xb8, 0x06, 0x05, 0xbb, 0xba, 0x00, 0xf9, 0xcc, 0x4e, 0x9c,
|
||
|
0x51, 0xec, 0x50, 0xc7, 0x24, 0xb1, 0x81, 0x6d, 0x30, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x0d,
|
||
|
0xcd, 0xe7, 0x6f, 0x01, 0x01, 0x00, 0x00,
|
||
|
}
|