svcmgr

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: BSD-2-Clause Imports: 4 Imported by: 5

Documentation

Overview

Package svcmgr contains integration for managing services on a machine.

Currently supported service managers are systemd, circus, sysv, openrc, and dummy.

Index

Constants

This section is empty.

Variables

View Source
var SupportedBackends = map[string]managerCreator{}

Functions

This section is empty.

Types

type Manager

type Manager interface {
	TakeAction(change_type string, spec_path string, ca_path string, cert_path string, key_path string) error
}

The Manager interface provides a common API for interacting with service managers.

func New

func New(name string, action string, service string) (Manager, error)

New returns a new service manager.

Jump to

Keyboard shortcuts

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