From 9593cd38711b367bb4b71d86c5df9dfa3ebad432 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 3 Oct 2023 11:50:00 +0200 Subject: [PATCH] posture: add get serial stub for all platforms Updates #5902 Signed-off-by: Kristoffer Dalby --- cmd/tailscaled/depaware.txt | 1 + posture/serialnumber_stub.go | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 posture/serialnumber_stub.go diff --git a/cmd/tailscaled/depaware.txt b/cmd/tailscaled/depaware.txt index dbcfcc40b..d2b44836a 100644 --- a/cmd/tailscaled/depaware.txt +++ b/cmd/tailscaled/depaware.txt @@ -292,6 +292,7 @@ tailscale.com/cmd/tailscaled dependencies: (generated by github.com/tailscale/de tailscale.com/net/wsconn from tailscale.com/control/controlhttp+ tailscale.com/paths from tailscale.com/ipn/ipnlocal+ 💣 tailscale.com/portlist from tailscale.com/ipn/ipnlocal + tailscale.com/posture from tailscale.com/ipn/ipnlocal tailscale.com/proxymap from tailscale.com/tsd+ tailscale.com/safesocket from tailscale.com/client/tailscale+ tailscale.com/smallzstd from tailscale.com/control/controlclient+ diff --git a/posture/serialnumber_stub.go b/posture/serialnumber_stub.go new file mode 100644 index 000000000..56144b00d --- /dev/null +++ b/posture/serialnumber_stub.go @@ -0,0 +1,11 @@ +// Copyright (c) Tailscale Inc & AUTHORS +// SPDX-License-Identifier: BSD-3-Clause + +package posture + +import "errors" + +// GetSerialNumber returns client machine serial number(s). +func GetSerialNumbers() ([]string, error) { + return nil, errors.New("not implemented") +}