Documentation
¶
Index ¶
- func NewGitlabProtectedBranches() types.Bundle
- type GetProtectedBranchHandler
- type GetProtectedBranchInputs
- type GetProtectedBranchOutputs
- type GitlabProtectedBranchesBundle
- type ListProtectedBranchesHandler
- type ListProtectedBranchesInputs
- type ListProtectedBranchesOutputs
- type ProtectRepositoryBranchHandler
- type ProtectRepositoryBranchInputs
- type ProtectRepositoryBranchOutputs
- type UnprotectRepositoryBranchHandler
- type UnprotectRepositoryBranchInputs
- type UnprotectRepositoryBranchOutputs
- type UpdateProtectedBranchHandler
- type UpdateProtectedBranchInputs
- type UpdateProtectedBranchOutputs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetProtectedBranchHandler ¶
type GetProtectedBranchHandler struct{}
func NewGetProtectedBranchHandler ¶
func NewGetProtectedBranchHandler() *GetProtectedBranchHandler
func (*GetProtectedBranchHandler) Run ¶
func (h *GetProtectedBranchHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type GetProtectedBranchOutputs ¶
type GetProtectedBranchOutputs struct {
ProtectedBranch *gitlab.ProtectedBranch `json:"protected_branch"`
}
type GitlabProtectedBranchesBundle ¶
type GitlabProtectedBranchesBundle struct {
// contains filtered or unexported fields
}
type ListProtectedBranchesHandler ¶
type ListProtectedBranchesHandler struct{}
func NewListProtectedBranchesHandler ¶
func NewListProtectedBranchesHandler() *ListProtectedBranchesHandler
func (*ListProtectedBranchesHandler) Run ¶
func (h *ListProtectedBranchesHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type ListProtectedBranchesInputs ¶
type ListProtectedBranchesInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
*gitlab.ListProtectedBranchesOptions
}
type ListProtectedBranchesOutputs ¶
type ListProtectedBranchesOutputs struct {
ProtectedBranches []*gitlab.ProtectedBranch `json:"protected_branches"`
}
type ProtectRepositoryBranchHandler ¶
type ProtectRepositoryBranchHandler struct{}
func NewProtectRepositoryBranchHandler ¶
func NewProtectRepositoryBranchHandler() *ProtectRepositoryBranchHandler
func (*ProtectRepositoryBranchHandler) Run ¶
func (h *ProtectRepositoryBranchHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type ProtectRepositoryBranchInputs ¶
type ProtectRepositoryBranchInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
*gitlab.ProtectRepositoryBranchesOptions
}
type ProtectRepositoryBranchOutputs ¶
type ProtectRepositoryBranchOutputs struct {
ProtectedBranch *gitlab.ProtectedBranch `json:"protected_branch"`
}
type UnprotectRepositoryBranchHandler ¶
type UnprotectRepositoryBranchHandler struct{}
func NewUnprotectRepositoryBranchHandler ¶
func NewUnprotectRepositoryBranchHandler() *UnprotectRepositoryBranchHandler
func (*UnprotectRepositoryBranchHandler) Run ¶
func (h *UnprotectRepositoryBranchHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type UnprotectRepositoryBranchOutputs ¶
type UnprotectRepositoryBranchOutputs struct{}
type UpdateProtectedBranchHandler ¶
type UpdateProtectedBranchHandler struct{}
func NewUpdateProtectedBranchHandler ¶
func NewUpdateProtectedBranchHandler() *UpdateProtectedBranchHandler
func (*UpdateProtectedBranchHandler) Run ¶
func (h *UpdateProtectedBranchHandler) Run( ctx context.Context, task *types.Task, credential *privateconnection.PrivateCredentials, ) (any, error)
type UpdateProtectedBranchInputs ¶
type UpdateProtectedBranchInputs struct {
ProjectId support.GitlabID `json:"project_id,omitempty"`
Name string `json:"name,omitempty"`
*gitlab.UpdateProtectedBranchOptions
}
type UpdateProtectedBranchOutputs ¶
type UpdateProtectedBranchOutputs struct {
ProtectedBranch *gitlab.ProtectedBranch `json:"protected_branch"`
}
Click to show internal directories.
Click to hide internal directories.