fleet/orbit/pkg/update/options_notwindows.go
Tomas Touceda a6acb1cd1a
Allow users to be readded if they were ever removed (#1945)
* Allow users to be readded if they were ever removed

* Address review comment

* lint
2021-09-07 13:33:40 -03:00

24 lines
581 B
Go

//go:build !windows
// +build !windows
package update
import (
"github.com/fleetdm/fleet/v4/orbit/pkg/constant"
"github.com/theupdateframework/go-tuf/client"
)
var (
// DefaultOptions are the default options to use when creating an update
// client.
DefaultOptions = Options{
RootDirectory: "/var/lib/orbit",
ServerURL: defaultURL,
RootKeys: defaultRootKeys,
LocalStore: client.MemoryLocalStore(),
InsecureTransport: false,
Platform: constant.PlatformName,
OrbitChannel: "stable",
OsquerydChannel: "stable",
}
)