state_machine

package
v0.0.0-...-0342304 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

First step of the CrOSInstall State Machine. Responsible for initialization.

Sixth and final step in the CrOSInstall State Machine. Installs MiniOS

Second step of CrOSInstall State Machine. Responsible for partition and install

Third step of CrOSInstall State Machine. Responsible for stateful provisioning

Package state_machine - Pre check for CrOSInstall State Machine. Responsible for checking image status and possibly skipping provision.

Fifth step in the CrOSInstall State Machine. Installs DLCs

Package state_machine - Pre check for CrOSInstall State Machine. Responsible for checking image status and possibly skipping provision.

Third step of CrOSInstall State Machine. Responsible for update firmware

Fourth step in the CrOSInstall State Machine. Currently a noop, to be implemented

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCrOSInitState

func NewCrOSInitState(service *service.CrOSService) common_utils.ServiceState

func NewCrOSPreInitState

func NewCrOSPreInitState(service *service.CrOSService) common_utils.ServiceState

NewCrOSPreInitState provides an interface to CrOSPreInitState.

func NewCrOSResetDeviceState

func NewCrOSResetDeviceState(service *service.CrOSService) common_utils.ServiceState

NewCrOSResetDeviceState provides an interface to CrOSResetDeviceState.

Types

type CrOSInitState

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

CrosInitState can be thought of as the constructor state, which initializes variables in CrOSService

func (CrOSInitState) Execute

func (CrOSInitState) Name

func (s CrOSInitState) Name() string

func (CrOSInitState) Next

type CrOSInstallMiniOSState

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

func (CrOSInstallMiniOSState) Execute

func (CrOSInstallMiniOSState) Name

func (s CrOSInstallMiniOSState) Name() string

func (CrOSInstallMiniOSState) Next

type CrOSInstallState

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

func (CrOSInstallState) Execute

func (CrOSInstallState) Name

func (s CrOSInstallState) Name() string

func (CrOSInstallState) Next

type CrOSPostInstallState

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

func (CrOSPostInstallState) Execute

func (CrOSPostInstallState) Name

func (s CrOSPostInstallState) Name() string

func (CrOSPostInstallState) Next

type CrOSPreInitState

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

CrOSPreInitState can be thought of as the constructor state, which initializes variables in CrOSService

func (CrOSPreInitState) Execute

Execute executes the steps needed to support CrOSPreInitState. Xheck if the chromeOS target == current, if so skip install.

func (CrOSPreInitState) Name

func (s CrOSPreInitState) Name() string

Name of the step.

func (CrOSPreInitState) Next

Next provides the interface to the CrosInitState if the install flag is set.

type CrOSProvisionDLCState

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

func (CrOSProvisionDLCState) Execute

func (CrOSProvisionDLCState) Name

func (s CrOSProvisionDLCState) Name() string

func (CrOSProvisionDLCState) Next

type CrOSResetDeviceState

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

CrOSResetDeviceState can be thought of as the constructor state, which initializes variables in CrOSService

func (CrOSResetDeviceState) Execute

Execute executes the steps needed to support CrOSResetDeviceState.

func (CrOSResetDeviceState) Name

func (s CrOSResetDeviceState) Name() string

Name of the step.

func (CrOSResetDeviceState) Next

Nothing to do for Next.

type CrOSVerifyState

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

func (CrOSVerifyState) Execute

func (CrOSVerifyState) Name

func (s CrOSVerifyState) Name() string

func (CrOSVerifyState) Next

type CrosUpdateFirmwareState

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

func (CrosUpdateFirmwareState) Execute

func (CrosUpdateFirmwareState) Name

func (CrosUpdateFirmwareState) Next

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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