Documentation ¶
Index ¶
- type Route
- func (r *Route) Exec() error
- func (r *Route) FetchKeys(proto usecase.GitProto, username string) []string
- func (r *Route) ImportKeys(proto usecase.GitProto, username string) []string
- func (r *Route) KeyFingerprint(fields []string) string
- func (r *Route) KeyList(fields []string) []string
- func (r *Route) ReadKeyfile() []string
- func (r *Route) RemoveKeys(proto usecase.GitProto, username string) []string
- func (r *Route) UserAgent() string
- func (r *Route) WriteKeyfile(keyfile_lines []string, flag int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
func (*Route) ImportKeys ¶
Import keys from service at 'proto' for 'username', appending to output file
func (*Route) KeyFingerprint ¶
Get the fingerprint for an SSH public key Returns None if not valid key material
func (*Route) ReadKeyfile ¶
Locate key file, read the current state, return lines in a list
func (*Route) RemoveKeys ¶
Remove keys from the output file, if they were inserted by this tool
func (*Route) WriteKeyfile ¶
Locate key file, write lines to it
Click to show internal directories.
Click to hide internal directories.