gitlab

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(token, baseURL, group string) (*Client, error)

func (*Client) FetchAll

func (c *Client) FetchAll(ctx context.Context, skipSet skip.Set) (*Resources, error)

func (*Client) ListGroupMembers added in v1.1.0

func (c *Client) ListGroupMembers(ctx context.Context, groups []*gl.Group) (GroupMembers, error)

func (*Client) ListGroups

func (c *Client) ListGroups(ctx context.Context) ([]*gl.Group, error)

func (*Client) ListProjects

func (c *Client) ListProjects(ctx context.Context) ([]*gl.Project, error)

type GroupMembers added in v1.1.0

type GroupMembers = map[int64][]*gl.GroupMember

GroupMembers maps group IDs to their direct members.

type Resources

type Resources struct {
	Groups       []*gl.Group
	Projects     []*gl.Project
	GroupMembers GroupMembers
}

Jump to

Keyboard shortcuts

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