Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoActiveSubscription = apierrors.NewNotAcceptableError("NOT_ACTIVE_SUBSCRIPTION")
View Source
var ErrNoProviderRepoOrAccess = errors.New("no provider repo or access to it")
View Source
var ErrNoSeatInSubscription = apierrors.NewNotAcceptableError("NOT_SEAT_IN_SUBSCRIPTION")
View Source
var ErrNotOrgAdmin = apierrors.NewNotAcceptableError("NOT_ORG_ADMIN")
View Source
var ErrNotOrgMember = apierrors.NewNotAcceptableError("NOT_ORG_MEMBER")
Functions ¶
This section is empty.
Types ¶
type ActiveSubscription ¶
type ActiveSubscription struct {
// contains filtered or unexported fields
}
func NewActiveSubscription ¶
func (ActiveSubscription) CheckForProviderPullRequestEvent ¶
func (s ActiveSubscription) CheckForProviderPullRequestEvent(ctx context.Context, p provider.Provider, ev *provider.PullRequestEvent) error
func (ActiveSubscription) CheckForProviderRepo ¶
type Organization ¶
type Organization struct {
// contains filtered or unexported fields
}
func NewOrganization ¶
func (Organization) CheckCanModify ¶
func (op Organization) CheckCanModify(rc *request.AuthorizedContext, org *models.Org) error
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (Repo) CanReadPrivateRepo ¶
func (r Repo) CanReadPrivateRepo(rc *request.AnonymousContext, repo models.UniversalRepo) error
Click to show internal directories.
Click to hide internal directories.