Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
ConfigFile string
}
func ParseArguments ¶
func ParseArguments() Arguments
type Github ¶
type Github struct {
URL string `json:"url"`
Accounts []WebAccount `json:"accounts"`
}
type Gitlab ¶
type Gitlab struct {
URL string `json:"url"`
Token string `json:"token"`
Accounts []WebAccount `json:"accounts"`
}
type Options ¶
type Options struct {
System []User `json:"system"`
Github Github `json:"github"`
Gitlab Gitlab `json:"gitlab"`
}
func (Options) GithubUsers ¶
GithubUsers returns a map from local system user to github username (for those that have one defined).
func (Options) GitlabUsers ¶
GitlabUsers returns a map from local system user to gitlab username (for those that have one defined).
func (Options) SystemUsers ¶
SystemUsers returns a map from local system username to path of associated authorized keys file.
type WebAccount ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package configtest contains autogenerated mocks.
|
Package configtest contains autogenerated mocks. |
Click to show internal directories.
Click to hide internal directories.