Documentation ¶
Index ¶
- func MakeEvent(event *info.Event) *info.Event
- func MakePREvent(event *info.Event, comment string) *types.PullRequestEvent
- func MakePushEvent(event *info.Event) *types.PushRequestEvent
- func MuxCommitInfo(t *testing.T, mux *http.ServeMux, event *info.Event, commit bbv1.Commit)
- func MuxCreateAndTestCommitStatus(t *testing.T, mux *http.ServeMux, event *info.Event, expectedDescSubstr string, ...)
- func MuxCreateComment(t *testing.T, mux *http.ServeMux, event *info.Event, ...)
- func MuxDefaultBranch(t *testing.T, mux *http.ServeMux, event *info.Event, ...)
- func MuxDirContent(t *testing.T, mux *http.ServeMux, event *info.Event, ...)
- func MuxFiles(_ *testing.T, mux *http.ServeMux, event *info.Event, _, targetDirName string, ...)
- func MuxListDir(t *testing.T, mux *http.ServeMux, event *info.Event, path string, ...)
- func MuxProjectMemberShip(t *testing.T, mux *http.ServeMux, event *info.Event, ...)
- func MuxPullRequestActivities(t *testing.T, mux *http.ServeMux, event *info.Event, prNumber int, ...)
- func MuxRepoMemberShip(t *testing.T, mux *http.ServeMux, event *info.Event, ...)
- func SetupBBServerClient(ctx context.Context) (*bbv1.APIClient, *http.ServeMux, func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakePREvent ¶
func MakePREvent(event *info.Event, comment string) *types.PullRequestEvent
func MakePushEvent ¶ added in v0.14.0
func MakePushEvent(event *info.Event) *types.PushRequestEvent
func MuxCommitInfo ¶
func MuxCreateComment ¶
func MuxDefaultBranch ¶
func MuxDirContent ¶
func MuxListDir ¶
func MuxProjectMemberShip ¶
func MuxRepoMemberShip ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.