Documentation ¶
Index ¶
- type CentOSDriver
- func (c CentOSDriver) BaseOpts() []string
- func (c CentOSDriver) DockerComposeDir() string
- func (c CentOSDriver) InstallDocker(installCmd string) error
- func (d CentOSDriver) RestartDocker() error
- func (d CentOSDriver) StartDocker() error
- func (d CentOSDriver) StopDocker() error
- func (c CentOSDriver) UninstallDocker() error
- func (u CentOSDriver) UpdateDockerArgs(args string) (bool, error)
- type CoreOSDriver
- func (c CoreOSDriver) BaseOpts() []string
- func (c CoreOSDriver) DockerComposeDir() string
- func (c CoreOSDriver) InstallDocker(installCmd string) error
- func (d CoreOSDriver) RestartDocker() error
- func (d CoreOSDriver) StartDocker() error
- func (d CoreOSDriver) StopDocker() error
- func (c CoreOSDriver) UninstallDocker() error
- func (c CoreOSDriver) UpdateDockerArgs(args string) (bool, error)
- type DistroDriver
- type RHELDriver
- type UbuntuSystemdDriver
- func (u UbuntuSystemdDriver) BaseOpts() []string
- func (u UbuntuSystemdDriver) DockerComposeDir() string
- func (u UbuntuSystemdDriver) InstallDocker(installCmd string) error
- func (d UbuntuSystemdDriver) RestartDocker() error
- func (d UbuntuSystemdDriver) StartDocker() error
- func (d UbuntuSystemdDriver) StopDocker() error
- func (u UbuntuSystemdDriver) UninstallDocker() error
- func (u UbuntuSystemdDriver) UpdateDockerArgs(args string) (bool, error)
- type UbuntuUpstartDriver
- func (u UbuntuUpstartDriver) BaseOpts() []string
- func (u UbuntuUpstartDriver) DockerComposeDir() string
- func (u UbuntuUpstartDriver) InstallDocker(installCmd string) error
- func (d UbuntuUpstartDriver) RestartDocker() error
- func (d UbuntuUpstartDriver) StartDocker() error
- func (d UbuntuUpstartDriver) StopDocker() error
- func (u UbuntuUpstartDriver) UninstallDocker() error
- func (u UbuntuUpstartDriver) UpdateDockerArgs(args string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CentOSDriver ¶
type CentOSDriver struct {
// contains filtered or unexported fields
}
CentOSDriver is for CentOS-based distros.
func (CentOSDriver) BaseOpts ¶
func (c CentOSDriver) BaseOpts() []string
func (CentOSDriver) DockerComposeDir ¶
func (c CentOSDriver) DockerComposeDir() string
func (CentOSDriver) InstallDocker ¶
func (c CentOSDriver) InstallDocker(installCmd string) error
func (CentOSDriver) RestartDocker ¶
func (d CentOSDriver) RestartDocker() error
func (CentOSDriver) StartDocker ¶
func (d CentOSDriver) StartDocker() error
func (CentOSDriver) StopDocker ¶
func (d CentOSDriver) StopDocker() error
func (CentOSDriver) UninstallDocker ¶
func (c CentOSDriver) UninstallDocker() error
func (CentOSDriver) UpdateDockerArgs ¶
type CoreOSDriver ¶
type CoreOSDriver struct {
// contains filtered or unexported fields
}
CoreOS: distro already comes with docker installed and uses systemd as init system.
func (CoreOSDriver) BaseOpts ¶
func (c CoreOSDriver) BaseOpts() []string
func (CoreOSDriver) DockerComposeDir ¶
func (c CoreOSDriver) DockerComposeDir() string
func (CoreOSDriver) InstallDocker ¶
func (c CoreOSDriver) InstallDocker(installCmd string) error
func (CoreOSDriver) RestartDocker ¶
func (d CoreOSDriver) RestartDocker() error
func (CoreOSDriver) StartDocker ¶
func (d CoreOSDriver) StartDocker() error
func (CoreOSDriver) StopDocker ¶
func (d CoreOSDriver) StopDocker() error
func (CoreOSDriver) UninstallDocker ¶
func (c CoreOSDriver) UninstallDocker() error
func (CoreOSDriver) UpdateDockerArgs ¶
func (c CoreOSDriver) UpdateDockerArgs(args string) (bool, error)
type DistroDriver ¶
type RHELDriver ¶
type RHELDriver struct {
CentOSDriver
}
RHELDriver is for Red Hat Enterprise Linux.
func (RHELDriver) DockerComposeDir ¶
func (r RHELDriver) DockerComposeDir() string
DockerComposeDir for RHEL is different than CentOSDriver as CentOS has /usr/local/bin in $PATH and RHEL does not. Therefore using /usr/bin.
func (RHELDriver) RestartDocker ¶
func (d RHELDriver) RestartDocker() error
func (RHELDriver) StartDocker ¶
func (d RHELDriver) StartDocker() error
func (RHELDriver) StopDocker ¶
func (d RHELDriver) StopDocker() error
func (RHELDriver) UpdateDockerArgs ¶
type UbuntuSystemdDriver ¶
type UbuntuSystemdDriver struct {
// contains filtered or unexported fields
}
func (UbuntuSystemdDriver) DockerComposeDir ¶
func (u UbuntuSystemdDriver) DockerComposeDir() string
func (UbuntuSystemdDriver) InstallDocker ¶
func (UbuntuSystemdDriver) RestartDocker ¶
func (d UbuntuSystemdDriver) RestartDocker() error
func (UbuntuSystemdDriver) StartDocker ¶
func (d UbuntuSystemdDriver) StartDocker() error
func (UbuntuSystemdDriver) StopDocker ¶
func (d UbuntuSystemdDriver) StopDocker() error
func (UbuntuSystemdDriver) UninstallDocker ¶
func (u UbuntuSystemdDriver) UninstallDocker() error
func (UbuntuSystemdDriver) UpdateDockerArgs ¶
type UbuntuUpstartDriver ¶
type UbuntuUpstartDriver struct {
// contains filtered or unexported fields
}
func (UbuntuUpstartDriver) BaseOpts ¶
func (u UbuntuUpstartDriver) BaseOpts() []string
func (UbuntuUpstartDriver) DockerComposeDir ¶
func (u UbuntuUpstartDriver) DockerComposeDir() string
func (UbuntuUpstartDriver) InstallDocker ¶
func (UbuntuUpstartDriver) RestartDocker ¶
func (d UbuntuUpstartDriver) RestartDocker() error
func (UbuntuUpstartDriver) StartDocker ¶
func (d UbuntuUpstartDriver) StartDocker() error
func (UbuntuUpstartDriver) StopDocker ¶
func (d UbuntuUpstartDriver) StopDocker() error
func (UbuntuUpstartDriver) UninstallDocker ¶
func (u UbuntuUpstartDriver) UninstallDocker() error
func (UbuntuUpstartDriver) UpdateDockerArgs ¶
func (u UbuntuUpstartDriver) UpdateDockerArgs(args string) (bool, error)
Click to show internal directories.
Click to hide internal directories.