yum

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: 6 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 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

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

Jump to

Keyboard shortcuts

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