Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterHuntGroupsServiceServer(s grpc.ServiceRegistrar, srv HuntGroupsServiceServer)
- type ExileLink
- func (*ExileLink) Descriptor() ([]byte, []int)deprecated
- func (x *ExileLink) GetDescription() string
- func (x *ExileLink) GetHuntGroupSid() int64
- func (x *ExileLink) GetInboundData() *ExileLinkData
- func (x *ExileLink) GetName() string
- func (x *ExileLink) GetOrder() int64
- func (x *ExileLink) GetOutboundData() *ExileLinkData
- func (x *ExileLink) GetParameterSid() int64
- func (*ExileLink) ProtoMessage()
- func (x *ExileLink) ProtoReflect() protoreflect.Message
- func (x *ExileLink) Reset()
- func (x *ExileLink) String() string
- type ExileLinkData
- func (*ExileLinkData) Descriptor() ([]byte, []int)deprecated
- func (x *ExileLinkData) GetAlternateId() *ExileLinkParameter
- func (x *ExileLinkData) GetRecordId() *ExileLinkParameter
- func (*ExileLinkData) ProtoMessage()
- func (x *ExileLinkData) ProtoReflect() protoreflect.Message
- func (x *ExileLinkData) Reset()
- func (x *ExileLinkData) String() string
- type ExileLinkParameter
- func (*ExileLinkParameter) Descriptor() ([]byte, []int)deprecated
- func (x *ExileLinkParameter) GetContactFieldSid() int64
- func (x *ExileLinkParameter) GetHelperValue() string
- func (x *ExileLinkParameter) GetParameterSourceType() org.ParameterSourceType
- func (*ExileLinkParameter) ProtoMessage()
- func (x *ExileLinkParameter) ProtoReflect() protoreflect.Message
- func (x *ExileLinkParameter) Reset()
- func (x *ExileLinkParameter) String() string
- type HuntGroupsServiceClient
- type HuntGroupsServiceServer
- type ListHuntGroupExileLinksRequest
- func (*ListHuntGroupExileLinksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHuntGroupExileLinksRequest) GetHuntGroupSid() int64
- func (*ListHuntGroupExileLinksRequest) ProtoMessage()
- func (x *ListHuntGroupExileLinksRequest) ProtoReflect() protoreflect.Message
- func (x *ListHuntGroupExileLinksRequest) Reset()
- func (x *ListHuntGroupExileLinksRequest) String() string
- type ListHuntGroupExileLinksResponse
- func (*ListHuntGroupExileLinksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHuntGroupExileLinksResponse) GetExileLinks() []*ExileLink
- func (*ListHuntGroupExileLinksResponse) ProtoMessage()
- func (x *ListHuntGroupExileLinksResponse) ProtoReflect() protoreflect.Message
- func (x *ListHuntGroupExileLinksResponse) Reset()
- func (x *ListHuntGroupExileLinksResponse) String() string
- type UnimplementedHuntGroupsServiceServer
- type UnsafeHuntGroupsServiceServer
Constants ¶
const (
HuntGroupsService_ListHuntGroupExileLinks_FullMethodName = "/services.org.hunt_groups.v1alpha1.HuntGroupsService/ListHuntGroupExileLinks"
)
Variables ¶
var File_services_org_hunt_groups_v1alpha1_entities_proto protoreflect.FileDescriptor
var File_services_org_hunt_groups_v1alpha1_service_proto protoreflect.FileDescriptor
var HuntGroupsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.org.hunt_groups.v1alpha1.HuntGroupsService", HandlerType: (*HuntGroupsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListHuntGroupExileLinks", Handler: _HuntGroupsService_ListHuntGroupExileLinks_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/org/hunt_groups/v1alpha1/service.proto", }
HuntGroupsService_ServiceDesc is the grpc.ServiceDesc for HuntGroupsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterHuntGroupsServiceServer ¶
func RegisterHuntGroupsServiceServer(s grpc.ServiceRegistrar, srv HuntGroupsServiceServer)
Types ¶
type ExileLink ¶
type ExileLink struct { // The sid or the unique ID of the exile link stored in the database. ParameterSid int64 `protobuf:"varint,1,opt,name=parameter_sid,json=parameterSid,proto3" json:"parameter_sid,omitempty"` // The sid of the hunt group which the exile link is associated with. HuntGroupSid int64 `protobuf:"varint,2,opt,name=hunt_group_sid,json=huntGroupSid,proto3" json:"hunt_group_sid,omitempty"` // The display name of the exile link. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // The description of the exile link. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // The order of the exile link, used when displaying. Order int64 `protobuf:"varint,5,opt,name=order,proto3" json:"order,omitempty"` // The parameter data for inbound calls. InboundData *ExileLinkData `protobuf:"bytes,6,opt,name=inbound_data,json=inboundData,proto3" json:"inbound_data,omitempty"` // The parameter data for outbound calls. OutboundData *ExileLinkData `protobuf:"bytes,7,opt,name=outbound_data,json=outboundData,proto3" json:"outbound_data,omitempty"` // contains filtered or unexported fields }
ExileLink defines a link between a hunt group and the exile service.
func (*ExileLink) Descriptor
deprecated
func (*ExileLink) GetDescription ¶
func (*ExileLink) GetHuntGroupSid ¶
func (*ExileLink) GetInboundData ¶
func (x *ExileLink) GetInboundData() *ExileLinkData
func (*ExileLink) GetOutboundData ¶
func (x *ExileLink) GetOutboundData() *ExileLinkData
func (*ExileLink) GetParameterSid ¶
func (*ExileLink) ProtoMessage ¶
func (*ExileLink) ProtoMessage()
func (*ExileLink) ProtoReflect ¶
func (x *ExileLink) ProtoReflect() protoreflect.Message
type ExileLinkData ¶
type ExileLinkData struct { RecordId *ExileLinkParameter `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"` AlternateId *ExileLinkParameter `protobuf:"bytes,2,opt,name=alternate_id,json=alternateId,proto3" json:"alternate_id,omitempty"` // contains filtered or unexported fields }
ExileLinkData to be passed to exile.
func (*ExileLinkData) Descriptor
deprecated
func (*ExileLinkData) Descriptor() ([]byte, []int)
Deprecated: Use ExileLinkData.ProtoReflect.Descriptor instead.
func (*ExileLinkData) GetAlternateId ¶
func (x *ExileLinkData) GetAlternateId() *ExileLinkParameter
func (*ExileLinkData) GetRecordId ¶
func (x *ExileLinkData) GetRecordId() *ExileLinkParameter
func (*ExileLinkData) ProtoMessage ¶
func (*ExileLinkData) ProtoMessage()
func (*ExileLinkData) ProtoReflect ¶
func (x *ExileLinkData) ProtoReflect() protoreflect.Message
func (*ExileLinkData) Reset ¶
func (x *ExileLinkData) Reset()
func (*ExileLinkData) String ¶
func (x *ExileLinkData) String() string
type ExileLinkParameter ¶
type ExileLinkParameter struct { // The ID for the contact field. ContactFieldSid int64 `protobuf:"varint,1,opt,name=contact_field_sid,json=contactFieldSid,proto3" json:"contact_field_sid,omitempty"` // The helper value of the parameter. HelperValue string `protobuf:"bytes,2,opt,name=helper_value,json=helperValue,proto3" json:"helper_value,omitempty"` // The source type of the parameter. ParameterSourceType org.ParameterSourceType `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
ExileLinkParameter describes the data or data source.
func (*ExileLinkParameter) Descriptor
deprecated
func (*ExileLinkParameter) Descriptor() ([]byte, []int)
Deprecated: Use ExileLinkParameter.ProtoReflect.Descriptor instead.
func (*ExileLinkParameter) GetContactFieldSid ¶
func (x *ExileLinkParameter) GetContactFieldSid() int64
func (*ExileLinkParameter) GetHelperValue ¶
func (x *ExileLinkParameter) GetHelperValue() string
func (*ExileLinkParameter) GetParameterSourceType ¶
func (x *ExileLinkParameter) GetParameterSourceType() org.ParameterSourceType
func (*ExileLinkParameter) ProtoMessage ¶
func (*ExileLinkParameter) ProtoMessage()
func (*ExileLinkParameter) ProtoReflect ¶
func (x *ExileLinkParameter) ProtoReflect() protoreflect.Message
func (*ExileLinkParameter) Reset ¶
func (x *ExileLinkParameter) Reset()
func (*ExileLinkParameter) String ¶
func (x *ExileLinkParameter) String() string
type HuntGroupsServiceClient ¶
type HuntGroupsServiceClient interface {
ListHuntGroupExileLinks(ctx context.Context, in *ListHuntGroupExileLinksRequest, opts ...grpc.CallOption) (*ListHuntGroupExileLinksResponse, error)
}
HuntGroupsServiceClient is the client API for HuntGroupsService 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.
HuntGroupsService
func NewHuntGroupsServiceClient ¶
func NewHuntGroupsServiceClient(cc grpc.ClientConnInterface) HuntGroupsServiceClient
type HuntGroupsServiceServer ¶
type HuntGroupsServiceServer interface { ListHuntGroupExileLinks(context.Context, *ListHuntGroupExileLinksRequest) (*ListHuntGroupExileLinksResponse, error) // contains filtered or unexported methods }
HuntGroupsServiceServer is the server API for HuntGroupsService service. All implementations must embed UnimplementedHuntGroupsServiceServer for forward compatibility
HuntGroupsService
type ListHuntGroupExileLinksRequest ¶
type ListHuntGroupExileLinksRequest struct { // The hunt group sid of the desired exile links HuntGroupSid int64 `protobuf:"varint,1,opt,name=hunt_group_sid,json=huntGroupSid,proto3" json:"hunt_group_sid,omitempty"` // contains filtered or unexported fields }
func (*ListHuntGroupExileLinksRequest) Descriptor
deprecated
func (*ListHuntGroupExileLinksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListHuntGroupExileLinksRequest.ProtoReflect.Descriptor instead.
func (*ListHuntGroupExileLinksRequest) GetHuntGroupSid ¶
func (x *ListHuntGroupExileLinksRequest) GetHuntGroupSid() int64
func (*ListHuntGroupExileLinksRequest) ProtoMessage ¶
func (*ListHuntGroupExileLinksRequest) ProtoMessage()
func (*ListHuntGroupExileLinksRequest) ProtoReflect ¶
func (x *ListHuntGroupExileLinksRequest) ProtoReflect() protoreflect.Message
func (*ListHuntGroupExileLinksRequest) Reset ¶
func (x *ListHuntGroupExileLinksRequest) Reset()
func (*ListHuntGroupExileLinksRequest) String ¶
func (x *ListHuntGroupExileLinksRequest) String() string
type ListHuntGroupExileLinksResponse ¶
type ListHuntGroupExileLinksResponse struct { // The links for exile ExileLinks []*ExileLink `protobuf:"bytes,1,rep,name=exile_links,json=exileLinks,proto3" json:"exile_links,omitempty"` // contains filtered or unexported fields }
func (*ListHuntGroupExileLinksResponse) Descriptor
deprecated
func (*ListHuntGroupExileLinksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListHuntGroupExileLinksResponse.ProtoReflect.Descriptor instead.
func (*ListHuntGroupExileLinksResponse) GetExileLinks ¶
func (x *ListHuntGroupExileLinksResponse) GetExileLinks() []*ExileLink
func (*ListHuntGroupExileLinksResponse) ProtoMessage ¶
func (*ListHuntGroupExileLinksResponse) ProtoMessage()
func (*ListHuntGroupExileLinksResponse) ProtoReflect ¶
func (x *ListHuntGroupExileLinksResponse) ProtoReflect() protoreflect.Message
func (*ListHuntGroupExileLinksResponse) Reset ¶
func (x *ListHuntGroupExileLinksResponse) Reset()
func (*ListHuntGroupExileLinksResponse) String ¶
func (x *ListHuntGroupExileLinksResponse) String() string
type UnimplementedHuntGroupsServiceServer ¶
type UnimplementedHuntGroupsServiceServer struct { }
UnimplementedHuntGroupsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHuntGroupsServiceServer) ListHuntGroupExileLinks ¶
func (UnimplementedHuntGroupsServiceServer) ListHuntGroupExileLinks(context.Context, *ListHuntGroupExileLinksRequest) (*ListHuntGroupExileLinksResponse, error)
type UnsafeHuntGroupsServiceServer ¶
type UnsafeHuntGroupsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHuntGroupsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HuntGroupsServiceServer will result in compilation errors.