Skip to content

Instantly share code, notes, and snippets.

@edwintye
Created January 27, 2020 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edwintye/c3eebfad83dfe05cecfd242a9a25f71d to your computer and use it in GitHub Desktop.
Save edwintye/c3eebfad83dfe05cecfd242a9a25f71d to your computer and use it in GitHub Desktop.
Example golang docker container interface
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