Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Version int `json:"version"`
UI struct {
VimMode bool `json:"vim_mode"`
ShowIcons bool `json:"show_icons"`
} `json:"ui"`
SSH struct {
HostKeyPolicy HostKeyPolicy `json:"host_key_policy"`
KeepAliveSeconds int `json:"keepalive_seconds"`
TermMode TermMode `json:"term_mode"`
TermCustom string `json:"term_custom"`
} `json:"ssh"`
Mount struct {
Enabled bool `json:"enabled"`
DefaultRemotePath string `json:"default_remote_path"`
QuitBehavior MountQuitBehavior `json:"quit_behavior"`
} `json:"mount"`
Sync struct {
Enabled bool `json:"enabled"`
RepoURL string `json:"repo_url"`
AuthMethod SyncAuthMethod `json:"auth_method"`
SSHKeyPath string `json:"ssh_key_path"`
Branch string `json:"branch"`
LocalPath string `json:"local_path"`
} `json:"sync"`
}
type HostKeyPolicy ¶
type HostKeyPolicy string
const ( HostKeyAcceptNew HostKeyPolicy = "accept-new" HostKeyStrict HostKeyPolicy = "strict" HostKeyOff HostKeyPolicy = "off" )
type MountQuitBehavior ¶
type MountQuitBehavior string
const ( MountQuitPrompt MountQuitBehavior = "prompt" MountQuitAlwaysUnmount MountQuitBehavior = "always_unmount" MountQuitLeaveMounted MountQuitBehavior = "leave_mounted" )
type SyncAuthMethod ¶
type SyncAuthMethod string
SyncAuthMethod represents the authentication method for Git sync
const ( SyncAuthSSHKey SyncAuthMethod = "ssh_key" SyncAuthNone SyncAuthMethod = "none" )
Click to show internal directories.
Click to hide internal directories.