conv2state

package
v0.0.0-...-4bd6544 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(m *machiner.State, agent Agent) watcher.NotifyHandler

New returns a new notify watch handler that will convert the given machine & agent to a controller.

Types

type Agent

type Agent interface {
	Restart() error
	Tag() names.Tag
}

Agent is an interface that can have its password set and be told to restart.

Jump to

Keyboard shortcuts

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