Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSupabaseStatus ¶
GetSupabaseStatus returns a map of Supabase service names to their ports
func IsDockerAvailable ¶
func IsDockerAvailable() bool
IsDockerAvailable checks if Docker is installed and running
Types ¶
type DockerService ¶
type DockerService struct {
ContainerID string
Name string
Ports []PortMapping
}
DockerService represents a running Docker container with its port mappings
func GetRunningContainers ¶
func GetRunningContainers() ([]DockerService, error)
GetRunningContainers returns a list of running Docker containers with their port mappings
func ParseDockerPS ¶
func ParseDockerPS(output string) ([]DockerService, error)
ParseDockerPS parses the output of docker ps command and extracts container information
type PortMapping ¶
PortMapping represents a port mapping between host and container
Click to show internal directories.
Click to hide internal directories.