com_datadoghq_gitlab_protected_branches

package
v0.0.0-...-3ab1337 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 NewGitlabProtectedBranches

func NewGitlabProtectedBranches() types.Bundle

Types

type GetProtectedBranchHandler

type GetProtectedBranchHandler struct{}

func NewGetProtectedBranchHandler

func NewGetProtectedBranchHandler() *GetProtectedBranchHandler

func (*GetProtectedBranchHandler) Run

type GetProtectedBranchInputs

type GetProtectedBranchInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Name      string           `json:"name,omitempty"`
}

type GetProtectedBranchOutputs

type GetProtectedBranchOutputs struct {
	ProtectedBranch *gitlab.ProtectedBranch `json:"protected_branch"`
}

type GitlabProtectedBranchesBundle

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

func (*GitlabProtectedBranchesBundle) GetAction

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

type ListProtectedBranchesHandler

type ListProtectedBranchesHandler struct{}

func NewListProtectedBranchesHandler

func NewListProtectedBranchesHandler() *ListProtectedBranchesHandler

func (*ListProtectedBranchesHandler) Run

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

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

type UnprotectRepositoryBranchInputs

type UnprotectRepositoryBranchInputs struct {
	ProjectId support.GitlabID `json:"project_id,omitempty"`
	Branch    string           `json:"branch,omitempty"`
}

type UnprotectRepositoryBranchOutputs

type UnprotectRepositoryBranchOutputs struct{}

type UpdateProtectedBranchHandler

type UpdateProtectedBranchHandler struct{}

func NewUpdateProtectedBranchHandler

func NewUpdateProtectedBranchHandler() *UpdateProtectedBranchHandler

func (*UpdateProtectedBranchHandler) Run

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"`
}

Jump to

Keyboard shortcuts

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