Documentation ¶
Index ¶
- func SetInstallerRegistry(registry core.InstallerRegistry)
- type ConntrackInstallerInCentOS
- func (d *ConntrackInstallerInCentOS) Available() (ok bool)
- func (d *ConntrackInstallerInCentOS) Install() (err error)
- func (d *ConntrackInstallerInCentOS) Start() error
- func (d *ConntrackInstallerInCentOS) Stop() error
- func (d *ConntrackInstallerInCentOS) Uninstall() (err error)
- func (d *ConntrackInstallerInCentOS) WaitForStart() (ok bool, err error)
- type DockerInstallerInCentOS
- func (d *DockerInstallerInCentOS) Available() (ok bool)
- func (d *DockerInstallerInCentOS) Install() (err error)
- func (d *DockerInstallerInCentOS) Start() error
- func (d *DockerInstallerInCentOS) Stop() error
- func (d *DockerInstallerInCentOS) Uninstall() (err error)
- func (d *DockerInstallerInCentOS) 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 ConntrackInstallerInCentOS ¶ added in v0.0.32
type ConntrackInstallerInCentOS struct {
// contains filtered or unexported fields
}
ConntrackInstallerInCentOS is the installer of Docker in CentOS
func (*ConntrackInstallerInCentOS) Available ¶ added in v0.0.32
func (d *ConntrackInstallerInCentOS) Available() (ok bool)
Available check if support current platform
func (*ConntrackInstallerInCentOS) Install ¶ added in v0.0.32
func (d *ConntrackInstallerInCentOS) Install() (err error)
Install installs the Docker
func (*ConntrackInstallerInCentOS) Start ¶ added in v0.0.32
func (d *ConntrackInstallerInCentOS) Start() error
Start starts the Docker service
func (*ConntrackInstallerInCentOS) Stop ¶ added in v0.0.32
func (d *ConntrackInstallerInCentOS) Stop() error
Stop stops the Docker service
func (*ConntrackInstallerInCentOS) Uninstall ¶ added in v0.0.32
func (d *ConntrackInstallerInCentOS) Uninstall() (err error)
Uninstall uninstalls the Docker
func (*ConntrackInstallerInCentOS) WaitForStart ¶ added in v0.0.32
func (d *ConntrackInstallerInCentOS) WaitForStart() (ok bool, err error)
WaitForStart waits for the service be started
type DockerInstallerInCentOS ¶
type DockerInstallerInCentOS struct {
// contains filtered or unexported fields
}
DockerInstallerInCentOS is the installer of Docker in CentOS
func (*DockerInstallerInCentOS) Available ¶
func (d *DockerInstallerInCentOS) Available() (ok bool)
Available check if support current platform
func (*DockerInstallerInCentOS) Install ¶
func (d *DockerInstallerInCentOS) Install() (err error)
Install installs the Docker
func (*DockerInstallerInCentOS) Start ¶ added in v0.0.32
func (d *DockerInstallerInCentOS) Start() error
Start starts the Docker service
func (*DockerInstallerInCentOS) Stop ¶ added in v0.0.32
func (d *DockerInstallerInCentOS) Stop() error
Stop stops the Docker service
func (*DockerInstallerInCentOS) Uninstall ¶
func (d *DockerInstallerInCentOS) Uninstall() (err error)
Uninstall uninstalls the Docker
func (*DockerInstallerInCentOS) WaitForStart ¶ added in v0.0.32
func (d *DockerInstallerInCentOS) WaitForStart() (ok bool, err error)
WaitForStart waits for the service be started
Click to show internal directories.
Click to hide internal directories.