Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetCompleted() *timestamp.Timestamp
- func (x *Message) GetCreated() *timestamp.Timestamp
- func (x *Message) GetError() string
- func (x *Message) GetExecutionTime() *duration.Duration
- func (x *Message) GetId() string
- func (x *Message) GetOriginId() string
- func (x *Message) GetPriority() shared.Priority
- func (x *Message) GetReceived() *timestamp.Timestamp
- func (x *Message) GetSnmpc() *snmpc.Task
- func (x *Message) GetSource() string
- func (x *Message) GetSsh() *ssh.Task
- func (x *Message) GetStarted() *timestamp.Timestamp
- func (x *Message) GetStatus() shared.Status
- func (x *Message) GetTags() map[string]*any.Any
- func (x *Message) GetTarget() string
- func (m *Message) GetTask() isMessage_Task
- func (x *Message) GetTelnet() *telnet.Task
- func (x *Message) GetType() Type
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_Snmpc
- type Message_Ssh
- type Message_Telnet
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "TELNET", 1: "SNMP", 2: "SSH", } Type_value = map[string]int32{ "TELNET": 0, "SNMP": 1, "SSH": 2, } )
Enum value maps for Type.
View Source
var File_git_liero_se_opentelco_go_dnc_proto_transport_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` OriginId string `protobuf:"bytes,2,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"` Status shared.Status `protobuf:"varint,3,opt,name=status,proto3,enum=dnc.shared.Status" json:"status,omitempty"` Type Type `protobuf:"varint,4,opt,name=type,proto3,enum=dnc.transport.Type" json:"type,omitempty"` Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"` Priority shared.Priority `protobuf:"varint,7,opt,name=priority,proto3,enum=dnc.shared.Priority" json:"priority,omitempty"` // Types that are assignable to Task: // *Message_Snmpc // *Message_Telnet // *Message_Ssh Task isMessage_Task `protobuf_oneof:"task"` Tags map[string]*any.Any `` /* 150-byte string literal not displayed */ Error string `protobuf:"bytes,11,opt,name=error,proto3" json:"error,omitempty"` Created *timestamp.Timestamp `protobuf:"bytes,13,opt,name=created,proto3" json:"created,omitempty"` Received *timestamp.Timestamp `protobuf:"bytes,14,opt,name=received,proto3" json:"received,omitempty"` Started *timestamp.Timestamp `protobuf:"bytes,15,opt,name=started,proto3" json:"started,omitempty"` Completed *timestamp.Timestamp `protobuf:"bytes,16,opt,name=completed,proto3" json:"completed,omitempty"` ExecutionTime *duration.Duration `protobuf:"bytes,17,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetCompleted ¶
func (*Message) GetCreated ¶
func (*Message) GetExecutionTime ¶
func (*Message) GetOriginId ¶
func (*Message) GetPriority ¶
func (*Message) GetReceived ¶
func (*Message) GetStarted ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_Snmpc ¶
type Message_Ssh ¶
type Message_Telnet ¶
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.