driver

package
v0.0.0-...-7230ca3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) ChangeOpts

func (c CoreOSDriver) ChangeOpts(args string) error

func (CoreOSDriver) DockerComposeDir

func (c CoreOSDriver) DockerComposeDir() string

func (CoreOSDriver) InstallDocker

func (c CoreOSDriver) InstallDocker() error

func (CoreOSDriver) RestartDocker

func (d CoreOSDriver) RestartDocker() error

func (CoreOSDriver) StopDocker

func (d CoreOSDriver) StopDocker() error

func (CoreOSDriver) UninstallDocker

func (c CoreOSDriver) UninstallDocker() error

type DistroDriver

type DistroDriver interface {
	InstallDocker() error
	DockerComposeDir() string

	BaseOpts() []string
	ChangeOpts(args string) error

	RestartDocker() error
	StopDocker() error
	UninstallDocker() error
}

func GetDriver

func GetDriver(d distro.Info) (DistroDriver, error)

type UbuntuSystemdDriver

type UbuntuSystemdDriver struct {
	// contains filtered or unexported fields
}

func (UbuntuSystemdDriver) BaseOpts

func (u UbuntuSystemdDriver) BaseOpts() []string

func (UbuntuSystemdDriver) ChangeOpts

func (u UbuntuSystemdDriver) ChangeOpts(args string) error

func (UbuntuSystemdDriver) DockerComposeDir

func (u UbuntuSystemdDriver) DockerComposeDir() string

func (UbuntuSystemdDriver) InstallDocker

func (u UbuntuSystemdDriver) InstallDocker() error

func (UbuntuSystemdDriver) RestartDocker

func (d UbuntuSystemdDriver) RestartDocker() error

func (UbuntuSystemdDriver) StopDocker

func (d UbuntuSystemdDriver) StopDocker() error

func (UbuntuSystemdDriver) UninstallDocker

func (u UbuntuSystemdDriver) UninstallDocker() error

type UbuntuUpstartDriver

type UbuntuUpstartDriver struct {
	// contains filtered or unexported fields
}

func (UbuntuUpstartDriver) BaseOpts

func (u UbuntuUpstartDriver) BaseOpts() []string

func (UbuntuUpstartDriver) ChangeOpts

func (u UbuntuUpstartDriver) ChangeOpts(args string) error

func (UbuntuUpstartDriver) DockerComposeDir

func (u UbuntuUpstartDriver) DockerComposeDir() string

func (UbuntuUpstartDriver) InstallDocker

func (u UbuntuUpstartDriver) InstallDocker() error

func (UbuntuUpstartDriver) RestartDocker

func (d UbuntuUpstartDriver) RestartDocker() error

func (UbuntuUpstartDriver) StopDocker

func (d UbuntuUpstartDriver) StopDocker() error

func (UbuntuUpstartDriver) UninstallDocker

func (u UbuntuUpstartDriver) UninstallDocker() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL