Documentation
¶
Overview ¶
Use of this source code is governed by a Apache license. license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Administration ¶
type Administration struct {
Permission Permission `yaml:"permission"`
}
Administration represents general permissions.
type Github ¶
type Github struct {
AppID int `yaml:"appId"`
Organization string `yaml:"organization"`
User string `yaml:"user"`
WebhookSecret string `yaml:"webhookSecret"`
PrivateKeyLocation string `yaml:"privateKeyLocation"`
PrivateKey string `yaml:"privateKey"`
Events []string `yaml:"events"`
}
Github represents github app owner configuration.
type Layout ¶
type Layout struct {
Administration Administration `yaml:"administration"`
PullRequest PullRequest `yaml:"pullRequest"`
}
Layout represents permissions level and pull request functionalities.
type Permission ¶
type Permission struct {
Users []string `yaml:"users"`
Repositories []Repositories `yaml:"repositories"`
}
Permission represents high level user's and repository permissions.
type PullRequest ¶
type PullRequest struct {
EnableOverview bool `yaml:"enableOverview"`
OverViewCommand string `yaml:"overViewCommand"`
ApproveCommand string `yaml:"approveCommand"`
RunTestSuiteCommand string `yaml:"runTestSuiteCommand"`
MergeCommand string `yaml:"mergeCommand"`
MergeAndDeleteCommand string `yaml:"mergeAndDeleteCommand"`
TestSuite TestSuite `yaml:"testSuite"`
}
PullRequest represents commands and functionalities.
type Repositories ¶
type Repositories struct {
Repository Repository `yaml:"repository"`
}
Repositories represents low level permissions in repositories.
type Repository ¶
Repository represents user permission in a single repository.
Click to show internal directories.
Click to hide internal directories.