Documentation ¶
Index ¶
Constants ¶
View Source
const ( Override assignmentReplacementStrategy = iota KeepExisting Ask )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignmentFailed ¶
type AssignmentFailed struct {
Reason error
}
AssignmentFailed assignment of coauthor to alias failed with Reason
type AssignmentRequest ¶
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.