fake

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

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

Installer only for test purpose

func NewFakeInstaller

func NewFakeInstaller(support bool, hasError bool) *Installer

NewFakeInstaller returns a Installer

func (*Installer) Available

func (d *Installer) Available() bool

Available check if support current platform

func (*Installer) Install

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

Install installs the vim

func (*Installer) Start

func (d *Installer) Start() (err error)

Start starts the vim service

func (*Installer) Stop

func (d *Installer) Stop() (err error)

Stop stops the vim service

func (*Installer) Uninstall

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

Uninstall uninstalls the vim

func (*Installer) WaitForStart

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