gitlab_collected

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Member

type Member struct {
	*gitlab.User
}
func (o Member) CanonicalLink() string

func (Member) ID

func (o Member) ID() int64

func (Member) Name

func (o Member) Name() string

func (Member) ViolationEntityType

func (o Member) ViolationEntityType() string

type Organization

type Organization struct {
	*gitlab.Group
	Hooks []*gitlab.GroupHook `json:"hooks"`
}
func (o Organization) CanonicalLink() string

func (Organization) ID

func (o Organization) ID() int64

func (Organization) Name

func (o Organization) Name() string

func (Organization) ViolationEntityType

func (o Organization) ViolationEntityType() string

type Repository

type Repository struct {
	*gitlab2.Project
	Members                  []*gitlab2.ProjectMember       `json:"members,omitempty"`
	ProtectedBranches        []*gitlab2.ProtectedBranch     `json:"protected_branches"`
	Webhooks                 []*gitlab2.ProjectHook         `json:"webhooks"`
	PushRules                *gitlab2.ProjectPushRules      `json:"push_rules"`
	ApprovalConfiguration    *gitlab2.ProjectApprovals      `json:"approval_configuration"`
	ApprovalRules            []*gitlab2.ProjectApprovalRule `json:"approval_rules"`
	MinimumRequiredApprovals int                            `json:"minimum_required_approvals"`
}
func (r Repository) CanonicalLink() string

func (Repository) ID

func (r Repository) ID() int64

func (Repository) Name

func (r Repository) Name() string

func (Repository) ViolationEntityType

func (r Repository) ViolationEntityType() string

type Server added in v1.0.0

type Server struct {
	*gitlab.Settings
	// contains filtered or unexported fields
}

func NewServer added in v1.0.0

func NewServer(url string, settings *gitlab.Settings) *Server
func (o Server) CanonicalLink() string

func (Server) ID added in v1.0.0

func (o Server) ID() int64

func (Server) Name added in v1.0.0

func (o Server) Name() string

func (Server) ViolationEntityType added in v1.0.0

func (o Server) ViolationEntityType() string

Jump to

Keyboard shortcuts

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