scoop

package
v0.0.94 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package scoop implements the scoop integration

Index

Constants

View Source
const Tool = "scoop"

Tool is the tool name of this intergration

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonInstaller

type CommonInstaller struct {
	Name   string
	Execer fakeruntime.Execer
}

CommonInstaller is the installer of Conntrack in CentOS

func (*CommonInstaller) Available

func (d *CommonInstaller) Available() (ok bool)

Available check if support current platform

func (*CommonInstaller) Install

func (d *CommonInstaller) Install() (err error)

Install installs the Conntrack

func (*CommonInstaller) Start

func (d *CommonInstaller) Start() error

Start starts the Conntrack service

func (*CommonInstaller) Stop

func (d *CommonInstaller) Stop() error

Stop stops the Conntrack service

func (*CommonInstaller) Uninstall

func (d *CommonInstaller) Uninstall() (err error)

Uninstall uninstalls the Conntrack

func (*CommonInstaller) WaitForStart

func (d *CommonInstaller) 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