Documentation ¶
Index ¶
- func SetInstallerRegistry(registry core.InstallerRegistry)
- type DockerInstallerInUbuntu
- func (d *DockerInstallerInUbuntu) Available() (ok bool)
- func (d *DockerInstallerInUbuntu) Install() (err error)
- func (d *DockerInstallerInUbuntu) Start() error
- func (d *DockerInstallerInUbuntu) Stop() error
- func (d *DockerInstallerInUbuntu) Uninstall() (err error)
- func (d *DockerInstallerInUbuntu) WaitForStart() (ok bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetInstallerRegistry ¶
func SetInstallerRegistry(registry core.InstallerRegistry)
SetInstallerRegistry sets the installer of registry
Types ¶
type DockerInstallerInUbuntu ¶
type DockerInstallerInUbuntu struct {
// contains filtered or unexported fields
}
DockerInstallerInUbuntu is the installer of Docker in Ubuntu
func (*DockerInstallerInUbuntu) Available ¶
func (d *DockerInstallerInUbuntu) Available() (ok bool)
Available check if support current platform
func (*DockerInstallerInUbuntu) Install ¶
func (d *DockerInstallerInUbuntu) Install() (err error)
Install installs the Docker
func (*DockerInstallerInUbuntu) Start ¶ added in v0.0.32
func (d *DockerInstallerInUbuntu) Start() error
Start starts the Docker service
func (*DockerInstallerInUbuntu) Stop ¶ added in v0.0.32
func (d *DockerInstallerInUbuntu) Stop() error
Stop stops the Docker service
func (*DockerInstallerInUbuntu) Uninstall ¶
func (d *DockerInstallerInUbuntu) Uninstall() (err error)
Uninstall uninstalls the Docker
func (*DockerInstallerInUbuntu) WaitForStart ¶ added in v0.0.32
func (d *DockerInstallerInUbuntu) WaitForStart() (ok bool, err error)
WaitForStart waits for the service be started
Click to show internal directories.
Click to hide internal directories.