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.
136 lines
4.8 KiB
136 lines
4.8 KiB
// Code generated by protoc-gen-go.
|
|
// source: hapi/release/log.proto
|
|
// DO NOT EDIT!
|
|
|
|
package release
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// Allows filtering by log event source
|
|
type Log_Source int32
|
|
|
|
const (
|
|
Log_HOOK Log_Source = 0
|
|
Log_TEST Log_Source = 1
|
|
Log_POD Log_Source = 2
|
|
Log_SYSTEM Log_Source = 3
|
|
)
|
|
|
|
var Log_Source_name = map[int32]string{
|
|
0: "HOOK",
|
|
1: "TEST",
|
|
2: "POD",
|
|
3: "SYSTEM",
|
|
}
|
|
var Log_Source_value = map[string]int32{
|
|
"HOOK": 0,
|
|
"TEST": 1,
|
|
"POD": 2,
|
|
"SYSTEM": 3,
|
|
}
|
|
|
|
func (x Log_Source) String() string {
|
|
return proto.EnumName(Log_Source_name, int32(x))
|
|
}
|
|
func (Log_Source) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0, 0} }
|
|
|
|
// Syslog log levels
|
|
type Log_Level int32
|
|
|
|
const (
|
|
Log_EMERG Log_Level = 0
|
|
Log_ALERT Log_Level = 1
|
|
Log_CRIT Log_Level = 2
|
|
Log_ERR Log_Level = 3
|
|
Log_WARNING Log_Level = 4
|
|
Log_NOTICE Log_Level = 5
|
|
Log_INFO Log_Level = 6
|
|
Log_DEBUG Log_Level = 7
|
|
)
|
|
|
|
var Log_Level_name = map[int32]string{
|
|
0: "EMERG",
|
|
1: "ALERT",
|
|
2: "CRIT",
|
|
3: "ERR",
|
|
4: "WARNING",
|
|
5: "NOTICE",
|
|
6: "INFO",
|
|
7: "DEBUG",
|
|
}
|
|
var Log_Level_value = map[string]int32{
|
|
"EMERG": 0,
|
|
"ALERT": 1,
|
|
"CRIT": 2,
|
|
"ERR": 3,
|
|
"WARNING": 4,
|
|
"NOTICE": 5,
|
|
"INFO": 6,
|
|
"DEBUG": 7,
|
|
}
|
|
|
|
func (x Log_Level) String() string {
|
|
return proto.EnumName(Log_Level_name, int32(x))
|
|
}
|
|
func (Log_Level) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0, 1} }
|
|
|
|
type Log struct {
|
|
Source Log_Source `protobuf:"varint,1,opt,name=source,enum=hapi.release.Log_Source" json:"source,omitempty"`
|
|
Level Log_Level `protobuf:"varint,2,opt,name=level,enum=hapi.release.Log_Level" json:"level,omitempty"`
|
|
Release string `protobuf:"bytes,3,opt,name=release" json:"release,omitempty"`
|
|
Log string `protobuf:"bytes,4,opt,name=log" json:"log,omitempty"`
|
|
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=timestamp" json:"timestamp,omitempty"`
|
|
}
|
|
|
|
func (m *Log) Reset() { *m = Log{} }
|
|
func (m *Log) String() string { return proto.CompactTextString(m) }
|
|
func (*Log) ProtoMessage() {}
|
|
func (*Log) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
|
|
|
func (m *Log) GetTimestamp() *google_protobuf.Timestamp {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Log)(nil), "hapi.release.Log")
|
|
proto.RegisterEnum("hapi.release.Log_Source", Log_Source_name, Log_Source_value)
|
|
proto.RegisterEnum("hapi.release.Log_Level", Log_Level_name, Log_Level_value)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("hapi/release/log.proto", fileDescriptor2) }
|
|
|
|
var fileDescriptor2 = []byte{
|
|
// 317 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 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