Documentation
¶
Index ¶
- func NewGitlabCommits() types.Bundle
- type CherryPickCommitHandler
- type CherryPickCommitInputs
- type CherryPickCommitOutputs
- type CreateCommitHandler
- type CreateCommitInputs
- type CreateCommitOutputs
- type GetCommitCommentsHandler
- type GetCommitCommentsInputs
- type GetCommitCommentsOutputs
- type GetCommitDiffHandler
- type GetCommitDiffInputs
- type GetCommitDiffOutputs
- type GetCommitHandler
- type GetCommitInputs
- type GetCommitOutputs
- type GetCommitRefsHandler
- type GetCommitRefsInputs
- type GetCommitRefsOutputs
- type GetCommitStatusesHandler
- type GetCommitStatusesInputs
- type GetCommitStatusesOutputs
- type GetGPGSignatureHandler
- type GetGPGSignatureInputs
- type GetGPGSignatureOutputs
- type GitlabCommitsBundle
- type ListCommitsHandler
- type ListCommitsInputs
- type ListCommitsOutputs
- type ListMergeRequestsByCommitHandler
- type ListMergeRequestsByCommitInputs
- type ListMergeRequestsByCommitOutputs
- type PostCommitCommentHandler
- type PostCommitCommentInputs
- type PostCommitCommentOutputs
- type RevertCommitHandler
- type RevertCommitInputs
- type RevertCommitOutputs
- type SetCommitStatusHandler
- type SetCommitStatusInputs
- type SetCommitStatusOutputs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitlabCommits ¶
Types ¶
type CherryPickCommitHandler ¶
type CherryPickCommitHandler struct{}
func NewCherryPickCommitHandler ¶
func NewCherryPickCommitHandler() *CherryPickCommitHandler
func (*CherryPickCommitHandler) Run ¶
func (h *CherryPickCommitHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type CherryPickCommitInputs ¶
type CherryPickCommitInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
Sha string `json:"sha,omitempty"`
*gitlab.CherryPickCommitOptions
}
type CherryPickCommitOutputs ¶
type CreateCommitHandler ¶
type CreateCommitHandler struct{}
func NewCreateCommitHandler ¶
func NewCreateCommitHandler() *CreateCommitHandler
func (*CreateCommitHandler) Run ¶
func (h *CreateCommitHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type CreateCommitInputs ¶
type CreateCommitInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
*gitlab.CreateCommitOptions
}
type CreateCommitOutputs ¶
type GetCommitCommentsHandler ¶
type GetCommitCommentsHandler struct{}
func NewGetCommitCommentsHandler ¶
func NewGetCommitCommentsHandler() *GetCommitCommentsHandler
func (*GetCommitCommentsHandler) Run ¶
func (h *GetCommitCommentsHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
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 ¶
func (h *GetCommitDiffHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type GetCommitDiffInputs ¶
type GetCommitDiffInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
Sha string `json:"sha,omitempty"`
*gitlab.GetCommitDiffOptions
}
type GetCommitDiffOutputs ¶
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 GetCommitRefsHandler ¶
type GetCommitRefsHandler struct{}
func NewGetCommitRefsHandler ¶
func NewGetCommitRefsHandler() *GetCommitRefsHandler
func (*GetCommitRefsHandler) Run ¶
func (h *GetCommitRefsHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type GetCommitRefsInputs ¶
type GetCommitRefsInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
Sha string `json:"sha,omitempty"`
*gitlab.GetCommitRefsOptions
}
type GetCommitRefsOutputs ¶
type GetCommitStatusesHandler ¶
type GetCommitStatusesHandler struct{}
func NewGetCommitStatusesHandler ¶
func NewGetCommitStatusesHandler() *GetCommitStatusesHandler
func (*GetCommitStatusesHandler) Run ¶
func (h *GetCommitStatusesHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
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 ¶
func (h *GetGPGSignatureHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type GetGPGSignatureInputs ¶
type GetGPGSignatureOutputs ¶
type GetGPGSignatureOutputs struct {
GpgSignature *gitlab.GPGSignature `json:"gpg_signature"`
}
type GitlabCommitsBundle ¶
type GitlabCommitsBundle struct {
// contains filtered or unexported fields
}
type ListCommitsHandler ¶
type ListCommitsHandler struct{}
func NewListCommitsHandler ¶
func NewListCommitsHandler() *ListCommitsHandler
func (*ListCommitsHandler) Run ¶
func (h *ListCommitsHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type ListCommitsInputs ¶
type ListCommitsInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
*gitlab.ListCommitsOptions
}
type ListCommitsOutputs ¶
type ListMergeRequestsByCommitHandler ¶
type ListMergeRequestsByCommitHandler struct{}
func NewListMergeRequestsByCommitHandler ¶
func NewListMergeRequestsByCommitHandler() *ListMergeRequestsByCommitHandler
func (*ListMergeRequestsByCommitHandler) Run ¶
func (h *ListMergeRequestsByCommitHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type ListMergeRequestsByCommitOutputs ¶
type ListMergeRequestsByCommitOutputs struct {
BasicMergeRequests []*gitlab.BasicMergeRequest `json:"merge_requests"`
}
type PostCommitCommentHandler ¶
type PostCommitCommentHandler struct{}
func NewPostCommitCommentHandler ¶
func NewPostCommitCommentHandler() *PostCommitCommentHandler
func (*PostCommitCommentHandler) Run ¶
func (h *PostCommitCommentHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
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 ¶
func (h *RevertCommitHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type RevertCommitInputs ¶
type RevertCommitInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
Sha string `json:"sha,omitempty"`
*gitlab.RevertCommitOptions
}
type RevertCommitOutputs ¶
type SetCommitStatusHandler ¶
type SetCommitStatusHandler struct{}
func NewSetCommitStatusHandler ¶
func NewSetCommitStatusHandler() *SetCommitStatusHandler
func (*SetCommitStatusHandler) Run ¶
func (h *SetCommitStatusHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
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"`
}
Source Files
¶
- cherry_pick_commit.gen.go
- create_commit.gen.go
- entrypoint.gen.go
- get_commit.gen.go
- get_commit_comments.gen.go
- get_commit_diff.gen.go
- get_commit_refs.gen.go
- get_commit_statuses.gen.go
- get_gpg_signature.gen.go
- list_commits.gen.go
- list_mrs_by_commit.gen.go
- post_commit_comment.gen.go
- revert_commit.go
- set_commit_status.gen.go
Click to show internal directories.
Click to hide internal directories.