// 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 fileDescriptor2, []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"` } 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{ // 226 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0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