Skip to main content

Module device

Module device 

Source
Expand description

Devices, the routes they advertise, their posture, and shares of them.

Structs§

AcceptDeviceInvite
What accepting a share sends: the invite, as a URL or as its bare id.
AcceptedDeviceInvite
What accepting a share answers with.
ClientConnectivity
What the device reports about the network it is on.
ClientSupports
NAT and address-family features the client reports.
CreateDeviceInvite
One share to create, as the request’s array carries them.
DerpLatency
One DERP server’s distance from the device.
Device
A machine in a tailnet.
DeviceAddress
Move a device to another address in the tailnet’s range.
DeviceAuthorization
Authorise a device, or revoke its authorisation with false.
DeviceEnabledRoutes
Replace the routes a device is permitted to carry.
DeviceInvite
An invitation sharing one device with a user outside its tailnet.
DeviceKeyExpiry
Turn a device’s key expiry off, or back on.
DeviceList
What a device listing answers with.
DeviceName
Rename a device, which retires its old MagicDNS names.
DevicePostureAttributes
Posture attributes collected from a device.
DeviceRoutes
The routes a device advertises, and which of them are approved.
DeviceTags
Replace a device’s tags.
Distro
The operating system distribution, where the client can tell.
InviteAcceptor
Who accepted a share.
PostureAttribute
Set one custom posture attribute on one device.
PostureAttributeBatch
Set custom posture attributes on many devices at once.
PostureAttributeValue
The longer form a batched attribute may take, where a bare value would not carry an expiry.
PostureIdentity
Hardware identifiers, where the tailnet collects them.
PostureIntegration
A configured link to a device posture provider.
PostureIntegrationList
What a posture integration listing answers with.
PostureIntegrationStatus
How the last sync with a posture provider went.
SharePartner
One side of a share: whoever offered it, or whoever took it.
SharedDevice
The device a share hands over, as the acceptance describes it.

Constants§

DEVICE_FIELDS
What a device listing may ask for.
KNOWN_VALUES
POSTURE_PROVIDERS
The posture providers the description knows.
SHAPES
Every model declared in this module, in declaration order.

Type Aliases§

SharePartnerAcceptor
The other side, which the description gives the same shape.