client

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 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 ServiceWrapper

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

func New

func New(binaryPath string, workdir string) *ServiceWrapper

func (*ServiceWrapper) Install

func (s *ServiceWrapper) Install(cfg config.Config) error

func (*ServiceWrapper) IsRunning

func (s *ServiceWrapper) IsRunning(label string) (bool, error)

func (*ServiceWrapper) Start

func (s *ServiceWrapper) Start(label string) error

func (*ServiceWrapper) Stop

func (s *ServiceWrapper) Stop(label string) error

func (*ServiceWrapper) Uninstall

func (s *ServiceWrapper) Uninstall(label string) error

Jump to

Keyboard shortcuts

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