gitlab

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 3 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) (*Resources, 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 Resources

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

Jump to

Keyboard shortcuts

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