Documentation
¶
Index ¶
- func InjectLocalizedText(ctx context.Context, ocpData ocp_data.Provider, ...) error
- func NotificationIDString(id *activitypb.NotificationId) string
- type Server
- func (s *Server) GetBatchNotifications(ctx context.Context, req *activitypb.GetBatchNotificationsRequest) (*activitypb.GetBatchNotificationsResponse, error)
- func (s *Server) GetLatestNotifications(ctx context.Context, req *activitypb.GetLatestNotificationsRequest) (*activitypb.GetLatestNotificationsResponse, error)
- func (s *Server) GetPagedNotifications(ctx context.Context, req *activitypb.GetPagedNotificationsRequest) (*activitypb.GetPagedNotificationsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectLocalizedText ¶
func InjectLocalizedText(ctx context.Context, ocpData ocp_data.Provider, userOwnerAccount *ocp_common.Account, notification *activitypb.Notification) error
func NotificationIDString ¶
func NotificationIDString(id *activitypb.NotificationId) string
Types ¶
type Server ¶
type Server struct {
activitypb.UnimplementedActivityFeedServer
// contains filtered or unexported fields
}
func (*Server) GetBatchNotifications ¶
func (s *Server) GetBatchNotifications(ctx context.Context, req *activitypb.GetBatchNotificationsRequest) (*activitypb.GetBatchNotificationsResponse, error)
func (*Server) GetLatestNotifications ¶
func (s *Server) GetLatestNotifications(ctx context.Context, req *activitypb.GetLatestNotificationsRequest) (*activitypb.GetLatestNotificationsResponse, error)
func (*Server) GetPagedNotifications ¶
func (s *Server) GetPagedNotifications(ctx context.Context, req *activitypb.GetPagedNotificationsRequest) (*activitypb.GetPagedNotificationsResponse, error)
Click to show internal directories.
Click to hide internal directories.