monit

package
v0.0.0-...-5000e08 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 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 Client

type Client interface {
	Services() ([]Service, error)
}

func NewHTTPClient

func NewHTTPClient(
	host, username, password string,
	client boshhttp.Client,
	logger boshlog.Logger,
) Client

type ClientProvider

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

func NewClientProvider

func NewClientProvider(fs boshsys.FileSystem, logger boshlog.Logger) ClientProvider

func (ClientProvider) Get

func (p ClientProvider) Get() (Client, error)

type Service

type Service struct {
	Name string
	PID  int
}

Jump to

Keyboard shortcuts

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