Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
Types ¶
type AmqpClient ¶
type BuildPublishData ¶
type BuildPublishData struct { Name string `json:"name"` // name Namespace string `json:"namespace"` // namespace JenkinJobName string `json:"jenkin_job_name"` // jenkins job name BuildId int64 `json:"build_id"` // build id JenkinsBuildId int64 `json:"jenkins_build_id"` // jenkins build id Builder int64 `json:"builder"` // 操作人 Timestamp int64 `json:"timestamp"` //创建时间的时间戳 Version string `json:"version"` }
type PublishData ¶
type QueueName ¶
type QueueName string
const ( CronJobTopic QueueName = "cronjob.kplcloud" BuildTopic QueueName = "build.kplcloud" AlarmTopic QueueName = "alarm.kplcloud" NoticeTopic QueueName = "notice.kplcloud" ProclaimTopic QueueName = "proclaim.kplcloud" MsgWechatTopic QueueName = "msg.wechat.kplcloud" HookTopic QueueName = "hook.kplcloud" )
Click to show internal directories.
Click to hide internal directories.