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.
151 lines
5.8 KiB
151 lines
5.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 LogSource int32
|
|
|
|
const (
|
|
LogSource_HOOK LogSource = 0
|
|
LogSource_TEST LogSource = 1
|
|
LogSource_POD LogSource = 2
|
|
LogSource_SYSTEM LogSource = 3
|
|
)
|
|
|
|
var LogSource_name = map[int32]string{
|
|
0: "HOOK",
|
|
1: "TEST",
|
|
2: "POD",
|
|
3: "SYSTEM",
|
|
}
|
|
var LogSource_value = map[string]int32{
|
|
"HOOK": 0,
|
|
"TEST": 1,
|
|
"POD": 2,
|
|
"SYSTEM": 3,
|
|
}
|
|
|
|
func (x LogSource) String() string {
|
|
return proto.EnumName(LogSource_name, int32(x))
|
|
}
|
|
func (LogSource) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
|
|
|
// Syslog log levels
|
|
type LogLevel int32
|
|
|
|
const (
|
|
LogLevel_EMERG LogLevel = 0
|
|
LogLevel_ALERT LogLevel = 1
|
|
LogLevel_CRIT LogLevel = 2
|
|
LogLevel_ERR LogLevel = 3
|
|
LogLevel_WARNING LogLevel = 4
|
|
LogLevel_NOTICE LogLevel = 5
|
|
LogLevel_INFO LogLevel = 6
|
|
LogLevel_DEBUG LogLevel = 7
|
|
)
|
|
|
|
var LogLevel_name = map[int32]string{
|
|
0: "EMERG",
|
|
1: "ALERT",
|
|
2: "CRIT",
|
|
3: "ERR",
|
|
4: "WARNING",
|
|
5: "NOTICE",
|
|
6: "INFO",
|
|
7: "DEBUG",
|
|
}
|
|
var LogLevel_value = map[string]int32{
|
|
"EMERG": 0,
|
|
"ALERT": 1,
|
|
"CRIT": 2,
|
|
"ERR": 3,
|
|
"WARNING": 4,
|
|
"NOTICE": 5,
|
|
"INFO": 6,
|
|
"DEBUG": 7,
|
|
}
|
|
|
|
func (x LogLevel) String() string {
|
|
return proto.EnumName(LogLevel_name, int32(x))
|
|
}
|
|
func (LogLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
|
|
|
|
type LogSubscription struct {
|
|
Release string `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
|
|
Level LogLevel `protobuf:"varint,2,opt,name=level,enum=hapi.release.LogLevel" json:"level,omitempty"`
|
|
Sources []LogSource `protobuf:"varint,3,rep,packed,name=sources,enum=hapi.release.LogSource" json:"sources,omitempty"`
|
|
}
|
|
|
|
func (m *LogSubscription) Reset() { *m = LogSubscription{} }
|
|
func (m *LogSubscription) String() string { return proto.CompactTextString(m) }
|
|
func (*LogSubscription) ProtoMessage() {}
|
|
func (*LogSubscription) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
|
|
|
type Log struct {
|
|
Release string `protobuf:"bytes,1,opt,name=release" json:"release,omitempty"`
|
|
Level LogLevel `protobuf:"varint,2,opt,name=level,enum=hapi.release.LogLevel" json:"level,omitempty"`
|
|
Source LogSource `protobuf:"varint,3,opt,name=source,enum=hapi.release.LogSource" json:"source,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{1} }
|
|
|
|
func (m *Log) GetTimestamp() *google_protobuf.Timestamp {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*LogSubscription)(nil), "hapi.release.LogSubscription")
|
|
proto.RegisterType((*Log)(nil), "hapi.release.Log")
|
|
proto.RegisterEnum("hapi.release.LogSource", LogSource_name, LogSource_value)
|
|
proto.RegisterEnum("hapi.release.LogLevel", LogLevel_name, LogLevel_value)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("hapi/release/log.proto", fileDescriptor2) }
|
|
|
|
var fileDescriptor2 = []byte{
|
|
// 359 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x90, 0xcf, 0x6e, 0x9b, 0x40,
|
|
0x10, 0xc6, 0x8d, 0x97, 0x3f, 0x66, 0x5c, 0xb9, 0xab, 0x3d, 0xb8, 0xc8, 0x97, 0x22, 0x9f, 0x90,
|
|
0x55, 0x81, 0xea, 0xf6, 0xd0, 0xab, 0xff, 0x6c, 0x5d, 0x54, 0x0c, 0xd5, 0x42, 0x55, 0xb5, 0x37,
|
|
0x6c, 0x6d, 0x09, 0x12, 0xce, 0x22, 0xc0, 0x79, 0x8a, 0x3c, 0x59, 0x9e, 0x2a, 0x5a, 0x30, 0x4e,
|
|
0xa4, 0x28, 0xb7, 0xdc, 0x66, 0x77, 0x7e, 0xf3, 0x7d, 0x33, 0x1f, 0x4c, 0x6f, 0xd2, 0x32, 0xf7,
|
|
0x2a, 0x5e, 0xf0, 0xb4, 0xe6, 0x5e, 0x21, 0x32, 0xb7, 0xac, 0x44, 0x23, 0xc8, 0x3b, 0xf9, 0xef,
|
|
0x5e, 0xfe, 0x67, 0x1f, 0x33, 0x21, 0xb2, 0x82, 0x7b, 0x6d, 0xef, 0x70, 0xfe, 0xef, 0x35, 0xf9,
|
|
0x89, 0xd7, 0x4d, 0x7a, 0x2a, 0x3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