|
|
|
// 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"`
|
|
|
|
ClusterStatus string `protobuf:"bytes,3,opt,name=cluster_status,json=clusterStatus" json:"cluster_status,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{
|
|
|
|
// 251 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, 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