Created
January 27, 2020 08:49
-
-
Save edwintye/c3eebfad83dfe05cecfd242a9a25f71d to your computer and use it in GitHub Desktop.
Example golang docker container interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type DockerContainerInterface interface { | |
initialize(string, string) error | |
getImage() error | |
startContainer() (string, error) | |
getContainerNetworkInfo() (string, string) | |
stopContainer() error | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment