Documentation ¶
Overview ¶
First step of the CrOSInit State Machine. Responsible for initialization.
Second step of LaCrOSInstall State Machine. Responsible for partition and install
Third step in the LaCrOSInstall State Machine. Currently a noop, to be implemented
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLaCrOSInitState ¶
func NewLaCrOSInitState(service *service.LaCrOSService) common_utils.ServiceState
Types ¶
type LaCrOSInitState ¶
type LaCrOSInitState struct {
// contains filtered or unexported fields
}
LaCrOSInitState can be thought of as the constructor state, which initializes variables in CrOSService
func (LaCrOSInitState) Execute ¶
func (s LaCrOSInitState) Execute(ctx context.Context, log *log.Logger) (*anypb.Any, api.InstallResponse_Status, error)
func (LaCrOSInitState) Name ¶
func (s LaCrOSInitState) Name() string
func (LaCrOSInitState) Next ¶
func (s LaCrOSInitState) Next() common_utils.ServiceState
type LaCrOSInstallState ¶
type LaCrOSInstallState struct {
// contains filtered or unexported fields
}
func (LaCrOSInstallState) Execute ¶
func (s LaCrOSInstallState) Execute(ctx context.Context, log *log.Logger) (*anypb.Any, api.InstallResponse_Status, error)
func (LaCrOSInstallState) Name ¶
func (s LaCrOSInstallState) Name() string
func (LaCrOSInstallState) Next ¶
func (s LaCrOSInstallState) Next() common_utils.ServiceState
type LaCrOSVerifyState ¶
type LaCrOSVerifyState struct {
// contains filtered or unexported fields
}
func (LaCrOSVerifyState) Execute ¶
func (s LaCrOSVerifyState) Execute(ctx context.Context, log *log.Logger) (*anypb.Any, api.InstallResponse_Status, error)
func (LaCrOSVerifyState) Name ¶
func (s LaCrOSVerifyState) Name() string
func (LaCrOSVerifyState) Next ¶
func (s LaCrOSVerifyState) Next() common_utils.ServiceState
Click to show internal directories.
Click to hide internal directories.