state_machine

package
v0.0.0-...-ee30025 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

First step of the State Machine. Responsible for initialization.

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFoilInstallState

func NewFoilInstallState(service *service.FoilService) common_utils.ServiceState

func NewFoilPostState

func NewFoilPostState(service *service.FoilService) common_utils.ServiceState

func NewFoilPreInitState

func NewFoilPreInitState(service *service.FoilService) common_utils.ServiceState

NewFoilPreInitState provides an interface to FoilPreInitState.

Types

type FoilInstallState

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

FoilInstallState can be thought of as the constructor state, which initializes variables in FoilService

func (FoilInstallState) Execute

func (FoilInstallState) Name

func (s FoilInstallState) Name() string

func (FoilInstallState) Next

type FoilPostState

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

FoilPostState can be thought of as the constructor state, which initializes variables in FoilService

func (FoilPostState) Execute

func (FoilPostState) Name

func (s FoilPostState) Name() string

func (FoilPostState) Next

type FoilPreInitState

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

FoilPreInitState can be thought of as the constructor state, which initializes variables in FoilService

func (FoilPreInitState) Execute

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

func (FoilPreInitState) Name

func (s FoilPreInitState) Name() string

Name of the step.

func (FoilPreInitState) Next

Next provides the interface if the install flag is set.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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