Documentation
¶
Index ¶
- func DeleteJob(c *gin.Context)
- func DeleteService(c *gin.Context)
- func GetJob(c *gin.Context)
- func GetJobs(c *gin.Context)
- func GetService(c *gin.Context)
- func GetServices(c *gin.Context)
- func Health(c *gin.Context)
- func Home(c *gin.Context)
- func Metrics() http.Handler
- func Ready(c *gin.Context)
- type Message
- type ServicePayload
- type Workers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶ added in v0.1.2
type Message struct { JobID string `json:"jobId"` ServiceID string `json:"serviceId"` Template string `json:"template"` Configs map[string]string `json:"configs"` DeleteAfter string `json:"deleteAfter"` CorrelationID string `json:"correlationID"` }
Message type
type ServicePayload ¶ added in v0.1.1
type ServicePayload struct { ID string `json:"id"` Template string `json:"template"` Configs map[string]string `json:"configs"` DeleteAfter string `json:"deleteAfter"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
ServicePayload type
type Workers ¶ added in v0.1.2
type Workers struct {
// contains filtered or unexported fields
}
Workers type
func (*Workers) BroadcastRequest ¶ added in v0.1.2
BroadcastRequest sends a request to workers
func (*Workers) DeployService ¶ added in v0.1.2
DeployService process incoming request
func (*Workers) HandleWorkload ¶ added in v0.1.2
HandleWorkload handles all incoming requests
Click to show internal directories.
Click to hide internal directories.