Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContainer ¶
CreateContainer creates a new container record
func DeleteContainer ¶
DeleteContainer deletes a container record
func UpdateContainer ¶
UpdateContainer updates a container record
Types ¶
type Container ¶
type Container struct {
ID int
Name string
DisplayName string
Type string
Version string
ContainerID string
Port string
Status string
CreatedAt time.Time
ExpiresAt time.Time
VolumeType string
VolumePath string
}
Container represents a database container
func GetContainer ¶
GetContainer retrieves a container by name
func GetContainerByDisplayName ¶ added in v0.2.0
GetContainerByDisplayName retrieves a container by display name
func GetExpiredContainers ¶
GetExpiredContainers retrieves containers whose TTL has elapsed. Both running and stopped containers are included so their volumes are not leaked.
func ListContainers ¶
ListContainers retrieves all tracked containers, newest first.
Click to show internal directories.
Click to hide internal directories.