commands

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

CopyImage downloads the metadata file locally

Deploy rsyncs files to the desired locations for installation

ReloadBus kill the bus daemon with a SIGHUP

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanUpStagingCommand

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

func NewCleanUpStagingCommand

func NewCleanUpStagingCommand(ctx context.Context, cs *service.AShService) *CleanUpStagingCommand

func (*CleanUpStagingCommand) Execute

func (c *CleanUpStagingCommand) Execute(log *log.Logger) error

func (*CleanUpStagingCommand) GetErrorMessage

func (c *CleanUpStagingCommand) GetErrorMessage() string

func (*CleanUpStagingCommand) GetStatus

func (*CleanUpStagingCommand) Revert

func (c *CleanUpStagingCommand) Revert() error

type CopyImageCommand

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

func NewCopyImageCommand

func NewCopyImageCommand(ctx context.Context, cs *service.AShService) *CopyImageCommand

func (*CopyImageCommand) Execute

func (c *CopyImageCommand) Execute(log *log.Logger) error

func (*CopyImageCommand) GetErrorMessage

func (c *CopyImageCommand) GetErrorMessage() string

func (*CopyImageCommand) GetStatus

func (*CopyImageCommand) Revert

func (c *CopyImageCommand) Revert() error

type CreateBinaryDirsCommand

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

func NewCreateBinaryDirsCommand

func NewCreateBinaryDirsCommand(ctx context.Context, cs *service.AShService) *CreateBinaryDirsCommand

func (*CreateBinaryDirsCommand) Execute

func (c *CreateBinaryDirsCommand) Execute(log *log.Logger) error

func (*CreateBinaryDirsCommand) GetErrorMessage

func (c *CreateBinaryDirsCommand) GetErrorMessage() string

func (*CreateBinaryDirsCommand) GetStatus

func (*CreateBinaryDirsCommand) Revert

func (c *CreateBinaryDirsCommand) Revert() error

type CreateNewStagingDirsCommand

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

func NewCreateNewStagingDirsCommand

func NewCreateNewStagingDirsCommand(ctx context.Context, cs *service.AShService) *CreateNewStagingDirsCommand

func (*CreateNewStagingDirsCommand) Execute

func (c *CreateNewStagingDirsCommand) Execute(log *log.Logger) error

func (*CreateNewStagingDirsCommand) GetErrorMessage

func (c *CreateNewStagingDirsCommand) GetErrorMessage() string

func (*CreateNewStagingDirsCommand) GetStatus

func (*CreateNewStagingDirsCommand) Revert

func (c *CreateNewStagingDirsCommand) Revert() error

type DeployCommand

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

func NewDeployCommand

func NewDeployCommand(ctx context.Context, cs *service.AShService) *DeployCommand

func (*DeployCommand) Execute

func (c *DeployCommand) Execute(log *log.Logger) error

func (*DeployCommand) GetErrorMessage

func (c *DeployCommand) GetErrorMessage() string

func (*DeployCommand) GetStatus

func (c *DeployCommand) GetStatus() api.InstallResponse_Status

func (*DeployCommand) Revert

func (c *DeployCommand) Revert() error

type KillChromeCommand

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

func NewKillChromeCommand

func NewKillChromeCommand(ctx context.Context, cs *service.AShService) *KillChromeCommand

func (*KillChromeCommand) Execute

func (c *KillChromeCommand) Execute(log *log.Logger) error

func (*KillChromeCommand) GetErrorMessage

func (c *KillChromeCommand) GetErrorMessage() string

func (*KillChromeCommand) GetStatus

func (*KillChromeCommand) Revert

func (c *KillChromeCommand) Revert() error

type MountRootFSCommand

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

func NewMountRootFSCommand

func NewMountRootFSCommand(ctx context.Context, cs *service.AShService) *MountRootFSCommand

func (*MountRootFSCommand) Execute

func (c *MountRootFSCommand) Execute(log *log.Logger) error

func (*MountRootFSCommand) GetErrorMessage

func (c *MountRootFSCommand) GetErrorMessage() string

func (*MountRootFSCommand) GetStatus

func (*MountRootFSCommand) Revert

func (c *MountRootFSCommand) Revert() error

type ReloadBusCommand

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

func NewReloadBusCommand

func NewReloadBusCommand(ctx context.Context, cs *service.AShService) *ReloadBusCommand

func (*ReloadBusCommand) Execute

func (c *ReloadBusCommand) Execute(log *log.Logger) error

func (*ReloadBusCommand) GetErrorMessage

func (c *ReloadBusCommand) GetErrorMessage() string

func (*ReloadBusCommand) GetStatus

func (*ReloadBusCommand) Revert

func (c *ReloadBusCommand) Revert() error

type StartChromeCommand

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

func NewStartChromeCommand

func NewStartChromeCommand(ctx context.Context, cs *service.AShService) *StartChromeCommand

func (*StartChromeCommand) Execute

func (c *StartChromeCommand) Execute(log *log.Logger) error

func (*StartChromeCommand) GetErrorMessage

func (c *StartChromeCommand) GetErrorMessage() string

func (*StartChromeCommand) GetStatus

func (*StartChromeCommand) Revert

func (c *StartChromeCommand) Revert() error

type StopChromeCommand

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

func NewStopChromeCommand

func NewStopChromeCommand(ctx context.Context, cs *service.AShService) *StopChromeCommand

func (*StopChromeCommand) Execute

func (c *StopChromeCommand) Execute(log *log.Logger) error

func (*StopChromeCommand) GetErrorMessage

func (c *StopChromeCommand) GetErrorMessage() string

func (*StopChromeCommand) GetStatus

func (*StopChromeCommand) Revert

func (c *StopChromeCommand) Revert() error

Jump to

Keyboard shortcuts

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