gitlab

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(logger *slog.Logger, config config.GitlabClientConfig) (*gitlabClient, error)

Types

type Group

type Group struct {
	ID           int
	Name         string
	Path         string
	LastModified time.Time
}

func (*Group) GetGroupID

func (g *Group) GetGroupID() uint64

func (*Group) GetGroupName added in v1.2.0

func (g *Group) GetGroupName() string

func (*Group) GetGroupPath added in v1.2.0

func (g *Group) GetGroupPath() string

func (*Group) GetLastModified added in v1.2.0

func (g *Group) GetLastModified() time.Time

type Project

type Project struct {
	ID            int
	Name          string
	Path          string
	LastModified  time.Time
	CloneURL      string
	DefaultBranch string
}

func (*Project) GetCloneURL

func (p *Project) GetCloneURL() string

func (*Project) GetDefaultBranch

func (p *Project) GetDefaultBranch() string

func (*Project) GetLastModified added in v1.2.0

func (p *Project) GetLastModified() time.Time

func (*Project) GetRepositoryID

func (p *Project) GetRepositoryID() uint64

func (*Project) GetRepositoryName added in v1.2.0

func (p *Project) GetRepositoryName() string

func (*Project) GetRepositoryPath added in v1.2.0

func (p *Project) GetRepositoryPath() string

type User

type User struct {
	ID           int
	Name         string
	LastModified time.Time
}

func (*User) GetGroupID

func (u *User) GetGroupID() uint64

func (*User) GetGroupName added in v1.2.0

func (u *User) GetGroupName() string

func (*User) GetGroupPath added in v1.2.0

func (u *User) GetGroupPath() string

func (*User) GetLastModified added in v1.2.0

func (u *User) GetLastModified() time.Time

Jump to

Keyboard shortcuts

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