Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Config configs.GigamonoConfig Secrets secrets.Manager Filestore DB database.DB Kind ServiceKind }
App represents states common to every Gigamono service.
func NewApp ¶
func NewApp(serviceKind ServiceKind) (App, error)
NewApp is a common initialiser for Gigamono services.
type Filestore ¶
type Filestore struct { Project filestore.Manager Extension filestore.Manager Image filestore.Manager }
Filestore holds the different filestore managers.
type ServiceKind ¶
type ServiceKind string
ServiceKind represents the different types of Gigamono services.
const ( API ServiceKind = "API" Auth ServiceKind = "Auth" AutomationEngineMainServer ServiceKind = "WorkflowEngineMainServer" AutomationEngineAPIService ServiceKind = "WorkflowEngineAPIService" AutomationEngineRunnableSupervisor ServiceKind = "WorkflowEngineRunnableSupervisor" BaseEngineMainServer ServiceKind = "BaseEngineMainServer" )
...
func (*ServiceKind) DatabaseKind ¶
func (kind *ServiceKind) DatabaseKind() string
DatabaseKind gets the database kind supported by service.
Click to show internal directories.
Click to hide internal directories.