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