com_datadoghq_gitlab_issues

package
v0.0.0-...-fef45df Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitlabIssues

func NewGitlabIssues() types.Bundle

Types

type AddSpentTimeHandler

type AddSpentTimeHandler struct{}

func NewAddSpentTimeHandler

func NewAddSpentTimeHandler() *AddSpentTimeHandler

func (*AddSpentTimeHandler) Run

type AddSpentTimeInputs

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

type AddSpentTimeOutputs

type AddSpentTimeOutputs struct {
	TimeStats *gitlab.TimeStats `json:"time_stats"`
}

type CreateIssueHandler

type CreateIssueHandler struct{}

func NewCreateIssueHandler

func NewCreateIssueHandler() *CreateIssueHandler

func (*CreateIssueHandler) Run

type CreateIssueInputs

type CreateIssueInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	*gitlab.CreateIssueOptions
}

type CreateIssueOutputs

type CreateIssueOutputs struct {
	Issue *gitlab.Issue `json:"issue"`
}

type CreateTodoHandler

type CreateTodoHandler struct{}

func NewCreateTodoHandler

func NewCreateTodoHandler() *CreateTodoHandler

func (*CreateTodoHandler) Run

type CreateTodoInputs

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

type CreateTodoOutputs

type CreateTodoOutputs struct {
	Todo *gitlab.Todo `json:"todo"`
}

type DeleteIssueHandler

type DeleteIssueHandler struct{}

func NewDeleteIssueHandler

func NewDeleteIssueHandler() *DeleteIssueHandler

func (*DeleteIssueHandler) Run

type DeleteIssueInputs

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

type DeleteIssueOutputs

type DeleteIssueOutputs struct{}

type GetIssueByIDHandler

type GetIssueByIDHandler struct{}

func NewGetIssueByIDHandler

func NewGetIssueByIDHandler() *GetIssueByIDHandler

func (*GetIssueByIDHandler) Run

type GetIssueByIDInputs

type GetIssueByIDInputs struct {
	IssueIid int64 `json:"issue_iid,omitempty"`
}

type GetIssueByIDOutputs

type GetIssueByIDOutputs struct {
	Issue *gitlab.Issue `json:"issue"`
}

type GetIssueHandler

type GetIssueHandler struct{}

func NewGetIssueHandler

func NewGetIssueHandler() *GetIssueHandler

func (*GetIssueHandler) Run

func (h *GetIssueHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type GetIssueInputs

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

type GetIssueOutputs

type GetIssueOutputs struct {
	Issue *gitlab.Issue `json:"issue"`
}

type GetParticipantsHandler

type GetParticipantsHandler struct{}

func NewGetParticipantsHandler

func NewGetParticipantsHandler() *GetParticipantsHandler

func (*GetParticipantsHandler) Run

type GetParticipantsInputs

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

type GetParticipantsOutputs

type GetParticipantsOutputs struct {
	BasicUsers []*gitlab.BasicUser `json:"basic_users"`
}

type GetTimeSpentHandler

type GetTimeSpentHandler struct{}

func NewGetTimeSpentHandler

func NewGetTimeSpentHandler() *GetTimeSpentHandler

func (*GetTimeSpentHandler) Run

type GetTimeSpentInputs

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

type GetTimeSpentOutputs

type GetTimeSpentOutputs struct {
	TimeStats *gitlab.TimeStats `json:"time_stats"`
}

type GitlabIssuesBundle

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

func (*GitlabIssuesBundle) GetAction

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

type ListGroupIssuesHandler

type ListGroupIssuesHandler struct{}

func NewListGroupIssuesHandler

func NewListGroupIssuesHandler() *ListGroupIssuesHandler

func (*ListGroupIssuesHandler) Run

type ListGroupIssuesInputs

type ListGroupIssuesInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	*gitlab.ListGroupIssuesOptions
}

type ListGroupIssuesOutputs

type ListGroupIssuesOutputs struct {
	Issues []*gitlab.Issue `json:"issues"`
}

type ListIssuesHandler

type ListIssuesHandler struct{}

func NewListIssuesHandler

func NewListIssuesHandler() *ListIssuesHandler

func (*ListIssuesHandler) Run

type ListIssuesInputs

type ListIssuesInputs struct {
	*gitlab.ListIssuesOptions
}

type ListIssuesOutputs

type ListIssuesOutputs struct {
	Issues []*gitlab.Issue `json:"issues"`
}

type ListMergeRequestsClosingIssueHandler

type ListMergeRequestsClosingIssueHandler struct{}

func NewListMergeRequestsClosingIssueHandler

func NewListMergeRequestsClosingIssueHandler() *ListMergeRequestsClosingIssueHandler

func (*ListMergeRequestsClosingIssueHandler) Run

type ListMergeRequestsClosingIssueInputs

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

type ListMergeRequestsClosingIssueOutputs

type ListMergeRequestsClosingIssueOutputs struct {
	BasicMergeRequests []*gitlab.BasicMergeRequest `json:"merge_requests"`
}

type ListMergeRequestsRelatedToIssueHandler

type ListMergeRequestsRelatedToIssueHandler struct{}

func NewListMergeRequestsRelatedToIssueHandler

func NewListMergeRequestsRelatedToIssueHandler() *ListMergeRequestsRelatedToIssueHandler

func (*ListMergeRequestsRelatedToIssueHandler) Run

type ListMergeRequestsRelatedToIssueInputs

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

type ListMergeRequestsRelatedToIssueOutputs

type ListMergeRequestsRelatedToIssueOutputs struct {
	BasicMergeRequests []*gitlab.BasicMergeRequest `json:"merge_requests"`
}

type ListProjectIssuesHandler

type ListProjectIssuesHandler struct{}

func NewListProjectIssuesHandler

func NewListProjectIssuesHandler() *ListProjectIssuesHandler

func (*ListProjectIssuesHandler) Run

type ListProjectIssuesInputs

type ListProjectIssuesInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	*gitlab.ListProjectIssuesOptions
}

type ListProjectIssuesOutputs

type ListProjectIssuesOutputs struct {
	Issues []*gitlab.Issue `json:"issues"`
}

type MoveIssueHandler

type MoveIssueHandler struct{}

func NewMoveIssueHandler

func NewMoveIssueHandler() *MoveIssueHandler

func (*MoveIssueHandler) Run

func (h *MoveIssueHandler) Run(
	ctx context.Context,
	task *types.Task,
	credential *privateconnection.PrivateCredentials,
) (any, error)

type MoveIssueInputs

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

type MoveIssueOutputs

type MoveIssueOutputs struct {
	Issue *gitlab.Issue `json:"issue"`
}

type ReorderIssueHandler

type ReorderIssueHandler struct{}

func NewReorderIssueHandler

func NewReorderIssueHandler() *ReorderIssueHandler

func (*ReorderIssueHandler) Run

type ReorderIssueInputs

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

type ReorderIssueOutputs

type ReorderIssueOutputs struct {
	Issue *gitlab.Issue `json:"issue"`
}

type ResetSpentTimeHandler

type ResetSpentTimeHandler struct{}

func NewResetSpentTimeHandler

func NewResetSpentTimeHandler() *ResetSpentTimeHandler

func (*ResetSpentTimeHandler) Run

type ResetSpentTimeInputs

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

type ResetSpentTimeOutputs

type ResetSpentTimeOutputs struct {
	TimeStats *gitlab.TimeStats `json:"time_stats"`
}

type ResetTimeEstimateHandler

type ResetTimeEstimateHandler struct{}

func NewResetTimeEstimateHandler

func NewResetTimeEstimateHandler() *ResetTimeEstimateHandler

func (*ResetTimeEstimateHandler) Run

type ResetTimeEstimateInputs

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

type ResetTimeEstimateOutputs

type ResetTimeEstimateOutputs struct {
	TimeStats *gitlab.TimeStats `json:"time_stats"`
}

type SetTimeEstimateHandler

type SetTimeEstimateHandler struct{}

func NewSetTimeEstimateHandler

func NewSetTimeEstimateHandler() *SetTimeEstimateHandler

func (*SetTimeEstimateHandler) Run

type SetTimeEstimateInputs

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

type SetTimeEstimateOutputs

type SetTimeEstimateOutputs struct {
	TimeStats *gitlab.TimeStats `json:"time_stats"`
}

type SubscribeToIssueHandler

type SubscribeToIssueHandler struct{}

func NewSubscribeToIssueHandler

func NewSubscribeToIssueHandler() *SubscribeToIssueHandler

func (*SubscribeToIssueHandler) Run

type SubscribeToIssueInputs

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

type SubscribeToIssueOutputs

type SubscribeToIssueOutputs struct {
	Issue *gitlab.Issue `json:"issue"`
}

type UnsubscribeFromIssueHandler

type UnsubscribeFromIssueHandler struct{}

func NewUnsubscribeFromIssueHandler

func NewUnsubscribeFromIssueHandler() *UnsubscribeFromIssueHandler

func (*UnsubscribeFromIssueHandler) Run

type UnsubscribeFromIssueInputs

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

type UnsubscribeFromIssueOutputs

type UnsubscribeFromIssueOutputs struct {
	Issue *gitlab.Issue `json:"issue"`
}

type UpdateIssueHandler

type UpdateIssueHandler struct{}

func NewUpdateIssueHandler

func NewUpdateIssueHandler() *UpdateIssueHandler

func (*UpdateIssueHandler) Run

type UpdateIssueInputs

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

type UpdateIssueOutputs

type UpdateIssueOutputs struct {
	Issue *gitlab.Issue `json:"issue"`
}

Jump to

Keyboard shortcuts

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