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.
96 lines
4.0 KiB
96 lines
4.0 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 _ "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"`
|
|
// 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 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{
|
|
// 244 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0x8f, 0xcf, 0x4a, 0xc3, 0x40,
|
|
0x10, 0xc6, 0x5d, 0x9b, 0xa6, 0x66, 0x2c, 0x65, 0x59, 0x3c, 0x24, 0xe2, 0xa1, 0xf4, 0xd4, 0x8b,
|
|
0x1b, 0xd0, 0x27, 0x50, 0x77, 0x94, 0x62, 0x48, 0x4b, 0xd2, 0xe2, 0x9f, 0x5b, 0xda, 0x8e, 0x55,
|
|
0x28, 0x9d, 0x92, 0x4d, 0x0e, 0x3e, 0xa0, 0xef, 0x25, 0xd9, 0x04, 0xf4, 0x38, 0xf3, 0xfb, 0x7d,
|
|
0x1f, 0x33, 0x10, 0x7d, 0x16, 0xc7, 0xaf, 0xb8, 0xa4, 0x3d, 0x15, 0x96, 0x62, 0x5b, 0x15, 0x55,
|
|
0x6d, 0xf5, 0xb1, 0xe4, 0x8a, 0xd5, 0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