Documentation ¶
Index ¶
Constants ¶
View Source
const ( PathWebsocketV1 = "/v1/waitfornotification" PathRESTV1 = "/v1/sendnotification" )
server paths
View Source
const ( TargetCustomer = "customerGUID" TargetCluster = "clusterName" TargetComponent = "clusterComponent" )
View Source
const ( TargetComponentPostureValue = "PolicyValidator" TargetComponentLoggerValue = "Logger" TargetComponentTriggerHandler = "InClusterTriggerHandler" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Notification ¶
type Notification struct { Target map[string]string `json:"target"` SendSynchronicity bool `json:"sendSynchronicity"` Notification interface{} `json:"notification"` }
Notification passed between servers
func MockNotificationA ¶
func MockNotificationA() *Notification
Click to show internal directories.
Click to hide internal directories.