Documentation ¶
Overview ¶
Package cont provides tools to manage service containers started by Database Lab Engine.
Index ¶
Constants ¶
View Source
const ( // StopTimeout defines a container stop timeout. StopTimeout = 30 * time.Second // StopPhysicalTimeout defines stop timeout for a physical container. StopPhysicalTimeout = 5 * time.Second // SyncInstanceContainerPrefix defines a sync container name. SyncInstanceContainerPrefix = "dblab_sync_" // DBLabControlLabel defines a label to mark service containers. DBLabControlLabel = "dblab_control" // DBLabInstanceIDLabel defines a label to mark service containers related to the current Database Lab instance. DBLabInstanceIDLabel = "dblab_instance_id" // DBLabSyncLabel defines a label value for sync containers. DBLabSyncLabel = "dblab_sync" // DBLabPromoteLabel defines a label value for promote containers. DBLabPromoteLabel = "dblab_promote" // DBLabPatchLabel defines a label value for patch containers. DBLabPatchLabel = "dblab_patch" // DBLabDumpLabel defines a label value for dump containers. DBLabDumpLabel = "dblab_dump" // DBLabRestoreLabel defines a label value for restore containers. DBLabRestoreLabel = "dblab_restore" // DBLabRunner defines a label to mark runner containers. DBLabRunner = "dblab_runner" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.