notification/

directory
v0.0.0-...-f91a3ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0

README

Notification

Notification center of Sealos Cloud,Other controllers will send notification CR to user namespace.

type NotificationSpec struct {
    Title      string json:"title"  
    Message    string json:"message" 
    TimeStamp  int64  json:"timestamp"
    From       string json:"from,omitempty" // from which controller send the notification
    Importance Type   json:"importance,omitempty"
}

Frontend need to know the notification is read or unread,will using label to select,label key is isRead,value is True/False.

How to deploy

kubectl apply -f deploy/manifests/deploy.yaml

Directories

Path Synopsis
api
v1
Package v1 contains API Schema definitions for the notification v1 API group +kubebuilder:object:generate=true +groupName=notification.sealos.io
Package v1 contains API Schema definitions for the notification v1 API group +kubebuilder:object:generate=true +groupName=notification.sealos.io

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL