Documentation ¶
Index ¶
- Variables
- type Answer
- func (*Answer) Descriptor() ([]byte, []int)deprecated
- func (x *Answer) GetChoice() *ChoiceAnswer
- func (x *Answer) GetConfirm() *ConfirmAnswer
- func (x *Answer) GetDone() bool
- func (x *Answer) GetError() string
- func (x *Answer) GetInput() *InputAnswer
- func (x *Answer) GetMethod() Method
- func (x *Answer) GetRound() int32
- func (x *Answer) GetSelection() *SelectionAnswer
- func (m *Answer) GetValue() isAnswer_Value
- func (*Answer) ProtoMessage()
- func (x *Answer) ProtoReflect() protoreflect.Message
- func (x *Answer) Reset()
- func (x *Answer) String() string
- type Answer_Choice
- type Answer_Confirm
- type Answer_Input
- type Answer_Selection
- type Channel
- type Choice
- type ChoiceAnswer
- type Confirm
- type ConfirmAnswer
- type Display
- type Engage
- type InformationRequest
- func (*InformationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InformationRequest) GetDone() bool
- func (x *InformationRequest) GetMethod() Method
- func (x *InformationRequest) GetQuestion() *Question
- func (*InformationRequest) ProtoMessage()
- func (x *InformationRequest) ProtoReflect() protoreflect.Message
- func (x *InformationRequest) Reset()
- func (x *InformationRequest) String() string
- type Input
- func (*Input) Descriptor() ([]byte, []int)deprecated
- func (m *Input) GetDefault() isInput_Default
- func (x *Input) GetIntDefault() int32
- func (x *Input) GetStringDefault() string
- func (*Input) ProtoMessage()
- func (x *Input) ProtoReflect() protoreflect.Message
- func (x *Input) Reset()
- func (x *Input) String() string
- type InputAnswer
- func (*InputAnswer) Descriptor() ([]byte, []int)deprecated
- func (m *InputAnswer) GetAnswer() isInputAnswer_Answer
- func (x *InputAnswer) GetIntValue() int32
- func (x *InputAnswer) GetStringValue() string
- func (*InputAnswer) ProtoMessage()
- func (x *InputAnswer) ProtoReflect() protoreflect.Message
- func (x *InputAnswer) Reset()
- func (x *InputAnswer) String() string
- type InputAnswer_IntValue
- type InputAnswer_StringValue
- type Input_IntDefault
- type Input_StringDefault
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetApplication() string
- func (x *Log) GetAt() *timestamppb.Timestamp
- func (x *Log) GetKind() Log_Kind
- func (x *Log) GetMessage() string
- func (x *Log) GetService() string
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type LogSessionGroup
- func (*LogSessionGroup) Descriptor() ([]byte, []int)deprecated
- func (x *LogSessionGroup) GetLogs() []*Log
- func (x *LogSessionGroup) GetSession() *base.Session
- func (*LogSessionGroup) ProtoMessage()
- func (x *LogSessionGroup) ProtoReflect() protoreflect.Message
- func (x *LogSessionGroup) Reset()
- func (x *LogSessionGroup) String() string
- type Log_Kind
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetDescription() string
- func (x *Message) GetMessage() string
- func (x *Message) GetName() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Method
- type Question
- func (*Question) Descriptor() ([]byte, []int)deprecated
- func (x *Question) GetChoice() *Choice
- func (x *Question) GetConfirm() *Confirm
- func (x *Question) GetDisplay() *Display
- func (x *Question) GetInput() *Input
- func (x *Question) GetMessage() *Message
- func (x *Question) GetMethod() Method
- func (x *Question) GetRound() int32
- func (x *Question) GetSelection() *Selection
- func (m *Question) GetValue() isQuestion_Value
- func (*Question) ProtoMessage()
- func (x *Question) ProtoReflect() protoreflect.Message
- func (x *Question) Reset()
- func (x *Question) String() string
- type Question_Choice
- type Question_Confirm
- type Question_Display
- type Question_Input
- type Question_Selection
- type Selection
- type SelectionAnswer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Method_name = map[int32]string{ 0: "UNKNOWN", 1: "CREATE", 10: "SYNC", } Method_value = map[string]int32{ "UNKNOWN": 0, "CREATE": 1, "SYNC": 10, } )
Enum value maps for Method.
View Source
var ( Log_Kind_name = map[int32]string{ 0: "UNKNOWN", 1: "AGENT", 2: "SERVICE", } Log_Kind_value = map[string]int32{ "UNKNOWN": 0, "AGENT": 1, "SERVICE": 2, } )
Enum value maps for Log_Kind.
View Source
var File_agents_communicate_proto protoreflect.FileDescriptor
View Source
var File_agents_logs_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Answer ¶
type Answer struct { Done bool `protobuf:"varint,1,opt,name=done,proto3" json:"done,omitempty"` Method Method `protobuf:"varint,2,opt,name=method,proto3,enum=v1.agents.communicate.Method" json:"method,omitempty"` Round int32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // Types that are assignable to Value: // // *Answer_Confirm // *Answer_Input // *Answer_Choice // *Answer_Selection Value isAnswer_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Answer) Descriptor
deprecated
func (*Answer) GetChoice ¶
func (x *Answer) GetChoice() *ChoiceAnswer
func (*Answer) GetConfirm ¶
func (x *Answer) GetConfirm() *ConfirmAnswer
func (*Answer) GetInput ¶
func (x *Answer) GetInput() *InputAnswer
func (*Answer) GetSelection ¶
func (x *Answer) GetSelection() *SelectionAnswer
func (*Answer) ProtoMessage ¶
func (*Answer) ProtoMessage()
func (*Answer) ProtoReflect ¶
func (x *Answer) ProtoReflect() protoreflect.Message
type Answer_Choice ¶
type Answer_Choice struct {
Choice *ChoiceAnswer `protobuf:"bytes,7,opt,name=choice,proto3,oneof"`
}
type Answer_Confirm ¶
type Answer_Confirm struct {
Confirm *ConfirmAnswer `protobuf:"bytes,5,opt,name=confirm,proto3,oneof"`
}
type Answer_Input ¶
type Answer_Input struct {
Input *InputAnswer `protobuf:"bytes,6,opt,name=input,proto3,oneof"`
}
type Answer_Selection ¶
type Answer_Selection struct {
Selection *SelectionAnswer `protobuf:"bytes,8,opt,name=selection,proto3,oneof"`
}
type Channel ¶
type Channel struct { Method Method `protobuf:"varint,1,opt,name=method,proto3,enum=v1.agents.communicate.Method" json:"method,omitempty"` // contains filtered or unexported fields }
func (*Channel) Descriptor
deprecated
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type Choice ¶
type Choice struct { Options []*Message `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Choice) Descriptor
deprecated
func (*Choice) GetOptions ¶
func (*Choice) ProtoMessage ¶
func (*Choice) ProtoMessage()
func (*Choice) ProtoReflect ¶
func (x *Choice) ProtoReflect() protoreflect.Message
type ChoiceAnswer ¶
type ChoiceAnswer struct { Option string `protobuf:"bytes,1,opt,name=option,proto3" json:"option,omitempty"` // contains filtered or unexported fields }
func (*ChoiceAnswer) Descriptor
deprecated
func (*ChoiceAnswer) Descriptor() ([]byte, []int)
Deprecated: Use ChoiceAnswer.ProtoReflect.Descriptor instead.
func (*ChoiceAnswer) GetOption ¶
func (x *ChoiceAnswer) GetOption() string
func (*ChoiceAnswer) ProtoMessage ¶
func (*ChoiceAnswer) ProtoMessage()
func (*ChoiceAnswer) ProtoReflect ¶
func (x *ChoiceAnswer) ProtoReflect() protoreflect.Message
func (*ChoiceAnswer) Reset ¶
func (x *ChoiceAnswer) Reset()
func (*ChoiceAnswer) String ¶
func (x *ChoiceAnswer) String() string
type Confirm ¶
type Confirm struct { Default bool `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"` // contains filtered or unexported fields }
func (*Confirm) Descriptor
deprecated
func (*Confirm) GetDefault ¶
func (*Confirm) ProtoMessage ¶
func (*Confirm) ProtoMessage()
func (*Confirm) ProtoReflect ¶
func (x *Confirm) ProtoReflect() protoreflect.Message
type ConfirmAnswer ¶
type ConfirmAnswer struct { Confirmed bool `protobuf:"varint,1,opt,name=confirmed,proto3" json:"confirmed,omitempty"` // contains filtered or unexported fields }
func (*ConfirmAnswer) Descriptor
deprecated
func (*ConfirmAnswer) Descriptor() ([]byte, []int)
Deprecated: Use ConfirmAnswer.ProtoReflect.Descriptor instead.
func (*ConfirmAnswer) GetConfirmed ¶
func (x *ConfirmAnswer) GetConfirmed() bool
func (*ConfirmAnswer) ProtoMessage ¶
func (*ConfirmAnswer) ProtoMessage()
func (*ConfirmAnswer) ProtoReflect ¶
func (x *ConfirmAnswer) ProtoReflect() protoreflect.Message
func (*ConfirmAnswer) Reset ¶
func (x *ConfirmAnswer) Reset()
func (*ConfirmAnswer) String ¶
func (x *ConfirmAnswer) String() string
type Display ¶
type Display struct { Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Display) Descriptor
deprecated
func (*Display) ProtoMessage ¶
func (*Display) ProtoMessage()
func (*Display) ProtoReflect ¶
func (x *Display) ProtoReflect() protoreflect.Message
type Engage ¶
type Engage struct { Method Method `protobuf:"varint,1,opt,name=method,proto3,enum=v1.agents.communicate.Method" json:"method,omitempty"` Answer *Answer `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` // contains filtered or unexported fields }
func (*Engage) Descriptor
deprecated
func (*Engage) ProtoMessage ¶
func (*Engage) ProtoMessage()
func (*Engage) ProtoReflect ¶
func (x *Engage) ProtoReflect() protoreflect.Message
type InformationRequest ¶
type InformationRequest struct { Method Method `protobuf:"varint,1,opt,name=method,proto3,enum=v1.agents.communicate.Method" json:"method,omitempty"` Done bool `protobuf:"varint,2,opt,name=done,proto3" json:"done,omitempty"` Question *Question `protobuf:"bytes,3,opt,name=question,proto3" json:"question,omitempty"` // contains filtered or unexported fields }
func (*InformationRequest) Descriptor
deprecated
func (*InformationRequest) Descriptor() ([]byte, []int)
Deprecated: Use InformationRequest.ProtoReflect.Descriptor instead.
func (*InformationRequest) GetDone ¶
func (x *InformationRequest) GetDone() bool
func (*InformationRequest) GetMethod ¶
func (x *InformationRequest) GetMethod() Method
func (*InformationRequest) GetQuestion ¶
func (x *InformationRequest) GetQuestion() *Question
func (*InformationRequest) ProtoMessage ¶
func (*InformationRequest) ProtoMessage()
func (*InformationRequest) ProtoReflect ¶
func (x *InformationRequest) ProtoReflect() protoreflect.Message
func (*InformationRequest) Reset ¶
func (x *InformationRequest) Reset()
func (*InformationRequest) String ¶
func (x *InformationRequest) String() string
type Input ¶
type Input struct { // Types that are assignable to Default: // // *Input_StringDefault // *Input_IntDefault Default isInput_Default `protobuf_oneof:"default"` // contains filtered or unexported fields }
func (*Input) Descriptor
deprecated
func (*Input) GetDefault ¶
func (m *Input) GetDefault() isInput_Default
func (*Input) GetIntDefault ¶
func (*Input) GetStringDefault ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) ProtoReflect ¶
func (x *Input) ProtoReflect() protoreflect.Message
type InputAnswer ¶
type InputAnswer struct { // Types that are assignable to Answer: // // *InputAnswer_StringValue // *InputAnswer_IntValue Answer isInputAnswer_Answer `protobuf_oneof:"answer"` // contains filtered or unexported fields }
func (*InputAnswer) Descriptor
deprecated
func (*InputAnswer) Descriptor() ([]byte, []int)
Deprecated: Use InputAnswer.ProtoReflect.Descriptor instead.
func (*InputAnswer) GetAnswer ¶
func (m *InputAnswer) GetAnswer() isInputAnswer_Answer
func (*InputAnswer) GetIntValue ¶
func (x *InputAnswer) GetIntValue() int32
func (*InputAnswer) GetStringValue ¶
func (x *InputAnswer) GetStringValue() string
func (*InputAnswer) ProtoMessage ¶
func (*InputAnswer) ProtoMessage()
func (*InputAnswer) ProtoReflect ¶
func (x *InputAnswer) ProtoReflect() protoreflect.Message
func (*InputAnswer) Reset ¶
func (x *InputAnswer) Reset()
func (*InputAnswer) String ¶
func (x *InputAnswer) String() string
type InputAnswer_IntValue ¶
type InputAnswer_IntValue struct {
IntValue int32 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type InputAnswer_StringValue ¶
type InputAnswer_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Input_IntDefault ¶
type Input_IntDefault struct {
IntDefault int32 `protobuf:"varint,2,opt,name=int_default,json=intDefault,proto3,oneof"`
}
type Input_StringDefault ¶
type Input_StringDefault struct {
StringDefault string `protobuf:"bytes,1,opt,name=string_default,json=stringDefault,proto3,oneof"`
}
type Log ¶
type Log struct { At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"` Application string `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` Kind Log_Kind `protobuf:"varint,4,opt,name=kind,proto3,enum=v1.agents.logs.Log_Kind" json:"kind,omitempty"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetApplication ¶
func (*Log) GetAt ¶
func (x *Log) GetAt() *timestamppb.Timestamp
func (*Log) GetMessage ¶
func (*Log) GetService ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type LogSessionGroup ¶
type LogSessionGroup struct { Session *base.Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*LogSessionGroup) Descriptor
deprecated
func (*LogSessionGroup) Descriptor() ([]byte, []int)
Deprecated: Use LogSessionGroup.ProtoReflect.Descriptor instead.
func (*LogSessionGroup) GetLogs ¶
func (x *LogSessionGroup) GetLogs() []*Log
func (*LogSessionGroup) GetSession ¶
func (x *LogSessionGroup) GetSession() *base.Session
func (*LogSessionGroup) ProtoMessage ¶
func (*LogSessionGroup) ProtoMessage()
func (*LogSessionGroup) ProtoReflect ¶
func (x *LogSessionGroup) ProtoReflect() protoreflect.Message
func (*LogSessionGroup) Reset ¶
func (x *LogSessionGroup) Reset()
func (*LogSessionGroup) String ¶
func (x *LogSessionGroup) String() string
type Log_Kind ¶
type Log_Kind int32
func (Log_Kind) Descriptor ¶
func (Log_Kind) Descriptor() protoreflect.EnumDescriptor
func (Log_Kind) EnumDescriptor
deprecated
func (Log_Kind) Number ¶
func (x Log_Kind) Number() protoreflect.EnumNumber
func (Log_Kind) Type ¶
func (Log_Kind) Type() protoreflect.EnumType
type Message ¶
type Message struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetDescription ¶
func (*Message) GetMessage ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Method ¶
type Method int32
func (Method) Descriptor ¶
func (Method) Descriptor() protoreflect.EnumDescriptor
func (Method) EnumDescriptor
deprecated
func (Method) Number ¶
func (x Method) Number() protoreflect.EnumNumber
func (Method) Type ¶
func (Method) Type() protoreflect.EnumType
type Question ¶
type Question struct { Method Method `protobuf:"varint,1,opt,name=method,proto3,enum=v1.agents.communicate.Method" json:"method,omitempty"` Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` Message *Message `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // Types that are assignable to Value: // // *Question_Display // *Question_Confirm // *Question_Input // *Question_Choice // *Question_Selection Value isQuestion_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Question) Descriptor
deprecated
func (*Question) GetConfirm ¶
func (*Question) GetDisplay ¶
func (*Question) GetMessage ¶
func (*Question) GetSelection ¶
func (*Question) ProtoMessage ¶
func (*Question) ProtoMessage()
func (*Question) ProtoReflect ¶
func (x *Question) ProtoReflect() protoreflect.Message
type Question_Choice ¶
type Question_Choice struct {
Choice *Choice `protobuf:"bytes,7,opt,name=choice,proto3,oneof"`
}
type Question_Confirm ¶
type Question_Confirm struct {
Confirm *Confirm `protobuf:"bytes,5,opt,name=confirm,proto3,oneof"`
}
type Question_Display ¶
type Question_Display struct {
Display *Display `protobuf:"bytes,4,opt,name=display,proto3,oneof"`
}
type Question_Input ¶
type Question_Input struct {
Input *Input `protobuf:"bytes,6,opt,name=input,proto3,oneof"`
}
type Question_Selection ¶
type Question_Selection struct {
Selection *Selection `protobuf:"bytes,8,opt,name=selection,proto3,oneof"`
}
type Selection ¶
type Selection struct { Options []*Message `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Selection) Descriptor
deprecated
func (*Selection) GetOptions ¶
func (*Selection) ProtoMessage ¶
func (*Selection) ProtoMessage()
func (*Selection) ProtoReflect ¶
func (x *Selection) ProtoReflect() protoreflect.Message
type SelectionAnswer ¶
type SelectionAnswer struct { Selected []string `protobuf:"bytes,1,rep,name=selected,proto3" json:"selected,omitempty"` // contains filtered or unexported fields }
func (*SelectionAnswer) Descriptor
deprecated
func (*SelectionAnswer) Descriptor() ([]byte, []int)
Deprecated: Use SelectionAnswer.ProtoReflect.Descriptor instead.
func (*SelectionAnswer) GetSelected ¶
func (x *SelectionAnswer) GetSelected() []string
func (*SelectionAnswer) ProtoMessage ¶
func (*SelectionAnswer) ProtoMessage()
func (*SelectionAnswer) ProtoReflect ¶
func (x *SelectionAnswer) ProtoReflect() protoreflect.Message
func (*SelectionAnswer) Reset ¶
func (x *SelectionAnswer) Reset()
func (*SelectionAnswer) String ¶
func (x *SelectionAnswer) String() string
Click to show internal directories.
Click to hide internal directories.