Documentation
¶
Index ¶
- Constants
- Variables
- type EditorAdapter
- type FSEvent
- type FSEventKind
- type Keychain
- type NativeWatcher
- type PollWatcher
- type RuntimeInfo
- type ServiceManager
- type ServiceSpec
- type ServiceStatus
- type Set
- type SystemEditor
- type SystemKeychain
- func (k SystemKeychain) Delete(_ context.Context, service, account string) error
- func (k SystemKeychain) Load(_ context.Context, service, account string) ([]byte, error)
- func (k SystemKeychain) Name() string
- func (k SystemKeychain) Store(_ context.Context, service, account string, secret []byte) error
- type UnsupportedKeychain
- type UnsupportedServiceManager
- type Watcher
Constants ¶
View Source
const NoKeychainEnv = "DEVSTRAP_NO_KEYCHAIN"
NoKeychainEnv, when set to "1", forces the file-backed key store instead of the OS keychain. This is required for headless/CI runs and hermetic end-to-end tests, where an OS keychain call can block on a GUI unlock prompt.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type EditorAdapter ¶
type FSEventKind ¶
type FSEventKind string
const ( FSEventUnknown FSEventKind = "unknown" FSEventScan FSEventKind = "scan" )
type NativeWatcher ¶
func (NativeWatcher) Name ¶
func (w NativeWatcher) Name() string
type PollWatcher ¶
func (PollWatcher) Name ¶
func (w PollWatcher) Name() string
type RuntimeInfo ¶
func Runtime ¶
func Runtime() RuntimeInfo
type ServiceManager ¶
type ServiceSpec ¶
type ServiceStatus ¶
type Set ¶
type Set struct {
OS string
Watcher Watcher
Service ServiceManager
Keychain Keychain
Editor EditorAdapter
}
type SystemEditor ¶
type SystemEditor struct{}
func (SystemEditor) Name ¶
func (SystemEditor) Name() string
type SystemKeychain ¶
func (SystemKeychain) Delete ¶
func (k SystemKeychain) Delete(_ context.Context, service, account string) error
func (SystemKeychain) Name ¶
func (k SystemKeychain) Name() string
type UnsupportedKeychain ¶
func (UnsupportedKeychain) Name ¶
func (k UnsupportedKeychain) Name() string
type UnsupportedServiceManager ¶
func (UnsupportedServiceManager) Install ¶
func (m UnsupportedServiceManager) Install(context.Context, ServiceSpec) error
func (UnsupportedServiceManager) Name ¶
func (m UnsupportedServiceManager) Name() string
func (UnsupportedServiceManager) Status ¶
func (m UnsupportedServiceManager) Status(context.Context, string) (ServiceStatus, error)
Click to show internal directories.
Click to hide internal directories.