|
|
|
// 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 indicates that a release is in an uncertain state.
|
|
|
|
Status_UNKNOWN Status_Code = 0
|
|
|
|
// Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
|
|
|
|
Status_DEPLOYED Status_Code = 1
|
|
|
|
// Status_DELETED indicates that a release has been deleted from Kubermetes.
|
|
|
|
Status_DELETED Status_Code = 2
|
|
|
|
// Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
|
|
|
|
Status_SUPERSEDED Status_Code = 3
|
|
|
|
// Status_FAILED indicates that the release was not successfully deployed.
|
|
|
|
Status_FAILED Status_Code = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
var Status_Code_name = map[int32]string{
|
|
|
|
0: "UNKNOWN",
|
|
|
|
1: "DEPLOYED",
|
|
|
|
2: "DELETED",
|
|
|
|
3: "SUPERSEDED",
|
|
|
|
4: "FAILED",
|
|
|
|
}
|
|
|
|
var Status_Code_value = map[string]int32{
|
|
|
|
"UNKNOWN": 0,
|
|
|
|
"DEPLOYED": 1,
|
|
|
|
"DELETED": 2,
|
|
|
|
"SUPERSEDED": 3,
|
|
|
|
"FAILED": 4,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x Status_Code) String() string {
|
|
|
|
return proto.EnumName(Status_Code_name, int32(x))
|
|
|
|
}
|
|
|
|
func (Status_Code) EnumDescriptor() ([]byte, []int) { return fileDescriptor3, []int{0, 0} }
|
|
|
|
|
|
|
|
// 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"`
|
|
|
|
// 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
|
|
|
|
Notes string `protobuf:"bytes,4,opt,name=notes" json:"notes,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 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)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor3 = []byte{
|
|
|
|
// 259 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0x8f, 0xc1, 0x4e, 0xf2, 0x40,
|
|
|
|
0x14, 0x85, 0xff, 0x42, 0xff, 0xd6, 0x5e, 0x08, 0x21, 0x37, 0x2c, 0x5a, 0xe3, 0xc2, 0xb0, 0x72,
|
|
|
|
0xe3, 0x6d, 0x82, 0x4f, 0x80, 0x76, 0x4c, 0xd4, 0xa6, 0x90, 0x56,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