Documentation
¶
Index ¶
- Variables
- type ExtractOptions
- type Header
- type MissingSourceError
- type Partition
- type Payload
- func (p *Payload) BlockSize() uint64
- func (p *Payload) Close() error
- func (p *Payload) Extract(ctx context.Context, opts ExtractOptions) error
- func (p *Payload) Header() Header
- func (p *Payload) IsDelta() bool
- func (p *Payload) Manifest() *chromeos_update_engine.DeltaArchiveManifest
- func (p *Payload) MinorVersion() uint32
- func (p *Payload) Partitions() []Partition
- func (p *Payload) SetLogger(logger *slog.Logger)
- type ProgressEvent
- type ProgressFunc
- type UnknownPartitionsError
- type UnsupportedOperationsError
- type VerificationError
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotPayload = errors.New("payload: input is neither a payload.bin (magic \"CrAU\") nor a zip archive containing payload.bin")
Functions ¶
This section is empty.
Types ¶
type ExtractOptions ¶
type MissingSourceError ¶
type MissingSourceError struct {
Partitions []string
}
func (*MissingSourceError) Error ¶
func (e *MissingSourceError) Error() string
type Payload ¶
type Payload struct {
// contains filtered or unexported fields
}
func (*Payload) Manifest ¶
func (p *Payload) Manifest() *chromeos_update_engine.DeltaArchiveManifest
func (*Payload) MinorVersion ¶
func (*Payload) Partitions ¶
type ProgressEvent ¶
type ProgressFunc ¶
type ProgressFunc func(ProgressEvent)
type UnknownPartitionsError ¶
type UnknownPartitionsError struct {
Names []string
}
func (*UnknownPartitionsError) Error ¶
func (e *UnknownPartitionsError) Error() string
type UnsupportedOperationsError ¶
func (*UnsupportedOperationsError) Error ¶
func (e *UnsupportedOperationsError) Error() string
type VerificationError ¶
func (*VerificationError) Error ¶
func (e *VerificationError) Error() string
Click to show internal directories.
Click to hide internal directories.