juju: github.com/juju/juju/cmd/jujud/reboot Index | Files

package reboot

import "github.com/juju/juju/cmd/jujud/reboot"

Index

Package Files

reboot.go reboot_nix.go

type Reboot Uses

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

Reboot implements the ExecuteReboot command which will reboot a machine once all containers have shut down, or a timeout is reached

func NewRebootWaiter Uses

func NewRebootWaiter(acfg agent.Config) (*Reboot, error)

func (*Reboot) ExecuteReboot Uses

func (r *Reboot) ExecuteReboot(action params.RebootAction) error

ExecuteReboot will wait for all running containers to stop, and then execute a shutdown or a reboot (based on the action param)

Package reboot imports 18 packages (graph) and is imported by 35 packages. Updated 2019-09-03. Refresh now. Tools for package owners.