2023-01-28 05:37:20 +08:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2021-10-13 00:51:52 +08:00
|
|
|
|
2022-07-28 05:08:59 +08:00
|
|
|
//go:build !linux || ts_omit_aws
|
2021-10-13 00:51:52 +08:00
|
|
|
|
2022-03-01 05:08:45 +08:00
|
|
|
package awsstore
|
2021-10-13 00:51:52 +08:00
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"runtime"
|
|
|
|
|
|
|
|
"tailscale.com/ipn"
|
2022-07-28 05:08:59 +08:00
|
|
|
"tailscale.com/types/logger"
|
2021-10-13 00:51:52 +08:00
|
|
|
)
|
|
|
|
|
2022-07-28 05:08:59 +08:00
|
|
|
func New(logger.Logf, string) (ipn.StateStore, error) {
|
2021-10-13 00:51:52 +08:00
|
|
|
return nil, fmt.Errorf("AWS store is not supported on %v", runtime.GOOS)
|
|
|
|
}
|