Documentation ¶
Index ¶
- Variables
- func RegisterFleetServiceServer(s grpc.ServiceRegistrar, srv FleetServiceServer)
- type AgentByIDReq
- func (*AgentByIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *AgentByIDReq) GetAgentID() string
- func (x *AgentByIDReq) GetOwnerID() string
- func (*AgentByIDReq) ProtoMessage()
- func (x *AgentByIDReq) ProtoReflect() protoreflect.Message
- func (x *AgentByIDReq) Reset()
- func (x *AgentByIDReq) String() string
- type AgentGroupByIDReq
- func (*AgentGroupByIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *AgentGroupByIDReq) GetAgentGroupID() string
- func (x *AgentGroupByIDReq) GetOwnerID() string
- func (*AgentGroupByIDReq) ProtoMessage()
- func (x *AgentGroupByIDReq) ProtoReflect() protoreflect.Message
- func (x *AgentGroupByIDReq) Reset()
- func (x *AgentGroupByIDReq) String() string
- type AgentGroupRes
- func (*AgentGroupRes) Descriptor() ([]byte, []int)deprecated
- func (x *AgentGroupRes) GetChannel() string
- func (x *AgentGroupRes) GetId() string
- func (x *AgentGroupRes) GetName() string
- func (*AgentGroupRes) ProtoMessage()
- func (x *AgentGroupRes) ProtoReflect() protoreflect.Message
- func (x *AgentGroupRes) Reset()
- func (x *AgentGroupRes) String() string
- type AgentInfoByChannelIDReq
- func (*AgentInfoByChannelIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInfoByChannelIDReq) GetChannel() string
- func (*AgentInfoByChannelIDReq) ProtoMessage()
- func (x *AgentInfoByChannelIDReq) ProtoReflect() protoreflect.Message
- func (x *AgentInfoByChannelIDReq) Reset()
- func (x *AgentInfoByChannelIDReq) String() string
- type AgentInfoRes
- func (*AgentInfoRes) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInfoRes) GetAgentGroupIDs() []string
- func (x *AgentInfoRes) GetAgentName() string
- func (x *AgentInfoRes) GetAgentTags() map[string]string
- func (x *AgentInfoRes) GetOrbTags() map[string]string
- func (x *AgentInfoRes) GetOwnerID() string
- func (*AgentInfoRes) ProtoMessage()
- func (x *AgentInfoRes) ProtoReflect() protoreflect.Message
- func (x *AgentInfoRes) Reset()
- func (x *AgentInfoRes) String() string
- type AgentRes
- func (*AgentRes) Descriptor() ([]byte, []int)deprecated
- func (x *AgentRes) GetChannel() string
- func (x *AgentRes) GetId() string
- func (x *AgentRes) GetName() string
- func (*AgentRes) ProtoMessage()
- func (x *AgentRes) ProtoReflect() protoreflect.Message
- func (x *AgentRes) Reset()
- func (x *AgentRes) String() string
- type FleetServiceClient
- type FleetServiceServer
- type OwnerByChannelIDReq
- func (*OwnerByChannelIDReq) Descriptor() ([]byte, []int)deprecated
- func (x *OwnerByChannelIDReq) GetChannel() string
- func (*OwnerByChannelIDReq) ProtoMessage()
- func (x *OwnerByChannelIDReq) ProtoReflect() protoreflect.Message
- func (x *OwnerByChannelIDReq) Reset()
- func (x *OwnerByChannelIDReq) String() string
- type OwnerRes
- type UnimplementedFleetServiceServer
- func (UnimplementedFleetServiceServer) RetrieveAgent(context.Context, *AgentByIDReq) (*AgentRes, error)
- func (UnimplementedFleetServiceServer) RetrieveAgentGroup(context.Context, *AgentGroupByIDReq) (*AgentGroupRes, error)
- func (UnimplementedFleetServiceServer) RetrieveAgentInfoByChannelID(context.Context, *AgentInfoByChannelIDReq) (*AgentInfoRes, error)
- func (UnimplementedFleetServiceServer) RetrieveOwnerByChannelID(context.Context, *OwnerByChannelIDReq) (*OwnerRes, error)
- type UnsafeFleetServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_fleet_pb_fleet_proto protoreflect.FileDescriptor
var FleetService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fleet.FleetService", HandlerType: (*FleetServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RetrieveAgent", Handler: _FleetService_RetrieveAgent_Handler, }, { MethodName: "RetrieveAgentGroup", Handler: _FleetService_RetrieveAgentGroup_Handler, }, { MethodName: "RetrieveOwnerByChannelID", Handler: _FleetService_RetrieveOwnerByChannelID_Handler, }, { MethodName: "RetrieveAgentInfoByChannelID", Handler: _FleetService_RetrieveAgentInfoByChannelID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "fleet/pb/fleet.proto", }
FleetService_ServiceDesc is the grpc.ServiceDesc for FleetService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFleetServiceServer ¶
func RegisterFleetServiceServer(s grpc.ServiceRegistrar, srv FleetServiceServer)
Types ¶
type AgentByIDReq ¶
type AgentByIDReq struct { AgentID string `protobuf:"bytes,1,opt,name=agentID,proto3" json:"agentID,omitempty"` OwnerID string `protobuf:"bytes,2,opt,name=ownerID,proto3" json:"ownerID,omitempty"` // contains filtered or unexported fields }
func (*AgentByIDReq) Descriptor
deprecated
func (*AgentByIDReq) Descriptor() ([]byte, []int)
Deprecated: Use AgentByIDReq.ProtoReflect.Descriptor instead.
func (*AgentByIDReq) GetAgentID ¶
func (x *AgentByIDReq) GetAgentID() string
func (*AgentByIDReq) GetOwnerID ¶
func (x *AgentByIDReq) GetOwnerID() string
func (*AgentByIDReq) ProtoMessage ¶
func (*AgentByIDReq) ProtoMessage()
func (*AgentByIDReq) ProtoReflect ¶
func (x *AgentByIDReq) ProtoReflect() protoreflect.Message
func (*AgentByIDReq) Reset ¶
func (x *AgentByIDReq) Reset()
func (*AgentByIDReq) String ¶
func (x *AgentByIDReq) String() string
type AgentGroupByIDReq ¶
type AgentGroupByIDReq struct { AgentGroupID string `protobuf:"bytes,1,opt,name=agentGroupID,proto3" json:"agentGroupID,omitempty"` OwnerID string `protobuf:"bytes,2,opt,name=ownerID,proto3" json:"ownerID,omitempty"` // contains filtered or unexported fields }
func (*AgentGroupByIDReq) Descriptor
deprecated
func (*AgentGroupByIDReq) Descriptor() ([]byte, []int)
Deprecated: Use AgentGroupByIDReq.ProtoReflect.Descriptor instead.
func (*AgentGroupByIDReq) GetAgentGroupID ¶
func (x *AgentGroupByIDReq) GetAgentGroupID() string
func (*AgentGroupByIDReq) GetOwnerID ¶
func (x *AgentGroupByIDReq) GetOwnerID() string
func (*AgentGroupByIDReq) ProtoMessage ¶
func (*AgentGroupByIDReq) ProtoMessage()
func (*AgentGroupByIDReq) ProtoReflect ¶
func (x *AgentGroupByIDReq) ProtoReflect() protoreflect.Message
func (*AgentGroupByIDReq) Reset ¶
func (x *AgentGroupByIDReq) Reset()
func (*AgentGroupByIDReq) String ¶
func (x *AgentGroupByIDReq) String() string
type AgentGroupRes ¶
type AgentGroupRes struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*AgentGroupRes) Descriptor
deprecated
func (*AgentGroupRes) Descriptor() ([]byte, []int)
Deprecated: Use AgentGroupRes.ProtoReflect.Descriptor instead.
func (*AgentGroupRes) GetChannel ¶
func (x *AgentGroupRes) GetChannel() string
func (*AgentGroupRes) GetId ¶
func (x *AgentGroupRes) GetId() string
func (*AgentGroupRes) GetName ¶
func (x *AgentGroupRes) GetName() string
func (*AgentGroupRes) ProtoMessage ¶
func (*AgentGroupRes) ProtoMessage()
func (*AgentGroupRes) ProtoReflect ¶
func (x *AgentGroupRes) ProtoReflect() protoreflect.Message
func (*AgentGroupRes) Reset ¶
func (x *AgentGroupRes) Reset()
func (*AgentGroupRes) String ¶
func (x *AgentGroupRes) String() string
type AgentInfoByChannelIDReq ¶
type AgentInfoByChannelIDReq struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*AgentInfoByChannelIDReq) Descriptor
deprecated
func (*AgentInfoByChannelIDReq) Descriptor() ([]byte, []int)
Deprecated: Use AgentInfoByChannelIDReq.ProtoReflect.Descriptor instead.
func (*AgentInfoByChannelIDReq) GetChannel ¶
func (x *AgentInfoByChannelIDReq) GetChannel() string
func (*AgentInfoByChannelIDReq) ProtoMessage ¶
func (*AgentInfoByChannelIDReq) ProtoMessage()
func (*AgentInfoByChannelIDReq) ProtoReflect ¶
func (x *AgentInfoByChannelIDReq) ProtoReflect() protoreflect.Message
func (*AgentInfoByChannelIDReq) Reset ¶
func (x *AgentInfoByChannelIDReq) Reset()
func (*AgentInfoByChannelIDReq) String ¶
func (x *AgentInfoByChannelIDReq) String() string
type AgentInfoRes ¶
type AgentInfoRes struct { OwnerID string `protobuf:"bytes,1,opt,name=ownerID,proto3" json:"ownerID,omitempty"` AgentName string `protobuf:"bytes,2,opt,name=agentName,proto3" json:"agentName,omitempty"` AgentTags map[string]string `` /* 159-byte string literal not displayed */ OrbTags map[string]string `` /* 155-byte string literal not displayed */ AgentGroupIDs []string `protobuf:"bytes,5,rep,name=agentGroupIDs,proto3" json:"agentGroupIDs,omitempty"` // contains filtered or unexported fields }
func (*AgentInfoRes) Descriptor
deprecated
func (*AgentInfoRes) Descriptor() ([]byte, []int)
Deprecated: Use AgentInfoRes.ProtoReflect.Descriptor instead.
func (*AgentInfoRes) GetAgentGroupIDs ¶
func (x *AgentInfoRes) GetAgentGroupIDs() []string
func (*AgentInfoRes) GetAgentName ¶
func (x *AgentInfoRes) GetAgentName() string
func (*AgentInfoRes) GetAgentTags ¶
func (x *AgentInfoRes) GetAgentTags() map[string]string
func (*AgentInfoRes) GetOrbTags ¶
func (x *AgentInfoRes) GetOrbTags() map[string]string
func (*AgentInfoRes) GetOwnerID ¶
func (x *AgentInfoRes) GetOwnerID() string
func (*AgentInfoRes) ProtoMessage ¶
func (*AgentInfoRes) ProtoMessage()
func (*AgentInfoRes) ProtoReflect ¶
func (x *AgentInfoRes) ProtoReflect() protoreflect.Message
func (*AgentInfoRes) Reset ¶
func (x *AgentInfoRes) Reset()
func (*AgentInfoRes) String ¶
func (x *AgentInfoRes) String() string
type AgentRes ¶
type AgentRes struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*AgentRes) Descriptor
deprecated
func (*AgentRes) GetChannel ¶
func (*AgentRes) ProtoMessage ¶
func (*AgentRes) ProtoMessage()
func (*AgentRes) ProtoReflect ¶
func (x *AgentRes) ProtoReflect() protoreflect.Message
type FleetServiceClient ¶
type FleetServiceClient interface { RetrieveAgent(ctx context.Context, in *AgentByIDReq, opts ...grpc.CallOption) (*AgentRes, error) RetrieveAgentGroup(ctx context.Context, in *AgentGroupByIDReq, opts ...grpc.CallOption) (*AgentGroupRes, error) RetrieveOwnerByChannelID(ctx context.Context, in *OwnerByChannelIDReq, opts ...grpc.CallOption) (*OwnerRes, error) RetrieveAgentInfoByChannelID(ctx context.Context, in *AgentInfoByChannelIDReq, opts ...grpc.CallOption) (*AgentInfoRes, error) }
FleetServiceClient is the client API for FleetService 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 NewFleetServiceClient ¶
func NewFleetServiceClient(cc grpc.ClientConnInterface) FleetServiceClient
type FleetServiceServer ¶
type FleetServiceServer interface { RetrieveAgent(context.Context, *AgentByIDReq) (*AgentRes, error) RetrieveAgentGroup(context.Context, *AgentGroupByIDReq) (*AgentGroupRes, error) RetrieveOwnerByChannelID(context.Context, *OwnerByChannelIDReq) (*OwnerRes, error) RetrieveAgentInfoByChannelID(context.Context, *AgentInfoByChannelIDReq) (*AgentInfoRes, error) // contains filtered or unexported methods }
FleetServiceServer is the server API for FleetService service. All implementations must embed UnimplementedFleetServiceServer for forward compatibility
type OwnerByChannelIDReq ¶
type OwnerByChannelIDReq struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func (*OwnerByChannelIDReq) Descriptor
deprecated
func (*OwnerByChannelIDReq) Descriptor() ([]byte, []int)
Deprecated: Use OwnerByChannelIDReq.ProtoReflect.Descriptor instead.
func (*OwnerByChannelIDReq) GetChannel ¶
func (x *OwnerByChannelIDReq) GetChannel() string
func (*OwnerByChannelIDReq) ProtoMessage ¶
func (*OwnerByChannelIDReq) ProtoMessage()
func (*OwnerByChannelIDReq) ProtoReflect ¶
func (x *OwnerByChannelIDReq) ProtoReflect() protoreflect.Message
func (*OwnerByChannelIDReq) Reset ¶
func (x *OwnerByChannelIDReq) Reset()
func (*OwnerByChannelIDReq) String ¶
func (x *OwnerByChannelIDReq) String() string
type OwnerRes ¶
type OwnerRes struct { OwnerID string `protobuf:"bytes,1,opt,name=ownerID,proto3" json:"ownerID,omitempty"` AgentName string `protobuf:"bytes,2,opt,name=agentName,proto3" json:"agentName,omitempty"` // contains filtered or unexported fields }
func (*OwnerRes) Descriptor
deprecated
func (*OwnerRes) GetAgentName ¶
func (*OwnerRes) GetOwnerID ¶
func (*OwnerRes) ProtoMessage ¶
func (*OwnerRes) ProtoMessage()
func (*OwnerRes) ProtoReflect ¶
func (x *OwnerRes) ProtoReflect() protoreflect.Message
type UnimplementedFleetServiceServer ¶
type UnimplementedFleetServiceServer struct { }
UnimplementedFleetServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedFleetServiceServer) RetrieveAgent ¶
func (UnimplementedFleetServiceServer) RetrieveAgent(context.Context, *AgentByIDReq) (*AgentRes, error)
func (UnimplementedFleetServiceServer) RetrieveAgentGroup ¶
func (UnimplementedFleetServiceServer) RetrieveAgentGroup(context.Context, *AgentGroupByIDReq) (*AgentGroupRes, error)
func (UnimplementedFleetServiceServer) RetrieveAgentInfoByChannelID ¶
func (UnimplementedFleetServiceServer) RetrieveAgentInfoByChannelID(context.Context, *AgentInfoByChannelIDReq) (*AgentInfoRes, error)
func (UnimplementedFleetServiceServer) RetrieveOwnerByChannelID ¶
func (UnimplementedFleetServiceServer) RetrieveOwnerByChannelID(context.Context, *OwnerByChannelIDReq) (*OwnerRes, error)
type UnsafeFleetServiceServer ¶
type UnsafeFleetServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFleetServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FleetServiceServer will result in compilation errors.