check

package
v0.0.0-...-2208570 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2021 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckABRConfig

func CheckABRConfig(
	ctx context.Context,
	rpcClient *sl4f.Client,
	expectedConfig *sl4f.Configuration,
) error

func DetermineCurrentABRConfig

func DetermineCurrentABRConfig(
	ctx context.Context,
	rpcClient *sl4f.Client,
) (*sl4f.Configuration, error)

func DetermineTargetABRConfig

func DetermineTargetABRConfig(
	ctx context.Context,
	rpcClient *sl4f.Client,
) (*sl4f.Configuration, error)

func IsDeviceUpToDate

func IsDeviceUpToDate(
	ctx context.Context,
	device *device.Client,
	expectedSystemImageMerkle string,
) (bool, error)

IsDeviceUpToDate checks if the device's /system/meta matches the expected system image merkle.

func ValidateDevice

func ValidateDevice(
	ctx context.Context,
	device *device.Client,
	rpcClient *sl4f.Client,
	expectedSystemImageMerkle string,
	expectedConfig *sl4f.Configuration,
	warnOnABR bool,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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