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: 8 Imported by: 0

Documentation

Overview

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAShInitState

func NewAShInitState(service *service.AShService) common_utils.ServiceState

Types

type AShInitState

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

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

func (AShInitState) Execute

func (AShInitState) Name

func (s AShInitState) Name() string

func (AShInitState) Next

type AShInstallState

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

func (AShInstallState) Execute

func (AShInstallState) Name

func (s AShInstallState) Name() string

func (AShInstallState) Next

type AShPostInstallState

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

func (AShPostInstallState) Execute

func (AShPostInstallState) Name

func (s AShPostInstallState) Name() string

func (AShPostInstallState) Next

Directories

Path Synopsis
CopyImage downloads the metadata file locally
CopyImage downloads the metadata file locally

Jump to

Keyboard shortcuts

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