Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_goes_projection_service_proto protoreflect.FileDescriptor
var ProjectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "goes.projection.ProjectionService", HandlerType: (*ProjectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Trigger", Handler: _ProjectionService_Trigger_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "goes/projection/service.proto", }
ProjectionService_ServiceDesc is the grpc.ServiceDesc for ProjectionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProjectionServiceServer ¶
func RegisterProjectionServiceServer(s grpc.ServiceRegistrar, srv ProjectionServiceServer)
Types ¶
type ProjectionServiceClient ¶
type ProjectionServiceClient interface {
Trigger(ctx context.Context, in *TriggerReq, opts ...grpc.CallOption) (*TriggerResp, error)
}
ProjectionServiceClient is the client API for ProjectionService 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 NewProjectionServiceClient ¶
func NewProjectionServiceClient(cc grpc.ClientConnInterface) ProjectionServiceClient
type ProjectionServiceServer ¶
type ProjectionServiceServer interface { Trigger(context.Context, *TriggerReq) (*TriggerResp, error) // contains filtered or unexported methods }
ProjectionServiceServer is the server API for ProjectionService service. All implementations must embed UnimplementedProjectionServiceServer for forward compatibility
type TriggerReq ¶
type TriggerReq struct { Schedule string `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"` // contains filtered or unexported fields }
func (*TriggerReq) Descriptor
deprecated
func (*TriggerReq) Descriptor() ([]byte, []int)
Deprecated: Use TriggerReq.ProtoReflect.Descriptor instead.
func (*TriggerReq) GetReset_ ¶
func (x *TriggerReq) GetReset_() bool
func (*TriggerReq) GetSchedule ¶
func (x *TriggerReq) GetSchedule() string
func (*TriggerReq) ProtoMessage ¶
func (*TriggerReq) ProtoMessage()
func (*TriggerReq) ProtoReflect ¶
func (x *TriggerReq) ProtoReflect() protoreflect.Message
func (*TriggerReq) Reset ¶
func (x *TriggerReq) Reset()
func (*TriggerReq) String ¶
func (x *TriggerReq) String() string
type TriggerResp ¶
type TriggerResp struct { Accepted bool `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"` // contains filtered or unexported fields }
func (*TriggerResp) Descriptor
deprecated
func (*TriggerResp) Descriptor() ([]byte, []int)
Deprecated: Use TriggerResp.ProtoReflect.Descriptor instead.
func (*TriggerResp) GetAccepted ¶
func (x *TriggerResp) GetAccepted() bool
func (*TriggerResp) ProtoMessage ¶
func (*TriggerResp) ProtoMessage()
func (*TriggerResp) ProtoReflect ¶
func (x *TriggerResp) ProtoReflect() protoreflect.Message
func (*TriggerResp) Reset ¶
func (x *TriggerResp) Reset()
func (*TriggerResp) String ¶
func (x *TriggerResp) String() string
type UnimplementedProjectionServiceServer ¶
type UnimplementedProjectionServiceServer struct { }
UnimplementedProjectionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedProjectionServiceServer) Trigger ¶
func (UnimplementedProjectionServiceServer) Trigger(context.Context, *TriggerReq) (*TriggerResp, error)
type UnsafeProjectionServiceServer ¶
type UnsafeProjectionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProjectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectionServiceServer will result in compilation errors.