Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuncOfString ¶
FuncOfString wraps given string in a function
Types ¶
type AddLink ¶
type AddLink struct { *AddLinkParams // contains filtered or unexported fields }
AddLink action
func (*AddLink) Do ¶
func (action *AddLink) Do() *workflow.ActionError
Do implements Action for AddLink
type AddLinkParams ¶
type AddLinkParams struct { Client *gitlab.Client Project string LinkDescription string LinkURLFunc func() string // MDLinkFunc returns markdown link of form '[link text](https://foo.bar....)' MDLinkFunc func() string TagFunc func() *gitlab.Tag ReleasesAPIAvailable bool }
AddLinkParams ..
type Check ¶ added in v0.14.0
Check action tests api connection
func (*Check) Do ¶ added in v0.14.0
func (action *Check) Do() *workflow.ActionError
Do implements Action for Check
type Commit ¶
type Commit struct {
// contains filtered or unexported fields
}
Commit ..
func NewCommit ¶
func NewCommit(client *gitlab.Client, project string, files []string, message string, branch string) *Commit
NewCommit ..
func (*Commit) Do ¶
func (action *Commit) Do() *workflow.ActionError
Do implements Action for Commit
type CreatePipeline ¶
type CreatePipeline struct {
// contains filtered or unexported fields
}
CreatePipeline ..
func NewCreatePipeline ¶
func NewCreatePipeline(client *gitlab.Client, project string, refFunc func() string) *CreatePipeline
NewCreatePipeline ..
func (*CreatePipeline) Do ¶
func (action *CreatePipeline) Do() *workflow.ActionError
Do implements Action for CreatePipeline
func (*CreatePipeline) Undo ¶
func (action *CreatePipeline) Undo() error
Undo implements Action for CreatePipeline
type CreateTag ¶
type CreateTag struct {
// contains filtered or unexported fields
}
CreateTag ..
func NewCreateTag ¶
func NewCreateTag(client *gitlab.Client, project string, refFunc func() string, tagID string, note string, releasesAPIAvailable bool) *CreateTag
NewCreateTag ..
func (*CreateTag) Do ¶
func (action *CreateTag) Do() *workflow.ActionError
Do implements Action for CreateTag
type GetTag ¶
type GetTag struct {
// contains filtered or unexported fields
}
GetTag ..
func (*GetTag) Do ¶
func (action *GetTag) Do() *workflow.ActionError
Do implements Action for GetTag
type Upload ¶
type Upload struct {
// contains filtered or unexported fields
}
Upload ..
func (*Upload) Do ¶
func (action *Upload) Do() *workflow.ActionError
Do implements Action for Upload
func (*Upload) LinkURLFunc ¶ added in v0.20.0
LinkURLFunc returns an accessor function to project file url
func (*Upload) MDLinkFunc ¶
MDLinkFunc returns an accessor function to project file markdown link
Click to show internal directories.
Click to hide internal directories.