Class DockerServiceImpl
java.lang.Object
com.winchesters.devopsify.service.technologies.docker.systemdocker.DockerServiceImpl
- All Implemented Interfaces:
DockerService
,TechnologyService
-
Field Summary
Fields inherited from interface com.winchesters.devopsify.service.technologies.TechnologyService
scriptDirectory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
generateDockerfile
(DockerFile dockerfile, String path) void
generateDockerFile
(File directory) void
install()
void
void
boolean
static void
byte[]
byte[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.winchesters.devopsify.service.technologies.TechnologyService
installed, installFromScript
-
Constructor Details
-
DockerServiceImpl
public DockerServiceImpl()
-
-
Method Details
-
main
-
dockerInstalled
public boolean dockerInstalled()- Specified by:
dockerInstalled
in interfaceDockerService
-
dockerComposeInstalled
public boolean dockerComposeInstalled()- Specified by:
dockerComposeInstalled
in interfaceDockerService
-
installed
public boolean installed()- Specified by:
installed
in interfaceTechnologyService
-
generateDockerFile
- Specified by:
generateDockerFile
in interfaceDockerService
-
installDockerCompose
public void installDockerCompose()- Specified by:
installDockerCompose
in interfaceDockerService
-
installDocker
public void installDocker()- Specified by:
installDocker
in interfaceDockerService
-
generateDockerfile
- Specified by:
generateDockerfile
in interfaceDockerService
- Throws:
IOException
-
install
public void install()- Specified by:
install
in interfaceTechnologyService
-
viewDataBaseDockerfile
- Specified by:
viewDataBaseDockerfile
in interfaceDockerService
- Throws:
IOException
-
viewBackendDockerfile
- Specified by:
viewBackendDockerfile
in interfaceDockerService
- Throws:
IOException
-