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.
101 lines
4.2 KiB
101 lines
4.2 KiB
// 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)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("hapi/release/status.proto", fileDescriptor3) }
|
|
|
|
var fileDescriptor3 = []byte{
|
|
// 261 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0x8f, 0xc1, 0x4e, 0x83, 0x40,
|
|
0x10, 0x86, 0xdd, 0x16, 0x41, 0xa6, 0x4d, 0x43, 0x36, 0x3d, 0x80, 0xf1, 0x40, 0x7a, 0xe2, 0xe2,
|
|
0x92, 0xd4, 0x27, 0xa8, 0xee, 0x9a, 0xa8, 0x84, 0x36, 0x60, 0x63, 0xf4, 0x46, 0xcb, 0x58, 0x9b,
|
|
0x10, 0xb6, 0x61, 0x97, 0x43, 0x9f, 0xd8, 0xd7, 0x30, 0x2c, 0x6d, 0xec, 0x71, 0xe6, 0xfb, 0x66,
|
|
0xfe, 0x19, 0x08, 0x7e, 0x8a, 0xc3, 0x3e, 0x6e, 0xb0, 0xc2, 0x42, 0x61, 0xac, 0x74, 0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