Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAgentsServer(s grpc.ServiceRegistrar, srv AgentsServer)
- func RegisterChannelsServer(s grpc.ServiceRegistrar, srv ChannelsServer)
- type AgentFilters
- type AgentsClient
- type AgentsServer
- type ChannelFilters
- type ChannelsClient
- type ChannelsServer
- type CreateAgentRequest
- func (*CreateAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAgentRequest) GetAgents() []*pb.Agent
- func (x *CreateAgentRequest) GetFilters() *AgentFilters
- func (*CreateAgentRequest) ProtoMessage()
- func (x *CreateAgentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAgentRequest) Reset()
- func (x *CreateAgentRequest) String() string
- type CreateAgentResponse
- func (*CreateAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAgentResponse) GetAgents() []*pb.Agent
- func (*CreateAgentResponse) ProtoMessage()
- func (x *CreateAgentResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAgentResponse) Reset()
- func (x *CreateAgentResponse) String() string
- type CreateChannelRequest
- func (*CreateChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelRequest) GetChannels() []*pb.Channel
- func (x *CreateChannelRequest) GetFilters() *ChannelFilters
- func (*CreateChannelRequest) ProtoMessage()
- func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChannelRequest) Reset()
- func (x *CreateChannelRequest) String() string
- type CreateChannelResponse
- func (*CreateChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelResponse) GetChannels() []*pb.Channel
- func (*CreateChannelResponse) ProtoMessage()
- func (x *CreateChannelResponse) ProtoReflect() protoreflect.Message
- func (x *CreateChannelResponse) Reset()
- func (x *CreateChannelResponse) String() string
- type DeleteAgentRequest
- func (*DeleteAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAgentRequest) GetAgents() []*pb.Agent
- func (*DeleteAgentRequest) ProtoMessage()
- func (x *DeleteAgentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAgentRequest) Reset()
- func (x *DeleteAgentRequest) String() string
- type DeleteAgentResponse
- func (*DeleteAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAgentResponse) GetAgents() []*pb.Agent
- func (*DeleteAgentResponse) ProtoMessage()
- func (x *DeleteAgentResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAgentResponse) Reset()
- func (x *DeleteAgentResponse) String() string
- type DeleteChannelRequest
- func (*DeleteChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelRequest) GetChannels() []*pb.Channel
- func (*DeleteChannelRequest) ProtoMessage()
- func (x *DeleteChannelRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelRequest) Reset()
- func (x *DeleteChannelRequest) String() string
- type DeleteChannelResponse
- func (*DeleteChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelResponse) GetChannels() []*pb.Channel
- func (*DeleteChannelResponse) ProtoMessage()
- func (x *DeleteChannelResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelResponse) Reset()
- func (x *DeleteChannelResponse) String() string
- type ReadAgentRequest
- func (*ReadAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAgentRequest) GetAgent() *pb.Agent
- func (x *ReadAgentRequest) GetFilters() *AgentFilters
- func (*ReadAgentRequest) ProtoMessage()
- func (x *ReadAgentRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAgentRequest) Reset()
- func (x *ReadAgentRequest) String() string
- type ReadAgentResponse
- func (*ReadAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAgentResponse) GetAgents() []*pb.Agent
- func (*ReadAgentResponse) ProtoMessage()
- func (x *ReadAgentResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAgentResponse) Reset()
- func (x *ReadAgentResponse) String() string
- type ReadChannelRequest
- func (*ReadChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadChannelRequest) GetChannel() *pb.Channel
- func (x *ReadChannelRequest) GetFilters() *ChannelFilters
- func (*ReadChannelRequest) ProtoMessage()
- func (x *ReadChannelRequest) ProtoReflect() protoreflect.Message
- func (x *ReadChannelRequest) Reset()
- func (x *ReadChannelRequest) String() string
- type ReadChannelResponse
- func (*ReadChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadChannelResponse) GetChannels() []*pb.Channel
- func (*ReadChannelResponse) ProtoMessage()
- func (x *ReadChannelResponse) ProtoReflect() protoreflect.Message
- func (x *ReadChannelResponse) Reset()
- func (x *ReadChannelResponse) String() string
- type UnimplementedAgentsServer
- func (UnimplementedAgentsServer) Create(context.Context, *CreateAgentRequest) (*CreateAgentResponse, error)
- func (UnimplementedAgentsServer) Delete(context.Context, *DeleteAgentRequest) (*DeleteAgentResponse, error)
- func (UnimplementedAgentsServer) Read(context.Context, *ReadAgentRequest) (*ReadAgentResponse, error)
- func (UnimplementedAgentsServer) Upsert(context.Context, *UpsertAgentRequest) (*UpsertAgentResponse, error)
- type UnimplementedChannelsServer
- func (UnimplementedChannelsServer) Create(context.Context, *CreateChannelRequest) (*CreateChannelResponse, error)
- func (UnimplementedChannelsServer) Delete(context.Context, *DeleteChannelRequest) (*DeleteChannelResponse, error)
- func (UnimplementedChannelsServer) Read(context.Context, *ReadChannelRequest) (*ReadChannelResponse, error)
- func (UnimplementedChannelsServer) Upsert(context.Context, *UpsertChannelRequest) (*UpsertChannelResponse, error)
- type UnsafeAgentsServer
- type UnsafeChannelsServer
- type UpsertAgentRequest
- func (*UpsertAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertAgentRequest) GetAgents() []*pb.Agent
- func (x *UpsertAgentRequest) GetFilters() *AgentFilters
- func (*UpsertAgentRequest) ProtoMessage()
- func (x *UpsertAgentRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertAgentRequest) Reset()
- func (x *UpsertAgentRequest) String() string
- type UpsertAgentResponse
- func (*UpsertAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertAgentResponse) GetAgents() []*pb.Agent
- func (*UpsertAgentResponse) ProtoMessage()
- func (x *UpsertAgentResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertAgentResponse) Reset()
- func (x *UpsertAgentResponse) String() string
- type UpsertChannelRequest
- func (*UpsertChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertChannelRequest) GetChannels() []*pb.Channel
- func (x *UpsertChannelRequest) GetFilters() *ChannelFilters
- func (*UpsertChannelRequest) ProtoMessage()
- func (x *UpsertChannelRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertChannelRequest) Reset()
- func (x *UpsertChannelRequest) String() string
- type UpsertChannelResponse
- func (*UpsertChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertChannelResponse) GetChannels() []*pb.Channel
- func (*UpsertChannelResponse) ProtoMessage()
- func (x *UpsertChannelResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertChannelResponse) Reset()
- func (x *UpsertChannelResponse) String() string
Constants ¶
const ( Agents_Create_FullMethodName = "/c2.Agents/Create" Agents_Read_FullMethodName = "/c2.Agents/Read" Agents_Upsert_FullMethodName = "/c2.Agents/Upsert" Agents_Delete_FullMethodName = "/c2.Agents/Delete" )
const ( Channels_Create_FullMethodName = "/c2.Channels/Create" Channels_Read_FullMethodName = "/c2.Channels/Read" Channels_Upsert_FullMethodName = "/c2.Channels/Upsert" Channels_Delete_FullMethodName = "/c2.Channels/Delete" )
Variables ¶
var Agents_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c2.Agents", HandlerType: (*AgentsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Agents_Create_Handler, }, { MethodName: "Read", Handler: _Agents_Read_Handler, }, { MethodName: "Upsert", Handler: _Agents_Upsert_Handler, }, { MethodName: "Delete", Handler: _Agents_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c2/pb/rpc/agents.proto", }
Agents_ServiceDesc is the grpc.ServiceDesc for Agents service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Channels_ServiceDesc = grpc.ServiceDesc{ ServiceName: "c2.Channels", HandlerType: (*ChannelsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Channels_Create_Handler, }, { MethodName: "Read", Handler: _Channels_Read_Handler, }, { MethodName: "Upsert", Handler: _Channels_Upsert_Handler, }, { MethodName: "Delete", Handler: _Channels_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "c2/pb/rpc/channels.proto", }
Channels_ServiceDesc is the grpc.ServiceDesc for Channels service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_c2_pb_rpc_agents_proto protoreflect.FileDescriptor
var File_c2_pb_rpc_channels_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentsServer ¶
func RegisterAgentsServer(s grpc.ServiceRegistrar, srv AgentsServer)
func RegisterChannelsServer ¶
func RegisterChannelsServer(s grpc.ServiceRegistrar, srv ChannelsServer)
Types ¶
type AgentFilters ¶
type AgentFilters struct {
MaxResults int64 `protobuf:"varint,1,opt,name=MaxResults,proto3" json:"MaxResults,omitempty"`
// contains filtered or unexported fields
}
func (*AgentFilters) Descriptor
deprecated
func (*AgentFilters) Descriptor() ([]byte, []int)
Deprecated: Use AgentFilters.ProtoReflect.Descriptor instead.
func (*AgentFilters) GetMaxResults ¶
func (x *AgentFilters) GetMaxResults() int64
func (*AgentFilters) ProtoMessage ¶
func (*AgentFilters) ProtoMessage()
func (*AgentFilters) ProtoReflect ¶
func (x *AgentFilters) ProtoReflect() protoreflect.Message
func (*AgentFilters) Reset ¶
func (x *AgentFilters) Reset()
func (*AgentFilters) String ¶
func (x *AgentFilters) String() string
type AgentsClient ¶
type AgentsClient interface {
// General
Create(ctx context.Context, in *CreateAgentRequest, opts ...grpc.CallOption) (*CreateAgentResponse, error)
Read(ctx context.Context, in *ReadAgentRequest, opts ...grpc.CallOption) (*ReadAgentResponse, error)
Upsert(ctx context.Context, in *UpsertAgentRequest, opts ...grpc.CallOption) (*UpsertAgentResponse, error)
Delete(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*DeleteAgentResponse, error)
}
AgentsClient is the client API for Agents 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 NewAgentsClient ¶
func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient
type AgentsServer ¶
type AgentsServer interface {
// General
Create(context.Context, *CreateAgentRequest) (*CreateAgentResponse, error)
Read(context.Context, *ReadAgentRequest) (*ReadAgentResponse, error)
Upsert(context.Context, *UpsertAgentRequest) (*UpsertAgentResponse, error)
Delete(context.Context, *DeleteAgentRequest) (*DeleteAgentResponse, error)
// contains filtered or unexported methods
}
AgentsServer is the server API for Agents service. All implementations must embed UnimplementedAgentsServer for forward compatibility
type ChannelFilters ¶
type ChannelFilters struct {
MaxResults int64 `protobuf:"varint,1,opt,name=MaxResults,proto3" json:"MaxResults,omitempty"`
// contains filtered or unexported fields
}
func (*ChannelFilters) Descriptor
deprecated
func (*ChannelFilters) Descriptor() ([]byte, []int)
Deprecated: Use ChannelFilters.ProtoReflect.Descriptor instead.
func (*ChannelFilters) GetMaxResults ¶
func (x *ChannelFilters) GetMaxResults() int64
func (*ChannelFilters) ProtoMessage ¶
func (*ChannelFilters) ProtoMessage()
func (*ChannelFilters) ProtoReflect ¶
func (x *ChannelFilters) ProtoReflect() protoreflect.Message
func (*ChannelFilters) Reset ¶
func (x *ChannelFilters) Reset()
func (*ChannelFilters) String ¶
func (x *ChannelFilters) String() string
type ChannelsClient ¶
type ChannelsClient interface {
// General
Create(ctx context.Context, in *CreateChannelRequest, opts ...grpc.CallOption) (*CreateChannelResponse, error)
Read(ctx context.Context, in *ReadChannelRequest, opts ...grpc.CallOption) (*ReadChannelResponse, error)
Upsert(ctx context.Context, in *UpsertChannelRequest, opts ...grpc.CallOption) (*UpsertChannelResponse, error)
Delete(ctx context.Context, in *DeleteChannelRequest, opts ...grpc.CallOption) (*DeleteChannelResponse, error)
}
ChannelsClient is the client API for Channels 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 NewChannelsClient ¶
func NewChannelsClient(cc grpc.ClientConnInterface) ChannelsClient
type ChannelsServer ¶
type ChannelsServer interface {
// General
Create(context.Context, *CreateChannelRequest) (*CreateChannelResponse, error)
Read(context.Context, *ReadChannelRequest) (*ReadChannelResponse, error)
Upsert(context.Context, *UpsertChannelRequest) (*UpsertChannelResponse, error)
Delete(context.Context, *DeleteChannelRequest) (*DeleteChannelResponse, error)
// contains filtered or unexported methods
}
ChannelsServer is the server API for Channels service. All implementations must embed UnimplementedChannelsServer for forward compatibility
type CreateAgentRequest ¶
type CreateAgentRequest struct {
Filters *AgentFilters `protobuf:"bytes,1,opt,name=Filters,proto3" json:"Filters,omitempty"`
Agents []*pb.Agent `protobuf:"bytes,2,rep,name=Agents,proto3" json:"Agents,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAgentRequest) Descriptor
deprecated
func (*CreateAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAgentRequest.ProtoReflect.Descriptor instead.
func (*CreateAgentRequest) GetAgents ¶
func (x *CreateAgentRequest) GetAgents() []*pb.Agent
func (*CreateAgentRequest) GetFilters ¶
func (x *CreateAgentRequest) GetFilters() *AgentFilters
func (*CreateAgentRequest) ProtoMessage ¶
func (*CreateAgentRequest) ProtoMessage()
func (*CreateAgentRequest) ProtoReflect ¶
func (x *CreateAgentRequest) ProtoReflect() protoreflect.Message
func (*CreateAgentRequest) Reset ¶
func (x *CreateAgentRequest) Reset()
func (*CreateAgentRequest) String ¶
func (x *CreateAgentRequest) String() string
type CreateAgentResponse ¶
type CreateAgentResponse struct {
Agents []*pb.Agent `protobuf:"bytes,1,rep,name=Agents,proto3" json:"Agents,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAgentResponse) Descriptor
deprecated
func (*CreateAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAgentResponse.ProtoReflect.Descriptor instead.
func (*CreateAgentResponse) GetAgents ¶
func (x *CreateAgentResponse) GetAgents() []*pb.Agent
func (*CreateAgentResponse) ProtoMessage ¶
func (*CreateAgentResponse) ProtoMessage()
func (*CreateAgentResponse) ProtoReflect ¶
func (x *CreateAgentResponse) ProtoReflect() protoreflect.Message
func (*CreateAgentResponse) Reset ¶
func (x *CreateAgentResponse) Reset()
func (*CreateAgentResponse) String ¶
func (x *CreateAgentResponse) String() string
type CreateChannelRequest ¶
type CreateChannelRequest struct {
Filters *ChannelFilters `protobuf:"bytes,1,opt,name=Filters,proto3" json:"Filters,omitempty"`
Channels []*pb.Channel `protobuf:"bytes,2,rep,name=Channels,proto3" json:"Channels,omitempty"`
// contains filtered or unexported fields
}
func (*CreateChannelRequest) Descriptor
deprecated
func (*CreateChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelRequest.ProtoReflect.Descriptor instead.
func (*CreateChannelRequest) GetChannels ¶
func (x *CreateChannelRequest) GetChannels() []*pb.Channel
func (*CreateChannelRequest) GetFilters ¶
func (x *CreateChannelRequest) GetFilters() *ChannelFilters
func (*CreateChannelRequest) ProtoMessage ¶
func (*CreateChannelRequest) ProtoMessage()
func (*CreateChannelRequest) ProtoReflect ¶
func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
func (*CreateChannelRequest) Reset ¶
func (x *CreateChannelRequest) Reset()
func (*CreateChannelRequest) String ¶
func (x *CreateChannelRequest) String() string
type CreateChannelResponse ¶
type CreateChannelResponse struct {
Channels []*pb.Channel `protobuf:"bytes,1,rep,name=Channels,proto3" json:"Channels,omitempty"`
// contains filtered or unexported fields
}
func (*CreateChannelResponse) Descriptor
deprecated
func (*CreateChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelResponse.ProtoReflect.Descriptor instead.
func (*CreateChannelResponse) GetChannels ¶
func (x *CreateChannelResponse) GetChannels() []*pb.Channel
func (*CreateChannelResponse) ProtoMessage ¶
func (*CreateChannelResponse) ProtoMessage()
func (*CreateChannelResponse) ProtoReflect ¶
func (x *CreateChannelResponse) ProtoReflect() protoreflect.Message
func (*CreateChannelResponse) Reset ¶
func (x *CreateChannelResponse) Reset()
func (*CreateChannelResponse) String ¶
func (x *CreateChannelResponse) String() string
type DeleteAgentRequest ¶
type DeleteAgentRequest struct {
Agents []*pb.Agent `protobuf:"bytes,1,rep,name=Agents,proto3" json:"Agents,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteAgentRequest) Descriptor
deprecated
func (*DeleteAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.
func (*DeleteAgentRequest) GetAgents ¶
func (x *DeleteAgentRequest) GetAgents() []*pb.Agent
func (*DeleteAgentRequest) ProtoMessage ¶
func (*DeleteAgentRequest) ProtoMessage()
func (*DeleteAgentRequest) ProtoReflect ¶
func (x *DeleteAgentRequest) ProtoReflect() protoreflect.Message
func (*DeleteAgentRequest) Reset ¶
func (x *DeleteAgentRequest) Reset()
func (*DeleteAgentRequest) String ¶
func (x *DeleteAgentRequest) String() string
type DeleteAgentResponse ¶
type DeleteAgentResponse struct {
Agents []*pb.Agent `protobuf:"bytes,1,rep,name=Agents,proto3" json:"Agents,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteAgentResponse) Descriptor
deprecated
func (*DeleteAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAgentResponse.ProtoReflect.Descriptor instead.
func (*DeleteAgentResponse) GetAgents ¶
func (x *DeleteAgentResponse) GetAgents() []*pb.Agent
func (*DeleteAgentResponse) ProtoMessage ¶
func (*DeleteAgentResponse) ProtoMessage()
func (*DeleteAgentResponse) ProtoReflect ¶
func (x *DeleteAgentResponse) ProtoReflect() protoreflect.Message
func (*DeleteAgentResponse) Reset ¶
func (x *DeleteAgentResponse) Reset()
func (*DeleteAgentResponse) String ¶
func (x *DeleteAgentResponse) String() string
type DeleteChannelRequest ¶
type DeleteChannelRequest struct {
Channels []*pb.Channel `protobuf:"bytes,1,rep,name=Channels,proto3" json:"Channels,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteChannelRequest) Descriptor
deprecated
func (*DeleteChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelRequest.ProtoReflect.Descriptor instead.
func (*DeleteChannelRequest) GetChannels ¶
func (x *DeleteChannelRequest) GetChannels() []*pb.Channel
func (*DeleteChannelRequest) ProtoMessage ¶
func (*DeleteChannelRequest) ProtoMessage()
func (*DeleteChannelRequest) ProtoReflect ¶
func (x *DeleteChannelRequest) ProtoReflect() protoreflect.Message
func (*DeleteChannelRequest) Reset ¶
func (x *DeleteChannelRequest) Reset()
func (*DeleteChannelRequest) String ¶
func (x *DeleteChannelRequest) String() string
type DeleteChannelResponse ¶
type DeleteChannelResponse struct {
Channels []*pb.Channel `protobuf:"bytes,1,rep,name=Channels,proto3" json:"Channels,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteChannelResponse) Descriptor
deprecated
func (*DeleteChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelResponse.ProtoReflect.Descriptor instead.
func (*DeleteChannelResponse) GetChannels ¶
func (x *DeleteChannelResponse) GetChannels() []*pb.Channel
func (*DeleteChannelResponse) ProtoMessage ¶
func (*DeleteChannelResponse) ProtoMessage()
func (*DeleteChannelResponse) ProtoReflect ¶
func (x *DeleteChannelResponse) ProtoReflect() protoreflect.Message
func (*DeleteChannelResponse) Reset ¶
func (x *DeleteChannelResponse) Reset()
func (*DeleteChannelResponse) String ¶
func (x *DeleteChannelResponse) String() string
type ReadAgentRequest ¶
type ReadAgentRequest struct {
Filters *AgentFilters `protobuf:"bytes,1,opt,name=Filters,proto3" json:"Filters,omitempty"`
Agent *pb.Agent `protobuf:"bytes,2,opt,name=Agent,proto3" json:"Agent,omitempty"`
// contains filtered or unexported fields
}
func (*ReadAgentRequest) Descriptor
deprecated
func (*ReadAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadAgentRequest.ProtoReflect.Descriptor instead.
func (*ReadAgentRequest) GetAgent ¶
func (x *ReadAgentRequest) GetAgent() *pb.Agent
func (*ReadAgentRequest) GetFilters ¶
func (x *ReadAgentRequest) GetFilters() *AgentFilters
func (*ReadAgentRequest) ProtoMessage ¶
func (*ReadAgentRequest) ProtoMessage()
func (*ReadAgentRequest) ProtoReflect ¶
func (x *ReadAgentRequest) ProtoReflect() protoreflect.Message
func (*ReadAgentRequest) Reset ¶
func (x *ReadAgentRequest) Reset()
func (*ReadAgentRequest) String ¶
func (x *ReadAgentRequest) String() string
type ReadAgentResponse ¶
type ReadAgentResponse struct {
Agents []*pb.Agent `protobuf:"bytes,1,rep,name=Agents,proto3" json:"Agents,omitempty"`
// contains filtered or unexported fields
}
func (*ReadAgentResponse) Descriptor
deprecated
func (*ReadAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadAgentResponse.ProtoReflect.Descriptor instead.
func (*ReadAgentResponse) GetAgents ¶
func (x *ReadAgentResponse) GetAgents() []*pb.Agent
func (*ReadAgentResponse) ProtoMessage ¶
func (*ReadAgentResponse) ProtoMessage()
func (*ReadAgentResponse) ProtoReflect ¶
func (x *ReadAgentResponse) ProtoReflect() protoreflect.Message
func (*ReadAgentResponse) Reset ¶
func (x *ReadAgentResponse) Reset()
func (*ReadAgentResponse) String ¶
func (x *ReadAgentResponse) String() string
type ReadChannelRequest ¶
type ReadChannelRequest struct {
Filters *ChannelFilters `protobuf:"bytes,1,opt,name=Filters,proto3" json:"Filters,omitempty"`
Channel *pb.Channel `protobuf:"bytes,2,opt,name=Channel,proto3" json:"Channel,omitempty"`
// contains filtered or unexported fields
}
func (*ReadChannelRequest) Descriptor
deprecated
func (*ReadChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadChannelRequest.ProtoReflect.Descriptor instead.
func (*ReadChannelRequest) GetChannel ¶
func (x *ReadChannelRequest) GetChannel() *pb.Channel
func (*ReadChannelRequest) GetFilters ¶
func (x *ReadChannelRequest) GetFilters() *ChannelFilters
func (*ReadChannelRequest) ProtoMessage ¶
func (*ReadChannelRequest) ProtoMessage()
func (*ReadChannelRequest) ProtoReflect ¶
func (x *ReadChannelRequest) ProtoReflect() protoreflect.Message
func (*ReadChannelRequest) Reset ¶
func (x *ReadChannelRequest) Reset()
func (*ReadChannelRequest) String ¶
func (x *ReadChannelRequest) String() string
type ReadChannelResponse ¶
type ReadChannelResponse struct {
Channels []*pb.Channel `protobuf:"bytes,1,rep,name=Channels,proto3" json:"Channels,omitempty"`
// contains filtered or unexported fields
}
func (*ReadChannelResponse) Descriptor
deprecated
func (*ReadChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadChannelResponse.ProtoReflect.Descriptor instead.
func (*ReadChannelResponse) GetChannels ¶
func (x *ReadChannelResponse) GetChannels() []*pb.Channel
func (*ReadChannelResponse) ProtoMessage ¶
func (*ReadChannelResponse) ProtoMessage()
func (*ReadChannelResponse) ProtoReflect ¶
func (x *ReadChannelResponse) ProtoReflect() protoreflect.Message
func (*ReadChannelResponse) Reset ¶
func (x *ReadChannelResponse) Reset()
func (*ReadChannelResponse) String ¶
func (x *ReadChannelResponse) String() string
type UnimplementedAgentsServer ¶
type UnimplementedAgentsServer struct {
}
UnimplementedAgentsServer must be embedded to have forward compatible implementations.
func (UnimplementedAgentsServer) Create ¶
func (UnimplementedAgentsServer) Create(context.Context, *CreateAgentRequest) (*CreateAgentResponse, error)
func (UnimplementedAgentsServer) Delete ¶
func (UnimplementedAgentsServer) Delete(context.Context, *DeleteAgentRequest) (*DeleteAgentResponse, error)
func (UnimplementedAgentsServer) Read ¶
func (UnimplementedAgentsServer) Read(context.Context, *ReadAgentRequest) (*ReadAgentResponse, error)
func (UnimplementedAgentsServer) Upsert ¶
func (UnimplementedAgentsServer) Upsert(context.Context, *UpsertAgentRequest) (*UpsertAgentResponse, error)
type UnimplementedChannelsServer ¶
type UnimplementedChannelsServer struct {
}
UnimplementedChannelsServer must be embedded to have forward compatible implementations.
func (UnimplementedChannelsServer) Create ¶
func (UnimplementedChannelsServer) Create(context.Context, *CreateChannelRequest) (*CreateChannelResponse, error)
func (UnimplementedChannelsServer) Delete ¶
func (UnimplementedChannelsServer) Delete(context.Context, *DeleteChannelRequest) (*DeleteChannelResponse, error)
func (UnimplementedChannelsServer) Read ¶
func (UnimplementedChannelsServer) Read(context.Context, *ReadChannelRequest) (*ReadChannelResponse, error)
func (UnimplementedChannelsServer) Upsert ¶
func (UnimplementedChannelsServer) Upsert(context.Context, *UpsertChannelRequest) (*UpsertChannelResponse, error)
type UnsafeAgentsServer ¶
type UnsafeAgentsServer interface {
// contains filtered or unexported methods
}
UnsafeAgentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentsServer will result in compilation errors.
type UnsafeChannelsServer ¶
type UnsafeChannelsServer interface {
// contains filtered or unexported methods
}
UnsafeChannelsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelsServer will result in compilation errors.
type UpsertAgentRequest ¶
type UpsertAgentRequest struct {
Filters *AgentFilters `protobuf:"bytes,1,opt,name=Filters,proto3" json:"Filters,omitempty"`
Agents []*pb.Agent `protobuf:"bytes,2,rep,name=Agents,proto3" json:"Agents,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertAgentRequest) Descriptor
deprecated
func (*UpsertAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertAgentRequest.ProtoReflect.Descriptor instead.
func (*UpsertAgentRequest) GetAgents ¶
func (x *UpsertAgentRequest) GetAgents() []*pb.Agent
func (*UpsertAgentRequest) GetFilters ¶
func (x *UpsertAgentRequest) GetFilters() *AgentFilters
func (*UpsertAgentRequest) ProtoMessage ¶
func (*UpsertAgentRequest) ProtoMessage()
func (*UpsertAgentRequest) ProtoReflect ¶
func (x *UpsertAgentRequest) ProtoReflect() protoreflect.Message
func (*UpsertAgentRequest) Reset ¶
func (x *UpsertAgentRequest) Reset()
func (*UpsertAgentRequest) String ¶
func (x *UpsertAgentRequest) String() string
type UpsertAgentResponse ¶
type UpsertAgentResponse struct {
Agents []*pb.Agent `protobuf:"bytes,1,rep,name=Agents,proto3" json:"Agents,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertAgentResponse) Descriptor
deprecated
func (*UpsertAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertAgentResponse.ProtoReflect.Descriptor instead.
func (*UpsertAgentResponse) GetAgents ¶
func (x *UpsertAgentResponse) GetAgents() []*pb.Agent
func (*UpsertAgentResponse) ProtoMessage ¶
func (*UpsertAgentResponse) ProtoMessage()
func (*UpsertAgentResponse) ProtoReflect ¶
func (x *UpsertAgentResponse) ProtoReflect() protoreflect.Message
func (*UpsertAgentResponse) Reset ¶
func (x *UpsertAgentResponse) Reset()
func (*UpsertAgentResponse) String ¶
func (x *UpsertAgentResponse) String() string
type UpsertChannelRequest ¶
type UpsertChannelRequest struct {
Filters *ChannelFilters `protobuf:"bytes,1,opt,name=Filters,proto3" json:"Filters,omitempty"`
Channels []*pb.Channel `protobuf:"bytes,2,rep,name=Channels,proto3" json:"Channels,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertChannelRequest) Descriptor
deprecated
func (*UpsertChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertChannelRequest.ProtoReflect.Descriptor instead.
func (*UpsertChannelRequest) GetChannels ¶
func (x *UpsertChannelRequest) GetChannels() []*pb.Channel
func (*UpsertChannelRequest) GetFilters ¶
func (x *UpsertChannelRequest) GetFilters() *ChannelFilters
func (*UpsertChannelRequest) ProtoMessage ¶
func (*UpsertChannelRequest) ProtoMessage()
func (*UpsertChannelRequest) ProtoReflect ¶
func (x *UpsertChannelRequest) ProtoReflect() protoreflect.Message
func (*UpsertChannelRequest) Reset ¶
func (x *UpsertChannelRequest) Reset()
func (*UpsertChannelRequest) String ¶
func (x *UpsertChannelRequest) String() string
type UpsertChannelResponse ¶
type UpsertChannelResponse struct {
Channels []*pb.Channel `protobuf:"bytes,1,rep,name=Channels,proto3" json:"Channels,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertChannelResponse) Descriptor
deprecated
func (*UpsertChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertChannelResponse.ProtoReflect.Descriptor instead.
func (*UpsertChannelResponse) GetChannels ¶
func (x *UpsertChannelResponse) GetChannels() []*pb.Channel
func (*UpsertChannelResponse) ProtoMessage ¶
func (*UpsertChannelResponse) ProtoMessage()
func (*UpsertChannelResponse) ProtoReflect ¶
func (x *UpsertChannelResponse) ProtoReflect() protoreflect.Message
func (*UpsertChannelResponse) Reset ¶
func (x *UpsertChannelResponse) Reset()
func (*UpsertChannelResponse) String ¶
func (x *UpsertChannelResponse) String() string