|
|
|
// 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
|
|
|
|
// Status_DELETING indicates that a delete operation is underway.
|
|
|
|
Status_DELETING Status_Code = 5
|
|
|
|
)
|
|
|
|
|
|
|
|
var Status_Code_name = map[int32]string{
|
|
|
|
0: "UNKNOWN",
|
|
|
|
1: "DEPLOYED",
|
|
|
|
2: "DELETED",
|
|
|
|
3: "SUPERSEDED",
|
|
|
|
4: "FAILED",
|
|
|
|
5: "DELETING",
|
|
|
|
}
|
|
|
|
var Status_Code_value = map[string]int32{
|
|
|
|
"UNKNOWN": 0,
|
|
|
|
"DEPLOYED": 1,
|
|
|
|
"DELETED": 2,
|
|
|
|
"SUPERSEDED": 3,
|
|
|
|
"FAILED": 4,
|
|
|
|
"DELETING": 5,
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
|
|
|
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,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