systemd

package
v1.23.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commander added in v1.14.0

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

func NewHostSystemdCommander

func NewHostSystemdCommander() *Commander

func NewInstanceSystemdCommander

func NewInstanceSystemdCommander(sshRunner *ssh.Runner) *Commander

func (Commander) DaemonReload added in v1.14.0

func (c Commander) DaemonReload() error

func (Commander) Disable added in v1.14.0

func (c Commander) Disable(name string) error

func (Commander) Enable added in v1.14.0

func (c Commander) Enable(name string) error

func (Commander) Reload added in v1.14.0

func (c Commander) Reload(name string) error

func (Commander) Restart added in v1.14.0

func (c Commander) Restart(name string) error

func (Commander) Start added in v1.14.0

func (c Commander) Start(name string) error

func (Commander) Status added in v1.14.0

func (c Commander) Status(name string) (states.State, error)

func (Commander) Stop added in v1.14.0

func (c Commander) Stop(name string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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