Documentation ¶
Index ¶
- func MuxAllowUserID(t *testing.T, mux *http.ServeMux, projectID, userID int)
- func MuxDiscussionsNote(t *testing.T, mux *http.ServeMux, pid, mrID int, author string, authorID int, ...)
- func MuxGetFile(t *testing.T, mux *http.ServeMux, pid int, fname, content string)
- func MuxListTektonDir(t *testing.T, mux *http.ServeMux, pid int, ref, prs string)
- func MuxNotePost(t *testing.T, mux *http.ServeMux, projectNumber, mrID int, catchStr string)
- func Setup(ctx context.Context, t *testing.T) (*gitlab.Client, *http.ServeMux, func())
- type TEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MuxDiscussionsNote ¶
func MuxListTektonDir ¶
func MuxNotePost ¶
Types ¶
type TEvent ¶
type TEvent struct {
Username, DefaultBranch, URL, SHA, SHAurl, SHAtitle, Headbranch, Basebranch string
UserID, MRID, TargetProjectID, SourceProjectID int
PathWithNameSpace, Comment string
}
func (TEvent) MREventAsJSON ¶
func (TEvent) NoteEventAsJSON ¶
func (TEvent) PushEventAsJSON ¶
Click to show internal directories.
Click to hide internal directories.