mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 13:18:53 +00:00
cmd/tailscaled, ipn/conffile: support ec2 user-data config file
Updates #1412 Updates #1866 Change-Id: I4d08fb233b80c2078b3b28ffc18559baabb4a081 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
2d2b62c400
commit
1ea100e2e5
9
omit/aws_def.go
Normal file
9
omit/aws_def.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build !ts_omit_aws
|
||||
|
||||
package omit
|
||||
|
||||
// AWS is whether AWS support should be omitted from the build.
|
||||
const AWS = false
|
9
omit/aws_omit.go
Normal file
9
omit/aws_omit.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
//go:build ts_omit_aws
|
||||
|
||||
package omit
|
||||
|
||||
// AWS is whether AWS support should be omitted from the build.
|
||||
const AWS = true
|
12
omit/omit.go
Normal file
12
omit/omit.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
// Package omit provides consts to access Tailscale ts_omit_FOO build tags.
|
||||
// They're often more convenient to eliminate some away locally with a const
|
||||
// rather than using build tags.
|
||||
package omit
|
||||
|
||||
import "errors"
|
||||
|
||||
// Err is an error that can be returned by functions in this package.
|
||||
var Err = errors.New("feature not linked into binary per ts_omit build tag")
|
Reference in New Issue
Block a user