github.com/koderover/helm@v2.17.0+incompatible/pkg/proto/hapi/release/status.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: hapi/release/status.proto
     3  
     4  package release
     5  
     6  import proto "github.com/golang/protobuf/proto"
     7  import fmt "fmt"
     8  import math "math"
     9  import _ "github.com/golang/protobuf/ptypes/any"
    10  
    11  // Reference imports to suppress errors if they are not otherwise used.
    12  var _ = proto.Marshal
    13  var _ = fmt.Errorf
    14  var _ = math.Inf
    15  
    16  // This is a compile-time assertion to ensure that this generated file
    17  // is compatible with the proto package it is being compiled against.
    18  // A compilation error at this line likely means your copy of the
    19  // proto package needs to be updated.
    20  const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
    21  
    22  type Status_Code int32
    23  
    24  const (
    25  	// Status_UNKNOWN indicates that a release is in an uncertain state.
    26  	Status_UNKNOWN Status_Code = 0
    27  	// Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
    28  	Status_DEPLOYED Status_Code = 1
    29  	// Status_DELETED indicates that a release has been deleted from Kubernetes.
    30  	Status_DELETED Status_Code = 2
    31  	// Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
    32  	Status_SUPERSEDED Status_Code = 3
    33  	// Status_FAILED indicates that the release was not successfully deployed.
    34  	Status_FAILED Status_Code = 4
    35  	// Status_DELETING indicates that a delete operation is underway.
    36  	Status_DELETING Status_Code = 5
    37  	// Status_PENDING_INSTALL indicates that an install operation is underway.
    38  	Status_PENDING_INSTALL Status_Code = 6
    39  	// Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
    40  	Status_PENDING_UPGRADE Status_Code = 7
    41  	// Status_PENDING_ROLLBACK indicates that a rollback operation is underway.
    42  	Status_PENDING_ROLLBACK Status_Code = 8
    43  )
    44  
    45  var Status_Code_name = map[int32]string{
    46  	0: "UNKNOWN",
    47  	1: "DEPLOYED",
    48  	2: "DELETED",
    49  	3: "SUPERSEDED",
    50  	4: "FAILED",
    51  	5: "DELETING",
    52  	6: "PENDING_INSTALL",
    53  	7: "PENDING_UPGRADE",
    54  	8: "PENDING_ROLLBACK",
    55  }
    56  var Status_Code_value = map[string]int32{
    57  	"UNKNOWN":          0,
    58  	"DEPLOYED":         1,
    59  	"DELETED":          2,
    60  	"SUPERSEDED":       3,
    61  	"FAILED":           4,
    62  	"DELETING":         5,
    63  	"PENDING_INSTALL":  6,
    64  	"PENDING_UPGRADE":  7,
    65  	"PENDING_ROLLBACK": 8,
    66  }
    67  
    68  func (x Status_Code) String() string {
    69  	return proto.EnumName(Status_Code_name, int32(x))
    70  }
    71  func (Status_Code) EnumDescriptor() ([]byte, []int) {
    72  	return fileDescriptor_status_59977299d7c48665, []int{0, 0}
    73  }
    74  
    75  // Status defines the status of a release.
    76  type Status struct {
    77  	Code Status_Code `protobuf:"varint,1,opt,name=code,proto3,enum=hapi.release.Status_Code" json:"code,omitempty"`
    78  	// Cluster resources as kubectl would print them.
    79  	Resources string `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
    80  	// Contains the rendered templates/NOTES.txt if available
    81  	Notes string `protobuf:"bytes,4,opt,name=notes,proto3" json:"notes,omitempty"`
    82  	// LastTestSuiteRun provides results on the last test run on a release
    83  	LastTestSuiteRun     *TestSuite `protobuf:"bytes,5,opt,name=last_test_suite_run,json=lastTestSuiteRun,proto3" json:"last_test_suite_run,omitempty"`
    84  	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    85  	XXX_unrecognized     []byte     `json:"-"`
    86  	XXX_sizecache        int32      `json:"-"`
    87  }
    88  
    89  func (m *Status) Reset()         { *m = Status{} }
    90  func (m *Status) String() string { return proto.CompactTextString(m) }
    91  func (*Status) ProtoMessage()    {}
    92  func (*Status) Descriptor() ([]byte, []int) {
    93  	return fileDescriptor_status_59977299d7c48665, []int{0}
    94  }
    95  func (m *Status) XXX_Unmarshal(b []byte) error {
    96  	return xxx_messageInfo_Status.Unmarshal(m, b)
    97  }
    98  func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    99  	return xxx_messageInfo_Status.Marshal(b, m, deterministic)
   100  }
   101  func (dst *Status) XXX_Merge(src proto.Message) {
   102  	xxx_messageInfo_Status.Merge(dst, src)
   103  }
   104  func (m *Status) XXX_Size() int {
   105  	return xxx_messageInfo_Status.Size(m)
   106  }
   107  func (m *Status) XXX_DiscardUnknown() {
   108  	xxx_messageInfo_Status.DiscardUnknown(m)
   109  }
   110  
   111  var xxx_messageInfo_Status proto.InternalMessageInfo
   112  
   113  func (m *Status) GetCode() Status_Code {
   114  	if m != nil {
   115  		return m.Code
   116  	}
   117  	return Status_UNKNOWN
   118  }
   119  
   120  func (m *Status) GetResources() string {
   121  	if m != nil {
   122  		return m.Resources
   123  	}
   124  	return ""
   125  }
   126  
   127  func (m *Status) GetNotes() string {
   128  	if m != nil {
   129  		return m.Notes
   130  	}
   131  	return ""
   132  }
   133  
   134  func (m *Status) GetLastTestSuiteRun() *TestSuite {
   135  	if m != nil {
   136  		return m.LastTestSuiteRun
   137  	}
   138  	return nil
   139  }
   140  
   141  func init() {
   142  	proto.RegisterType((*Status)(nil), "hapi.release.Status")
   143  	proto.RegisterEnum("hapi.release.Status_Code", Status_Code_name, Status_Code_value)
   144  }
   145  
   146  func init() { proto.RegisterFile("hapi/release/status.proto", fileDescriptor_status_59977299d7c48665) }
   147  
   148  var fileDescriptor_status_59977299d7c48665 = []byte{
   149  	// 333 bytes of a gzipped FileDescriptorProto
   150  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xd1, 0x6e, 0xa2, 0x40,
   151  	0x14, 0x86, 0x17, 0x45, 0xd4, 0xa3, 0x71, 0x27, 0xa3, 0xc9, 0xa2, 0xd9, 0x4d, 0x8c, 0x57, 0xde,
   152  	0x2c, 0x24, 0xf6, 0x09, 0xd0, 0x19, 0x0d, 0x71, 0x82, 0x04, 0x30, 0x4d, 0x7b, 0x43, 0x50, 0xa7,
   153  	0xd6, 0xc4, 0x30, 0x86, 0x19, 0x2e, 0xfa, 0x26, 0x7d, 0xaa, 0x3e, 0x53, 0x03, 0xd8, 0xa8, 0x97,
   154  	0xff, 0xff, 0x7d, 0x87, 0x73, 0x18, 0x18, 0xbe, 0x27, 0x97, 0x93, 0x9d, 0xf1, 0x33, 0x4f, 0x24,
   155  	0xb7, 0xa5, 0x4a, 0x54, 0x2e, 0xad, 0x4b, 0x26, 0x94, 0xc0, 0xdd, 0x02, 0x59, 0x57, 0x34, 0xfa,
   156  	0xf7, 0x20, 0x2a, 0x2e, 0x55, 0x2c, 0xf3, 0x93, 0xe2, 0x95, 0x3c, 0x1a, 0x1e, 0x85, 0x38, 0x9e,
   157  	0xb9, 0x5d, 0xa6, 0x5d, 0xfe, 0x66, 0x27, 0xe9, 0x47, 0x85, 0x26, 0x5f, 0x35, 0x30, 0xc2, 0xf2,
   158  	0xc3, 0xf8, 0x3f, 0xe8, 0x7b, 0x71, 0xe0, 0xa6, 0x36, 0xd6, 0xa6, 0xbd, 0xd9, 0xd0, 0xba, 0xdf,
   159  	0x60, 0x55, 0x8e, 0xb5, 0x10, 0x07, 0x1e, 0x94, 0x1a, 0xfe, 0x0b, 0xed, 0x8c, 0x4b, 0x91, 0x67,
   160  	0x7b, 0x2e, 0xcd, 0xfa, 0x58, 0x9b, 0xb6, 0x83, 0x5b, 0x81, 0x07, 0xd0, 0x48, 0x85, 0xe2, 0xd2,
   161  	0xd4, 0x4b, 0x52, 0x05, 0xbc, 0x84, 0xfe, 0x39, 0x91, 0x2a, 0xbe, 0x5d, 0x18, 0x67, 0x79, 0x6a,
   162  	0x36, 0xc6, 0xda, 0xb4, 0x33, 0xfb, 0xf3, 0xb8, 0x31, 0xe2, 0x52, 0x85, 0x85, 0x12, 0xa0, 0x62,
   163  	0xe6, 0x16, 0xf3, 0x74, 0xf2, 0xa9, 0x81, 0x5e, 0x9c, 0x82, 0x3b, 0xd0, 0xdc, 0x7a, 0x6b, 0x6f,
   164  	0xf3, 0xec, 0xa1, 0x5f, 0xb8, 0x0b, 0x2d, 0x42, 0x7d, 0xb6, 0x79, 0xa1, 0x04, 0x69, 0x05, 0x22,
   165  	0x94, 0xd1, 0x88, 0x12, 0x54, 0xc3, 0x3d, 0x80, 0x70, 0xeb, 0xd3, 0x20, 0xa4, 0x84, 0x12, 0x54,
   166  	0xc7, 0x00, 0xc6, 0xd2, 0x71, 0x19, 0x25, 0x48, 0xaf, 0xc6, 0x18, 0x8d, 0x5c, 0x6f, 0x85, 0x1a,
   167  	0xb8, 0x0f, 0xbf, 0x7d, 0xea, 0x11, 0xd7, 0x5b, 0xc5, 0xae, 0x17, 0x46, 0x0e, 0x63, 0xc8, 0xb8,
   168  	0x2f, 0xb7, 0xfe, 0x2a, 0x70, 0x08, 0x45, 0x4d, 0x3c, 0x00, 0xf4, 0x53, 0x06, 0x1b, 0xc6, 0xe6,
   169  	0xce, 0x62, 0x8d, 0x5a, 0xf3, 0xf6, 0x6b, 0xf3, 0xfa, 0x07, 0x3b, 0xa3, 0x7c, 0xe2, 0xa7, 0xef,
   170  	0x00, 0x00, 0x00, 0xff, 0xff, 0x09, 0x48, 0x18, 0xba, 0xc7, 0x01, 0x00, 0x00,
   171  }