gitlab

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 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
	// contains filtered or unexported fields
}

func (*Group) GetGroupID

func (g *Group) GetGroupID() uint64

func (*Group) InvalidateContentCache

func (g *Group) InvalidateContentCache()

type Project

type Project struct {
	ID            int
	Path          string
	CloneURL      string
	DefaultBranch string
}

func (*Project) GetCloneURL

func (p *Project) GetCloneURL() string

func (*Project) GetDefaultBranch

func (p *Project) GetDefaultBranch() string

func (*Project) GetRepositoryID

func (p *Project) GetRepositoryID() uint64

type User

type User struct {
	ID   int
	Name string
	// contains filtered or unexported fields
}

func (*User) GetGroupID

func (u *User) GetGroupID() uint64

func (*User) InvalidateContentCache

func (u *User) InvalidateContentCache()

Jump to

Keyboard shortcuts

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