conv2state

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 7 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 {
	Tag() names.Tag
}

Agent is an interface that exposes machine agent methods required for the conversion worker.

Jump to

Keyboard shortcuts

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