internal

package
v2.42.5-go-mod+incompa... Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package internal (of devicestate) provides functions to access and set the device state for use only by devicestate, for convenience they are also exposed via devicestatetest for use in tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Device

func Device(st *state.State) (*auth.DeviceState, error)

Device returns the device details from the state.

func SetDevice

func SetDevice(st *state.State, device *auth.DeviceState) error

SetDevice updates the device details in the state.

Types

This section is empty.

Jump to

Keyboard shortcuts

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