Documentation ¶
Index ¶
- Constants
- func PublishEventDeployment(namespaceId int64, appId int64, user string, ip string, action Action, ...)
- func PublishEventIngress(namespaceId int64, appId int64, user string, ip string, action Action, ...)
- func PublishEventMember(namespaceId int64, appId int64, user string, ip string, action Action, ...)
- func PublishEventService(namespaceId int64, appId int64, user string, ip string, action Action, ...)
- type Action
- type ClientPool
- type EventDeploymentPayload
- type EventIngressPayload
- type EventMemberPayload
- type EventServicePayload
- type Request
- type WebhookWorker
Constants ¶
View Source
const QueueWebhook = "webhook"
Variables ¶
This section is empty.
Functions ¶
func PublishEventDeployment ¶
func PublishEventIngress ¶ added in v1.2.0
func PublishEventMember ¶
Types ¶
type Action ¶
type Action string
const ( AddMember Action = "AddMember" DeleteMember Action = "DeleteMember" UpdateMember Action = "UpdateMember" UpgradeDeployment Action = "UpgradeDeployment" DeleteDeployment Action = "OfflineDeployment" OnlineService Action = "OnlineService" OfflineService Action = "OfflineService" OnlineIngress Action = "OnlineIngress" OfflineIngress Action = "OfflineIngress" )
type ClientPool ¶
type EventDeploymentPayload ¶
type EventIngressPayload ¶ added in v1.2.0
type EventMemberPayload ¶
type EventServicePayload ¶
type WebhookWorker ¶
type WebhookWorker struct { *workers.BaseMessageWorker ClientPool *ClientPool }
func NewWebhookWorker ¶
func NewWebhookWorker(b *bus.Bus) (*WebhookWorker, error)
Click to show internal directories.
Click to hide internal directories.