nodes

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const WindowsDriverID common.NodeDriverID = "windows"

Variables

This section is empty.

Functions

func NewWindowsDriverFromConfig

func NewWindowsDriverFromConfig(ctx common.NodeContext, c *any) (common.NodeDriver, error)

Types

type WindowsConfig

type WindowsConfig struct {
	WakeOnLan bool   `json:"wol"`
	MAC       string `json:"MAC"`
}

type WindowsDriver

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

func (*WindowsDriver) Config

func (*WindowsDriver) ID

func (*WindowsDriver) Info

func (*WindowsDriver) PowerOff

func (w *WindowsDriver) PowerOff() error

func (*WindowsDriver) PowerOn

func (w *WindowsDriver) PowerOn(_ *cloudinit.CloudInit) error

func (*WindowsDriver) Restart

func (w *WindowsDriver) Restart(message string, time uint32) error

func (*WindowsDriver) Shutdown

func (w *WindowsDriver) Shutdown(message string, time uint32) error

func (*WindowsDriver) State

func (l *WindowsDriver) State() (common.NodeState, error)

func (*WindowsDriver) UpdateStatus added in v0.2.7

func (w *WindowsDriver) UpdateStatus() (common.NodeStatus, error)

Jump to

Keyboard shortcuts

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