com_datadoghq_gitlab_commits

package
v0.0.0-...-605cc9f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitlabCommits

func NewGitlabCommits() types.Bundle

Types

type CherryPickCommitHandler

type CherryPickCommitHandler struct{}

func NewCherryPickCommitHandler

func NewCherryPickCommitHandler() *CherryPickCommitHandler

func (*CherryPickCommitHandler) Run

type CherryPickCommitInputs

type CherryPickCommitInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
	*gitlab.CherryPickCommitOptions
}

type CherryPickCommitOutputs

type CherryPickCommitOutputs struct {
	Commit *gitlab.Commit `json:"commit"`
}

type CreateCommitHandler

type CreateCommitHandler struct{}

func NewCreateCommitHandler

func NewCreateCommitHandler() *CreateCommitHandler

func (*CreateCommitHandler) Run

type CreateCommitInputs

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

type CreateCommitOutputs

type CreateCommitOutputs struct {
	Commit *gitlab.Commit `json:"commit"`
}

type GetCommitCommentsHandler

type GetCommitCommentsHandler struct{}

func NewGetCommitCommentsHandler

func NewGetCommitCommentsHandler() *GetCommitCommentsHandler

func (*GetCommitCommentsHandler) Run

type GetCommitCommentsInputs

type GetCommitCommentsInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
	*gitlab.GetCommitCommentsOptions
}

type GetCommitCommentsOutputs

type GetCommitCommentsOutputs struct {
	CommitComments []*gitlab.CommitComment `json:"commit_comments"`
}

type GetCommitDiffHandler

type GetCommitDiffHandler struct{}

func NewGetCommitDiffHandler

func NewGetCommitDiffHandler() *GetCommitDiffHandler

func (*GetCommitDiffHandler) Run

type GetCommitDiffInputs

type GetCommitDiffInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
	*gitlab.GetCommitDiffOptions
}

type GetCommitDiffOutputs

type GetCommitDiffOutputs struct {
	Diffs []*gitlab.Diff `json:"diffs"`
}

type GetCommitHandler

type GetCommitHandler struct{}

func NewGetCommitHandler

func NewGetCommitHandler() *GetCommitHandler

func (*GetCommitHandler) Run

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

type GetCommitInputs

type GetCommitInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
	*gitlab.GetCommitOptions
}

type GetCommitOutputs

type GetCommitOutputs struct {
	Commit *gitlab.Commit `json:"commit"`
}

type GetCommitRefsHandler

type GetCommitRefsHandler struct{}

func NewGetCommitRefsHandler

func NewGetCommitRefsHandler() *GetCommitRefsHandler

func (*GetCommitRefsHandler) Run

type GetCommitRefsInputs

type GetCommitRefsInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
	*gitlab.GetCommitRefsOptions
}

type GetCommitRefsOutputs

type GetCommitRefsOutputs struct {
	CommitRefs []*gitlab.CommitRef `json:"commit_refs"`
}

type GetCommitStatusesHandler

type GetCommitStatusesHandler struct{}

func NewGetCommitStatusesHandler

func NewGetCommitStatusesHandler() *GetCommitStatusesHandler

func (*GetCommitStatusesHandler) Run

type GetCommitStatusesInputs

type GetCommitStatusesInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
	*gitlab.GetCommitStatusesOptions
}

type GetCommitStatusesOutputs

type GetCommitStatusesOutputs struct {
	CommitStatuses []*gitlab.CommitStatus `json:"commit_statuses"`
}

type GetGPGSignatureHandler

type GetGPGSignatureHandler struct{}

func NewGetGPGSignatureHandler

func NewGetGPGSignatureHandler() *GetGPGSignatureHandler

func (*GetGPGSignatureHandler) Run

type GetGPGSignatureInputs

type GetGPGSignatureInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
}

type GetGPGSignatureOutputs

type GetGPGSignatureOutputs struct {
	GpgSignature *gitlab.GPGSignature `json:"gpg_signature"`
}

type GitlabCommitsBundle

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

func (*GitlabCommitsBundle) GetAction

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

type ListCommitsHandler

type ListCommitsHandler struct{}

func NewListCommitsHandler

func NewListCommitsHandler() *ListCommitsHandler

func (*ListCommitsHandler) Run

type ListCommitsInputs

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

type ListCommitsOutputs

type ListCommitsOutputs struct {
	Commits []*gitlab.Commit `json:"commits"`
}

type ListMergeRequestsByCommitHandler

type ListMergeRequestsByCommitHandler struct{}

func NewListMergeRequestsByCommitHandler

func NewListMergeRequestsByCommitHandler() *ListMergeRequestsByCommitHandler

func (*ListMergeRequestsByCommitHandler) Run

type ListMergeRequestsByCommitInputs

type ListMergeRequestsByCommitInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
}

type ListMergeRequestsByCommitOutputs

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

type PostCommitCommentHandler

type PostCommitCommentHandler struct{}

func NewPostCommitCommentHandler

func NewPostCommitCommentHandler() *PostCommitCommentHandler

func (*PostCommitCommentHandler) Run

type PostCommitCommentInputs

type PostCommitCommentInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
	*gitlab.PostCommitCommentOptions
}

type PostCommitCommentOutputs

type PostCommitCommentOutputs struct {
	CommitComment *gitlab.CommitComment `json:"commit_comment"`
}

type RevertCommitHandler

type RevertCommitHandler struct{}

func NewRevertCommitHandler

func NewRevertCommitHandler() *RevertCommitHandler

func (*RevertCommitHandler) Run

type RevertCommitInputs

type RevertCommitInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
	*gitlab.RevertCommitOptions
}

type RevertCommitOutputs

type RevertCommitOutputs struct {
	Commit *gitlab.Commit `json:"commit"`
}

type SetCommitStatusHandler

type SetCommitStatusHandler struct{}

func NewSetCommitStatusHandler

func NewSetCommitStatusHandler() *SetCommitStatusHandler

func (*SetCommitStatusHandler) Run

type SetCommitStatusInputs

type SetCommitStatusInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Sha       string           `json:"sha,omitempty"`
	*gitlab.SetCommitStatusOptions
}

type SetCommitStatusOutputs

type SetCommitStatusOutputs struct {
	CommitStatus *gitlab.CommitStatus `json:"commit_status"`
}

Jump to

Keyboard shortcuts

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