apt

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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