microfab

package
v0.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadImage

func DownloadImage(microFabImage string) error

DownloadImage pulls the image if needed

func Execute

func Execute()

Execute the microfab command

func Exists

func Exists(path string) (bool, error)

Exists returns whether the given file or directory exists

func GetConfig

func GetConfig() (string, error)

GetConfig resolves the microfab configuration

func ImageRunning

func ImageRunning(containerName string) (bool, error)

ImageRunning determines if the image is already running

func Stop

func Stop(containername string) error

Stop stops the container

Types

type PullStatus

type PullStatus struct {
	Status string `json:"status"`
}

PullStatus of the JSON structure returned by docker

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL