Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
- type AgentClient
- type AgentInformation
- func (*AgentInformation) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInformation) GetCapabilities() []*Capability
- func (x *AgentInformation) GetConfigurationDetails() []*ConfigurationValueDetail
- func (x *AgentInformation) GetLanguages() []*Language
- func (x *AgentInformation) GetProtocols() []*Protocol
- func (x *AgentInformation) GetReadMe() string
- func (x *AgentInformation) GetRuntimeRequirements() []*Runtime
- func (*AgentInformation) ProtoMessage()
- func (x *AgentInformation) ProtoReflect() protoreflect.Message
- func (x *AgentInformation) Reset()
- func (x *AgentInformation) String() string
- type AgentInformationRequest
- type AgentServer
- type Answer
- func (*Answer) Descriptor() ([]byte, []int)deprecated
- func (x *Answer) GetChannel() *Channel
- 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) 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 Bom
- func (*Bom) Descriptor() ([]byte, []int)deprecated
- func (x *Bom) GetBomFormat() string
- func (x *Bom) GetComponents() []*Component
- func (x *Bom) GetSerialNumber() string
- func (x *Bom) GetSpecVersion() string
- func (x *Bom) GetVersion() int32
- func (*Bom) ProtoMessage()
- func (x *Bom) ProtoReflect() protoreflect.Message
- func (x *Bom) Reset()
- func (x *Bom) String() string
- type Capability
- type Capability_Type
- func (Capability_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Capability_Type) Enum() *Capability_Type
- func (Capability_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Capability_Type) Number() protoreflect.EnumNumber
- func (x Capability_Type) String() string
- func (Capability_Type) Type() protoreflect.EnumType
- type Channel
- type Choice
- type ChoiceAnswer
- type Component
- func (*Component) Descriptor() ([]byte, []int)deprecated
- func (x *Component) GetGroup() string
- func (x *Component) GetName() string
- func (x *Component) GetPurl() string
- func (x *Component) GetType() ComponentType
- func (x *Component) GetVersion() string
- func (*Component) ProtoMessage()
- func (x *Component) ProtoReflect() protoreflect.Message
- func (x *Component) Reset()
- func (x *Component) String() string
- type ComponentType
- func (ComponentType) Descriptor() protoreflect.EnumDescriptor
- func (x ComponentType) Enum() *ComponentType
- func (ComponentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComponentType) Number() protoreflect.EnumNumber
- func (x ComponentType) String() string
- func (ComponentType) Type() protoreflect.EnumType
- type ConfigurationValueDetail
- func (*ConfigurationValueDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationValueDetail) GetDescription() string
- func (x *ConfigurationValueDetail) GetFields() []*ConfigurationValueInformation
- func (x *ConfigurationValueDetail) GetName() string
- func (*ConfigurationValueDetail) ProtoMessage()
- func (x *ConfigurationValueDetail) ProtoReflect() protoreflect.Message
- func (x *ConfigurationValueDetail) Reset()
- func (x *ConfigurationValueDetail) String() string
- type ConfigurationValueInformation
- func (*ConfigurationValueInformation) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationValueInformation) GetDescription() string
- func (x *ConfigurationValueInformation) GetName() string
- func (*ConfigurationValueInformation) ProtoMessage()
- func (x *ConfigurationValueInformation) ProtoReflect() protoreflect.Message
- func (x *ConfigurationValueInformation) Reset()
- func (x *ConfigurationValueInformation) String() string
- type Confirm
- type ConfirmAnswer
- type Display
- type Engage
- func (*Engage) Descriptor() ([]byte, []int)deprecated
- func (x *Engage) GetAnswer() *Answer
- func (x *Engage) GetChannel() *Channel
- func (x *Engage) GetMode() Engage_Mode
- func (x *Engage) GetStage() string
- func (*Engage) ProtoMessage()
- func (x *Engage) ProtoReflect() protoreflect.Message
- func (x *Engage) Reset()
- func (x *Engage) String() string
- type Engage_Mode
- func (Engage_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x Engage_Mode) Enum() *Engage_Mode
- func (Engage_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Engage_Mode) Number() protoreflect.EnumNumber
- func (x Engage_Mode) String() string
- func (Engage_Mode) Type() protoreflect.EnumType
- type InformationRequest
- func (*InformationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InformationRequest) GetDone() bool
- 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 Language
- type Language_Type
- func (Language_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Language_Type) Enum() *Language_Type
- func (Language_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Language_Type) Number() protoreflect.EnumNumber
- func (x Language_Type) String() string
- func (Language_Type) Type() protoreflect.EnumType
- 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 Protocol
- type Protocol_Type
- func (Protocol_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Protocol_Type) Enum() *Protocol_Type
- func (Protocol_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Protocol_Type) Number() protoreflect.EnumNumber
- func (x Protocol_Type) String() string
- func (Protocol_Type) Type() protoreflect.EnumType
- type Question
- func (*Question) Descriptor() ([]byte, []int)deprecated
- func (x *Question) GetChannel() *Channel
- 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) 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 Runtime
- type Runtime_Type
- func (Runtime_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Runtime_Type) Enum() *Runtime_Type
- func (Runtime_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Runtime_Type) Number() protoreflect.EnumNumber
- func (x Runtime_Type) String() string
- func (Runtime_Type) Type() protoreflect.EnumType
- type Selection
- type SelectionAnswer
- type UnimplementedAgentServer
- type UnsafeAgentServer
Constants ¶
const (
Agent_GetAgentInformation_FullMethodName = "/services.agent.v0.Agent/GetAgentInformation"
)
Variables ¶
var ( Language_Type_name = map[int32]string{ 0: "GO", 1: "PYTHON", 2: "JAVASCRIPT", 3: "TYPESCRIPT", 4: "RUBY", } Language_Type_value = map[string]int32{ "GO": 0, "PYTHON": 1, "JAVASCRIPT": 2, "TYPESCRIPT": 3, "RUBY": 4, } )
Enum value maps for Language_Type.
var ( Protocol_Type_name = map[int32]string{ 0: "HTTP", 1: "GRPC", } Protocol_Type_value = map[string]int32{ "HTTP": 0, "GRPC": 1, } )
Enum value maps for Protocol_Type.
var ( Capability_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "BUILDER", 2: "RUNTIME", 3: "HOT_RELOAD", } Capability_Type_value = map[string]int32{ "UNKNOWN": 0, "BUILDER": 1, "RUNTIME": 2, "HOT_RELOAD": 3, } )
Enum value maps for Capability_Type.
var ( Runtime_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "GO", 2: "NPM", 3: "PYTHON", 4: "PYTHON_POETRY", 5: "RUBY", 6: "RUBY_GEM", 7: "RUBY_BUNDLE", } Runtime_Type_value = map[string]int32{ "UNKNOWN": 0, "GO": 1, "NPM": 2, "PYTHON": 3, "PYTHON_POETRY": 4, "RUBY": 5, "RUBY_GEM": 6, "RUBY_BUNDLE": 7, } )
Enum value maps for Runtime_Type.
var ( Engage_Mode_name = map[int32]string{ 0: "UNKNOWN", 1: "START", 2: "END", } Engage_Mode_value = map[string]int32{ "UNKNOWN": 0, "START": 1, "END": 2, } )
Enum value maps for Engage_Mode.
var ( ComponentType_name = map[int32]string{ 0: "LIBRARY", 1: "FRAMEWORK", 2: "MODULE", 3: "CONTAINER", } ComponentType_value = map[string]int32{ "LIBRARY": 0, "FRAMEWORK": 1, "MODULE": 2, "CONTAINER": 3, } )
Enum value maps for ComponentType.
var Agent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.agent.v0.Agent", HandlerType: (*AgentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAgentInformation", Handler: _Agent_GetAgentInformation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/agent/v0/agent.proto", }
Agent_ServiceDesc is the grpc.ServiceDesc for Agent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_services_agent_v0_agent_proto protoreflect.FileDescriptor
var File_services_agent_v0_communicate_proto protoreflect.FileDescriptor
var File_services_agent_v0_cyclonedx_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentServer ¶
func RegisterAgentServer(s grpc.ServiceRegistrar, srv AgentServer)
Types ¶
type AgentClient ¶
type AgentClient interface {
GetAgentInformation(ctx context.Context, in *AgentInformationRequest, opts ...grpc.CallOption) (*AgentInformation, error)
}
AgentClient is the client API for Agent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentClient ¶
func NewAgentClient(cc grpc.ClientConnInterface) AgentClient
type AgentInformation ¶
type AgentInformation struct { RuntimeRequirements []*Runtime `protobuf:"bytes,1,rep,name=runtime_requirements,json=runtimeRequirements,proto3" json:"runtime_requirements,omitempty"` Capabilities []*Capability `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"` Protocols []*Protocol `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"` Languages []*Language `protobuf:"bytes,4,rep,name=languages,proto3" json:"languages,omitempty"` ReadMe string `protobuf:"bytes,5,opt,name=read_me,json=readMe,proto3" json:"read_me,omitempty"` ConfigurationDetails []*ConfigurationValueDetail `protobuf:"bytes,6,rep,name=configuration_details,json=configurationDetails,proto3" json:"configuration_details,omitempty"` // contains filtered or unexported fields }
func (*AgentInformation) Descriptor
deprecated
func (*AgentInformation) Descriptor() ([]byte, []int)
Deprecated: Use AgentInformation.ProtoReflect.Descriptor instead.
func (*AgentInformation) GetCapabilities ¶
func (x *AgentInformation) GetCapabilities() []*Capability
func (*AgentInformation) GetConfigurationDetails ¶ added in v0.1.62
func (x *AgentInformation) GetConfigurationDetails() []*ConfigurationValueDetail
func (*AgentInformation) GetLanguages ¶
func (x *AgentInformation) GetLanguages() []*Language
func (*AgentInformation) GetProtocols ¶
func (x *AgentInformation) GetProtocols() []*Protocol
func (*AgentInformation) GetReadMe ¶
func (x *AgentInformation) GetReadMe() string
func (*AgentInformation) GetRuntimeRequirements ¶
func (x *AgentInformation) GetRuntimeRequirements() []*Runtime
func (*AgentInformation) ProtoMessage ¶
func (*AgentInformation) ProtoMessage()
func (*AgentInformation) ProtoReflect ¶
func (x *AgentInformation) ProtoReflect() protoreflect.Message
func (*AgentInformation) Reset ¶
func (x *AgentInformation) Reset()
func (*AgentInformation) String ¶
func (x *AgentInformation) String() string
type AgentInformationRequest ¶
type AgentInformationRequest struct {
// contains filtered or unexported fields
}
func (*AgentInformationRequest) Descriptor
deprecated
func (*AgentInformationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentInformationRequest.ProtoReflect.Descriptor instead.
func (*AgentInformationRequest) ProtoMessage ¶
func (*AgentInformationRequest) ProtoMessage()
func (*AgentInformationRequest) ProtoReflect ¶
func (x *AgentInformationRequest) ProtoReflect() protoreflect.Message
func (*AgentInformationRequest) Reset ¶
func (x *AgentInformationRequest) Reset()
func (*AgentInformationRequest) String ¶
func (x *AgentInformationRequest) String() string
type AgentServer ¶
type AgentServer interface { GetAgentInformation(context.Context, *AgentInformationRequest) (*AgentInformation, error) // contains filtered or unexported methods }
AgentServer is the server API for Agent service. All implementations must embed UnimplementedAgentServer for forward compatibility
type Answer ¶
type Answer struct { Done bool `protobuf:"varint,1,opt,name=done,proto3" json:"done,omitempty"` Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,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) GetChannel ¶
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 Bom ¶ added in v0.1.20
type Bom struct { BomFormat string `protobuf:"bytes,1,opt,name=bomFormat,proto3" json:"bomFormat,omitempty"` // Always "CycloneDX" SpecVersion string `protobuf:"bytes,2,opt,name=specVersion,proto3" json:"specVersion,omitempty"` SerialNumber string `protobuf:"bytes,3,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"` Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` Components []*Component `protobuf:"bytes,5,rep,name=components,proto3" json:"components,omitempty"` // Add other fields like metadata, dependencies, vulnerabilities, etc. // contains filtered or unexported fields }
Represents the entire SBOM
func (*Bom) Descriptor
deprecated
added in
v0.1.20
func (*Bom) GetBomFormat ¶ added in v0.1.20
func (*Bom) GetComponents ¶ added in v0.1.20
func (*Bom) GetSerialNumber ¶ added in v0.1.20
func (*Bom) GetSpecVersion ¶ added in v0.1.20
func (*Bom) GetVersion ¶ added in v0.1.20
func (*Bom) ProtoMessage ¶ added in v0.1.20
func (*Bom) ProtoMessage()
func (*Bom) ProtoReflect ¶ added in v0.1.20
func (x *Bom) ProtoReflect() protoreflect.Message
type Capability ¶
type Capability struct { Type Capability_Type `protobuf:"varint,1,opt,name=type,proto3,enum=services.agent.v0.Capability_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Capability) Descriptor
deprecated
func (*Capability) Descriptor() ([]byte, []int)
Deprecated: Use Capability.ProtoReflect.Descriptor instead.
func (*Capability) GetType ¶
func (x *Capability) GetType() Capability_Type
func (*Capability) ProtoMessage ¶
func (*Capability) ProtoMessage()
func (*Capability) ProtoReflect ¶
func (x *Capability) ProtoReflect() protoreflect.Message
func (*Capability) Reset ¶
func (x *Capability) Reset()
func (*Capability) String ¶
func (x *Capability) String() string
type Capability_Type ¶
type Capability_Type int32
const ( Capability_UNKNOWN Capability_Type = 0 Capability_BUILDER Capability_Type = 1 Capability_RUNTIME Capability_Type = 2 // Hot Reload is a runtime where a running process will NOT be restarted Capability_HOT_RELOAD Capability_Type = 3 )
func (Capability_Type) Descriptor ¶
func (Capability_Type) Descriptor() protoreflect.EnumDescriptor
func (Capability_Type) Enum ¶
func (x Capability_Type) Enum() *Capability_Type
func (Capability_Type) EnumDescriptor
deprecated
func (Capability_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Capability_Type.Descriptor instead.
func (Capability_Type) Number ¶
func (x Capability_Type) Number() protoreflect.EnumNumber
func (Capability_Type) String ¶
func (x Capability_Type) String() string
func (Capability_Type) Type ¶
func (Capability_Type) Type() protoreflect.EnumType
type Channel ¶
type Channel struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,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 Component ¶ added in v0.1.20
type Component struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Type ComponentType `protobuf:"varint,3,opt,name=type,proto3,enum=cyclonedx.ComponentType" json:"type,omitempty"` Group string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"` // Optional Purl string `protobuf:"bytes,5,opt,name=purl,proto3" json:"purl,omitempty"` // Package URL // contains filtered or unexported fields }
Represents a component in the SBOM
func (*Component) Descriptor
deprecated
added in
v0.1.20
func (*Component) GetType ¶ added in v0.1.20
func (x *Component) GetType() ComponentType
func (*Component) GetVersion ¶ added in v0.1.20
func (*Component) ProtoMessage ¶ added in v0.1.20
func (*Component) ProtoMessage()
func (*Component) ProtoReflect ¶ added in v0.1.20
func (x *Component) ProtoReflect() protoreflect.Message
type ComponentType ¶ added in v0.1.20
type ComponentType int32
const ( ComponentType_LIBRARY ComponentType = 0 ComponentType_FRAMEWORK ComponentType = 1 ComponentType_MODULE ComponentType = 2 ComponentType_CONTAINER ComponentType = 3 // Add other component types )
func (ComponentType) Descriptor ¶ added in v0.1.20
func (ComponentType) Descriptor() protoreflect.EnumDescriptor
func (ComponentType) Enum ¶ added in v0.1.20
func (x ComponentType) Enum() *ComponentType
func (ComponentType) EnumDescriptor
deprecated
added in
v0.1.20
func (ComponentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComponentType.Descriptor instead.
func (ComponentType) Number ¶ added in v0.1.20
func (x ComponentType) Number() protoreflect.EnumNumber
func (ComponentType) String ¶ added in v0.1.20
func (x ComponentType) String() string
func (ComponentType) Type ¶ added in v0.1.20
func (ComponentType) Type() protoreflect.EnumType
type ConfigurationValueDetail ¶ added in v0.1.62
type ConfigurationValueDetail struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Fields []*ConfigurationValueInformation `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationValueDetail) Descriptor
deprecated
added in
v0.1.62
func (*ConfigurationValueDetail) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationValueDetail.ProtoReflect.Descriptor instead.
func (*ConfigurationValueDetail) GetDescription ¶ added in v0.1.62
func (x *ConfigurationValueDetail) GetDescription() string
func (*ConfigurationValueDetail) GetFields ¶ added in v0.1.62
func (x *ConfigurationValueDetail) GetFields() []*ConfigurationValueInformation
func (*ConfigurationValueDetail) GetName ¶ added in v0.1.62
func (x *ConfigurationValueDetail) GetName() string
func (*ConfigurationValueDetail) ProtoMessage ¶ added in v0.1.62
func (*ConfigurationValueDetail) ProtoMessage()
func (*ConfigurationValueDetail) ProtoReflect ¶ added in v0.1.62
func (x *ConfigurationValueDetail) ProtoReflect() protoreflect.Message
func (*ConfigurationValueDetail) Reset ¶ added in v0.1.62
func (x *ConfigurationValueDetail) Reset()
func (*ConfigurationValueDetail) String ¶ added in v0.1.62
func (x *ConfigurationValueDetail) String() string
type ConfigurationValueInformation ¶ added in v0.1.62
type ConfigurationValueInformation struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*ConfigurationValueInformation) Descriptor
deprecated
added in
v0.1.62
func (*ConfigurationValueInformation) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationValueInformation.ProtoReflect.Descriptor instead.
func (*ConfigurationValueInformation) GetDescription ¶ added in v0.1.62
func (x *ConfigurationValueInformation) GetDescription() string
func (*ConfigurationValueInformation) GetName ¶ added in v0.1.62
func (x *ConfigurationValueInformation) GetName() string
func (*ConfigurationValueInformation) ProtoMessage ¶ added in v0.1.62
func (*ConfigurationValueInformation) ProtoMessage()
func (*ConfigurationValueInformation) ProtoReflect ¶ added in v0.1.62
func (x *ConfigurationValueInformation) ProtoReflect() protoreflect.Message
func (*ConfigurationValueInformation) Reset ¶ added in v0.1.62
func (x *ConfigurationValueInformation) Reset()
func (*ConfigurationValueInformation) String ¶ added in v0.1.62
func (x *ConfigurationValueInformation) 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 { Mode Engage_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=services.agent.v0.Engage_Mode" json:"mode,omitempty"` Stage string `protobuf:"bytes,2,opt,name=stage,proto3" json:"stage,omitempty"` Channel *Channel `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` Answer *Answer `protobuf:"bytes,4,opt,name=answer,proto3" json:"answer,omitempty"` // contains filtered or unexported fields }
func (*Engage) Descriptor
deprecated
func (*Engage) GetChannel ¶
func (*Engage) GetMode ¶
func (x *Engage) GetMode() Engage_Mode
func (*Engage) ProtoMessage ¶
func (*Engage) ProtoMessage()
func (*Engage) ProtoReflect ¶
func (x *Engage) ProtoReflect() protoreflect.Message
type Engage_Mode ¶
type Engage_Mode int32
const ( Engage_UNKNOWN Engage_Mode = 0 Engage_START Engage_Mode = 1 Engage_END Engage_Mode = 2 )
func (Engage_Mode) Descriptor ¶
func (Engage_Mode) Descriptor() protoreflect.EnumDescriptor
func (Engage_Mode) Enum ¶
func (x Engage_Mode) Enum() *Engage_Mode
func (Engage_Mode) EnumDescriptor
deprecated
func (Engage_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Engage_Mode.Descriptor instead.
func (Engage_Mode) Number ¶
func (x Engage_Mode) Number() protoreflect.EnumNumber
func (Engage_Mode) String ¶
func (x Engage_Mode) String() string
func (Engage_Mode) Type ¶
func (Engage_Mode) Type() protoreflect.EnumType
type InformationRequest ¶
type InformationRequest struct { Question *Question `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"` Done bool `protobuf:"varint,2,opt,name=done,proto3" json:"done,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) 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 Language ¶
type Language struct { Type Language_Type `protobuf:"varint,1,opt,name=type,proto3,enum=services.agent.v0.Language_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Language) Descriptor
deprecated
func (*Language) GetType ¶
func (x *Language) GetType() Language_Type
func (*Language) ProtoMessage ¶
func (*Language) ProtoMessage()
func (*Language) ProtoReflect ¶
func (x *Language) ProtoReflect() protoreflect.Message
type Language_Type ¶
type Language_Type int32
const ( Language_GO Language_Type = 0 Language_PYTHON Language_Type = 1 Language_JAVASCRIPT Language_Type = 2 Language_TYPESCRIPT Language_Type = 3 Language_RUBY Language_Type = 4 )
func (Language_Type) Descriptor ¶
func (Language_Type) Descriptor() protoreflect.EnumDescriptor
func (Language_Type) Enum ¶
func (x Language_Type) Enum() *Language_Type
func (Language_Type) EnumDescriptor
deprecated
func (Language_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Language_Type.Descriptor instead.
func (Language_Type) Number ¶
func (x Language_Type) Number() protoreflect.EnumNumber
func (Language_Type) String ¶
func (x Language_Type) String() string
func (Language_Type) Type ¶
func (Language_Type) 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 Protocol ¶
type Protocol struct { Type Protocol_Type `protobuf:"varint,1,opt,name=type,proto3,enum=services.agent.v0.Protocol_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Protocol) Descriptor
deprecated
func (*Protocol) GetType ¶
func (x *Protocol) GetType() Protocol_Type
func (*Protocol) ProtoMessage ¶
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶
func (x *Protocol) ProtoReflect() protoreflect.Message
type Protocol_Type ¶
type Protocol_Type int32
const ( Protocol_HTTP Protocol_Type = 0 Protocol_GRPC Protocol_Type = 1 )
func (Protocol_Type) Descriptor ¶
func (Protocol_Type) Descriptor() protoreflect.EnumDescriptor
func (Protocol_Type) Enum ¶
func (x Protocol_Type) Enum() *Protocol_Type
func (Protocol_Type) EnumDescriptor
deprecated
func (Protocol_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Protocol_Type.Descriptor instead.
func (Protocol_Type) Number ¶
func (x Protocol_Type) Number() protoreflect.EnumNumber
func (Protocol_Type) String ¶
func (x Protocol_Type) String() string
func (Protocol_Type) Type ¶
func (Protocol_Type) Type() protoreflect.EnumType
type Question ¶
type Question struct { Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,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) GetChannel ¶
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 Runtime ¶
type Runtime struct { Type Runtime_Type `protobuf:"varint,1,opt,name=type,proto3,enum=services.agent.v0.Runtime_Type" json:"type,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Runtime) Descriptor
deprecated
func (*Runtime) GetType ¶
func (x *Runtime) GetType() Runtime_Type
func (*Runtime) GetVersion ¶ added in v0.1.64
func (*Runtime) ProtoMessage ¶
func (*Runtime) ProtoMessage()
func (*Runtime) ProtoReflect ¶
func (x *Runtime) ProtoReflect() protoreflect.Message
type Runtime_Type ¶
type Runtime_Type int32
const ( Runtime_UNKNOWN Runtime_Type = 0 Runtime_GO Runtime_Type = 1 Runtime_NPM Runtime_Type = 2 Runtime_PYTHON Runtime_Type = 3 Runtime_PYTHON_POETRY Runtime_Type = 4 Runtime_RUBY Runtime_Type = 5 Runtime_RUBY_GEM Runtime_Type = 6 Runtime_RUBY_BUNDLE Runtime_Type = 7 )
func (Runtime_Type) Descriptor ¶
func (Runtime_Type) Descriptor() protoreflect.EnumDescriptor
func (Runtime_Type) Enum ¶
func (x Runtime_Type) Enum() *Runtime_Type
func (Runtime_Type) EnumDescriptor
deprecated
func (Runtime_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Runtime_Type.Descriptor instead.
func (Runtime_Type) Number ¶
func (x Runtime_Type) Number() protoreflect.EnumNumber
func (Runtime_Type) String ¶
func (x Runtime_Type) String() string
func (Runtime_Type) Type ¶
func (Runtime_Type) Type() protoreflect.EnumType
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
type UnimplementedAgentServer ¶
type UnimplementedAgentServer struct { }
UnimplementedAgentServer must be embedded to have forward compatible implementations.
func (UnimplementedAgentServer) GetAgentInformation ¶
func (UnimplementedAgentServer) GetAgentInformation(context.Context, *AgentInformationRequest) (*AgentInformation, error)
type UnsafeAgentServer ¶
type UnsafeAgentServer interface {
// contains filtered or unexported methods
}
UnsafeAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServer will result in compilation errors.