Documentation ¶
Overview ¶
AlignImageToPage will align the file to LacrosPageSize page alignment and return the number of page blocks.
Append the hashtree (merkle tree) onto the end of the Lacros image.
CopyImage downloads the metadata file locally ¶
CopyMetadata downloads the metadata file locally ¶
CreateImageDirectory downloads the metadata file locally ¶
FixOwnership changes file mode and owner of provisioned files if the path is prefixed with the CrOS component path.
GetMetadata translates the metadata from a file to a local JSON repr ¶
PublishVersion writes the Lacros version to the latest-version file.
RunVerity generates the verity (hashtree and table) from Lacros image.
writeComponentManifest will create and write the Lacros component manifest out usable by component updater.
writeManifest will create and write the Lacros component manifest out.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlignImageToPageCommand ¶
type AlignImageToPageCommand struct {
// contains filtered or unexported fields
}
func NewAlignImageToPageCommand ¶
func NewAlignImageToPageCommand(ctx context.Context, cs *service.LaCrOSService) *AlignImageToPageCommand
func (*AlignImageToPageCommand) Execute ¶
func (c *AlignImageToPageCommand) Execute(log *log.Logger) error
func (*AlignImageToPageCommand) GetErrorMessage ¶
func (c *AlignImageToPageCommand) GetErrorMessage() string
func (*AlignImageToPageCommand) GetStatus ¶
func (c *AlignImageToPageCommand) GetStatus() api.InstallResponse_Status
func (*AlignImageToPageCommand) Revert ¶
func (c *AlignImageToPageCommand) Revert() error
type AppendHashTreeCommand ¶
type AppendHashTreeCommand struct {
// contains filtered or unexported fields
}
func NewAppendHashTreeCommand ¶
func NewAppendHashTreeCommand(ctx context.Context, cs *service.LaCrOSService) *AppendHashTreeCommand
func (*AppendHashTreeCommand) Execute ¶
func (c *AppendHashTreeCommand) Execute(log *log.Logger) error
func (*AppendHashTreeCommand) GetErrorMessage ¶
func (c *AppendHashTreeCommand) GetErrorMessage() string
func (*AppendHashTreeCommand) GetStatus ¶
func (c *AppendHashTreeCommand) GetStatus() api.InstallResponse_Status
func (*AppendHashTreeCommand) Revert ¶
func (c *AppendHashTreeCommand) Revert() error
type CopyImageCommand ¶
type CopyImageCommand struct {
// contains filtered or unexported fields
}
func NewCopyImageCommand ¶
func NewCopyImageCommand(ctx context.Context, cs *service.LaCrOSService) *CopyImageCommand
func (*CopyImageCommand) GetErrorMessage ¶
func (c *CopyImageCommand) GetErrorMessage() string
func (*CopyImageCommand) GetStatus ¶
func (c *CopyImageCommand) GetStatus() api.InstallResponse_Status
func (*CopyImageCommand) Revert ¶
func (c *CopyImageCommand) Revert() error
type CopyMetadataCommand ¶
type CopyMetadataCommand struct {
// contains filtered or unexported fields
}
func NewCopyMetadataCommand ¶
func NewCopyMetadataCommand(ctx context.Context, cs *service.LaCrOSService) *CopyMetadataCommand
func (*CopyMetadataCommand) GetErrorMessage ¶
func (c *CopyMetadataCommand) GetErrorMessage() string
func (*CopyMetadataCommand) GetStatus ¶
func (c *CopyMetadataCommand) GetStatus() api.InstallResponse_Status
func (*CopyMetadataCommand) Revert ¶
func (c *CopyMetadataCommand) Revert() error
type CreateImageDirectoryCommand ¶
type CreateImageDirectoryCommand struct {
// contains filtered or unexported fields
}
func NewCreateImageDirectoryCommand ¶
func NewCreateImageDirectoryCommand(ctx context.Context, cs *service.LaCrOSService) *CreateImageDirectoryCommand
func (*CreateImageDirectoryCommand) Execute ¶
func (c *CreateImageDirectoryCommand) Execute(log *log.Logger) error
func (*CreateImageDirectoryCommand) GetErrorMessage ¶
func (c *CreateImageDirectoryCommand) GetErrorMessage() string
func (*CreateImageDirectoryCommand) GetStatus ¶
func (c *CreateImageDirectoryCommand) GetStatus() api.InstallResponse_Status
func (*CreateImageDirectoryCommand) Revert ¶
func (c *CreateImageDirectoryCommand) Revert() error
type FixOwnershipCommand ¶
type FixOwnershipCommand struct {
// contains filtered or unexported fields
}
func NewFixOwnershipCommand ¶
func NewFixOwnershipCommand(ctx context.Context, cs *service.LaCrOSService) *FixOwnershipCommand
func (*FixOwnershipCommand) GetErrorMessage ¶
func (c *FixOwnershipCommand) GetErrorMessage() string
func (*FixOwnershipCommand) GetStatus ¶
func (c *FixOwnershipCommand) GetStatus() api.InstallResponse_Status
func (*FixOwnershipCommand) Revert ¶
func (c *FixOwnershipCommand) Revert() error
type GetMetadataCommand ¶
type GetMetadataCommand struct {
// contains filtered or unexported fields
}
func NewGetMetadataCommand ¶
func NewGetMetadataCommand(ctx context.Context, cs *service.LaCrOSService) *GetMetadataCommand
func (*GetMetadataCommand) GetErrorMessage ¶
func (c *GetMetadataCommand) GetErrorMessage() string
func (*GetMetadataCommand) GetStatus ¶
func (c *GetMetadataCommand) GetStatus() api.InstallResponse_Status
func (*GetMetadataCommand) Revert ¶
func (c *GetMetadataCommand) Revert() error
type PublishVersionCommand ¶
type PublishVersionCommand struct {
// contains filtered or unexported fields
}
func NewPublishVersionCommand ¶
func NewPublishVersionCommand(ctx context.Context, cs *service.LaCrOSService) *PublishVersionCommand
func (*PublishVersionCommand) Execute ¶
func (c *PublishVersionCommand) Execute(log *log.Logger) error
func (*PublishVersionCommand) GetErrorMessage ¶
func (c *PublishVersionCommand) GetErrorMessage() string
func (*PublishVersionCommand) GetStatus ¶
func (c *PublishVersionCommand) GetStatus() api.InstallResponse_Status
func (*PublishVersionCommand) Revert ¶
func (c *PublishVersionCommand) Revert() error
type RunVerityCommand ¶
type RunVerityCommand struct {
// contains filtered or unexported fields
}
func NewRunVerityCommand ¶
func NewRunVerityCommand(ctx context.Context, cs *service.LaCrOSService) *RunVerityCommand
func (*RunVerityCommand) GetErrorMessage ¶
func (c *RunVerityCommand) GetErrorMessage() string
func (*RunVerityCommand) GetStatus ¶
func (c *RunVerityCommand) GetStatus() api.InstallResponse_Status
func (*RunVerityCommand) Revert ¶
func (c *RunVerityCommand) Revert() error
type WriteComponentManifestCommand ¶
type WriteComponentManifestCommand struct {
// contains filtered or unexported fields
}
func NewWriteComponentManifestCommand ¶
func NewWriteComponentManifestCommand(ctx context.Context, cs *service.LaCrOSService) *WriteComponentManifestCommand
func (*WriteComponentManifestCommand) Execute ¶
func (c *WriteComponentManifestCommand) Execute(log *log.Logger) error
func (*WriteComponentManifestCommand) GetErrorMessage ¶
func (c *WriteComponentManifestCommand) GetErrorMessage() string
func (*WriteComponentManifestCommand) GetStatus ¶
func (c *WriteComponentManifestCommand) GetStatus() api.InstallResponse_Status
func (*WriteComponentManifestCommand) Revert ¶
func (c *WriteComponentManifestCommand) Revert() error
type WriteManifestCommand ¶
type WriteManifestCommand struct {
// contains filtered or unexported fields
}
func NewWriteManifestCommand ¶
func NewWriteManifestCommand(ctx context.Context, cs *service.LaCrOSService) *WriteManifestCommand
func (*WriteManifestCommand) Execute ¶
func (c *WriteManifestCommand) Execute(log *log.Logger) error
func (*WriteManifestCommand) GetErrorMessage ¶
func (c *WriteManifestCommand) GetErrorMessage() string
func (*WriteManifestCommand) GetStatus ¶
func (c *WriteManifestCommand) GetStatus() api.InstallResponse_Status
func (*WriteManifestCommand) Revert ¶
func (c *WriteManifestCommand) Revert() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.