Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignmentAborted ¶
type AssignmentAborted struct {
Alias string
}
AssignmentAborted nothing changed
type AssignmentFailed ¶
type AssignmentFailed struct {
Reason error
}
AssignmentFailed assignment of coauthor to alias failed with Reason
type AssignmentRequest ¶
type AssignmentRequest struct {
Alias *string
}
AssignmentRequest which coauthor to assign to the alias
type AssignmentSucceeded ¶
type AssignmentSucceeded struct {
Alias string
}
AssignmentSucceeded assignment of coauthor to alias succeeded
type Dependencies ¶
type Dependencies struct {
GitAddAlias func(string, string) error
GitResolveAlias func(string) (string, error)
GetAnswerFromUser func(string) (string, error)
}
Dependencies the dependencies of the add Policy module
type Policy ¶
type Policy struct {
Deps Dependencies
Req AssignmentRequest
}
Policy the policy to apply
Click to show internal directories.
Click to hide internal directories.