Documentation ¶
Index ¶
- Constants
- func NewServiceModule(log *zap.Logger, config *config.Config, services storage.ServiceStorage, ...) error
- func NewStorage(connection *pgxpool.Pool) (storage.ServiceStorage, storage.InstanceStorage, error)
- func Routes(route *gin.RouterGroup, log *zap.Logger, config *config.Config, ...) (routes, error)
- type Container
- type ContainerStatus
- type IngestBacktestPayload
- type InitialResponse
- type InstanceRunningPayload
- type ServiceCreatedPayload
- type StartInstancePayload
- type StopInstancePayload
Constants ¶
View Source
const (
ErrNoSuchImage = fbError.Error("no such image found")
)
View Source
const IngestBacktestTopic = "service.IngestBacktest"
View Source
const InstanceRunningTopic = "service.InstanceRunning"
View Source
const InstanceStartedTopic = "service.InstanceStarted"
View Source
const ServiceCreatedTopic = "service.ServiceCreated"
View Source
const StartInstanceTopic = "service.StartInstance"
View Source
const StopInstanceTopic = "service.StopInstance"
Variables ¶
This section is empty.
Functions ¶
func NewServiceModule ¶
func NewStorage ¶
func NewStorage(connection *pgxpool.Pool) (storage.ServiceStorage, storage.InstanceStorage, error)
Types ¶
type Container ¶
type ContainerStatus ¶
type IngestBacktestPayload ¶
type IngestBacktestPayload struct { Service string `json:"service_name"` Config storage.IngestConfig `json:"config"` }
type InitialResponse ¶
type InstanceRunningPayload ¶
type ServiceCreatedPayload ¶
type ServiceCreatedPayload struct {
Name string `json:"name"`
}
type StartInstancePayload ¶
type StopInstancePayload ¶
Click to show internal directories.
Click to hide internal directories.