mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 21:15:39 +00:00
497324ddf6
Also move KubeStore and MemStore into their own package. RELNOTE: tsnet now supports providing a custom ipn.StateStore. Signed-off-by: Maisem Ali <maisem@tailscale.com>
20 lines
402 B
Go
20 lines
402 B
Go
// 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.
|
|
|
|
//go:build !linux
|
|
// +build !linux
|
|
|
|
package awsstore
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
|
|
"tailscale.com/ipn"
|
|
)
|
|
|
|
func NewStore(string) (ipn.StateStore, error) {
|
|
return nil, fmt.Errorf("AWS store is not supported on %v", runtime.GOOS)
|
|
}
|