Documentation
¶
Index ¶
- Constants
- func NewLinuxDriverFromConfig(c *any) (common.NodeDriver, error)
- type LinuxConfig
- type LinuxDriver
- func (l LinuxDriver) DriverInfo() common.NodeDriverInfo
- func (l LinuxDriver) GetDriverConfig() common.NodeDriverConfig
- func (l LinuxDriver) GetNodeDriverID() common.NodeDriverID
- func (l LinuxDriver) GetStatus() (common.NodeStatus, error)
- func (l LinuxDriver) MarshalJSON() ([]byte, error)
- func (l LinuxDriver) PlanAndRegister(nodeName string, repository common.NodesRepository) error
- func (l LinuxDriver) Restart(message string, time uint32) error
- func (l LinuxDriver) Shutdown(message string, time uint32) error
- func (l LinuxDriver) Startup() error
- func (l LinuxDriver) UnmarshalJSON(data []byte) error
- func (l LinuxDriver) Verify() error
Constants ¶
View Source
const LinuxDriverID common.NodeDriverID = "linux"
Variables ¶
This section is empty.
Functions ¶
func NewLinuxDriverFromConfig ¶
func NewLinuxDriverFromConfig(c *any) (common.NodeDriver, error)
Types ¶
type LinuxConfig ¶
type LinuxDriver ¶
type LinuxDriver struct {
Config LinuxConfig
}
func (LinuxDriver) DriverInfo ¶
func (l LinuxDriver) DriverInfo() common.NodeDriverInfo
func (LinuxDriver) GetDriverConfig ¶
func (l LinuxDriver) GetDriverConfig() common.NodeDriverConfig
func (LinuxDriver) GetNodeDriverID ¶
func (l LinuxDriver) GetNodeDriverID() common.NodeDriverID
func (LinuxDriver) GetStatus ¶
func (l LinuxDriver) GetStatus() (common.NodeStatus, error)
func (LinuxDriver) MarshalJSON ¶
func (l LinuxDriver) MarshalJSON() ([]byte, error)
func (LinuxDriver) PlanAndRegister ¶
func (l LinuxDriver) PlanAndRegister(nodeName string, repository common.NodesRepository) error
func (LinuxDriver) Startup ¶
func (l LinuxDriver) Startup() error
func (LinuxDriver) UnmarshalJSON ¶
func (l LinuxDriver) UnmarshalJSON(data []byte) error
func (LinuxDriver) Verify ¶
func (l LinuxDriver) Verify() error
Click to show internal directories.
Click to hide internal directories.