2021-10-12 16:51:52 +00:00
|
|
|
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2022-07-27 21:08:59 +00:00
|
|
|
//go:build !linux || ts_omit_aws
|
|
|
|
// +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)
|
|
|
|
}
|