com_datadoghq_gitlab_notes

package
v0.0.0-...-a5dc74b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitlabNotes

func NewGitlabNotes() types.Bundle

Types

type CreateDraftNoteHandler

type CreateDraftNoteHandler struct{}

func NewCreateDraftNoteHandler

func NewCreateDraftNoteHandler() *CreateDraftNoteHandler

func (*CreateDraftNoteHandler) Run

type CreateDraftNoteInputs

type CreateDraftNoteInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	*gitlab.CreateDraftNoteOptions
}

type CreateDraftNoteOutputs

type CreateDraftNoteOutputs struct {
	DraftNote *gitlab.DraftNote `json:"draft_note"`
}

type CreateEpicNoteHandler

type CreateEpicNoteHandler struct{}

func NewCreateEpicNoteHandler

func NewCreateEpicNoteHandler() *CreateEpicNoteHandler

func (*CreateEpicNoteHandler) Run

type CreateEpicNoteInputs

type CreateEpicNoteInputs struct {
	GroupId support.GitlabID `json:"group_id,omitempty"`
	EpicId  int64            `json:"epic_id,omitempty"`
	*gitlab.CreateEpicNoteOptions
}

type CreateEpicNoteOutputs

type CreateEpicNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type CreateIssueNoteHandler

type CreateIssueNoteHandler struct{}

func NewCreateIssueNoteHandler

func NewCreateIssueNoteHandler() *CreateIssueNoteHandler

func (*CreateIssueNoteHandler) Run

type CreateIssueNoteInputs

type CreateIssueNoteInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	IssueIid  int64            `json:"issue_iid,omitempty"`
	*gitlab.CreateIssueNoteOptions
}

type CreateIssueNoteOutputs

type CreateIssueNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type CreateMergeRequestNoteHandler

type CreateMergeRequestNoteHandler struct{}

func NewCreateMergeRequestNoteHandler

func NewCreateMergeRequestNoteHandler() *CreateMergeRequestNoteHandler

func (*CreateMergeRequestNoteHandler) Run

type CreateMergeRequestNoteInputs

type CreateMergeRequestNoteInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	*gitlab.CreateMergeRequestNoteOptions
}

type CreateMergeRequestNoteOutputs

type CreateMergeRequestNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type CreateSnippetNoteHandler

type CreateSnippetNoteHandler struct{}

func NewCreateSnippetNoteHandler

func NewCreateSnippetNoteHandler() *CreateSnippetNoteHandler

func (*CreateSnippetNoteHandler) Run

type CreateSnippetNoteInputs

type CreateSnippetNoteInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	SnippetId int64            `json:"snippet_id,omitempty"`
	*gitlab.CreateSnippetNoteOptions
}

type CreateSnippetNoteOutputs

type CreateSnippetNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type DeleteDraftNoteHandler

type DeleteDraftNoteHandler struct{}

func NewDeleteDraftNoteHandler

func NewDeleteDraftNoteHandler() *DeleteDraftNoteHandler

func (*DeleteDraftNoteHandler) Run

type DeleteDraftNoteInputs

type DeleteDraftNoteInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	DraftNoteId     int64            `json:"draft_note_id,omitempty"`
}

type DeleteDraftNoteOutputs

type DeleteDraftNoteOutputs struct{}

type DeleteEpicNoteHandler

type DeleteEpicNoteHandler struct{}

func NewDeleteEpicNoteHandler

func NewDeleteEpicNoteHandler() *DeleteEpicNoteHandler

func (*DeleteEpicNoteHandler) Run

type DeleteEpicNoteInputs

type DeleteEpicNoteInputs struct {
	GroupId support.GitlabID `json:"group_id,omitempty"`
	EpicId  int64            `json:"epic_id,omitempty"`
	NoteId  int64            `json:"note_id,omitempty"`
}

type DeleteEpicNoteOutputs

type DeleteEpicNoteOutputs struct{}

type DeleteIssueNoteHandler

type DeleteIssueNoteHandler struct{}

func NewDeleteIssueNoteHandler

func NewDeleteIssueNoteHandler() *DeleteIssueNoteHandler

func (*DeleteIssueNoteHandler) Run

type DeleteIssueNoteInputs

type DeleteIssueNoteInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	IssueIid  int64            `json:"issue_iid,omitempty"`
	NoteId    int64            `json:"note_id,omitempty"`
}

type DeleteIssueNoteOutputs

type DeleteIssueNoteOutputs struct{}

type DeleteMergeRequestNoteHandler

type DeleteMergeRequestNoteHandler struct{}

func NewDeleteMergeRequestNoteHandler

func NewDeleteMergeRequestNoteHandler() *DeleteMergeRequestNoteHandler

func (*DeleteMergeRequestNoteHandler) Run

type DeleteMergeRequestNoteInputs

type DeleteMergeRequestNoteInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	NoteId          int64            `json:"note_id,omitempty"`
}

type DeleteMergeRequestNoteOutputs

type DeleteMergeRequestNoteOutputs struct{}

type DeleteSnippetNoteHandler

type DeleteSnippetNoteHandler struct{}

func NewDeleteSnippetNoteHandler

func NewDeleteSnippetNoteHandler() *DeleteSnippetNoteHandler

func (*DeleteSnippetNoteHandler) Run

type DeleteSnippetNoteInputs

type DeleteSnippetNoteInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	SnippetId int64            `json:"snippet_id,omitempty"`
	NoteId    int64            `json:"note_id,omitempty"`
}

type DeleteSnippetNoteOutputs

type DeleteSnippetNoteOutputs struct{}

type GetDraftNoteHandler

type GetDraftNoteHandler struct{}

func NewGetDraftNoteHandler

func NewGetDraftNoteHandler() *GetDraftNoteHandler

func (*GetDraftNoteHandler) Run

type GetDraftNoteInputs

type GetDraftNoteInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	DraftNoteId     int64            `json:"draft_note_id,omitempty"`
}

type GetDraftNoteOutputs

type GetDraftNoteOutputs struct {
	DraftNote *gitlab.DraftNote `json:"draft_note"`
}

type GetEpicNoteHandler

type GetEpicNoteHandler struct{}

func NewGetEpicNoteHandler

func NewGetEpicNoteHandler() *GetEpicNoteHandler

func (*GetEpicNoteHandler) Run

type GetEpicNoteInputs

type GetEpicNoteInputs struct {
	GroupId support.GitlabID `json:"group_id,omitempty"`
	EpicId  int64            `json:"epic_id,omitempty"`
	NoteId  int64            `json:"note_id,omitempty"`
}

type GetEpicNoteOutputs

type GetEpicNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type GetIssueNoteHandler

type GetIssueNoteHandler struct{}

func NewGetIssueNoteHandler

func NewGetIssueNoteHandler() *GetIssueNoteHandler

func (*GetIssueNoteHandler) Run

type GetIssueNoteInputs

type GetIssueNoteInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	IssueIid  int64            `json:"issue_iid,omitempty"`
	NoteId    int64            `json:"note_id,omitempty"`
}

type GetIssueNoteOutputs

type GetIssueNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type GetMergeRequestNoteHandler

type GetMergeRequestNoteHandler struct{}

func NewGetMergeRequestNoteHandler

func NewGetMergeRequestNoteHandler() *GetMergeRequestNoteHandler

func (*GetMergeRequestNoteHandler) Run

type GetMergeRequestNoteInputs

type GetMergeRequestNoteInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	NoteId          int64            `json:"note_id,omitempty"`
}

type GetMergeRequestNoteOutputs

type GetMergeRequestNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type GetSnippetNoteHandler

type GetSnippetNoteHandler struct{}

func NewGetSnippetNoteHandler

func NewGetSnippetNoteHandler() *GetSnippetNoteHandler

func (*GetSnippetNoteHandler) Run

type GetSnippetNoteInputs

type GetSnippetNoteInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	SnippetId int64            `json:"snippet_id,omitempty"`
	NoteId    int64            `json:"note_id,omitempty"`
}

type GetSnippetNoteOutputs

type GetSnippetNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type GitlabNotesBundle

type GitlabNotesBundle struct {
	// contains filtered or unexported fields
}

func (*GitlabNotesBundle) GetAction

func (h *GitlabNotesBundle) GetAction(actionName string) types.Action

type ListDraftNotesHandler

type ListDraftNotesHandler struct{}

func NewListDraftNotesHandler

func NewListDraftNotesHandler() *ListDraftNotesHandler

func (*ListDraftNotesHandler) Run

type ListDraftNotesInputs

type ListDraftNotesInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	*gitlab.ListDraftNotesOptions
}

type ListDraftNotesOutputs

type ListDraftNotesOutputs struct {
	DraftNotes []*gitlab.DraftNote `json:"draft_notes"`
}

type ListEpicNotesHandler

type ListEpicNotesHandler struct{}

func NewListEpicNotesHandler

func NewListEpicNotesHandler() *ListEpicNotesHandler

func (*ListEpicNotesHandler) Run

type ListEpicNotesInputs

type ListEpicNotesInputs struct {
	GroupId support.GitlabID `json:"group_id,omitempty"`
	EpicId  int64            `json:"epic_id,omitempty"`
	*gitlab.ListEpicNotesOptions
}

type ListEpicNotesOutputs

type ListEpicNotesOutputs struct {
	Notes []*gitlab.Note `json:"notes"`
}

type ListIssueNotesHandler

type ListIssueNotesHandler struct{}

func NewListIssueNotesHandler

func NewListIssueNotesHandler() *ListIssueNotesHandler

func (*ListIssueNotesHandler) Run

type ListIssueNotesInputs

type ListIssueNotesInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	IssueIid  int64            `json:"issue_iid,omitempty"`
	*gitlab.ListIssueNotesOptions
}

type ListIssueNotesOutputs

type ListIssueNotesOutputs struct {
	Notes []*gitlab.Note `json:"notes"`
}

type ListMergeRequestNotesHandler

type ListMergeRequestNotesHandler struct{}

func NewListMergeRequestNotesHandler

func NewListMergeRequestNotesHandler() *ListMergeRequestNotesHandler

func (*ListMergeRequestNotesHandler) Run

type ListMergeRequestNotesInputs

type ListMergeRequestNotesInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	*gitlab.ListMergeRequestNotesOptions
}

type ListMergeRequestNotesOutputs

type ListMergeRequestNotesOutputs struct {
	Notes []*gitlab.Note `json:"notes"`
}

type ListSnippetNotesHandler

type ListSnippetNotesHandler struct{}

func NewListSnippetNotesHandler

func NewListSnippetNotesHandler() *ListSnippetNotesHandler

func (*ListSnippetNotesHandler) Run

type ListSnippetNotesInputs

type ListSnippetNotesInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	SnippetId int64            `json:"snippet_id,omitempty"`
	*gitlab.ListSnippetNotesOptions
}

type ListSnippetNotesOutputs

type ListSnippetNotesOutputs struct {
	Notes []*gitlab.Note `json:"notes"`
}

type PublishAllDraftNotesHandler

type PublishAllDraftNotesHandler struct{}

func NewPublishAllDraftNotesHandler

func NewPublishAllDraftNotesHandler() *PublishAllDraftNotesHandler

func (*PublishAllDraftNotesHandler) Run

type PublishAllDraftNotesInputs

type PublishAllDraftNotesInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
}

type PublishAllDraftNotesOutputs

type PublishAllDraftNotesOutputs struct{}

type PublishDraftNoteHandler

type PublishDraftNoteHandler struct{}

func NewPublishDraftNoteHandler

func NewPublishDraftNoteHandler() *PublishDraftNoteHandler

func (*PublishDraftNoteHandler) Run

type PublishDraftNoteInputs

type PublishDraftNoteInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	DraftNoteId     int64            `json:"draft_note_id,omitempty"`
}

type PublishDraftNoteOutputs

type PublishDraftNoteOutputs struct{}

type UpdateDraftNoteHandler

type UpdateDraftNoteHandler struct{}

func NewUpdateDraftNoteHandler

func NewUpdateDraftNoteHandler() *UpdateDraftNoteHandler

func (*UpdateDraftNoteHandler) Run

type UpdateDraftNoteInputs

type UpdateDraftNoteInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	DraftNoteId     int64            `json:"draft_note_id,omitempty"`
	*gitlab.UpdateDraftNoteOptions
}

type UpdateDraftNoteOutputs

type UpdateDraftNoteOutputs struct {
	DraftNote *gitlab.DraftNote `json:"draft_note"`
}

type UpdateEpicNoteHandler

type UpdateEpicNoteHandler struct{}

func NewUpdateEpicNoteHandler

func NewUpdateEpicNoteHandler() *UpdateEpicNoteHandler

func (*UpdateEpicNoteHandler) Run

type UpdateEpicNoteInputs

type UpdateEpicNoteInputs struct {
	GroupId support.GitlabID `json:"group_id,omitempty"`
	EpicId  int64            `json:"epic_id,omitempty"`
	NoteId  int64            `json:"note_id,omitempty"`
	*gitlab.UpdateEpicNoteOptions
}

type UpdateEpicNoteOutputs

type UpdateEpicNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type UpdateIssueNoteHandler

type UpdateIssueNoteHandler struct{}

func NewUpdateIssueNoteHandler

func NewUpdateIssueNoteHandler() *UpdateIssueNoteHandler

func (*UpdateIssueNoteHandler) Run

type UpdateIssueNoteInputs

type UpdateIssueNoteInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	IssueIid  int64            `json:"issue_iid,omitempty"`
	NoteId    int64            `json:"note_id,omitempty"`
	*gitlab.UpdateIssueNoteOptions
}

type UpdateIssueNoteOutputs

type UpdateIssueNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type UpdateMergeRequestNoteHandler

type UpdateMergeRequestNoteHandler struct{}

func NewUpdateMergeRequestNoteHandler

func NewUpdateMergeRequestNoteHandler() *UpdateMergeRequestNoteHandler

func (*UpdateMergeRequestNoteHandler) Run

type UpdateMergeRequestNoteInputs

type UpdateMergeRequestNoteInputs struct {
	ProjectId       support.GitlabID `json:"project_id,omitempty"`
	MergeRequestIid int64            `json:"merge_request_iid,omitempty"`
	NoteId          int64            `json:"note_id,omitempty"`
	*gitlab.UpdateMergeRequestNoteOptions
}

type UpdateMergeRequestNoteOutputs

type UpdateMergeRequestNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

type UpdateSnippetNoteHandler

type UpdateSnippetNoteHandler struct{}

func NewUpdateSnippetNoteHandler

func NewUpdateSnippetNoteHandler() *UpdateSnippetNoteHandler

func (*UpdateSnippetNoteHandler) Run

type UpdateSnippetNoteInputs

type UpdateSnippetNoteInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	SnippetId int64            `json:"snippet_id,omitempty"`
	NoteId    int64            `json:"note_id,omitempty"`
	*gitlab.UpdateSnippetNoteOptions
}

type UpdateSnippetNoteOutputs

type UpdateSnippetNoteOutputs struct {
	Note *gitlab.Note `json:"note"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL