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 (s AShInitState) Execute(ctx context.Context, log *log.Logger) (*anypb.Any, api.InstallResponse_Status, error)
func (AShInitState) Name ¶
func (s AShInitState) Name() string
func (AShInitState) Next ¶
func (s AShInitState) Next() common_utils.ServiceState
type AShInstallState ¶
type AShInstallState struct {
// contains filtered or unexported fields
}
func (AShInstallState) Execute ¶
func (s AShInstallState) Execute(ctx context.Context, log *log.Logger) (*anypb.Any, api.InstallResponse_Status, error)
func (AShInstallState) Name ¶
func (s AShInstallState) Name() string
func (AShInstallState) Next ¶
func (s AShInstallState) Next() common_utils.ServiceState
type AShPostInstallState ¶
type AShPostInstallState struct {
// contains filtered or unexported fields
}
func (AShPostInstallState) Execute ¶
func (s AShPostInstallState) Execute(ctx context.Context, log *log.Logger) (*anypb.Any, api.InstallResponse_Status, error)
func (AShPostInstallState) Name ¶
func (s AShPostInstallState) Name() string
func (AShPostInstallState) Next ¶
func (s AShPostInstallState) Next() common_utils.ServiceState
Click to show internal directories.
Click to hide internal directories.