reboot

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolver

func NewResolver(logger Logger, rebootDetected bool, modelType model.ModelType) resolver.Resolver

NewResolver returns a resolver that runs the start hook to notify install charms that the machine has been rebooted.

Types

type Logger

type Logger interface {
	Infof(string, ...interface{})
}

Logger represents the logging methods used in this package.

Jump to

Keyboard shortcuts

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