Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
func ConfigPath() string
func PersonalAccessToken ¶
func PersonalAccessToken() schema.CredentialType
func TryGiteaConfigFile ¶
Types ¶
type Login ¶
type Login struct { Name string `yaml:"name"` URL string `yaml:"url"` Token string `yaml:"token"` Default bool `yaml:"default"` SSHHost string `yaml:"ssh_host"` SSHKey string `yaml:"ssh_key"` Insecure bool `yaml:"insecure"` SSHCertPrincipal string `yaml:"ssh_certificate_principal"` SSHAgent bool `yaml:"ssh_agent"` SSHKeyFingerprint string `yaml:"ssh_key_agent_pub"` SSHPassphrase string `yaml:"-"` VersionCheck bool `yaml:"version_check"` User string `yaml:"user"` Created int64 `yaml:"created"` }
Click to show internal directories.
Click to hide internal directories.